luzpaz and GitHub
d485e5f621
fix: typos in packages/app-store ( #19470 )
...
Found via `codespell -q 3 -S "*.svg,./apps/web/public/static/locales,./packages/app-store/stripepayment/lib/currencyOptions.ts,./packages/lib/freeEmailDomainCheck/freeEmailDomains.ts" -L afterall,atleast,datea,fo,incase,ist,nam,notin,optionel,perview,reccuring`
2025-02-24 10:54:28 +00:00
85070574da
feat: Support event level conflict checking ( #18052 )
...
Co-authored-by: Alex van Andel <me@alexvanandel.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Morgan Vernay <morgan@cal.com >
Co-authored-by: Omar López <zomars@me.com >
2024-12-19 19:34:24 +00:00
Omar López and GitHub
77fe23da49
fix: skip failed cache subscriptions from retrying ( #18252 )
2024-12-18 17:16:59 +00:00
cb1f803d0a
feat: ooo calibration ( #17864 )
...
* first version of ooo calibration
* decrease precision when checking for full day event
Co-authored-by: Alex van Andel <me@alexvanandel.com >
* improve variable naming
* don't include hosts created after OOO
* fix failing tests
* fix all tests
* add test for ooo calibration
* first implementation to fix full day busy event reaching the current month
* allow mutiple day events
* make getAvailabilityWithTimeZones optional
* fix type error
* fix type errors
* fix tests
* fix type error
* fix test
* code clean up
* remove time adjustment from map
* code clean up
* fix tests
* getAllCalendars -> this.getAllCalendars
* fix typo
* extract mergeOverlappingRanges
* code improvements from feedback
* fix getCalIdsWithTimeZone
---------
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: Alex van Andel <me@alexvanandel.com >
Co-authored-by: Benny Joo <sldisek783@gmail.com >
2024-12-18 16:26:59 +00:00
Alex van Andel and GitHub
4ab3ec73c0
chore: Set the stage for a primary key with value uuid() ( #18245 )
...
* chore: Set the stage for a primary key with value uuid()
* fix: Test and ensure it validates the id value is set and defined
* Add unique index manually, prisma doesn't support this
* revert unique
2024-12-18 15:14:04 +00:00
ae7bbaf414
fix: calendar cache date ranges ( #18237 )
...
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-12-17 19:20:19 +00:00
2eb385af48
feat: allows forcing/skipping calendar cache serving ( #18224 )
...
* feat: allows forcing/skipping calendar cache serving
Signed-off-by: Omar López <zomars@me.com >
* Update features.repository.ts
* Added to HNB
* type fixes
* Update packages/prisma/migrations/20241216000000_add_calendar_cache_serve/migration.sql
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
* Update packages/prisma/zod-utils.ts
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
* Update selectedCalendar.ts
---------
Signed-off-by: Omar López <zomars@me.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-12-17 16:54:55 +00:00
Omar López and GitHub
0d24706380
refactor: improved observability in google calendar service ( #18147 )
2024-12-13 03:47:43 +00:00
be3e580107
feat: domain wide delegation UI ( #18013 )
...
Co-authored-by: Hariom <hariombalhara@gmail.com >
2024-12-09 08:27:16 +05:30
Benny Joo and GitHub
b8219c273d
feat: Reduce bundle size via better imports + install gcal + gvideo by default for google signups ( #17810 )
...
* wip
* use light imports
* fix
* perf: Reduce bundle size via better imports with `googleapis` (#17811 )
* fix test
* refactor
* update vite.config.js
* fix
* fix unit test failing
2024-12-06 02:51:48 +00:00
Alex van Andel and GitHub
8e7ce1216c
Revert "feat: install gcal + gvideo by default for google signups ( #17773 )" ( #17803 )
...
This reverts commit fcd06c80e3 .
2024-11-22 15:55:11 +00:00
Benny Joo and GitHub
fcd06c80e3
feat: install gcal + gvideo by default for google signups ( #17773 )
...
* feat: install gcal + gvideo by default for google signups
* add upsertSelectedCalendar
* fix type check
2024-11-20 23:54:11 +00:00
Omar López and GitHub
7c0ee9f186
revert: "feat: Populate gCal calendar cache via webhooks ( #11928 )"" ( #17682 )
2024-11-18 19:48:33 +00:00
Keith Williams and GitHub
6272c881c8
revert: "feat: Populate gCal calendar cache via webhooks ( #11928 )" ( #17675 )
...
This reverts commit d294a74aad .
2024-11-15 19:28:30 -03:00
d294a74aad
feat: Populate gCal calendar cache via webhooks ( #11928 )
...
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* Update CalendarService.ts
* Type fixes
* WIP
* fix: improve cache hits
* Update CalendarService.ts
* Update CalendarService.ts
* Update CalendarService.ts
* Update CalendarService.ts
* Update CalendarService.ts
* Update CalendarService.ts
* Feedback
* Update CalendarService.ts
* Update CalendarService.ts
* Update _router.ts
* feedback
* WIP
* WIP
* Update schema.prisma
* feedback
* typefixes
* Update Calendar.d.ts
* fix: watches when adding a calendar
* Discard changes to packages/app-store/googlecalendar/api/add.ts
* WIP
Signed-off-by: Omar López <zomars@me.com >
* WIP
Signed-off-by: Omar López <zomars@me.com >
* WP
Signed-off-by: Omar López <zomars@me.com >
* Update calendar.ts
* Update calendar.ts
* Update callback.ts
* Update callback.ts
* Conflicts
* WIP
* WIP
* Update CalendarService.ts
* Cleanup
* Discard changes to packages/features/settings/layouts/SettingsLayout.tsx
* Update calendar-cache.repository.ts
* WIP
* Update getSelectedCalendarsToWatch.sql
* WIP
* Update CalendarService.ts
* Cleanup
* Discard changes to packages/app-store/googlecalendar/lib/CalendarService.ts
* Create CalendarService.wip.ts
* WIP
* Update CalendarService.ts
* Update getSelectedCalendarsToWatch.sql
* Delete CalendarService.wip.ts
* test updates
* cleanup
Signed-off-by: Omar López <zomars@me.com >
* Update CalendarService.test.ts
* Update CalendarService.ts
* type fixes
* Update OAuthManager.ts
* Update CalendarService.ts
* Almost there
* Update CalendarService.test.ts
* Update calendar.ts
* Update callback.ts
* Update toggleFeatureFlag.handler.ts
* fix: feedback
* Update getSelectedCalendarsToWatch.sql
* Fix unit tests
---------
Signed-off-by: Omar López <zomars@me.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-11-15 14:59:37 -03:00
Benny Joo and GitHub
039a0b7a85
chore: remove wrong logs ( #17648 )
2024-11-14 18:57:51 +00:00
Benny Joo and GitHub
4b38d73120
chore: Replace prisma actions Credential Repository / SelectedCalendar Repository methods ( #17443 )
...
* create lib/google.ts
* add updateAvatar method to UserRepository
* refactor googlecalendar callback
* add methods to CredentialRepository and SelectedCalendarRepository
* refactor
* remove not needed code
* refactor
* make credential repository and selected calendar repository more generic
* create GoogleRepository
2024-11-06 14:48:45 -05:00
Benny Joo and GitHub
bcc1a8e279
fix: create a wrapper for google calendar fetching ( #17440 )
...
* fix: create a wrapper for google cal fetching
* improve log
2024-11-01 20:22:57 -03: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
Keith Williams and GitHub
d759669c1e
chore: Remove unnecessary log ( #16426 )
2024-09-04 11:09:10 +00:00
059c6c37ba
fix google calendar event not deleted on default calendar of cal event change ( #14994 )
...
Co-authored-by: Shaik-Sirajuddin <sirajudddinshaik30@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: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-07-24 15:34:41 +00:00
Hariom Balhara and GitHub
4f57e3201d
test: Google CalendarService test ( #14793 )
2024-05-06 12:33:16 +05:30
900e90cd2c
fix: With Credential Sync enabled, fix expired google calendar token handling - Refresh wasn't working ( #14788 )
...
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-04-29 20:37:18 +00:00
d47c6b3fdb
fix: Credential Syncing Improvements ( #14588 )
...
* Add example app to test credential sync
* Fixes
* Changes to normalize flow of GoogleCalendar and Zoom
* Add unit tests
* PR Feedback
* credential-sync-more-tests-and-more-apps
* Fix yarn.lock
* Clear cache
* Add test
* Fix yarn.lock
* Fix 204 handling
* Fix yarn.lock
---------
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-04-25 12:47:17 -04:00
Morgan and GitHub
e641bb3d57
chore: enable platform emails ( #14471 )
...
* feat: enable platform emails
* fixup! feat: enable platform emails
* fixup! fixup! feat: enable platform emails
* fixup! Merge branch 'main' into chore-platform-emails
* fixup! fixup! Merge branch 'main' into chore-platform-emails
* fixup! fixup! fixup! Merge branch 'main' into chore-platform-emails
* chore: add oauth client repo
* chore: enable platform emails using oauth client
* fix: call getConnectedCalendar with dbWrite since it creates destinationCalendar for new credentials
* chore: update doc
* fixup! chore: update doc
* fixup! fixup! chore: update doc
2024-04-12 22:39:01 +03:00
Amit Sharma and GitHub
0972307998
fix: unable to remove single recurring instance from gCal ( #13960 )
2024-03-06 13:46:58 -05:00
91beeeb525
fix: Google Profile Picture Update Race Condition ( #13711 )
...
* Minor fixes
* Discard changes to packages/app-store/ics-feedcalendar/config.json
* Add comment
* refactor: denesting and conditional profile update
---------
Co-authored-by: zomars <zomars@me.com >
2024-02-29 20:01:13 +00:00
55a317d677
fix: video call url in event location for recurring events ( #13842 )
...
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
2024-02-26 10:44:07 -05:00
83ceb46cca
chore: Refactor feature flags ( #13734 )
...
Co-authored-by: Omar López <zomars@me.com >
2024-02-20 21:49:48 -03:00
0a7f65cd9b
fix: Use Google recurring events protocol ( #12651 )
...
* working create event
--wip-- [skip ci]
fix bug related to adding event
--wip-- [skip ci]
--wip-- [skip ci]
add delete all
remove console.log
remove console.log
add patching of instances
fix yarn.lock
remove comments
* fixed typing
* use rrule
* rollback tsconfig changes
* fix comments
* fix comments
* rename db column
* fix delete all booking
* Update apps/web/pages/api/book/recurring-event.ts
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
* remove non-null assertion
* attempt to fix type errors
* fix recurring event logic
* remove skipAvailabilityCheck
---------
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Hariom <hariombalhara@gmail.com >
2024-01-16 13:49:54 +05:30
9dfa596e3e
feat: Add consistent iCalUID ( #12122 )
...
Co-authored-by: Hariom <hariombalhara@gmail.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2023-12-15 10:28:32 -05:00
7dc6df2ad6
chore: improve logs ( #12467 )
...
* chore: improve logs
* fix: import
* chore: use safe stringify
* chore: add more logs to google calendar
* chore: use this.log
---------
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com >
2023-11-29 19:39:25 +05:30
b762f60214
test: Integration Test GCal Primary Calendar ( #12011 )
...
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2023-11-22 11:15:47 -03:00
c2a57fd72b
split date ranges for calling /freebusy endpoint ( #11962 )
...
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
2023-10-26 10:29:08 -04:00
63416d4f33
chore: update tslog from 3.2.1 to 4.9.2 ( #11717 )
...
Co-authored-by: zomars <zomars@me.com >
2023-10-17 19:00:48 +00:00
20803451de
chore: upgrade to prisma 5.3.1 ( #11666 )
...
Co-authored-by: Peer Richelsen <peer@cal.com >
2023-10-12 17:46:35 +03:00
Alex van Andel and GitHub
f9c578c87d
fix: Backwards compatibility on google reschedule/cancel ( #11733 )
2023-10-06 14:27:36 +01:00
20898e1505
fix: Handle payment flow webhooks in case of event requiring confirmation ( #11458 )
...
Co-authored-by: alannnc <alannnc@gmail.com >
2023-09-30 10:22:32 +05:30
Hariom Balhara and GitHub
b54f716fd7
chore: Improved logging booking flow ( #11543 )
2023-09-28 13:01:24 +00:00
Joe Au-Yeung and GitHub
5ee962948f
feat: Readd app syncing ( #11453 )
...
* Revert "Revert "feat: Sync app credentials between Cal.com & self-hosted plat… (#11450 )"
This reverts commit 2565d0915a .
* Add typing to `parseRefreshTokenResponse`
* Add typing
* Return safeParse data
* Type fix and refactor in Zoom
2023-09-20 19:01:54 +01:00
Omar López and GitHub
2565d0915a
Revert "feat: Sync app credentials between Cal.com & self-hosted plat… ( #11450 )
2023-09-19 14:45:16 -07:00
Omar López and GitHub
560ec244e8
feat: Setups prisma accelerate ( #11324 )
2023-09-19 21:02:57 +00:00
824145b0e2
feat: Sync app credentials between Cal.com & self-hosted platforms ( #11059 )
...
* Add credential sync .env variables
* Add webhook to send app credentials
* Upsert credentials when webhook called
* Refresh oauth token from a specific endpoint
* Pass appSlug
* Add credential encryption
* Move oauth helps into a folder
* Create parse token response wrapper
* Add OAuth helpers to apps
* Clean up
* Refactor `appDirName` to `appSlug`
* Address feedback
* Change to safe parse
* Remove console.log
---------
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com >
Co-authored-by: Omar López <zomars@me.com >
2023-09-19 20:46:50 +00:00
zomars
b413f0a609
fix: add missing await
2023-09-15 17:22:50 -07:00
Omar López and GitHub
c95917cceb
feat: Calendar Cache ( #11185 )
2023-09-14 15:19:39 -07:00
197b435b6f
fix: Duplicate calendar events ( #11327 )
...
Co-authored-by: Shivam Kalra <shivamkalra98@gmail.com >
Co-authored-by: zomars <zomars@me.com >
Co-authored-by: Alan <alannnc@gmail.com >
2023-09-14 09:53:58 -07:00
alannnc and GitHub
6dd0f9ce29
fix: selected organizer when creating event ( #11157 )
2023-09-05 13:38:59 -07:00
8891641953
hotfix: missing gCal calendarId ( #11139 )
...
Co-authored-by: zomars <zomars@me.com >
2023-09-04 20:25:39 +00:00
alannnc and GitHub
c4e5d168a5
fix: handle collective multiple host on destinationCalendar ( #10967 )
2023-08-31 10:47:02 -07:00
Joe Au-Yeung and GitHub
155775556d
perf: GCal reduce calendar payload ( #10853 )
2023-08-21 11:27:18 +02:00