Benny Joo and GitHub
f5dbdae4a9
fix: Close OOO Create Modal on backdrop click ( #17000 )
2024-10-08 17:42:28 +00:00
654a204878
feat: Attribute based routing from Team Routing Form to Team Event(with assigned users matching the attribute logic) ( #16823 )
...
* Initial commit
* routingForm to Booking a particular team member working
* Happy path working
* Fixes
* Fix router query params forwarding
* Add basicConfig within app
* Tests
* More tests
* Update packages/app-store/routing-forms/components/SingleForm.tsx
Co-authored-by: Omar López <zomars@me.com >
---------
Co-authored-by: Omar López <zomars@me.com >
Co-authored-by: Benny Joo <sldisek783@gmail.com >
2024-10-08 21:12:32 +05:30
Alex van Andel and GitHub
d99f171597
perf: Only render the TimezoneChangeDialog when needed ( #16986 )
...
* perf: Only render the TimezoneChangeDialog when needed
* fix: Import error
* Minor style fixes
2024-10-08 10:41:53 +01:00
Anik Dhabal Babu and GitHub
8aee8d9d3b
fix: SMS reminders are being sent out with an HTML code ( #16966 )
2024-10-07 17:51:04 -04:00
b5fa43f086
feat: checkbox to count managed events for team-wide limits ( #16923 )
...
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
2024-10-07 11:36:50 -04:00
Joe Au-Yeung and GitHub
0d757039f7
chore: Fixing ICS file in workflows & ICS calendar descriptions [CAL-4409] ( #16731 )
...
* Remove title and subtitle from ICS calendar description
* Remove unused method
* Use generateIcsString function for workflows
* Type fixes
* Refactor typing of CalEventParser
* WIP
* Type fixes
* Fix test
* Fix tests
* type fixes
* Remove duplicate code before `scheduleEmailReminder`
2024-10-07 10:50:50 -04:00
Benny Joo and GitHub
21dd44733f
fix: make theme logic safe and add better e2e tests ( #16959 )
...
* fix: improve theme logic
* remove null from ThemeLabelProps value
* add better e2e tests
2024-10-07 11:23:30 +01:00
Lauris Skraucis and GitHub
b0bfec7247
feat: Booker atom read only fields ( #16904 )
...
* refactor: include user-readonly in BookingFields
* feat: add read only name and email booking fields
* feat: Booker atom prop for read only name and email
* refactor: simplify props type
2024-10-07 15:03:07 +05:30
Lauris Skraucis and GitHub
ba5b9e951a
feat: Booker atom enable hiding event details ( #16906 )
...
* refactor: Booker component hideEventTypeDetails hides sidebar
* feat: Booker atom hideEventTypeDetails prop
* fix: redundant border appearing if event details hidden
* Revert "fix: redundant border appearing if event details hidden"
This reverts commit 63122a906a8e41b54074387e1a6a4f0e4489a8a9.
* fix: border
2024-10-07 09:52:47 +02:00
Benny Joo and GitHub
376caa412d
fix: DOM attribute warning in event-types edit page ( #16953 )
2024-10-05 03:39:11 +00:00
+13
a4a3eb5ea9
refactor: Billing service ( #15366 )
...
* WIP: Billing service
* WIP
* Update __handler.ts
* Update index.ts
* WIP
* WIP
Signed-off-by: zomars <zomars@me.com >
* WIP
Signed-off-by: zomars <zomars@me.com >
* Update delete.handler.ts
* Update delete.handler.ts
* Update internal-team-billing.ts
* WIP
* Type fixes
Signed-off-by: zomars <zomars@me.com >
* WIP
Signed-off-by: zomars <zomars@me.com >
* Discard changes to apps/api/v2/src/ee/event-types/event-types_2024_04_15/controllers/event-types.controller.ts
* Discard changes to packages/app-store/skype/config.json
* style: update text area (#15934 )
* chore: update text-editor input
* chore: update text-editor input
* final update
* Update Editor.tsx
---------
Co-authored-by: unknown <adhabal2002@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
* fix : #15697 Assignment warning modal poping up ,even when hosts are added . (#15699 )
* removed reduntand check on assignedusers
* update for managed eventtype
* formatted
* comments
* Updated comments
* extracted checkForEmptyAssignment and added tests
* updated comments
* updated to show dialog also when not yet saved
* update translations
* updated comments
* updated translation
* updated types
* chore: update naming and comments
* Delete apps/web/lib/checkForEmptyAssignment.ts
deleted since file was renamed
* Delete apps/web/test/lib/checkForEmptyAssignment.test.ts
deleted as the file is renamed to be more descriptive
* update to do teamcheck before
* chore: revert name to CheckForEmptyAssignment
* updated check conditions
* updated useEffect dependencies
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
* fix: getting an error when a team member tries to leave (#15925 )
a team
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
* feat: add transitions to more components (#15916 )
* add transitions to more components
* chore: Remove duplicate class
* fix: Change minimum number of teams required for org self-serve (#15955 )
* fix: Change minimum number of teams required for org self-serve
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* refactor: Use a new constant for displaying org helper text dialogue
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* Update packages/lib/constants.ts
* Update turbo.json
---------
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
* feat: pwa ready and add shortcut for quick access (#15957 )
* chore: Update site.webmanifest with additional display properties
* chore: Update site.webmanifest with additional display properties
* Update apps/web/public/site.webmanifest
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
* i18n: update translations for "by proceeding, ..." (#15921 )
* feat: Add title attribute to iframe in embed.ts (#15944 )
* feat: Add title attribute to iframe in embed.ts
* Update packages/embeds/embed-core/src/embed.ts
---------
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
* fix: Assignment reminder modal appears when deleting a team event type (#15544 )
* fix: Assignment reminder modal appears when deleting a team event type
* update
* Update EventTypeSingleLayout.tsx
* Update event-types-single-view.tsx
* update
* Early return https://handbook.cal.com/engineering/best-practices/prefer-early-returns
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Hariom <hariombalhara@gmail.com >
* fix: Add CORP and COEP headers to embedded pages (#15275 )
* Add CORP headers
* Improve test
* Add unit tests as well
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
* feat: No-show bookings - do not count towards a member's round robin assignment (#15323 )
* feat: No-show bookings - do not count towards a member's round robin assignment
* filter no show organizer
* remove logs
* fix: filter bookings where host attendee is no show
* fix: use not condition for noShow
* chore: test
* add default false for noShowHost
* Revert "chore: test"
This reverts commit c914a8fc4a14ca9c7d8c4a08ff8b0f463789171c.
* chore: integration test
* fix: noShowHost not working for null
* Update packages/lib/server/getLuckyUser.ts
* chore: update test description
---------
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: gh0st91848 <gh0st91848@gmail.com >
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
* refactor: v1 orgs unlimited teams (#15908 )
* refactor: v1 orgs unlimited teams
* fix: response message ownerId
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
* fix: refresh connect atoms on token change (#15933 )
* added dropdown
* change comment
* fix: added types
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
* fix: Next.js bundle analysis (#15903 )
* fix: Next.js bundle analysis
* Added the main checkout back
* fix: type in webhook payload (#15912 )
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
* fix: auto accept (#15975 )
* fix: auto accept
* Update packages/lib/server/repository/organization.ts
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
---------
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
* fix: Broken GitHub workflows (#15979 )
* test: Delete credential endpoint (#15322 )
* Init
* Add mock trpc context
* Intro mockDatabaseClient
* Introduce mockDatabaseClient class
* Add delete video app test
* Add calendar test
* Remove unused func from bookingScenario
* Remove console.log
* Add app repository
* Add createMany method to event type repository
* Remove instance of MockDatabaseClient from video test
* Add destination calendar repository
* Remove instances of MockDatabaseClient
* abstract logic to own handler
* Remove dev dependency
* Clean up
* Type fix
* Pull yarn.lock from main
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
* fix : #15967 Show better error when wrong variable is used in custom event name (#15974 )
* update to show exact err msg with custom event name
* updated tests for validateCustomEventName
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
* WIP
Signed-off-by: zomars <zomars@me.com >
* Update yarn.lock
* Update publish.handler.ts
* Update internal-team-billing.test.ts
* rename create to init
* remove sync services
* wip tests for delete team
* wip tets
* wip tests
* tests/internal-test
* remove return that is inaccessable
* remove team calls to use repository
* remove redudant file
* update team repo
* add stripe mocks and test
* fix constants
* tests to main stripe handler
* remove logs
* fix constants
* Update packages/features/ee/billing/api/webhook/_customer.subscription.deleted.team-plan.ts
Co-authored-by: Omar López <zomars@me.com >
* move workflow logic to a service
* use static method > creating new class
* fix: remove http code deep in repo + tests
* Feedback
* Update index.ts
* Type fix
* Lazy load fixes
---------
Signed-off-by: zomars <zomars@me.com >
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
Co-authored-by: Rohan Advani <122167726+RNAdvani@users.noreply.github.com >
Co-authored-by: unknown <adhabal2002@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
Co-authored-by: Vijay <vijayraghav22@gmail.com >
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
Co-authored-by: Hichem Fantar <hichemfantar2049@gmail.com >
Co-authored-by: Souptik Datta <souptikdatta2001@gmail.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Johannes Maendle <141119154+jomaendle2@users.noreply.github.com >
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: gh0st91848 <gh0st91848@gmail.com >
Co-authored-by: Lauris Skraucis <lauris.skraucis@gmail.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com >
Co-authored-by: sean-brydon <sean@cal.com >
Co-authored-by: sean <sean@brydon.io >
2024-10-04 13:44:50 -07:00
Benny Joo and GitHub
7b5a2726ab
fix: translations for insights, routing-forms, apps store, etc ( #16933 )
...
* remove outdated translations for insights
* use i18n strings for insights
* use i18n strings for routing forms
* use i18n strings for apps store
* fix more pages
* refactor
* fix
2024-10-04 09:45:51 -03:00
sean-brydon and GitHub
7d4653296e
add trial days to stripe teams checkout ( #16940 )
2024-10-04 12:42:51 +00:00
Ash Davis and GitHub
743b155a88
fix: rescheduledBy to carry into success url redirect ( #16931 )
2024-10-04 10:59:52 +01:00
2a1dc619ee
feat: Multiple Private links per Event Type ( #15896 )
...
* feat: Change hashedLink field to array
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* feat: Implement core single-use links logic
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Get private link from list of hashedLinks on event list page
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Fix defalut single-use links form field value
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Fix some type errors while compiling
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Use onChange callback instead of setting form values directly
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* feat: Add e2e tests for single-use links
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* refactor: Refactor single-use-links admin interface
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Fix settings toggle bugs
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* chore: Remove redundant inline comments
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Remove debug statements
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* chore: Remove single-use links e2e tests
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* feat: Remove private-link feature and override with single-use-links
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Fix type errors
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* refactor: Remove redundant migrations
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Add managedEvents restriction
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Fix single-use-links for org
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Fix recommended UI changes
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Fix duration not respected for private links
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Fix team event page title
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* feat: Add logic to copy each single-use-links from event listing page
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* feat: Add single-use links support for managed event types
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Fix some type errors
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Fix type errors
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* refactor: Disable adding new single-use links when field is locked
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Address feedbacks
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* refactor: Hide add new link button for locked single-use link field
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* chore: Use empty string for single-use link fallback value condition
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Fix org single-use links in listing page
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* feat: Auto toggle unlock button for managed event's single-use links option
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* Revert "feat: Auto toggle unlock button for managed event's single-use links option"
This reverts commit 5a2ed6f0bf428d52de153335499f02f42ccdf18f.
* chore: Disable parent toggle for single-use-links
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* feat: Remove tooltip and give info message below field
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* add tooltip
* tooltip message
* fix: Fix typo
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Fix typescript type errors
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Fix few unit tests
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* refactor: Remove redundant query
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* merge conflict fix
* More merge conflict fix and refactor
* fix tests, code refactor
* fix: type check
* fix: duration config and keep links when updating event type
* fix: e2e
* refactor: Replace single-use-links with multiple-private-links
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
---------
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
Co-authored-by: Amit91848 <samit91848@gmail.com >
2024-10-03 00:58:54 +05:30
48a2fc2f67
fix: translations for sidebar ( #16910 )
...
* fix: translations for sidebar
* Update apps/web/public/static/locales/en/common.json
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-10-02 18:21:25 +00:00
4553455098
chore: refactor shell to individual files ( #16893 )
...
* banners
* useAuthHooks
* fixes to redirect and banner
* extract useIntercom to custom hook
* use app theme
* extract user-dropdown to new component
* Navigation Item
* navigation and profile dropdown
* Fix import
* navigation and sidebar
* fix type errors
* fix banners being an async call
* fix types
* fix banner prop type
* fix mobile nav item import
* fix banner types
* (revert) layout banner render method to fix type error
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-10-02 15:35:56 +01:00
b4f1b5aebe
refactor: handleNewBooking #4 ( #15673 )
...
* refactor: handleNewBooking #3
* refactor: create booking factor
* refactor: handleNewBooking
* refactor: seats and rescheduleUId
* chore: remove comment
* fix: type err
* chore: add missing statement
* chore: use less params and other improvements
* chore: name
* chore: improvement
* fix: type err
* Typo fix
* chore: fix type err
* refactor: more readable
* refactor: improve code
* fix: conflicts
---------
Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com >
2024-10-02 10:26:25 -04:00
a99e285d76
fix: fix ui overflow on phone for calendar settings ( #16661 )
...
* fix: fix ui overflow on phone for calendar settings
* fix: overflow issue with long emails
* Update CalendarSwitch.tsx
---------
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2024-10-02 12:24:25 +00:00
706e8e4c1f
feat: added workflows to all actions ( #16691 )
...
* feat: added workflows
* moved the condition from Editor to excludedToolbarItems
* revert editor changes
* Update WorkflowStepContainer.tsx
* update
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
Co-authored-by: unknown <adhabal2002@gmail.com >
2024-10-01 18:50:17 +05:30
Alex van Andel and GitHub
a95729f4a1
chore: Couple fixes to improve error reporting ( #16895 )
...
* chore: Couple fixes to improve error reporting
* tweak: Fix error message
* refactor: Use findUniqueOrThrow instead of guard
* fix: Broken test, missing ID - suspect it passes because only one record exists
* chore: Minor refactor to split ZodEffect from ZodType
* fix: Satify typescript
2024-10-01 09:18:51 -03:00
Morgan and GitHub
9d3be8de03
chore: improve event-type atom desc, data fetch ( #16890 )
2024-10-01 10:38:37 +00:00
Udit Takkar and GitHub
9375efffe3
feat: prevent sending multiple instant meeting request ( #16881 )
2024-09-30 18:54:55 -03:00
2a734faf45
fix: undefined in meeting url workflow variable ( #16771 )
...
* make bookerUrl mandatory
* add missing bookerUrl
* add fallback
* fix roundRObinReassignment
* clean up
* allow bookerUrl to be undefined
* code clean up
* make bookerUrl mandatory
* fix type errors
* fix type error
---------
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-09-30 15:25:51 -04:00
ad347cb59f
feat: Event Type Atom base pr ( #16831 )
...
* feat: Event Type Atom base pr
* fixup! Merge branch 'main' into chore-event-type-atom-platform-wrapper-base-pr
* Update EventTypeWebWrapper.tsx
---------
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
2024-09-30 13:44:11 +03:00
ac300ff670
refactor: enable infinite scrolling for all ( #16463 )
...
* refactor: enable infinite scrolling for all
* chore: remove unused code
* fix: tests
* chore: type err
* chore: update email embed test
* chore: update tests
* chore: update tests
* chore: fix horizontal tabitem
* chore
* fix: conflicts
* chore: conflict
* fix: E2E tests
* chore: remove idle
* fix test
---------
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com >
2024-09-30 10:44:04 +01:00
c834b927b6
refactor: event advanced web wrapper ( #16711 )
...
* chore: EventTypeWebWrapper base pr
* fixup! chore: EventTypeWebWrapper base pr
* fixup! Merge branch 'main' into morgan/cal-4183-eventtypeatom-web-wrapper-base
* wip
* fix: error
* Event type atom wrapper handles app dir
* fixup! Merge branch 'main' into morgan/cal-4183-eventtypeatom-web-wrapper-base
* fixup! fixup! Merge branch 'main' into morgan/cal-4183-eventtypeatom-web-wrapper-base
* remove console log
* review comments
* fixup! review comments
* refactor: event advanced web wrapper
* rename `connectedCalendars` -> `calendarsQueryData`
* Update BookerLayoutSelector.tsx
* moved useMeQuery up the parent tree
---------
Co-authored-by: Morgan Vernay <morgan@cal.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-09-30 12:15:11 +03:00
Somay Chauhan and GitHub
34ba27407b
refactor: event availability web wrapper ( #16808 )
...
* refactor: event availability web wrapper
* useMeQuery moved up the parent component
2024-09-30 08:16:18 +00:00
Somay Chauhan and GitHub
8431cd2ef8
refactor: event recurring web wrapper ( #16764 )
2024-09-30 08:11:13 +00:00
sean-brydon and GitHub
20729b3a4e
chore: Move getRemindersFromRemovedTeams and deleteAllWorkflowReminders to workflow repo ( #16861 )
...
* wip
* move deleteAllWorkflowReminders to repo
2024-09-27 10:42:09 -04:00
d836497d56
fix: Don't AutoScroll to embed when multiple-duration event's booking page is embedded ( #16411 )
...
* Fix and add test and eslint rule
* Fix eslint errors
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-09-27 09:57:04 +05:30
38fa0fae1d
fix: insights UI/UX ( #16610 )
...
* remove old code remnant
* -
* WIP
* type change
* --
* typefix
* fix type
* fix type
* change type name
* add basewhere to eventsByStatus
* add basewhere to the rest
* fix rendering null popular event list item
* URL params for start and endtime to have YYYY-MM-DD format
* remove console log
* resolve suggestion
---------
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-09-27 03:36:32 +00:00
Mohit and GitHub
2872b263fd
fix: <a href> is not clickable cause of z-index ( #16842 )
2024-09-27 02:38:31 +00:00
Benny Joo and GitHub
90f6c7e239
feat: New UI for SignUp / Login ( #16802 )
2024-09-26 15:27:56 -04:00
ae7fae7da4
feat: Add hideCalendarEventDetails option to event types ( #16817 )
...
* Add `hideCalendarEventDetails` to DB
Co-authored-by: Alex van Andel <emrysal@users.noreply.github.com >
* Add option to hide calendar event details
* Pass `hideCalendarEventDetails` to event object
* Add to API
* Add to CalendarEvent class
* Pass `hideCalendarEventDetails` to calendar services
* Adjust test
* fix: move `hideCalendarEventDetails` to `api/v2/event-types_2024_06_14` and remove from older versions
- Added `hideCalendarEventDetails` to `api/v2/event-types_2024_06_14`
- Removed `hideCalendarEventDetails` from `api/v1` and `api/v2/event-types_2024_04_15`
* fix: calEventRaw is undefined (use event instead)
* chore: Remove debug artifact
* fix: description id + update to copy
* fix: Attempt at fixing type error
* Add hideCalendarEventDetails to test builder
---------
Co-authored-by: Alex van Andel <emrysal@users.noreply.github.com >
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2024-09-26 17:08:25 +00:00
Lauris Skraucis and GitHub
e4dc2d0877
fix: platform cancel booking webhook not triggered ( #16827 )
...
* fix: pass oauth id to webhooks upon cancel booking
* chore: v2 use latest libraries
2024-09-26 14:49:53 +00:00
Peer Richelsen and GitHub
715cbc1c38
chore: small changes to license page ( #16812 )
2024-09-25 15:14:38 +02:00
Benny Joo and GitHub
17ff01af75
fix: Revert "feat: Update UI of signup / login pages ( #16710 )" ( #16801 )
...
* Revert "feat: Update UI of signup / login pages (#16710 )"
This reverts commit b879aeef09 .
* revert
2024-09-24 20:07:37 +00:00
2e2a6c73b1
feat: add advanced tab attributes to api/v2/event-types ( #16314 )
...
* added bookerLayouts
* added requiresConfirmation
* added tests
* undo extra changes
* undo extra change
* fixed imports
* added requiresBookerEmailVerification
* added hideCalendarNotes
* added lockTimeZoneToggleOnBookingPage
* added eventTypeColor
* undo extra changes
* added seats
* added requiresConfirmationWillBlockSlot to requiresConfirmation
* refactor: Implement BaseEventType class to avoid duplication across EventType input/output classes
## D-R-Y ##
* temp-fix: will revert later
* Correct placement of users array from EventTypeOutput to TeamEventTypeOutput
* Refactor: Shifted transformation logic to controllers using interceptors and pipes for a cleaner service layer.
* small fix
* Refactor: Moved transformation logic from service to controller using interceptors and pipes
** organisations/event-types
* feat: adde tests for `validateEventTypeInputs`
* fix: failing test
* fix: layout validator
* renamed blockCalendarForUnconfirmedBookings to blockUnconfirmedBookingsInBooker
* testing changes
* added disabled state
* fix merege conflict
* renamed requiresConfirmation to confirmationPolicy
* renamed OutputEventTypesResponseInterceptor to OutputTeamEventTypesResponseInterceptor
* renamed `darkThemeColor` -> `darkThemeHex` and `lightThemeColor` -> `lightThemeHex`
* renamed `eventTypeColor` -> `color`
* changed `requiresConfirmation` -> `confirmationPolicy`
* added tests for disabled state
* added class-validators to `disabled?: false`
* Revert: Split create and update input/output classes
* feat: Refactor responses to use DTOs with plainToClass for explicit property control
• Updated all endpoints to return response DTOs (e.g., CreateTeamEventTypeOutput, GetTeamEventTypeOutput) to ensure consistent Swagger documentation generation.
• Introduced plainToClass for transforming responses, enabling explicit control over which properties are returned in the response, following Morgan’s recommendation.
• Replaced generic HandlerResponse type with class-validator based DTOs for each endpoint, ensuring TypeScript enforces correct response structure.
• Applied strategy: "excludeAll" to limit response properties to only those explicitly defined in the DTO, preventing unintended fields from being included in the API responses.
* added pipes to transform output data
* add clean script to platform-types package.json
* added customName
* added destination calendar
* fixed type errors
* added useDestinationCalendarEmail
* refactor: api-reqest and api-response
* Update event-type.output.ts
* fixed errors
* Update yarn.lock
* added some missed properties to output
* Update constants.ts
* removed return type
* fixed some type errors
* reuse types
* Improve readability of validation functions
* Update CHANGELOG.md
* chore: post publish platform libraries
* Update documentation.json
* fix: reset platform libraries to 0.0.0
* fixup! fix: reset platform libraries to 0.0.0
* Update event-type.tranformed.ts
---------
Co-authored-by: supalarry <laurisskraucis@gmail.com >
Co-authored-by: Morgan Vernay <morgan@cal.com >
2024-09-24 13:36:05 +03:00
d7383b2c80
add booking limits to SettingsLayoutAppDirClient ( #16777 )
...
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
2024-09-23 20:22:50 +00:00
9e980dc0ab
feat: global booking limits for teams ( #16614 )
...
* add booking booking to team settings
* add update mutation
* add missing export
* fix dirty state
* first version of global team limits in getUserAvailability
* add test setup
* create seperate test file for global limits
* add tests for all units
* move limitManager and booking limit functions outside of getUserAvailability
* add migration
* clean up code
* move yearly booking count to booking repository
* code clean up
* don't count rescheduling booking
* add test for getSchedule
* fix type error
* fix type error
* fix type error
* fix from and end date for fetching bookings
* reuse functions
* allow null for bookingLimits
* remove bookings from managed event type
* fix type error
* code clean up
* small fixes form clean up
* fix type issue
* same fixes in teams/_post
* fix existing tz issue
* tests for fix
* adds missingn await
* imrove description
* remove spreading
* fix reschedule issue with booking limits
* fix reschedule error with booking durations
* remove useeffect
* undo commit
* add bookingLimits to UpdateOrgTeamDto
* fix unit tests
* Prepare view for app router migration
* throw error if not in ascending order
* fix disabled update button
---------
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-09-23 14:21:40 -04:00
Benny Joo and GitHub
b879aeef09
feat: Update UI of signup / login pages ( #16710 )
...
* update UI of signup, login pages
* remove disabled state from google sign-in
* Put isGoogleLoginEnabled to its place + fix displaySignupForm default value
* Rename Signup flow test -> Email Signup flow test
* add data-testid to continue with email button
* completely decouble formMethods values from google sign in
* fix
* refactor
* add signup page test
* revert yarn.lock
* fix e2e test
* add saml in signup
* add saml in signin
* revert
* remove space
2024-09-24 02:27:57 +09:00
0eabe7f28b
refactor: v2 bookings ( #16200 )
...
* chore: version existing bookings as 2024-04-15
* feat: initialize bookings version 2024-08-13
* feat: Create and reschedule booking inputs logic
* feat: create booking
* refactor: create booking response
* feat: reschedule booking
* chore: update language input
* feat: recurring booking
* refactor: add booking status in response
* refactor: recurring bookings
* feat: get booking by uid
* wip: get event types
* feat: fetch by multiple status filters and sort
* feat: fetch by teamId, teamIds, eventTypeId, eventTypeIds
* wip: filter by attendee email
* feat: filter by attendee email
* feat: filter by attendee name
* feat: date range filter
* chore: format get bookings output
* chore: finish main merge
* feat: handle instant bookings
* refactor: separate reschedule endpoint
* feat: cancel endpoint
* feat: mark absent host or attendees
* chore: dont expose metadata for now
* chore: add hostId to response
* fix: metadata
* feat: bill bookings
* feat: cancellationReason
* feat: rescheduling reason
* handle already busy booking error
* test: create new booking
* fix: handleNewRecurringBooking ignoring noEmail
* test: recurring bookings
* test: get individual bookings
* fix: cancel email sent if arePlatformEmailsEnabled=false but platformClientId is undefined
* tests: cancel, reschedule, mark absent
* fix: generateIcsFile null pointer exception
* cancel test
* error msg improve
* tests: team event type creation and teamId, teamIds filters
* test: cancel recurring booking
* refactor: make hosts and attendees an array
* sort by asc start
* simplify
* refactor: absent
* fix: make work with api key
* test
* ts remove any
* feat: BookingUidGuard
* fix: recurring booking no email
* fix: legacy bookings recurring noEmail
* add swagger
* retrigger build
* fix: atom booker work with v2
* docs: exclude old controller from docs
* refactor: make eventTypeIds and teamIds getBookings query params comma separated string
* docs: swagger for get bookings query
* swagger docs
* swagger docs
* docs: document authorization header
* refactor: remove unused attendee variable
* refactor: remove unused check
* refactor: remove unused attendee variable
* refactor: spelling
* use published platform libraries
* fix: ci
* fix: ci
* fix: ci
* fix: ci
* cleanup script platform types
* fix: use libraries from npm
* chore: set test env vapid keys
* fix: event type tests
* fix: remove location from system fields
* fix legacy event types
* Revert "fix legacy event types"
This reverts commit e64b473b73f7ef0fe88942cd87277d29a512b946.
* Revert "fix: remove location from system fields"
This reverts commit bee9a15cb27cd34705f34c427b6b50d51e3b7ee7.
* Revert "fix: event type tests"
This reverts commit fab1cb0f5eeb65e4f542bfbeb83849ceed7ba428.
* update libraries
* fix: increase node space for ci runner
* fix: increase node space for ci runner
* fix: increase node space for ci runner
* readd swagger
* ci
* ci
* refactor: increase idle worker memory jest e2e
* fixup! refactor: increase idle worker memory jest e2e
* fixup! fixup! refactor: increase idle worker memory jest e2e
* refactor: split bookings e2e into smaller e2e files
* fixup! refactor: split bookings e2e into smaller e2e files
* fixup! fixup! refactor: split bookings e2e into smaller e2e files
* fixup! fixup! fixup! refactor: split bookings e2e into smaller e2e files
* fixup! Merge branch 'main' into v2-refactor-bookings
* revert event types service
* fix: remove resetModule, maxWorker 2 jest e2e config
---------
Co-authored-by: Morgan Vernay <morgan@cal.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-09-23 16:19:25 +03:00
3371602e0f
feat: billing tab for platform ( #16755 )
...
* modules for platform plans and billing pages
* add platform billing and plans related pages
* update platform navigation to include billing tab
* custom hook to upgrade team subscription
* refactors
* export cta row component
* fixup
* only pass in subscription id instead of whole subscription
* refactor :teamId/subscribe endpoint logic, add endpoint for upgrading stripe and shift all webhooks logic into services
* refactor team subscription logic, add logic for upgrading stripe and webhooks logic from billing controller
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-09-23 13:36:03 +03:00
bc34e67191
refactor: event limits web wrapper ( #16679 )
...
* chore: EventTypeWebWrapper base pr
* fixup! chore: EventTypeWebWrapper base pr
* fixup! Merge branch 'main' into morgan/cal-4183-eventtypeatom-web-wrapper-base
* wip
* fix: error
* Event type atom wrapper handles app dir
* fixup! Merge branch 'main' into morgan/cal-4183-eventtypeatom-web-wrapper-base
* fixup! fixup! Merge branch 'main' into morgan/cal-4183-eventtypeatom-web-wrapper-base
* remove console log
* review comments
* refactor: event limits tab for atoms
* fixup! review comments
---------
Co-authored-by: Morgan Vernay <morgan@cal.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-09-23 06:51:23 +00:00
Omar López and GitHub
6dd8812a19
fix: Flakyness on pages that use a hard refresh ( #16752 )
...
* fix: Flakyness on pages that use a hard refres
Signed-off-by: zomars <zomars@me.com >
* Update Shell.tsx
---------
Signed-off-by: zomars <zomars@me.com >
2024-09-21 03:41:10 +00:00
1a60afad7a
chore: booking verification token and booking rejection logic from email ( #16324 )
...
Co-authored-by: Omar López <zomars@me.com >
2024-09-21 02:25:27 +00:00
Omar López and GitHub
8e76d7bd10
chore: fix formatting ( #16750 )
2024-09-21 02:10:12 +00:00
Alex van Andel and GitHub
97f213f260
revert: be7d45afe2 ( #16742 )
2024-09-20 15:01:49 +00:00
a60aa1bf6c
add create license key to admin tab if IS_CALCOM ( #16721 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-09-19 13:09:14 +00:00