Lauris Skraucis and GitHub
538a39328e
fix: useOAuthClient is not initialized ( #17637 )
2024-11-14 15:35:45 +00:00
Rajiv Sahal and GitHub
65484e7d01
fix: BookerEmbed atom localStorage issues ( #17611 )
2024-11-14 08:07:47 +00:00
Lauris Skraucis and GitHub
1aac70f643
feat: v2 confirm / decline booking endpoints ( #17578 )
...
* feat: v2 confirm / decline booking endpoints
* chore: bump platform libraries
* fix: type export
* tests: accepting and declining a booking
* refactor: sent emails abstract renderEmail with getHtml that is mocked in test
2024-11-13 11:20:43 +02:00
Lauris Skraucis and GitHub
0dde8c1db9
feat: v2 multiple length event types and their bookings ( #17598 )
...
* feat: input lengthInMinutesOptions
* Revert "feat: input lengthInMinutesOptions"
This reverts commit f23fd8a3861097f0972cc6210b47f25511d85183.
* feat: handle lengthInMinutesOptions input
* feat: handle lengthInMinutesOptions event output
* fix: remove it.only
* feat: variable length bookings
2024-11-13 11:13:11 +02:00
25d39b4273
feat: api v2 reassign ( #17460 )
...
* adding input types and method to controller/service
* add output types
* add outputs and inputs
* feat: reassign automatically
* feat: reassign to user
* e2e test for reassign
* update platform libraries + experimental modules for jest
* fix test
---------
Co-authored-by: supalarry <laurisskraucis@gmail.com >
Co-authored-by: Lauris Skraucis <lauris.skraucis@gmail.com >
2024-11-08 12:42:59 +00:00
Morgan and GitHub
52093862ce
fix: booker timezone from preference instead of session ( #17520 )
...
* fix: booker timezone from preference instead of session
* fixup! fix: booker timezone from preference instead of session
2024-11-07 09:42:38 +00:00
Morgan and GitHub
6619701c88
fix: event-type atom tabs controlled by prop ( #17480 )
...
* fix: event-type atom tabs controlled by prop
* fixup! fix: event-type atom tabs controlled by prop
2024-11-06 20:38:29 +00:00
sean-brydon and GitHub
4eefb08a0d
fix: copy to clipboard button ( #17512 )
...
* fixes copy to clipboard button
* fix type error
2024-11-06 15:11:55 +00:00
Rajiv Sahal and GitHub
3b59185f75
fix typo ( #17451 )
2024-11-04 08:39:42 +00:00
Morgan and GitHub
120cfed8a1
fix: booker platform atom multi duration selector ( #17419 )
2024-10-31 13:14:58 +00:00
fee3b73bda
feat: payment card atom ( #17203 )
...
* init stripe payment card atom
* cleanup
* update platform libraries
* fix import paths
* add function to get user payment info
* fixup
* resolve merge conflicts
* fixup fixup
* resolve merge conflicts
* fixup
* update payments page
* add props for event payment success and failure
* update props and fixup
* bump platform libraries
* fixup! bump platform libraries
* fixup! fixup! bump platform libraries
* resolve merge conflicts
* fix: add isActive to paymentsTab
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Morgan Vernay <morgan@cal.com >
2024-10-31 11:21:13 +02:00
c3f03c8000
fix: stripe connect atom for teams ( #17294 )
...
* add teamId
* add team app credentials method
* add handler to get all user admin teams
* update stripe logic to handle teams
* enable teamId for stripe connect
* update stripe module
* implement PR feedback
* update stripe module
* add method to get credential by team id
* handle check for teamId
* abstract team and individual stripe connection checks into two separate parts
* hide badge for platform user
* update typing
* add logic to handle team stripe integration
* bump platform libraries
* bump platform libraries
---------
Co-authored-by: Morgan Vernay <morgan@cal.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-10-30 15:28:26 +02:00
Lauris Skraucis and GitHub
69ca57e45a
fix: v2 event types booking fields & enable booker atom google-meet location ( #17321 )
...
* fix: v2 phone system booking field
* feat: atom support google-meet
* feat: unknown booking field return type
* tests
* bump platform libraries
* driveby: improve create-booking-input
2024-10-25 15:55:29 +03:00
Lauris Skraucis and GitHub
c629d08a9c
fix: v2 event type locations ( #17288 )
...
* refactor: split internal locations in separate file
* refactor: rename TransformedLocationsSchema to InternalLocationsSchema
* feat: add missing locations in internal schema
* refactor: explicit input locations only for input
* refactor: explicit output locations only for output
* fix: v2
* fix: atoms
* test: internal to api locations transformation
* e2e tests
* upgrade platform libraries
2024-10-24 17:21:17 +00:00
14ae664941
fix:CityNotShownInOption ( #17064 )
...
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2024-10-24 09:10:27 -04:00
Lauris Skraucis and GitHub
7131996722
fix: Booker atom weekly view ( #17245 )
2024-10-22 14:39:30 +00:00
Lauris Skraucis and GitHub
bd4a949a7c
fix: v2 seated bookings ( #17045 )
...
* fix: rely on booking uid instead of id from handleNewBooking
* docs: managed user create input timeZone
* fix: make bookingResponsesSchema nullable
* Revert "fix: make bookingResponsesSchema nullable"
This reverts commit f3127b31dd259d23cae520c994d8e712fc0fa17e.
* refactor: define inputs
* refactor: define outputs
* refactor: bookings controller
* test: first seated event test
* test: recurring seated event booking
* test: multiple bookings for seated event
* test: fetching individual seated bookings
* test: fetch all bookings
* test: make reschedule seated work and test it
* wip: cancel seated booking
* test: cancel seated booking
* refactor: dont return attendee email in seat booking responses
* refactor: order of properties in response
* refactor: test cleanup
* refactor: simplify output booking service
* refactor: flaky test
* refactor: try to fix test by splitting them
* try to fix test
* try to fix tests
2024-10-22 13:31:59 +00:00
Lauris Skraucis and GitHub
b768cc5b44
feat: v2 and atoms attendee defined meeting locations ( #17224 )
...
* request: allow saving attendee address, location and custom location
* response: return new event type locations
* atoms: make elsewhere location work
* update swagger
* chore: update and use platform libraries
* fix schema
* republish libraries
* update lock file
* fix: make somewhereElse optional in response location
* fix: tests
2024-10-22 13:24:16 +00:00
Morgan and GitHub
9087f5307b
fix: platform event-type atom team delete ( #17225 )
...
* fix: platform event-type atom team delete
* fixup! fix: platform event-type atom team delete
* fixup! fixup! fix: platform event-type atom team delete
2024-10-21 16:03:04 +00:00
5f6032131b
feat: payments tab for event types atom ( #16892 )
...
* update translations
* add payments tab to event types platform
* payments tab for event types platform wrapper
* update event types props
* fix icon
* add stripe form
* update event type platform wrapper
* testing EventTypeAppCard component
* update atoms module
* add endpoint to get app integration based on slug
* input dtos for atoms app integration endpoint
* update platform libraries
* add queries for app integration endpoint
* chore: fixup
* custom hook to get app integration
* export TeamsQuery type to use for platform
* update props for stripe atom
* update payments tab
* update platform libraries in local (temperory)
* fix merge conflicts
* fixup
* resolve merge conflicts
* fixup
* Update package.json
* update platform libraries
* fix imports
* resolve merge conflicts
* more import paths fixes
* fixup
* cleanup comments
* include payments tab
* resolve merge conflicts
* fixup
* Update package.json
* revert yarn.lock
* Update yarn.lock
---------
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-10-21 18:49:35 +05:30
Lauris Skraucis and GitHub
4e90b65884
refactor: v2 and booker atom booking fields ( #17168 )
...
* handle storing disableOnPrefill
* feat: allow overriding properties of default name and email fields
* feat: allow overriding properties of default name and email fields
* feat: output booking fields
* fix: event type test
* refactor: booker atom booking fields handling
* tests
* fix: boolean booking field
* update platform libraries
* fix: unit tests
2024-10-21 13:45:30 +03:00
Lauris Skraucis and GitHub
b7792d0d0a
feat: AvailabilitySettings atom toggle toasts ( #17216 )
2024-10-21 10:03:52 +00:00
995bf09dde
fix: eventType atom team availability tab ( #17158 )
...
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
2024-10-21 10:59:07 +03:00
Udit Takkar and GitHub
c7f4f52efa
perf: duplicate getSchedule request ( #17191 )
...
* fix: duplicate getSchedule request
* fix: add event type id
2024-10-20 08:56:37 +00:00
Somay Chauhan and GitHub
9a5efd39ce
feat: event team Assignment tab atom ( #17145 )
...
* feat: event team Assignment tab atom
* Update event-types-atom.service.ts
* Update event-types-atom.service.ts
2024-10-17 17:33:59 +00:00
Morgan and GitHub
497b0804d3
feat: create event type atom ( #17142 )
...
* feat: create event type atom
* fixup! feat: create event type atom
* fixup! fixup! feat: create event type atom
* docs: base doc for create event type atom
2024-10-17 21:51:23 +05:30
Morgan and GitHub
8b50f419e5
chore: increase pagination managed users endpoint ( #17147 )
2024-10-17 14:32:35 +00:00
sean-brydon and GitHub
e949a4c529
fix: pass from org link to all instances of event.public ( #17136 )
...
* pass from org link to all instances of event.public
* fix type error
* fix type error
2024-10-16 14:57:39 +01:00
64b321ac9c
feat: added custom class name to booker and availability atom ( #17105 )
...
* added custom class name for booker atoms wrapper
* atomsWrapper
* added props to availability atom
* allowDelete
* allowSetToDefault
* added customClassNames -> hiddenSwitchClassname, deleteButtonClassname
* Update availability.tsx
* fixup! Merge branch 'main' into add-custom-classname-to-booker-atom-wrapper
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Morgan Vernay <morgan@cal.com >
2024-10-16 12:04:33 +00:00
e90e060739
feat: Event availability platform wrapper ( #17091 )
...
* moved listSchedules to schedule repository
* Create EventAvailabilityTabPlatformWrapper.tsx
* Revert "moved listSchedules to schedule repository"
This reverts commit b5feacfabbadbf9d75eb205dfad8f70b7773a5cb.
* fix: active state of tabs items
* added event availability platform wrapper
* Update event-types.tsx
* better types
only pick the types we need and omit the rest
* fix: type-check failing
---------
Co-authored-by: Morgan Vernay <morgan@cal.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-10-16 13:24:13 +03:00
Hariom Balhara and GitHub
123074f4ba
fix: Hotfix - Revert hideEventTypeDetails handling in Booker.tsx ( #17130 )
...
* Revert "fix: DatePicker not showing up in mobile mode when hideEventTypeDetails is true (#17037 )"
This reverts commit 1f08bc5a4f .
* Revert "feat: Booker atom enable hiding event details (#16906 )"
This reverts commit ba5b9e951a .
* Keep the playground test scenarios
2024-10-16 10:01:04 +00:00
a48d190af3
feat: #15416 Expand round robin availability beyond default schedule ( #15618 )
...
* add feature to change host schedule
* update for type-check:ci
* Update SingleForm.tsx for linterr
* update as per design review
* update for rerendering
* migration files
* On Delete set null for schedule
if schedule is deleted, no need to delete the host
* updated schema
* added testcases
* checking permissions before
* updated for comments
* update for initial value
* updated and cleanup
* set initial value
* update after merge
* updated nit style
* update for console warning and added comments
* nit/chore
* chore
* update for typechecks
* update for scheduleId param after merge
* update after merge or new changes in metadata.config
* update after weights functionality
* updated description text and column name as per review suggestion
* resolved merge conflicts
* fix typecheck due to changes in getScheduleSchema
* update after merge having refactor
* update refactored EventTypeWebWrapper after merge
* updated props
* updated trpc err code and added log
* update due to refactor in EventAvailabilityTab
* perf: Optimise TS type + select only the data that's needed for a specific function
---------
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com >
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2024-10-15 17:36:00 +01:00
Morgan and GitHub
9c3f4ec055
feat: allow delete event-type platform atoms ( #17065 )
...
* feat: allow delete event-type platform atoms
* fixup! feat: allow delete event-type platform atoms
2024-10-15 14:40:57 +00:00
Lauris Skraucis and GitHub
c2085c6be9
refactor: v2 recurring bookings allow specifying recurrence count ( #16989 )
...
* fix: CreateBookingInputPipe
* refactor: allow specifying recurrence count
* Update input.service.ts
2024-10-14 17:59:53 +03:00
Rajiv Sahal and GitHub
013646bf2c
fix: atoms tooltip ( #17073 )
...
* add tooltip classname prop for styling
* fix incorrect styling
* update props for connect buttons
2024-10-14 09:37:19 +03:00
99caae8665
feat: advanced tab platform wrapper ( #16941 )
...
* fixed error in advanced tab atom build
-- used `DOMPurify` instead of `sanitize-html`
* hide BookerLayoutSelector for platform and removePlatformClientIdFromEmail
* fixup! Merge branch 'main' into event-advanced-platform-wrapper
* undo linting changes
* undo linting changes
* fix: active state of tabs items
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Morgan Vernay <morgan@cal.com >
2024-10-10 17:09:03 +03:00
Morgan and GitHub
5594e5c713
feat: google meet conferencing api v2 ( #17023 )
...
* feat: google meet conferencing api v2
* feat: add set default google meet conferencing app
* fixup! feat: add set default google meet conferencing app
2024-10-10 09:28:53 +00:00
34afc7b674
feat: additional calendar selector for calendar settings atom ( #16874 )
...
* update translations
* fixup
* add onSuccess prop
* add additional calendar selector prop to add multiple calendars
* update props for calendar settings atom
* pass caledar redirect urls for google and apple calendar redirects
* fix merge conflicts
* add onSuccess prop to connect atoms
* fixup
* fixup
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-10-10 09:02:40 +00:00
Somay Chauhan and GitHub
513a58c91c
feat: event type tabs platform wrapper ( #16891 )
...
* added event-type platform wrappers
* added weekly
* Update RecurringEventController.tsx
2024-10-10 10:55:13 +03:00
Lauris Skraucis and GitHub
a10d3599e2
refactor: platform bookings hooks & bookings API ( #16963 )
...
* chore: delete unused bookings hook
* refactor: group bookings hooks in folder
* refactor: rename useGetBooking, useGetBookings to useBooking, useBookings
* refactor: booking inputs and outputs
* chore: make bookings controller work with new inputs and outputs
* make examples app work
* refactor: deprecate fields instead of removing them
* readd eventtypeid
* swagger regenerate
* make recurring booking backwards compatible
* fix test
* update changelog
* swagger update
* fix import
* chore: update lock file
2024-10-08 14:05:28 +02:00
Lauris Skraucis and GitHub
ef7cac6c50
fix: booker atom phone booking field ( #16945 )
...
* fix: booker atom phone booking field
* chore: show usual booker in examples app
* refactor: import styles file manually
2024-10-07 12:39:54 +02: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
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
Lauris Skraucis and GitHub
bdea436f8b
docs: v2 refresh tokens and slots endpoints swagger ( #16788 )
...
* docs: oauth refresh endpoint
* docs: slots reserve and delete
* docs: get slots
* swagger
* fix: reserving slot
* Revert "fix: reserving slot"
This reverts commit 8a3ce8464d5dbf67e58da6d3b1aeb51df97240cb.
* Update oauth-flow.controller.ts
2024-10-02 08:44:05 +00:00
Lauris Skraucis and GitHub
e8dfa50119
fix: booker atom recurring event ( #16719 )
...
* fix: BookerEmbed prop type
* fix: booker atom not displaying recurring event
* fix: count interpolation in i18n
2024-10-01 14:00:04 +00:00
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
c88811aeee
feat: stripe connect atom ( #16190 )
...
* 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
* update endpoints module to include stripe module
* updatte stripe module
* fixups and add check endpoint to stripe controller
* add method to check stripe account
* add helper fn to get on error return value
* update stripe connect atom
* custom hook to check user stripe credentials
* add stripe connect to atom exports
* update stripe connect styling
* add qs stringify package
* translations for stripe connect atom
* updaet typing
* update output dtos for stripe endpoints
* add error message
* fix merge conflicts
* add stripe connect atom to atom exports
* add query param for error rediect link
* add handler for onCheck success and error redirect link
* update index value
* fix merge conflicts
* fixup
* resolve merge conflicts
* war with merge conflicts
* update examples app
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-09-30 19:56:22 +05:30
Rajiv Sahal and GitHub
f46c3c65fb
filter connected calendars before displaying it in tooltip ( #16883 )
2024-09-30 19:45:28 +05:30