Peer Richelsen and zomars
02d70c63a5
empty screen for unpublished teams ( #7206 )
...
* empty screen for unpublished teams
* i18n for unpublished team, removed contact button, added avatar to EmptyScreen
* Merge branch 'main' into 7202-cal-1114-teamnull-better-404-screen
# Conflicts:
# apps/web/public/static/locales/en/common.json
* Adds backend logic
* Type fixes
---------
Co-authored-by: zomars <[email protected] >
2023-03-12 23:31:55 +00:00
Lucas Smith and zomars
2317473545
feat(web): improve session retrieval performance ( #7584 )
...
* feat(web): improve session retrieval performance
Switch to using `getServerSession` which avoids a HTTP round trip to retrieve session details.
Additionally, migrate deprecated `app/lib/auth` calls to to `@calcom/lib` package.
* fix: update failing test and lint
* Consolidates auth code in features
* Update yarn.lock
* Update packages/trpc/server/createContext.ts
* Oopsie
---------
Co-authored-by: zomars <[email protected] >
2023-03-10 23:45:24 +00:00
Lucas Smith and Omar López
d81d772cdf
feat(lib): add more tests to lib package ( #7210 )
...
* feat(lib): add more tests to lib package
Add more tests to the lib package to make it more robust overall. Additionally, tidy any methods that can be modified without changing behaviour and tighten types where possible.
* fix(lib): update missed imports
* fix: revert stylistic changes
* Update getSchedule.test.ts
---------
Co-authored-by: Omar López <[email protected] >
2023-03-10 22:10:56 +00:00
Keith Williams
f3360e6476
Fix jackson build error ( #7641 )
...
* Fixing prettier build issue with jackson
* Refactor to clean up code
* Now using globalThis to reference jackson objects
2023-03-10 15:28:57 +00:00
Carina Wollendorfer and CarinaWolli
d50473468a
Delay workflow email cancellation in sendgrid for all case ( #7647 )
...
* don't use immediate email cancellation in any case
* use continue
---------
Co-authored-by: CarinaWolli <[email protected] >
2023-03-10 14:28:42 +00:00
Nafees Nazik and Peer Richelsen
29ceaee8d2
feat: Add fresh chat to list of support integration ( #7448 )
...
* chore: add fresh chat configs to env.example
* feat: add fresh chat menu item and render
* refactor: remove some event listeners
* chore: make popover closed after the click
* refactor the code and fix some bugs
* feat: auto open chat
---------
Co-authored-by: Peer Richelsen <[email protected] >
2023-03-08 11:30:24 +00:00
Joe Au-Yeung
163444a0f9
Bug - teams being double created without slugs ( #7571 )
2023-03-07 23:02:05 +00:00
2fa83bd512
Add Idp-Initiated SSO ( #6781 )
...
* wip idp enabled login
* add route to handle callback from IdP
* update the new provider
* cleanup
* fix the type
* add suggested changes
* make the suggested changes
* use client secret verifier
* Make [...nextauth] a little easier to read
---------
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Omar López <[email protected] >
2023-03-07 14:31:39 -07:00
Udit Takkar
c8956680ad
fix: use slug in options ( #7523 )
...
Signed-off-by: Udit Takkar <[email protected] >
2023-03-06 10:47:57 +00:00
Udit Takkar
c2668acd33
fix: use recordingId to check loading ( #7524 )
...
Signed-off-by: Udit Takkar <[email protected] >
2023-03-06 10:39:54 +00:00
Udit Takkar and Alex van Andel
2dddd4ce77
feat: create trpc route to fetch download link ( #7495 )
...
* feat: create trpc route to fetch download link
Signed-off-by: Udit Takkar <[email protected] >
* fix: removing file, adding isdownloadable logix
Signed-off-by: Udit Takkar <[email protected] >
* chore
Signed-off-by: Udit Takkar <[email protected] >
* fix: type error
Signed-off-by: Udit Takkar <[email protected] >
* Some performance enhancements and better error logging
* Add error message here too
---------
Signed-off-by: Udit Takkar <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
2023-03-05 12:59:07 +00:00
47e948fbbc
Fixes formatting issues with lists in event type description and bio ( #7505 )
...
* fix ul and ol in editor
* fix imports
* disable list for team about section
* fix event type description in list
---------
Co-authored-by: CarinaWolli <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
2023-03-04 00:20:13 +01:00
Carina Wollendorfer and CarinaWolli
056edd8ec2
fix event type options ( #7473 )
...
Co-authored-by: CarinaWolli <[email protected] >
2023-03-03 09:36:23 -07:00
2d26d73eb3
Fix/DST issues ( #7462 )
...
* use the organizer timezone and invitee timezone to show slots
* type fixes
* set start date on selected TZ on booking payload
* add considerations when only the invitee is on DTS
* Apply suggestions from code review
Co-authored-by: alannnc <[email protected] >
Co-authored-by: Omar López <[email protected] >
* fixes typo
* Apply suggestions from code review
Co-authored-by: alannnc <[email protected] >
* cleaning
---------
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Omar López <[email protected] >
Co-authored-by: alannnc <[email protected] >
2023-03-03 09:33:16 -07:00
Omar López
6e93224c9b
Tree shake icons ( #7051 )
...
* Attempt to tree shake icons
* Tree shaking icons
2023-03-02 13:56:10 -07:00
zomars
1270742078
Linting
2023-03-02 11:23:41 -07:00
517cfde5b8
Feature/ Manage Booking Questions ( #6560 )
...
* WIP
* Create Booking Questions builder
* Renaming things
* wip
* wip
* Implement Add Guests and other fixes
* Fixes after testing
* Fix wrong status code 404
* Fixes
* Lint fixes
* Self review comments addressed
* More self review comments addressed
* Feedback from zomars
* BugFixes after testing
* More fixes discovered during review
* Update packages/lib/hooks/useHasPaidPlan.ts
Co-authored-by: Omar López <[email protected] >
* More fixes discovered during review
* Update packages/ui/components/form/inputs/Input.tsx
Co-authored-by: Omar López <[email protected] >
* More fixes discovered during review
* Update packages/features/bookings/lib/getBookingFields.ts
Co-authored-by: sean-brydon <[email protected] >
* More PR review fixes
* Hide label using labelSrOnly
* Fix Carinas feedback and implement 2 workflows thingy
* Misc fixes
* Fixes from Loom comments and PR
* Fix a lint errr
* Fix cancellation reason
* Fix regression in edit due to name conflict check
* Update packages/features/form-builder/FormBuilder.tsx
Co-authored-by: Carina Wollendorfer <[email protected] >
* Fix options not set when default value is used
* Restoring reqBody to avoid uneeded conflicts with main
* Type fix
* Update apps/web/components/booking/pages/BookingPage.tsx
Co-authored-by: Omar López <[email protected] >
* Update packages/features/form-builder/FormBuilder.tsx
Co-authored-by: Omar López <[email protected] >
* Update apps/web/components/booking/pages/BookingPage.tsx
Co-authored-by: Omar López <[email protected] >
* Apply suggestions from code review
Co-authored-by: Omar López <[email protected] >
* Show fields but mark them disabled
* Apply suggestions from code review
Co-authored-by: Omar López <[email protected] >
* More comments
* Fix booking success page crash when a booking doesnt have newly added required fields response
* Dark theme asterisk not visible
* Make location required in zodSchema as was there in production
* Linting
* Remove _metadata.ts files for apps that have config.json
* Revert "Remove _metadata.ts files for apps that have config.json"
This reverts commit d79bdd336cf312a30a8943af94c059947bd91ccd.
* Fix lint error
* Fix missing condition for samlSPConfig
* Delete unexpectedly added file
* yarn.lock change not required
* fix types
* Make checkboxes rounded
* Fix defaultLabel being stored as label due to SSR rendering
* Shaved 16kb from booking page
* Explicit types for profile
* Show payment value only if price is greater than 0
* Fix type error
* Add back inferred types as they are failing
* Fix duplicate label on number
---------
Co-authored-by: zomars <[email protected] >
Co-authored-by: sean-brydon <[email protected] >
Co-authored-by: Carina Wollendorfer <[email protected] >
Co-authored-by: Efraín Rochín <[email protected] >
2023-03-02 11:15:28 -07:00
0ec71e52ef
Team Workflows ( #7038 )
...
Co-authored-by: Hariom Balhara <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
Co-authored-by: zomars <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
2023-02-27 12:54:43 +05:30
Omar López
ddb752102f
Zomars/cal 884 paid events not sending the link ( #7318 )
...
* WIP
* Sends correct emails for paid bookings
* Update PaymentService.ts
* Update webhook.ts
* Update webhook.ts
2023-02-24 20:57:49 -07:00
Alex van Andel
5f7d904349
Fixed href's to go to the right place ( #7377 )
2023-02-24 11:39:09 -07:00
Ben Hybert
207bcb9a97
fix non-admin team preview button ( #7301 )
2023-02-23 15:03:33 -07:00
sean-brydon
c8019edb57
User email as impersonation if username is null ( #7250 )
2023-02-21 17:12:26 +00:00
Carina Wollendorfer and CarinaWolli
2ebfcf448c
Fixes that workflow reminders of cancelled and rescheduled bookings are still sent ( #7232 )
...
* small UI fix
* fix cancelling scheduled emails
* improve comments
* delete reminders for rescheduled bookings
* add migration file
* cancel rescheduled bookings immediately
* remove immediate delete for request reschedule
---------
Co-authored-by: CarinaWolli <[email protected] >
2023-02-20 12:40:08 -05:00
Alex van Andel
6573f75a83
Bugfix/customer being prompted to upgrade to teams after purchasing ( #6955 )
...
* Move subscriptionId creation to earlier in the flow
* Fail silently when slug is missing
* Set team to created team
2023-02-17 23:45:50 +00:00
Efraín Rochín and zomars
fd76bc9cab
Reduce booking page bundle size ( #7131 )
...
* AvailabilityPage Component loaded dynamically
* update next/bundle-analyzer dependency
* Load dynamically SlotPicker and TimezoneDropDown and make some imports refactoring
* Gates functionality Returned
* Replace crypto with md5 dependency to generate gravatar url
* Refactor: AvailableTimes and SlotPicker
* Update next.config.js
* Update SlotPicker.tsx
* Update getEventTypeAppData.ts
---------
Co-authored-by: zomars <[email protected] >
2023-02-17 12:53:31 -07:00
Matt Pocock
f8558e16e8
Removed 'as any' in jackson.ts ( #7175 )
2023-02-17 13:21:29 +00:00
sean-brydon
ce01537fe6
Fix errors ( #7134 )
2023-02-17 11:15:42 +00:00
Peer Richelsen
fec02979ba
hide team member availability button ( #7147 )
2023-02-17 10:09:49 +00:00
Omar López
7c749299bb
Enforces explicit type imports ( #7158 )
...
* Enforces explicit type imports
* Upgrades typescript-eslint
* Upgrades eslint related dependencies
* Update config
* Sync packages mismatches
* Syncs prettier version
* Linting
* Relocks node version
* Fixes
* Locks @vitejs/plugin-react to 1.3.2
* Linting
2023-02-16 15:39:57 -07:00
Carina Wollendorfer and CarinaWolli
1cae2b6f3d
Fixing issues around workflows ( #6991 )
...
Co-authored-by: CarinaWolli <[email protected] >
2023-02-13 12:39:06 +00:00
alannnc
c3e7981917
Fix/bookings unintended confirmations on rejection 6975 ( #7047 )
...
* Fixed translation message and added paymentStatus to booking page
* Fix booking confirmation with payment
* Remove previous code unnecesary
2023-02-13 12:26:28 +00:00
Peer Richelsen
4ec8241a86
Update README.md
2023-02-12 20:33:16 +01:00
Peer Richelsen
e6313aafac
Update README.md
2023-02-12 20:31:32 +01:00
Peer Richelsen
f87f030bb5
Update README.md
2023-02-12 20:31:20 +01:00
Nafees Nazik and Peer Richelsen
8197ba18d4
feat: add new Jitsu events ( #6980 )
...
Co-authored-by: Peer Richelsen <[email protected] >
2023-02-10 09:53:03 +00:00
2f628a17df
feat/payment-service-6438-cal-767 ( #6677 )
...
* WIP paymentService
* Changes for payment Service
* Fix for stripe payment flow
* Remove logs/comments
* Refactored refund for stripe app
* Move stripe handlePayment to own lib
* Move stripe delete payments to paymentService
* lint fix
* Change handleRefundError as generic function
* remove log
* remove logs
* remove logs
* Return stripe default export to lib/server
* Fixing types
* Fix types
* Upgrades typescript
* Update yarn lock
* Typings
* Hotfix: ping,riverside,whereby and around not showing up in list (#6712 )
* Hotfix: ping,riverside,whereby and around not showing up in list (#6712 ) (#6713 )
* Adds deployment settings to DB (#6706 )
* WIP
* Adds DeploymentTheme
* Add missing migrations
* Adds client extensions for deployment
* Cleanup
* Revert "lint fix"
This reverts commit e1a2e4a357e58e6673c47399888ae2e00d1351a6.
* Add validation
* Revert changes removed in force push
* Removing abstract class and just leaving interface implementation
* Fix types for handlePayments
* Fix payment test appStore import
* Fix stripe metadata in event type
* Move migration to separate PR
* Revert "Move migration to separate PR"
This reverts commit 48aa64e0724a522d3cc2fefaaaee5792ee9cd9e6.
* Update packages/prisma/migrations/20230125175109_remove_type_from_payment_and_add_app_relationship/migration.sql
Co-authored-by: Omar López <[email protected] >
---------
Co-authored-by: zomars <[email protected] >
Co-authored-by: Hariom Balhara <[email protected] >
2023-02-08 13:36:22 -07:00
Carina Wollendorfer and CarinaWolli
b3d8d7e944
Fixes localisation of {EVENT_DATE} in workflows ( #6907 )
...
* translate {EVENT_DATE} variable to correct language
* fix locale for cron schedule reminder emails/sms
* fix type error
* add missing locale to attendees
* fix type error
* code clean up
* revert last commit
* using Intl for date translations
---------
Co-authored-by: CarinaWolli <[email protected] >
2023-02-08 17:06:25 +00:00
+8
a9af2fb255
Admin Wizard Choose License ( #6574 )
...
* Implementation
* i18n
* More i18n
* extracted i18n, needs api to get most recent price, added hint: update later
* Fixing i18n var
* Fix booking filters not working for admin (#6576 )
* fix: react-select overflow issue in some modals. (#6587 )
* feat: add a disable overflow prop
* feat: use the disable overflow prop
* Tailwind Merge (#6596 )
* Tailwind Merge
* Fix merge classNames
* [CAL-808] /availability/single - UI issue on buttons beside time inputs (#6561 )
* [CAL-808] /availability/single - UI issue on buttons beside time inputs
* Update apps/web/public/static/locales/en/common.json
* Update packages/features/schedules/components/Schedule.tsx
* create new translation for tooltip
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
* Bye bye submodules (#6585 )
* WIP
* Uses ssh instead
* Update .gitignore
* Update .gitignore
* Update Makefile
* Update git-setup.sh
* Update git-setup.sh
* Replaced Makefile with bash script
* Update package.json
* fix: show button on empty string (#6601 )
Signed-off-by: Udit Takkar <[email protected] >
Signed-off-by: Udit Takkar <[email protected] >
* fix: add delete in dropdown (#6599 )
Signed-off-by: Udit Takkar <[email protected] >
Signed-off-by: Udit Takkar <[email protected] >
* Update README.md
* Update README.md
* Changed a neutral- classes to gray (#6603 )
* Changed a neutral- classes to gray
* Changed all border-1 to border
* Update package.json
* Test fixes
* Yarn lock fixes
* Fix string equality check in git-setup.sh
* [CAL-811] Avatar icon not redirecting user back to the main page (#6586 )
* Remove cursor-pointer, remove old Avatar* files
* Fixed styling for checkedSelect + some cleanup
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
* Harsh/add member invite (#6598 )
Co-authored-by: Guest <[email protected] >
Co-authored-by: root <[email protected] >
* Regenerated lockfile without upgrade (#6610 )
* fix: remove annoying outline when <Button /> clicked (#6537 )
* fix: remove annoying outline when <Button /> clicked
* Delete yarn.lock
* remove 1 on 1 icon (#6609 )
* removed 1-on-1 badge
* changed user to users for group events
* fix: case-sensitivity in apps path (#6552 )
* fix: lowercase slug
* fix: make fallback blocking
* Fix FAB (#6611 )
* feat: add LocationSelect component (#6571 )
* feat: add LocationSelect component
Signed-off-by: Udit Takkar <[email protected] >
* fix: type error
Signed-off-by: Udit Takkar <[email protected] >
* chore: type error
Signed-off-by: Udit Takkar <[email protected] >
Signed-off-by: Udit Takkar <[email protected] >
* Update booking filters design (#6543 )
* Update booking filters
* Add filter on YOUR bookings
* Fix pending members showing up in list
* Reduce the avatar size to 'sm' for now
* Bugfix/dropdown menu trigger as child remove class names (#6614 )
* Fix UsernameTextfield to take right height
* Remove className side-effect
* Incorrect resolution version fixed
* Converted mobile DropdownMenuTrigger styles into Button
* v2.5.3
* fix: use items-center (#6618 )
* fix tooltip and modal stacking issues (#6491 )
* fix tooltip and modal stacking issues
* use z-index in larger screens and less
Co-authored-by: Alex van Andel <[email protected] >
* Temporary fix (#6626 )
* Fix Ga4 tracking (#6630 )
* generic <UpgradeScreen> component (#6594 )
* first attempt of <UpgradeScreen>
* changes to icons
* reverted changes back to initial state, needs fix: teams not showing
* WIP
* Fix weird reactnode error
* Fix loading text
* added upgradeTip to routing forms
* icon colors
* create and use hook to check if user has team plan
* use useTeamPlan for upgradeTeamsBadge
* replace huge svg with compressed jpeg
* responsive fixes
* Update packages/ui/components/badge/UpgradeTeamsBadge.tsx
Co-authored-by: sean-brydon <[email protected] >
* Give team plan features to E2E tests
* Allow option to make a user part of team int ests
* Remove flash of paywall for team user
* Add team user for typeform tests as well
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
Co-authored-by: Carina Wollendorfer <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Hariom Balhara <[email protected] >
* Removing env var to rely on db
* Restoring i18n keys, set loading moved
* Fixing tailwind-preset glob
* Wizard width fix for md+ screens
* Converting licenses options to radix radio
* Applying feedback + other tweaks
* Reverting this, not this PR related
* Unneeded code removal
* Reverting unneeded style change
* Applying feedback
* Removing licenseType
* Upgrades typescript
* Update yarn lock
* Typings
* Hotfix: ping,riverside,whereby and around not showing up in list (#6712 )
* Hotfix: ping,riverside,whereby and around not showing up in list (#6712 ) (#6713 )
* Adds deployment settings to DB (#6706 )
* WIP
* Adds DeploymentTheme
* Add missing migrations
* Adds client extensions for deployment
* Cleanup
* Delete migration.sql
* Relying on both, env var and new model
* Restoring env example doc for backward compat
* Maximum call stack size exceeded fix?
* Revert upgrade
* Update index.ts
* Delete index.ts
* Not exposing license key, fixed radio behavior
* Covering undefined env var
* Self contained checkLicense
* Feedback
* Moar feedback
* Feedback
* Feedback
* Feedback
* Cleanup
---------
Signed-off-by: Udit Takkar <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: sean-brydon <[email protected] >
Co-authored-by: Nafees Nazik <[email protected] >
Co-authored-by: GitStart-Cal.com <[email protected] >
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
Co-authored-by: Omar López <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Harsh Singh <[email protected] >
Co-authored-by: Guest <[email protected] >
Co-authored-by: root <[email protected] >
Co-authored-by: Luis Cadillo <[email protected] >
Co-authored-by: Mohammed Cherfaoui <[email protected] >
Co-authored-by: Hariom Balhara <[email protected] >
Co-authored-by: Carina Wollendorfer <[email protected] >
2023-02-07 17:23:42 -07:00
Alex van Andel
9d02cb493c
Fixed some inconsistencies within single event type page ( #6887 )
...
* Fixed some inconsistencies within single event type page
* Fix layout shift on AvailabilityTab
2023-02-06 00:09:27 +01:00
Peer Richelsen
56c5d39cd3
i18n fix
2023-02-02 12:50:28 +01:00
Peer Richelsen
7574fb6f44
i18n fix
2023-02-02 12:49:11 +01:00
Alex van Andel
831aa72d23
Invalidate hasTeamPlan when the last team is removed ( #6837 )
2023-02-01 21:23:34 +00:00
Peer Richelsen and Alex van Andel
ef78db7856
/teams improvements ( #6831 )
...
Co-authored-by: Alex van Andel <[email protected] >
2023-02-01 20:41:47 +00:00
Nafees Nazik
7ee5967075
feat: add theming options to teams ( #6807 )
2023-02-01 19:27:26 +01:00
Josh Avant
7f65d7f3c3
Removes pay_later_instructions ( #6824 )
2023-02-01 09:17:11 +01:00
36b6c351ec
Session Timeout ( #6439 )
...
* Implementation
* Unifying UI to password screen
* Tweaks for session in password section
* Update apps/web/pages/settings/security/password.tsx
Co-authored-by: Omar López <[email protected] >
* Update packages/features/kbar/Kbar.tsx
Co-authored-by: Omar López <[email protected] >
* Update packages/features/settings/layouts/SettingsLayout.tsx
Co-authored-by: Omar López <[email protected] >
* Relying on extra db query
* Upgrades typescript
* Update yarn lock
* Typings
* Hotfix: ping,riverside,whereby and around not showing up in list (#6712 )
* Hotfix: ping,riverside,whereby and around not showing up in list (#6712 ) (#6713 )
* Adds deployment settings to DB (#6706 )
* WIP
* Adds DeploymentTheme
* Add missing migrations
* Adds client extensions for deployment
* Cleanup
* Using same version as other deps
* Reverting prisma changes and fixing things
* Uneeded tx-expect-error
* Fixing default value
* Update apps/web/public/static/locales/en/common.json
Co-authored-by: Carina Wollendorfer <[email protected] >
---------
Co-authored-by: Omar López <[email protected] >
Co-authored-by: Hariom Balhara <[email protected] >
Co-authored-by: Carina Wollendorfer <[email protected] >
2023-01-31 17:44:14 -03:00
Carina Wollendorfer and CarinaWolli
50c74cf286
change useHasTeamPlan hook to useHasPaidPlan ( #6699 )
...
Co-authored-by: CarinaWolli <[email protected] >
2023-01-31 19:10:21 +00:00
sean-brydon
208fc2f0e4
Feat - invite user to team flow improvements ( #6725 )
2023-01-31 18:16:43 +00:00
Carina Wollendorfer and CarinaWolli
333801d2ae
Fix shift-enter in bio editor ( #6769 )
...
* fix wrong enabled update button at first load
* fix shift-enter error
* small fixes + code clean up
---------
Co-authored-by: CarinaWolli <[email protected] >
2023-01-27 23:14:58 +00:00
Peer Richelsen
87c178e53b
added blue color for links in bio ( #6760 )
2023-01-27 17:03:04 +01:00