Keith Williams
0eb72d66a7
revert: "fix: Request permissions to allow events to be created on shared Office365/Outlook calendars ( #17760 )" ( #18111 )
...
This reverts commit 1680cba5a5 .
2024-12-11 14:57:57 +00:00
Toon Toetenel and Toon Toetenel
1680cba5a5
fix: Request permissions to allow events to be created on shared Office365/Outlook calendars ( #17760 )
...
Co-authored-by: Toon Toetenel <toon@breakingbits.nl >
2024-12-09 16:17:48 +00: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
Joe Au-Yeung
2e36cadce4
fix: Add jitter when Outlook requests are throttled ( #16484 )
2024-09-04 13:25:31 -07:00
Joe Au-Yeung and Carina Wollendorfer
399a23a52f
fix: Disable ICS file generation when destination calendar is Outlook ( #16247 )
...
* Set the organizer in the organizer field
* Create generateIcsFile
* Add role enum and only disable for organizers
* Move emails to generateIcsFile
* Add new ics func to new emails
* Fix tests
* Type fix
---------
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
2024-08-22 09:49:53 +00:00
Joe Au-Yeung
894c0fc8a7
Change body from HTML to text ( #16217 )
2024-08-16 00:40:56 +01:00
Lauris Skraucis
2b9bdb9c80
fix: v2 event-types ( #16132 )
...
* refactor: have system and user booking fields schemas and united schema
* fix: event-types output service filter out system booking fields for response
* chore: v2 update platform-libraries to 0.0.25
* chore: platform-libraries export types and update changelog
* chore: add updated lock file
2024-08-08 20:21:56 +03:00
Hariom Balhara and Joe Au-Yeung
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
Benny Joo and zomars
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
3e08c66888
refactor: Use template literal instead of '+' operator ( #11444 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: zomars <zomars@me.com >
2023-10-03 11:52:19 -07:00
Joe Au-Yeung
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
2565d0915a
Revert "feat: Sync app credentials between Cal.com & self-hosted plat… ( #11450 )
2023-09-19 14:45:16 -07: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
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
Joe Au-Yeung
bb0574dff8
chore: Outlook processBusyTimes iterate busy times once ( #11350 )
2023-09-14 14:56:31 +02:00
alannnc
c4e5d168a5
fix: handle collective multiple host on destinationCalendar ( #10967 )
2023-08-31 10:47:02 -07:00
Joe Au-Yeung
2de5f57437
perf: Reduce Outlook Calendar & Availability Response Size ( #10570 )
...
* Getting availability reduce the response size
* Add list calendar filter param
* Clean up
2023-08-10 18:28:56 +01:00
2dbc73c75b
chore: fix all Typescript warnings ( #8618 )
...
* [CAL-1517] fix all Typescript warnings
* solve conflicts
* Update stripeCheckoutSession.handler.ts
Parse is a guard, so even though the variable is unused the parse itself is needed.
* Update ToolbarPlugin.tsx
Don't change dependency tree
---------
Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2023-06-06 11:59:57 +00:00
Joe Au-Yeung and Alex van Andel
2e0951d4dc
Set GCal & Outlook iCalUID in .ics file ( #8010 )
...
* Add calendar UID to calendar event
* Add iCalUID to booking event
* On reschedule write to evt the iCalUID
* Add uid to ics file
* Remove console logs
* Pass iCalUID if available
* Remove generated app store files
* Rename product id to calcom
* Add UID to ics on reschedule
* Type fixes
* Type fixes
* Type fixes
* Remove comment
* Remove console.log
* Removed serverConfig block from this branch
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2023-04-03 17:13:57 +00:00
Joe Au-Yeung
8dd9b8d74b
Fix Zod errors in Outlook auth function ( #7931 )
...
* Add quick fixes
* Add error message
* Wooops
2023-03-25 21:19:33 +00:00
Joe Au-Yeung
2ef4a05750
Add team members to iCal, Apple Cal, Outlook, and Lark calendar events ( #7846 )
...
* Outlook add team members
* iCal & Apple add team members
* Exchange add team members
* iCal & App cal update include attendees
* Exchange reschedule
* GCal add team members on reschedule
* Lark cal loop through team members
2023-03-21 04:15:59 +01:00
Alex van Andel
27c29c65e2
Bugfix/format without time zone ( #7820 )
...
* Format Office365 as non-UTC (defer to timeZone)
* Ensure the start_time is provided in UTC
2023-03-18 22:47:15 +01:00
Joe Au-Yeung
8d27dcdea3
Use dayjs.tz ( #7808 )
2023-03-17 20:05:22 +00:00
Joe Au-Yeung
13577a5dbe
If no expiry date then refresh the token ( #7805 )
2023-03-17 17:20:41 +00:00
Alex van Andel and Peer Richelsen
358aa8be2b
Prevent refresh_token nulling if the returned refresh token is empty ( #7764 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2023-03-16 14:04:30 +00:00
Keith Williams
74986bb6a3
Events not being added to outlook ( #7726 )
2023-03-15 21:04:35 +01:00
Joe Au-Yeung
7b21839c73
Save refresh token ( #7661 )
2023-03-10 16:42:20 +00:00
Joe Au-Yeung
944ff68463
Fix Outlook & Zoom creating events in UTC ( #7283 )
...
* Apply utc offset to time strings
* Zoom, create events in proper time zone
2023-02-23 17:18:49 -07:00
Omar López
7c749299bb
Enforces explicit type imports ( #7158 )
...
* Enforces explicit type imports
* Upgrades typescript-eslint
* Upgrades eslint related dependencies
* Update config
* Sync packages mismatches
* Syncs prettier version
* Linting
* Relocks node version
* Fixes
* Locks @vitejs/plugin-react to 1.3.2
* Linting
2023-02-16 15:39:57 -07:00
2d9064e92f
fix: show email in outlook ( #5897 )
...
* fix: change external id to owner address
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in >
* feat: add email prop in calendar
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in >
* fix: only display for outlook
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in >
* fix: add email for apple calendar
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in >
* fix: type error and use description
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in >
* fix: try using email from /me endpoint
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in >
* fix: fallback to principal name when mail is not there
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in >
* chore: use empty string for fallback
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in >
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2022-12-20 21:50:20 +00:00
Joe Au-Yeung
2078f12a85
Outlook - list all calendars ( #6004 )
2022-12-14 11:04:32 +00:00
alannnc
ac9b2d0577
Feature/invalid credentials ( #5120 )
...
* Fixing types from handleErrorJson usage and Credential
* Replace credential prisma type for a better suitable
* Improvements on zoom video adapter
* Renamed extendedCredentialType and put it in a best suited file
* Frontend display invalid credential
* Fix styles and text
* Fix type required for fake daily credentials
2022-10-31 22:06:03 +00:00
Joe Au-Yeung
37309e8435
Properly parse list calendar call to MS Graph ( #3698 )
2022-08-04 16:49:51 +01:00
525ce0d075
Fix/office365 api call ( #3534 )
...
* WIP fixes for handling office365 api call
* First working version microsoft api call handling
* Remove logs
* Clean up and improve function names
* Clean up
* Remove log
* Fix function missing its correct name
* Fix direct return of statement
* Cleanup
* Simplify with private fetcher
* Update CalendarService.ts
* Update getOfficeAppKeys.ts
Co-authored-by: zomars <zomars@me.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-27 19:12:42 +00:00
alannnc
4c2f6df94d
Fix possible 404 when obtaining calendar busy lists ( #3345 )
2022-07-15 20:28:24 +00:00
Joe Au-Yeung
201d17264c
Attach credential id to destinationCalendar records ( #3197 )
2022-07-01 21:55:27 +01:00
James Vansteenkiste and Bailey Pumfleet
f639405c20
fix: event creation on external office calendar ( #3152 )
...
* fix: event creation on external office calendar
* chore: simplify fix implementation
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com >
2022-07-01 12:26:20 +01:00
50632dd9dd
Add 'free' and 'workingElsewhere' as a non-blocking event ( #2652 )
...
* Add 'free' and 'workingElsewhere' to non-blocking event - this will allow bookings at these times
* Update CalendarService.ts
Co-authored-by: zomars <zomars@me.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-11 20:47:42 +00:00
zomars
0213f66eb6
App env fixes
2022-05-02 17:59:06 -06:00
+3
f536d1040c
App Store ( #1869 )
...
* patch applied
* patch applied
* We shouldn't pollute global css
* Build fixes
* Updates typings
* WIP extracting zoom to package
* Revert "Upgrades next to 12.1 (#1895 )" (#1903 )
This reverts commit ede0e98e1f .
* Tweak/gitignore prisma zod (#1905 )
* Extracts ignored createEventTypeBaseInput
* Adds postinstall script
* Revert "Tweak/gitignore prisma zod (#1905 )" (#1906 )
This reverts commit 15bfeb30d7 .
* Eslint fixes (#1898 )
* Eslint fixes
* Docs build fixes
* Upgrade to next 12.1 (#1904 )
* Upgrades next to 12.1
* Fixes build
* Updaters e2e test pipelines
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* Fix URL by removing slash and backslash (#1733 )
* Fix URl by removing slash and backslash
* Implement slugify
* Add data type
* Fixing folder structure
* Solve zod-utils conflict
* Build fixes (#1929 )
* Build fixes
* Fixes type error
* WIP
* Conflict fixes
* Removes unused file
* TODO
* WIP
* Type fixes
* Linting
* WIP
* Moved App definition to types
* WIP
* WIP
* WIP
* WIP WIP
* Renamed zoomvideo app
* Import fix
* Daily.co app (#2022 )
* Daily.co app
* Update packages/app-store/dailyvideo/lib/VideoApiAdapter.ts
Co-authored-by: Omar López <zomars@me.com >
* Update packages/app-store/dailyvideo/lib/VideoApiAdapter.ts
Co-authored-by: Omar López <zomars@me.com >
* Missing deps for newly added contants to lib
Co-authored-by: Omar López <zomars@me.com >
* WIP
* WIP
* WIP
* Daily fixes
* Updated type info
* Slack Oauth integration - api route ideas
* Adds getLocationOptions
* Type fixes
* Adds location option for daily video
* Revert "Slack Oauth integration - api route ideas"
This reverts commit 35ffa78e929339c4badb98cdab4e4b953ecc7cca.
* Slack Oauth + verify sig
* Revert "Slack Oauth + verify sig"
This reverts commit ee95795e0f0ae6d06be4e0a423afb8c315d9af7d.
* Huddle01 migration to app store (#2038 )
* Jitsi Video App migration
* Removing uneeded dependencies
* Missed unused reference
* Missing dependency
`@calcom/lib` is needed in the `locationOption.ts` file
* Huddle01 migration to app store
* Jitsi Video App migration (#2027 )
* Jitsi Video App migration
* Removing uneeded dependencies
* Missed unused reference
* Missing dependency
`@calcom/lib` is needed in the `locationOption.ts` file
Co-authored-by: Omar López <zomars@me.com >
* Monorepo/app store MS Teams Integration (#2080 )
* Create teamsvideo package
* Remove zoom specific refrences
* Add teams video files
* Rename to office365_video
* Add call back to add crednetial type office365_teams
* Rename to office_video to match type
* Add MS Teams as a location option
* Rename files
* Add teams reponse interface and create meeting
* Comment out Daily imports
* Add check for Teams integration
* Add token checking functions
* Change template to create event rather than meeting
* Add comment to test between create link and event
* Add teams URL to booking
* Ask for just onlineMeeting permission
* Add MS Teams logo
* Add message to have an enterprise account
* Remove comments
* Comment back hasDailyIntegration
* Comment back daily credentials
* Update link to MS Graph section of README
* Move API calls to package
Co-authored-by: Omar López <zomars@me.com >
* Re-adds missing module for transpiling
* Adds email as required field for app store metadata
* WIP: migrates tandem to app store
* Cleanup
* Migrates tandem api routes to app store
* Fixes tandem api handlers
* Big WIP WIP
* Build fixes
* WIP
* Fixes annoying circular dependency bug
I've spent a whole day on this....
* Location option cleanup
* Type fixes
* Update EventManager.ts
* Update CalendarManager.ts
* Moves CalendarService back to lib
* Moves apple calendar to App Store
* Cleanup
* More cleanup
* Migrates apple calendar
* Returns all connected calendars credentials
* No tsx needed in calcom/lib
* Update auth.ts
* Reordering
* Update i18n.utils.ts
* WIP: Google Meet
* Type fixes
* Type fixes
* Cleanup
* Update LinkIconButton.tsx
* Update TrialBanner.tsx
* Cleanup
* Cleanup
* Type fixes
* Update _appRegistry.ts
* Update fonts.css
* Update CalEventParser.ts
* Delete yarn.lock.rej
* Update eslint-preset.js
* Delete zoom.tsx
* Type fixes
* Migrates caldav to app store
* Cleanup
* Type fixes
* Adds caldav to app store
* Test fixes
* Updates integration tests
* Moar test fixes
* Redirection fixes
* Redirection fixes
* Update timeFormat.ts
* Update booking-pages.test.ts
* Connect button fixes
* Fix empty item
* Cal fixes andrea (#2234 )
* Fixes #2178
* Fixes #2178
* Update apps/web/components/availability/Schedule.tsx
* Update apps/web/components/availability/Schedule.tsx
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Peer Richelsen <peer@cal.com >
* added meta viewport to disable zoom on input focus on mobile (#2238 )
* Update lint.yml (#2211 )
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
* Fix prisma client bundle makes app slow (#2237 )
Co-authored-by: Omar López <zomars@me.com >
* Slider fixes
* Removed unused code
* Full Shell when unauthed
* App sidebar responsive fixes
* Adds dynamic install button
* Fix for duplicate connected calendars
* Various fixes
* Display notification on app delete
* Reuse connect button
* Adds CalDav button
* Deprecates ConnectIntegration
* Simplify install button
* Adds Google Calendar connect button
* Adds Office 365 Install button
* Migrates Stripe to App Store
* Zoom Install Button (#2244 )
* Fix minor css, app image load from static path
* Fix app logos remote img src (#2252 )
* Adds missing exports
* Cleanup
* Disables install button for globally enabled apps
* Update EventManager.ts
* Stripe fixes
* Disables example app
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Juan Esteban Nieto Cifuentes <89233604+Jenietoc@users.noreply.github.com >
Co-authored-by: Leo Giovanetti <hello@leog.me >
Co-authored-by: Sean Brydon <seanbrydon.me@gmail.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com >
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com >
Co-authored-by: andreaestefania12 <andreaestefania12@hotmail.com >
Co-authored-by: Peer Richelsen <peer@cal.com >
Co-authored-by: Demian Caldelas <denik.works@protonmail.com >
Co-authored-by: Alan <alannnc@gmail.com >
2022-03-23 15:00:30 -07:00