779eb19e7a
feat: browser push notifications ( #14888 )
...
* feat: web push notifications feature
* Revert yarn.lock changes
* added new env variables requirement in .env.example
* moved useNotifications hook in packages/lib/hooks
* fix: bug
* use i18n
* chore: move to new file
* chore: add yarn.lock
* Update .env.example
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
* chore: add instruction for brave browser
* fix: tooltip
* chore: use enum
* chore
* small update
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: Udit Takkar <udit222001@gmail.com >
Co-authored-by: Peer Richelsen <peer@cal.com >
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
Co-authored-by: unknown <adhabal2002@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2024-09-02 14:39:51 +00:00
Hariom Balhara and Udit Takkar
5d8ed130de
Fix unconfirmed bookings blocking slots being fetched for all troubleshooters ( #16439 )
...
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-09-02 16:12:11 +05:30
Anik Dhabal Babu
b6bcc43655
feat: add "somewhere else" as a location option ( #15108 )
...
* feat: add somewhere else as a location
* update
* update
* Update BookingFields.tsx
* update
* update
* chore: changes
* fix
2024-08-30 16:38:09 -04:00
Peer Richelsen
b576fc8c26
feat: synthflow app ( #16420 )
2024-08-30 16:38:01 +00:00
Kacper
821843bc6c
Fallback to next app default language (en) when user didn't specify locale. ( #16425 )
2024-08-30 21:37:10 +05:30
Lauris Skraucis
d19e3e53f0
fix: recurring booking idempotency key after cancel ( #16414 )
...
* fix: recurring booking idempotency key after cancel
* refactor: move logic to updateMany of prisma middleware
2024-08-30 12:07:53 +00:00
Morgan
40fee7af51
chore: reorganize event type files ( #16393 )
...
* chore: reorganize event type files
* fixup! chore: reorganize event type files
* fixup! Merge branch 'main' into refactor-event-types-components-folder
2024-08-30 10:41:37 +00:00
Keith Williams
f3462776e8
perf: Improve loading existing bookings via API ( #16410 )
2024-08-30 11:10:44 +01:00
88f46a6b20
fix: Broken reschedule page for migrated user's booking through request-reschedule ( #16068 )
...
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
Co-authored-by: zomars <zomars@me.com >
2024-08-29 14:35:32 -07:00
3aa6878c27
fix: Set teamMemberEmail server side for CRM RR Skip ( #16367 )
...
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: zomars <zomars@me.com >
2024-08-29 14:16:48 -07:00
Hariom Balhara
36ecece181
fix: Add version to embed.js and preview.js ( #16182 )
2024-08-29 20:54:41 +00:00
Hariom Balhara
1a0448910b
fix: Flicker b/w Dark and Light theme ( #16042 )
2024-08-29 13:14:12 -07:00
ad5d645347
feat: Implement editable OOO events feature ( #15932 )
...
* feat: Implement edit ooo feature
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* refactor: Refactor button text and gap between buttons
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Fix entry create and edit edge cases
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* chore: Change "edit ooo event" modal title
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* chore: Add tooltips to entry eidt and delete buttons
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* feat: Reset form on form close event
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* refactor: Refactor reset-form function
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* chore: Rename create or edit OOO as suggested
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* refactor: Refactor component and function names
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* feat: Improve ooo events email notifications
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Fix email templates
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* feat: Add e2e test for ooo event edit functionality
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* refactor: Create separate test for edit ooo event
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Remove extra user from redirect user configuration test
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* chore: code refactor
* remove log
* chore: Update ooo-input-schema uuid data type
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Address feedbacks
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* chore: code splitting and refactor
---------
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2024-08-29 17:28:35 +00:00
Keith Williams
36a1715ece
perf: run parallel bookings queries ( #16398 )
2024-08-29 16:37:18 +00:00
Sy Sagar and Amit Sharma
4424aa5b38
chore: Bulk update desc ( #16343 )
...
* chore(locale-en): update bulk modal description
* chore: schedule bulk-modal description
---------
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
2024-08-29 08:16:13 -04:00
Udit Takkar and Joe Au-Yeung
19634073e9
refactor: improve team members page performance ( #16155 )
...
* fix: simplify workflow page and improve load time
* chore: use new endpoint
* chore: save progress
* refactor: code
* refactor: remove not requried code
* chore: remove schema
* chore: fix typ
* chore: improve
* chore: change name
* chore: remove unused
* chore: remove page
* refactor: teams page
* feat: add auto scroll
* chore: create validate unique invite
* fix: auth check
* fix: optimistic update
* chore
* fix: add loading
* fix: improvements
* chore: remove
* chore
* chore: fix teams page
* fix: team profile page
* fix: appearance page
* fix: sso view
* fix: type err
* feat: defer loading connected Apps
* fix: type err
* fix: type error
* fix: type err
* fix: connectedApps type
* chore: move
* chore: missing export
* feat: add search by name
* fix: display role change
* fix: use setInfiniteData
* chore: save progress
* test: add unit tests for loading members
* fix: test
* chore: update name
* fix: bugs and improvements
* chore: change variable name
* test: add tests for checkCanAccessMembers
* refactor: performance
---------
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-08-29 13:32:54 +05:30
Keith Williams
4284e86e51
perf: Removed unused attendees count ( #16391 )
2024-08-29 01:13:48 -04:00
Nicolaos Moscholios and Anik Dhabal Babu
0190ca6711
fix: use userPhone instead of phone for switch case ( #16384 )
...
* fix: use `userPhone` instead of `phone` for switch case
Currently this switch case never gets to the last case ("phone") as the type expected is wrong.
Here the type may have value `userPhone` and not `phone`.
* fix another case
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2024-08-28 13:37:02 +00:00
Udit Takkar and sean-brydon
356ecfe2fa
chore: display first 3 organizers photo in round robin event ( #16331 )
...
* chore: display random organizer photo in round robin event
* fix: avatar on instant booking
---------
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com >
2024-08-28 12:31:06 +00:00
Keith Williams and Replexica
3c5ab5e8d2
chore: add replexica to ci ( #16306 )
...
* chore: Add replexica for AI i18n
* Add write permission
* moved i18n to repo root
* Added checkout to i18n job
* Added contents:read
* Added actions: write for testing
* Updated contents: write
* feat: add missing translations
* Checking out the i18n files from PR head sha
* Added the rest of the languages
* Added i18n to list of required checks
* Added a comment explaining the custom common.json checkout
* Commented out languages to not crush Replexica usage
* Add a fetch-depth: 2
* Supporting fetch of external fork branch
* Put back the dynamic sha
* Added a check for null so this can run manually and not just on PRs
* Removed comments
* feat: update translations
* Reverted de and fr to re-run with new settings
* feat: update translations
* Reverted de and fr to re-run with new settings
* feat: update translations
* Removed crowdin
* Limited languages to major ones for 1st pass
* feat: update translations
* Fixing es test
* Reverted yarn.lock changes
---------
Co-authored-by: Replexica <support@replexica.com >
2024-08-28 11:16:47 +03:00
Udit Takkar
d938e67e65
fix: require confirmation cal video bug ( #16376 )
...
* fix: require confirmation cal video bug
* chore: update location
* fix: tests
* chore
* test: add confirm booking test
* chore: add location in test
* fix: types
2024-08-27 22:40:00 +00:00
Benny Joo
47e8907184
chore: App Router Migration - Fix metadata util used in App Router and remove duplicate code ( #16346 )
2024-08-27 13:28:09 -04:00
Hariom Balhara
6104add6bd
fix: More Stability for FormBuilder by unit tests ( #16129 )
...
* Remove use of location from FormBuilder
* Add tests
* Improve error message in test
* Bust cache
2024-08-27 08:14:19 -04:00
Johannes Zellner and Anik Dhabal Babu
7aae55f417
fix: Avoid typescript error for Nextjs usePathname() ( #16368 )
...
* Avoid typescript error for Nextjs usePathname()
#fixes 16323
* Update Shell.tsx
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2024-08-27 07:46:55 +00:00
Keith Williams
ef1b5067c2
fix: Undefined user in insights data ( #16365 )
...
* fix: Null user in insights data
* renaming
2024-08-26 17:43:04 -07:00
Anik Dhabal Babu
4caa095d52
fix: color restrictions issue ( #16360 )
...
* fix: color restrictions issue
* Update EventAdvancedTab.tsx
2024-08-27 07:59:09 +09:00
sean-brydon and Alex van Andel
c8e20b0c57
feat: block pending meetings for requires confirmation ( #16335 )
...
* feat: block pending meetings for requires confirmation
* add i18n
* fix:typecheck
* fix(requires-confirmation-block): Fixes type error
* fix(requires-confirmation-block): Fixes type error
* Tweak to set BookingWhereInput as the explicit type instead of as
* fix: type error
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2024-08-26 09:54:58 -04:00
Anik Dhabal Babu
2fb4289798
feat: tracking and displaying last used login method ( #16356 )
2024-08-26 12:13:42 +00:00
6529b49c3c
feat: bookingFields identifier supports - and _ characters ( #16353 )
...
* now bookingFields identifier supports - and _ characters but no special characters
* fix: unit test
---------
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2024-08-26 12:15:02 +02:00
Somay Chauhan and Morgan Vernay
ef11755488
feat: add recurringEvent attribute to api/v2/event-types ( #16251 )
...
* feat: added recurringEvent attribute to api/v2/event-types
* changed `recurringEvent` to `recurrence`
* Update CHANGELOG.md
* remove /dist/ import
* change `as` to `satisfies`
* testing some changes
* Revert "testing some changes"
This reverts commit 464d2611ed19dbd6ae390332b4d6dd5884bcae3b.
* Update recurrence.input.ts
* fix: apiv2 tsconfig enums
* Update CHANGELOG.md
* removed dev imports
* Update package.json
* Update api-request.spec.ts
* Update api-request.spec.ts
* added recurrence to update-event-type.input
---------
Co-authored-by: Morgan Vernay <morgan@cal.com >
2024-08-26 11:42:35 +03:00
CodeShakingSheep
7a57f57e99
chore: Make URLs for terms and privacy policy customizable via .env vars ( #16350 )
2024-08-26 10:34:07 +02:00
b6d31129a3
feat: Add rescheduledBy & canceledBy fields in the DB ( #15337 )
...
* feat: Add rescheduledBy & canceledBy fields in the DB
* fix: type check
* fix: type check
* fix: use session user email for reschedule
* fix: unit test
* feat: db field email validation
* feat: rescheduledBy and cancelledBy in webhooks
* revert unrelated changes.
* make session user secondary, default to Anonymous
* if condition not required
* Make cancelledBy optional
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com >
* update cancel booking type
* fix: update cancelledBy in db when requesting reschedule
* remove default value for fields
* fix: type check
* feat: manage fields via api v1
* fix: add fields in booking read api v1
* test: expand to cover new fields
* fix: use cancelledBy param on booking page
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-08-25 11:31:46 +02:00
623f0c7d93
fix: visiting organization without access shows empty page ( #15103 )
...
* fix : visiting organization without access shows empty page
* feat: add serversideprops for navigating user before page load
* Update packages/features/ee/organizations/pages/settings/getServerSidePropsMembers.tsx
* fix: workaround e2e fix
---------
Co-authored-by: Shaik-Sirajuddin <sirajudddinshaik30@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: Hariom <hariombalhara@gmail.com >
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-08-24 09:05:50 +00:00
Rajiv Sahal and Morgan
c67877cc51
chore: rename calendar settings atom ( #16329 )
...
* update stripe service
* init endpoints for stripe connect atom
* update stripe controller
* update stripe service
* add generic function to create app credential
* update stripe controller
* update stripe service
* add handler to construct redirectUrl
* restructure files for better readibility
* better naming
* replace STRIPE_PRIVATE_KEY with STRIPE_API_KEY
* fix naming
* remove unused query param
* frontend for stripe connect atom
* custom hooks for stripe connect atom
* abstract response schema into separate file
* fixup
* input dto for stripe controller
* update stripe module
* fixing naming
* fix naming
* rename atom from `SelectedCalendarSettings` to `SelectedCalendarsSettings`
* revert stripe controllers commit
* fixup
* bring back stripe module
* remove stripe atom
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-08-23 10:40:22 +00:00
Alex van Andel
fd50728169
Revert "fix: uncaught types errors in invite members team handler ( #16109 )" ( #16322 )
...
This reverts commit a091c60618 .
2024-08-23 05:40:30 +00:00
sean-brydon and Keith Williams
d84f08c998
actually delete the item if no options or input is found ( #16298 )
...
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-08-22 23:28:49 +09:00
Udit Takkar and Hariom Balhara
c821f15a14
fix: error message when email exists ( #16022 )
...
* fix: error message when email exists
* chore: change postion of error
---------
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
2024-08-22 14:20:41 +00:00
Morgan
8a972a74c6
refactor: bulk update modal logic shifted to web wrapper ( #16315 )
2024-08-22 13:42:43 +00:00
cf76cf7aae
feat: Multiple Options Paste and Routing Form improvements related to Select fields ( #15706 )
...
* Add handlePaste function and integrate it with options fields
* Prevents function running if user does not paste a list, allows list items to be pasted without deleting following items
* Subs useState for rhf useWatch to fix issues with multiple form fields
* Sets options array as optional property in zod schema
* Assigns default value to options array to fix possibly undefined type errors
* Sets placedholder property as optional
* maps selectText to options on mount
* Removes comma & semicolon delimiting for pasted lists (new line only) & defines regex as a constant
* Sets default value of placeholder to empty string, provides default fallback for component text field if placeholder is omitted.
* Fix type error on placeholder
* Extracts handlePaste to service function & tests thoroughly
* Some improvements and tests arent needed
* More fixes
* Fix reporting as well
* TS fixes
* Do transforms to and fro from label
* Add unit tests
* Unit test reporting
* Test Improvements
* Self review feedback addressed
---------
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2024-08-22 13:38:46 +00:00
Joe Au-Yeung and Carina Wollendorfer
399a23a52f
fix: Disable ICS file generation when destination calendar is Outlook ( #16247 )
...
* Set the organizer in the organizer field
* Create generateIcsFile
* Add role enum and only disable for organizers
* Move emails to generateIcsFile
* Add new ics func to new emails
* Fix tests
* Type fix
---------
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
2024-08-22 09:49:53 +00:00
Udit Takkar
342f935aba
fix: create event type refresh bug ( #16301 )
...
* fix: create event type refresh bug
* chore
* fix: type err
2024-08-22 09:43:09 +00:00
27e4210693
fix: atoms icons and build issues ( #16248 )
...
* fix: atoms icons and build issues
* fixup! fix: atoms icons and build issues
* fixup! fixup! fix: atoms icons and build issues
* fix import paths
* rename SchedulingType to something more specific
* fix: Invalid define value (must be an entity name or valid JSON syntax)
* chore: atoms build CI job
* chore: enable atoms build in CI
* fix build
* fixup! fix build
* fixup! fixup! fix build
* chore: replace calendar-days icon with calendar
* fixup! Merge branch 'fix-atoms-build-icons' of github.com:calcom/cal.com into fix-atoms-build-icons
* fixup! Merge branch 'fix-atoms-build-icons' of github.com:calcom/cal.com into fix-atoms-build-icons
* fixup! Merge branch 'fix-atoms-build-icons' of github.com:calcom/cal.com into fix-atoms-build-icons
---------
Co-authored-by: Lauris Skraucis <lauris.skraucis@gmail.com >
Co-authored-by: Ryukemeister <sahalrajiv6900@gmail.com >
Co-authored-by: supalarry <laurisskraucis@gmail.com >
2024-08-22 08:32:39 +00:00
Amit Sharma and Udit Takkar
66cb2bcc13
fix: Workflow action 'email to host' only sends to one host of team e… ( #14767 )
...
* fix: Workflow action 'email to host' only sends to one host of team event
* add in missing files
* fix host logic
* uncomment working test
* code refactor
* use connected calendar email
* add changes to util file
* fix: extend eventType info in sendCancelledReminders
---------
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-08-22 08:04:31 +00:00
Akash Rajpurohit and Anik Dhabal Babu
30c31d3585
feat: ✨ support for adding script url added for umami ( #16300 )
...
* feat: ✨ support for adding script url added for umami
This will help self hosters in setting up umami.
* feat: ✨ set default value for script URL in the form field
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2024-08-22 09:39:03 +02:00
Anik Dhabal Babu and Somay Chauhan
baa9045af7
feat: ability to add guests via app.cal.com/bookings ( #14740 )
...
* feat: ability to add guests via app.cal.com/bookings
* fix: some update
* fix: minor issue
* fix: final update
* update
* update
* add requested changes
* fix type error
* small update
* final update
* fix type error
* fix location
* update calender event
---------
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
2024-08-20 09:26:19 +00:00
b004587262
fix: textarea ux in Editor.tsx #16225 ( #16231 )
...
* fix: textarea ux in Editor.tsx #16225
* fix: textarea ux in Editor.tsx #16225
* fix: textarea ux in Editor.tsx #16225
* fix: textarea ux in Editor.tsx #16225
* fix: textarea ux in Editor.tsx #16225
* fix and update
* remove space
---------
Co-authored-by: unknown <adhabal2002@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-08-20 08:39:33 +00:00
Sy Sagar
8a7beff339
style(Booker): overflow on timezone Select ( #16242 )
2024-08-20 08:26:53 +00:00
Shreya Agarwal and Amit Sharma
9001eb7795
fix: fix app config same key values ( #16215 )
...
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
2024-08-20 07:33:24 +00:00
Hichem Fantar
50c4578c2e
feat: Add transition to hover background in multiple components ( #16216 )
...
* chore: Add transition to hover background in multiple components
* chore: Add transition to hover background in multiple components
2024-08-20 07:23:09 +00:00
4ff2ce90f9
fix: whatsapp message body sometimes editable (Issue #16067 ) ( #16185 )
...
* Fixing issue #16067
* Creating reusable Editor component for Editor
* fix editor issue
* remove log
* fix: unit test
* fix: unit test
* add unit test for the plugin and changes
---------
Co-authored-by: unknown <adhabal2002@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
2024-08-20 16:19:24 +09:00