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
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
+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
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
sean-brydon and GitHub
da59c9de12
fix getEventTypeWorkflows ( #16879 )
2024-09-30 22:09:18 +01: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
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
Anik Dhabal Babu and GitHub
2b24b4472d
fix: OOO issue with setting the start and end dates to the same ( #16810 )
2024-09-25 13:44:42 +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
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
Syed Ali Shahbaz and GitHub
2fb1408dd1
Update util.ts ( #16753 )
2024-09-21 12:05:35 +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
sean-brydon and GitHub
e7415fe6e2
feat: update vitest version v0.34 to V2.11 ( #16676 )
...
* update version
* fix button to match new spec
* migrate tests to objectContaining
* fix tests
* update RTL
* yarn.lock update
* bump fetch mock to latest vitest version
* update deep mock to use vitest 2.0
* fix mock prisma type cast
* meet base test fn singature for V2
* remove console.log from next test
2024-09-17 19:09:55 +01:00
d27ccd6f44
feat: org team app install ( #15704 )
...
* feat: remove dropdown from app-store and redirect to new-app-install-flow
* removed extra code
* fix: account select loading issue
* removed getPaymentCredential (unused)
* fix: only redirect after the app has been added to all the event-types
* remove overflowIndicatorStyles
* refactor getUserAdminTeams
* send teamId instead of id
* seperate locations component
* for conferencing apps skip select account page
* refactor InstallAppButtonChild
* installing conferencing apps shows locations dropdown in configure step
* send location data to the handler
* send location data to the handler
* add the newly installed to the locations dropdown (prefillLocation)
* fix: type errors
* fix: handle es-lint errors
* fix: app is added again on submit
* only add app if not already added
* fix: type erros
* filter out managed events for now
* fix: show installed count badge
* remove 2 toast message
* feat: added tests for conferencing apps
* fix: loading indicator
* Update apps/web/pages/apps/installation/[[...step]].tsx
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
* Update apps/web/pages/apps/installation/[[...step]].tsx
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
* move `getUserAdminTeams` to `UserRepository`
* fix: zoom and jelly not redirecting to the new app install flow
* fix: typo
* add `installableOnTeams` prop
* split `configureStepCard` into smaller components
* fix: step count
* fix: show loading indicator until the new page is loaded
* fix: organizer_default_conferencing_app not visible in a team
* Introduce QueryClient to app card tests
* fix: typo
* add installableOnTeams prop
* fix: tests
* seated events shouldn't have multiple locations #15174
* fix: o365 callback
* fix: office365_video not redirecting to event-types step
* Revert "fix: o365 callback"
This reverts commit bba841035ea34f8c31201b64c77221b8d8c3e626.
* add TEAM_SELECT_STEP
* add apps to orgs and their sub-teams initial commit
* undo team select step
* small ui fix
* fix: wrong step numbers
* fix: dont allow app installation without cretendialId
* fix: don't show acme team as it cannot have any events
* refactor useAddAppMutation
* removed console.log
* added comment
* added comment
* move locationOptions from getServerSideProps a trpc query
* fix: failing tests
* Update conferencingApps.e2e.ts
* refactor useAddAppMutation
* refactor useAddAppMutation 2
* fix: test failing
* fix: unit test
* Revert "fix: unit test"
This reverts commit 6d74032211d094478c6d7cf9aedbce696dfb768d.
* fix: failing test
* Increase test timeout for conferencing app tests
* fix: write separate tests for each conferencing app to prevent hitting 6000 ms timeout
* improved tests naming
* fix: correct message and translation key #15657
* fix: write separate tests for each analytics app to prevent hitting 6000 ms timeout
* fix: analytics apps test
* attempt to fix failing tests
* fix typo
* refactor
* update: replace text-gray with text-stuble
- works with light mode too
* update: use userRepository.getUserAdminTeams
* Merge branch 'main' into feat/org-team-app-install-2
* fix: after merge conflict from app router migration
* remove consoles
---------
Co-authored-by: Omar López <zomars@me.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-09-17 04:40:56 +00:00
Syed Ali Shahbaz and GitHub
45e0f87e45
fix: add logger to util to debug v1 API slot ( #16657 )
...
* Update util.ts
* fix init
* add logger to repository_user
2024-09-16 08:29:58 +00:00
Benny Joo and GitHub
689e17bcf6
fix ( #16632 )
2024-09-15 20:23:37 -03:00
Anik Dhabal Babu and GitHub
9bfd933699
fix: managed eventype is not deleted to the assigned user when team is deleted ( #16621 )
2024-09-13 23:40:25 +01:00
a775e42e85
fix: prevent creating multiple platform orgs ( #16629 )
...
* set error messages to know whats wrong
* trying to find if org with same owner already exists
* ensure a user cannot create more than one platform team
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2024-09-13 23:37:48 +01:00
e3b478f5b1
fix: get slot logic for v1 API ( #16620 )
...
* fix faulty slug match
* Allow team event slot
* pass it to getSchedule
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-09-13 16:34:03 +00:00
a5191d1e5a
chore: App-router-migration(/auth/verify) add missing metadata / page & extract components into /module ( #16444 )
...
* create StripeRepository and simplify code
* verify-email-change: extract getServerSideProps
* add verify-email-change to app router
* auth/verify: Add metadata in app router
* auth/verify: extract client component into /modules
* fix type checks for stripe
* fix stripe session handler
* improve getServerSideProps for verify-email-change
* add title to verify-email-change page metadata
* add title to verify page metadata
* refactor
* add safety
* fix
* remove references to pages for verify-email
---------
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-09-13 16:13:33 +00:00
6e7012757f
feat: replace team list view with org list view UI and fix team view user availability ( #15344 )
...
* feat: replace team list view with org list view UI and fix team view user availability
* update
* update2
* some changes
* Remove old team availability modal - fix flex direction
* fix
* fix type error
* update
* update
* fix type error
* update
* upfate edit sheet
* final update
* fix flaky e2e
* fix e2e
* typo
* profile update flow
* fix type error and refactor
* small update
* NIT
* update
* chore: fix types
* update
---------
Co-authored-by: sean-brydon <sean@cal.com >
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-09-13 19:06:40 +05:30
4a59841b02
feat: booking with phone number ( #14461 )
...
Co-authored-by: Omar López <zomars@me.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-11 17:56:04 -07:00
Syed Ali Shahbaz and GitHub
89250422ea
fix: API V1 slots add explicit orgSlug null fallback ( #16593 )
...
* add explicit orgSlug null fallback
* do it in schema
* to nullish
2024-09-11 16:14:03 +00:00
Udit Takkar and GitHub
860d173f0a
feat: instant meeting browser notifcations ( #16480 )
...
* feat: instant meeting browser notifcations
* chore: support multiple notifications
* chore: save progress
* fix: add test notification and move file
* fix: type err
* chore: feedback improvements
* chore: undo DENY
2024-09-11 18:02:14 +04:00
Hariom Balhara and GitHub
e362c37ff3
fix: Location Change to Organizer Default Conferencing App ( #16379 )
...
* Fix
* Dont include test files
* Fix location change
* Self review fixes
* Add unit test
* Add more test
* Add a bookingScenario as well
2024-09-11 21:31:53 +09:00
4d53f327d9
feat: V2 API endpoint create phone call ( #16528 )
...
* refactor: V2 API endpoint create phone call
* fix: type err
* fix: type and build err
* chore: change default value
* chore: move it to another route
* test: for create phone call
* chore: undo constant
* chore: remove test
* fix: make begin_message optional
* chore: improvements
* chore: begin message
* chore: remove unused import
* chore: bump platform libraries with handleCreatePhoneCall
* chore: improvement
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Benny Joo <sldisek783@gmail.com >
Co-authored-by: Morgan Vernay <morgan@cal.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-09-11 11:11:54 +00:00
976013512c
perf: Server-Side Data Fetching in App Router: /workflows ( #16563 )
...
* wip
* complete server side fetching for app router
* fix type error
* fix
* address comments
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2024-09-10 19:25:59 -07:00
Benny Joo and GitHub
d9777a3011
perf: Server-Side Data Fetching in App Router: /availability ( #16536 )
...
* wip
* add method to OrganizationRepository
* server side fetching for availability
* fix error
* server side fetching finish
* remove log
* fix
* fix
* fix type
* no need to export
* fix type
* address nit comments
2024-09-10 19:23:42 -07:00
7725adedc8
chore: App router migration (org/[orgSlug]/instant-meeting), add missing page ( #16448 )
...
* Create event repository
* Use repository in event.handler
* fix type check
* migrate org/instant-meeting
* add export default
* fix metadata
* move getServerSideProps from @server/lib to @lib
* fix
* fix
* revert unneeded changes
---------
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-09-10 18:43:50 -07:00
706d7dff42
perf: Server-Side Data Fetching in App Router: SettingsLayout / AdminLayout ( #16537 )
...
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-09-09 14:38:51 -07:00
Benny Joo and GitHub
71ae3f157a
chore: Fix bundle error occurring in Next.js Bundle Analysis CI job ( #16548 )
...
* fix bundle error
* revert
2024-09-09 22:25:25 +09:00
84a2e55125
chore: App router migration - general settings ( #16312 )
...
* added lockedSMS to future routes
* add orgMigrations routes to future
* correct metadata
* small fix
* add orgMigrations to future
* Move components to client components
* Remove tRPC element from edit user RSC
* Get username for meta
* Remove suspense query
* Remove orgMigrations from app router
* Type fix
* Revert "Remove suspense query"
This reverts commit eadd814f6e4a5d6856d9218342b7909c22fe62c6.
* Handle suspenseQuery in app router
* User edit page, fetch data server side
* Update yarn.lock
* Export getFixedT
* Set PageWrapper as root layout for settings
* Settings Layout accepts strings for shell heading
* Add OOO to app router settings
* Refactor layout for my-account pages
* Remove instances of pages router from my-account
* Refactor security pages
* Add billing to app router
* Add admin API link to layout
* Add api keys page
* Webhooks WIP
* Refactor SettingsHeader to client component
* Add webhook pages
* Refactor API keys page
* Add admin app page
* Type fix
* fix types
* fix developer/webhooks/[id] param value type error
* remove unnecessary code
* do not pass t prop to CreateNewWebhookButton
* fix type errors in webhook-edit-view
* fix the remaining type errors
* do not use prisma directly in generateMetadata
* remove use client if unnecessary
* Remove unused shell heading from SettingsLayoutAppDir
* improve metadata
* fix billing page
* fix import in settings/teams
* Use next `notFound()`
* fix type check
* fix type check
* remove unused code
* Fix calendar setting page
* Separate settings pages into route groups
* Refactor admin settings pages
* Remove meta instance from billing page route
* Update settings layoutAppDir
* Refactor developer settings pages
* Refactor out of office
* Refactor my account settings
* Refactor admin api page
* Refactor security pages
* Type fix
* fix styling in settings layout
---------
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
Co-authored-by: Omar López <zomars@me.com >
Co-authored-by: Benny Joo <sldisek783@gmail.com >
2024-09-09 01:15:03 -04:00
f5c16f0d6b
feat: OOO webhook and zapier ( #15434 )
...
* zapier and webhook
* instructions for zapier
* Fix types
* fix types
* revert adding zap template
* Update packages/app-store/zapier/README.md
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
* Update packages/app-store/zapier/README.md
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
* Update packages/app-store/zapier/README.md
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
* Update packages/features/webhooks/lib/scheduleTrigger.ts
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
* wip
* Fixes from comments, no more sendPayloadNoBooking
* fix subscriberOptions teamIds param type
* types
* Update packages/features/webhooks/lib/sendPayload.ts
* Re add zapierPayload to don't break old zaps
* instead of metadata use oooEntry inside webhookPayload
* undo comment message
* Types
* reset changes on yarn.lock
* review changes
* fix types
* fix types
* tentative fix for types in webhook
* type improvements
* fix description + clean up
* revert yarn.lock changes
* allow custom template for ooo entry
* type fixes
* type fix
* fix donwloadLinks in payload
* simplify some types
* allow array or number for teamId
* same payload for test trigger
* code clean up
* fix no show e2e test
* translate text for webhook payload and fix conditional
* add test for ooo_created webhooks
* reset files
* merge fix
* fix test data test id
* remove unused variable
* only trigger for accepted memberships
* remove unused variable
---------
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Omar López <zomars@me.com >
2024-09-06 15:48:05 -04:00
Morgan and GitHub
21ef1900e9
chore: get platform me from trpc instead of apiv2 ( #16515 )
2024-09-06 12:36:47 -07:00
e9c71abd6f
fix: meeting url missing in workflow email ( #16434 )
...
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-09-04 17:56:20 +00:00
6cd427bc78
feat: availability in instant meeting ( #16424 )
...
* chore: save progress
* feat: add isAvailable functionality
* fix: type error
* chore: add in builder
* tests: add unit tests
* chore: improvements
* chore: tests
* chore
* chore: remove log
* fix: tets
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-09-03 14:28:15 +00:00
Benny Joo and GitHub
55d75a9786
chore: App router migration (/workflows) fix metadata and remove duplicate file for getStaticProps ( #16452 )
...
* Fix metadata
* add use client directive to workflow component
2024-09-02 23:00:48 +05:30
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
Keith Williams and GitHub
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
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 and GitHub
36a1715ece
perf: run parallel bookings queries ( #16398 )
2024-08-29 16:37:18 +00:00
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
Udit Takkar and GitHub
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
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
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
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
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