Alex van Andel
be6cf4705c
An empty array is truthy, [0] potentially isn't ( #7961 )
2023-03-28 00:16:52 +02:00
Joe Au-Yeung
a2457ab619
Fix/availability not loading ( #7789 )
...
* Set default schedule if there is not one
* Removing last schedule sets user.defaultScheduleId to null
* Create new schedule from event type
* First schedule created is the default
* Go back if new schedule was created
* Moved update logic out of getter
* Remove flashing of empty screen
* Add border prop to EmptyScreen
* User requires a schedule
* Change back schema
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-03-27 19:53:35 +00:00
Udit Takkar
d5c3d9d967
fix: create team form ( #7896 )
...
* fix: create team form
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* fix: change hover border
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>
2023-03-27 16:35:46 +00:00
Joe Au-Yeung
aa0e9e6a02
Prevent GCal from sending update ( #7920 )
...
* Do not send updates
* Clean up
* Clean up
* Update packages/app-store/googlecalendar/lib/CalendarService.ts
Co-authored-by: Omar López <zomars@me.com>
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-03-27 14:22:27 +00:00
Carina Wollendorfer
3edb6f5ffd
Delete rescheduled booking ( #7910 )
...
* deleted orignal booking and fix open seats number on booking page
* fix type error
* Adjust tests
* fix type error
* include fix in e2e test
* fix e2e test
* fixes e2e test
* fix type error in e2e test
* increase timeout time
---------
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com>
2023-03-27 11:34:41 +02:00
Hariom Balhara
a8825badec
Fix: Send responses in confirm booking flow ( #7830 )
2023-03-27 13:57:10 +05:30
Omar López
69491d5700
Adds basic global feature flags ( #7459 )
...
* Adds basic feature flag model
* Create router.ts
* WIP
* WIP
* WIP
* WIP
* Emails kill switch
* Adds missing migrations
* Type fix
* Cleanup
* Revert
* Cleanup
* Fixes migration
* Update packages/features/flags/server/utils.ts
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
2023-03-24 17:59:04 -07:00
Peer Richelsen
cfa720a523
/insights ( #6511 )
...
* init page
* init insights frontend
* nit
* nit
* nit
* merge
* fixed icons
* i18n, needs features
* Init insights trpc
* Using trpc on client
* Added events timeline
* Seed analytics script
* connect ui with trpc
* Added and fixed event time lines
* WIP popular days and avg time duration event type
* added new metric graphs
* improved upgrade tip
* always show upgrade screen
* upgrade tremor.so and select inputs for page
* Remove log
* Move everything to components and add context
* Fix select types using calcom ui one
* Adding translations
* Add missing translations
* Add more translations
* min fix
* Fixes for date select
* Prefer early return and mobile design fixes
* Fix style for mobile
* Fix data with userId filter from popular events
* add user id to average time duration
* Removed submodules
* Delete website
* Update yarn.lock
* Code organization and type fixes
* trpc fixes
* Builds are now passing
* Relocates server code
* Cleanup
* Medium size screen fixes
* Added TODO
---------
Co-authored-by: Alan <alannnc@gmail.com>
Co-authored-by: zomars <zomars@me.com>
2023-03-23 22:10:01 +00:00
Omar López
9ab196c30e
Revert "Fixes formatted description in email " ( #7917 )
2023-03-23 21:20:35 +00:00
Hariom Balhara
74ab6d209e
Fix/correctly handle Pending Status and fix conditional require confirmation ( #7911 )
...
* Use pending status
* Use requiresConfirmation variable instead of eventType.requiresConfirmation as the earlier handles requiresConfirmation threshold as well
2023-03-23 19:50:39 +01:00
Alex van Andel
46f0b55a45
Techdebt/bundle size experiments ( #7894 )
...
* Checking package size effects when we remove zod from middleware
* Remove 'crypto' from client code
* Revert "Checking package size effects when we remove zod from middleware"
This reverts commit ecc2038411
.
* Adding lodash to dynamicImports + consistent imports
* Remove the locales from the global Dayjs object
2023-03-23 11:49:28 -07:00
Udit Takkar
fa17139e8f
fix: add belongsToActiveTeam ( #7890 )
...
* fix: add belongsToActiveTeam
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* fix: create a common function
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* fix: add suggestion
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* chore: use deconstructing
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* chore
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
---------
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
2023-03-23 19:23:06 +01:00
Efraín Rochín
1cdc97dd37
Add detailed error logs to handleNewBooking ( #7907 )
...
* Add logs to get more context on "No user available" error
* remove nit
2023-03-23 19:03:49 +01:00
Hariom Balhara
f630e8af40
Add videocallData ( #7899 )
2023-03-23 15:18:27 +00:00
Carina Wollendorfer
f6d7568d0a
Fixes formatted description in email ( #7696 )
...
* fix description in email
* add styling for lists
* sanitize editor input before saving
* sanitize eventTypeDescription
* santize html when used dangerouslySetInnerHTML
* fix server side sanitation
* add missing formatting and sanitation
* move @ts-expect-error to correct line
* fix type error and add yarn.lock
* fix build error
* sanitize description for booking page and availability page
* rename to markdownAndSanitize
* always add list formatting
* handle empty description in markdownAndSanitize for cleaner code
* create function for clientside markdown rendering and sanitizing
* fix type error
* code clean up
* Now that eventType.descriptionAsSafeHTML is added at all the missing places, we can do away with ts-ignore and get type safety
* Remove unused variable
* Remove one more ts-expect-error
---------
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-03-23 12:00:42 +00:00
Nafees Nazik
1bf50e09cd
fix: meeting not getting deleted ( #7878 )
2023-03-22 11:18:00 -07:00
Peer Richelsen
efb9bf7116
replacing intercom with helpscout ( #7865 )
...
Co-authored-by: nafees nazik <nafeesnazik21@gmail.com>
2023-03-22 14:29:14 +00:00
Joe Au-Yeung
49ee5d300b
Fix rescheduling updating calendars & duplicate bookings ( #7851 )
...
* Fix rescheduling
* Fix tests
* Clean up
* Update packages/core/EventManager.ts
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com>
* Commit fix
---------
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-03-22 15:23:09 +01:00
Nafees Nazik
e4eb21bf8d
fix: metadata get lost when rescheduling ( #7873 )
2023-03-22 11:17:19 +01:00
Hariom Balhara
7fc884912e
Make sure that label is also set ( #7874 )
2023-03-22 04:40:49 +00:00
Hariom Balhara
20b3efbcb6
Handle empty label from Custom inputs ( #7871 )
...
* Handle empty label from Custom inputs
* Fix comment
2023-03-21 18:44:18 +00:00
Shafkathullah Ihsan
7d9c21cf9a
adds fix-availability-slot-addition ( #7420 )
...
Co-authored-by: Omar López <zomars@me.com>
2023-03-21 17:56:16 +00:00
Hariom Balhara
389633394b
Fix/conflicts of custom input Name, with system field ( #7856 )
...
* Dont conflict with system fields
* Allow considering a field that has system fields name to be fully editable
2023-03-21 11:47:17 +01:00
Efraín Rochín
d27817ad51
Add a minute in endTime working hours when 11:59 is selected ( #7852 )
...
Co-authored-by: Bailey Pumfleet <bailey@pumfleet.co.uk>
2023-03-21 10:43:36 +00:00
Carina Wollendorfer
0bae688da1
Fixes additional inputs as variables in custom workflow templates ( #7840 )
...
* fix additonal inputs as dynamic text variables
* pass responses in same format
---------
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
2023-03-20 20:08:14 +01:00
Alex van Andel
1cd96d4c25
No delete of booking on seated events, fix id->uid ( #7839 )
...
* No delete of booking on seated events, fix id->uid
* Use uid or id
2023-03-20 18:30:00 +00:00
Peer Richelsen
19bc329377
fixed location input, date overwrite dialog ( #7778 )
...
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
2023-03-20 18:55:40 +01:00
darshan
8fd1d76227
fix add calendar button width and alignment ( #7814 )
2023-03-19 15:41:56 +01:00
Richard Poelderl
679965782e
chore: update docs links ( #7782 )
...
* replace docs.cal.com references with cal.com/docs
2023-03-17 16:42:27 -07:00
Efraín Rochín
9ba13a3f3c
Amend logic to calc slots time already in DST ( #7792 )
...
* amend logic to calculate DST time on buildSlots
* send start and end date in UTC
* port the logic to calc DST from buildSlots to inWithinAvailableHours
2023-03-17 12:53:05 +01:00
sean-brydon
e1411b3fb2
Fixes select getting darkmode text color even on lightmode ( #7799 )
2023-03-17 15:34:26 +05:30
Nafees Nazik
0f89415ec3
fix: videoCallUrl is not saved in metadata after rescheduling ( #7715 )
2023-03-17 13:54:48 +05:30
Nafees Nazik
e001c0b88f
test: add multiple guests e2e test ( #7774 )
2023-03-17 12:33:54 +05:30
zomars
5cbd334a42
Simplifies admin password role checks
2023-03-16 14:02:38 -07:00
Joe Au-Yeung
f3e8bed1cf
Fix dynamic bookings overwriting users ( #7699 )
...
* Move sorting dynamic user list
* Remove console logs
2023-03-16 11:12:30 -07:00
Alex van Andel
2685e8154f
Hotfix/account provider should be lowercase ( #7763 )
...
* Fix passThrough console error (passHref is not valid)
* Fix 'use-identity-login' error when logging in with idP
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
2023-03-16 15:12:45 +00:00
Nafees Nazik
09af14b3f4
fix: badge component line-height according to the DS ( #7766 )
...
* fix: badge line-height
* fix: revert padding top and bottom
* fix: remove large prop
* fix: remove large prop
* feat: make md default
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-03-16 11:51:40 +00:00
Nafees Nazik
77df4117d0
refactor: event types kbar action ( #7423 )
...
* refactor: event types action
* chore : wrap actions inside useMemo
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-03-16 09:49:12 +00:00
Nafees Nazik
84f7924215
Hotfix: guest are not added to the invite and emails ( #7767 )
...
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2023-03-16 14:34:17 +05:30
Hariom Balhara
5993e0842c
Fix: EventType crash when Moving up and down beyond boundaries ( #7765 )
...
* Make sure that moving up and down doesnt go beyond boundary
* Update packages/features/form-builder/FormBuilder.tsx
Co-authored-by: Alex van Andel <me@alexvanandel.com>
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-03-16 05:25:37 +00:00
Hariom Balhara
7179b09d7b
Allow rescheduleReason to be marked required ( #7729 )
2023-03-16 10:40:20 +05:30
Joe Au-Yeung
91464fb5e5
Revert - create new bookings - writing team members to DB ( #7756 )
...
* Bring back creating team members
* Clean up console.logs
* Push into attendeesData
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-03-15 15:38:57 -07:00
Omar López
54cefcb16e
Upgrades yarn v1 to v3. Improves CI times by 2x ( #7738 )
...
* Create env file workflow
* Add env-cache
* Fix env setter
* Fix
* Another fix
* Fix
* Fix
* Fixes
* FFS
* Fix
* Fix
* Fix
* Fix
* Fix
* Cache fixes
* Fixes
* Adds skipping steps
* db-cache fixes
* Test
* Cache fixes
* e2e
* Possible caching conflicts
* Running out of ideas
* Caching is hard
* One more time
* cache-build not skipping
* Fingers crossed
* a
* Test
* Pls
* Please
* LFG
* Build fix
* fix
* Whitespace!!
* Zomars/cal 884 paid events not sending the link (#7318 )
* WIP
* Sends correct emails for paid bookings
* Update PaymentService.ts
* Update webhook.ts
* Update webhook.ts
* Update settings back button redirect link (#7403 )
* fix(schedule): close on click #7143
* fix(EventSetupTab): validLocations length will always match validLocations length #7138
* fix(SettingsLayout): go back to right route #7379
* feat: get country code from ip geolocation (#6880 )
* feat: get coutnry code from ip geolocation
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* fix: create new api route for fetching code
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* chore: replace city with country
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* refactor: create hook for country
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
---------
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* Team Workflows (#7038 )
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
* Add destination calendar name to DestinationCalendarSelector (#6701 )
* Add destination calendar name
* Type fix
* Search through calendars only for destination calendar credential
* Refactor get connected calendars
* Clean up
---------
Co-authored-by: zomars <zomars@me.com>
* Update viewer.tsx (#7428 )
* Fix - add team members to emails (#7207 )
* On booking add team members & translation
* Add team members to round robin create
* Only update calendars on reschedule if there is a calendar reference
* Send email on reschedules
* Send team email on cancelled event
* Add team members to calendar event description
* Clean up
* Convert other emails to organizer & teams
* Type check fixes
* More type fixes
* Change organizer scheduled input to an object
* early return updateCalendarEvent
* Introduce team member type
* Fix type errors
* Put team members before attendees
* Remove lodash cloneDeep
* Update packages/core/EventManager.ts
Co-authored-by: Omar López <zomars@me.com>
* Remove booking select object
* Revert "Remove booking select object"
This reverts commit 9f121ff4eb
.
* Refactor email manager (#7270 )
Co-authored-by: zomars <zomars@me.com>
* Type change
* Remove conditional check for updateAllCalendarEvents
---------
Co-authored-by: zomars <zomars@me.com>
* Typefix
* Updates webhook response
* Update pr.yml
* Update action.yml
* Update action.yml
* Update action.yml
* Update action.yml
* Update action.yml
* Is this redundant?
* Removed setup
* Update action.yml
* Update action.yml
* Consolitades setup step
* Revert "Consolitades setup step"
This reverts commit 5e8d1983cc
.
* Fix?
* One more time
* Revert "One more time"
This reverts commit fd8b559a13
.
* Benchmarking buildjet
* Update action.yml
* Re-introduce setup
* Adds embeds to missing pro cache
* Lint fixes
* Adds prettier ignore
* Upgrades to yarn 3
* Updates lockfile
* Reverts CI to ubuntu
* Testing new yarn install
* We cannot use immutable due to our private submodules
* Adds CI skip
* Fixes
* Adds plugin
* Forces local embed package
* Moves eslint to root
* Update yarn.lock
* Playwright fixes
* Embed test fixes
* Splits embed react tests
* Splits embed react tests
* Removes install step to benchmark
* Update playwright.config.ts
* One playwright config for all
* More test fixes
* Update basic.e2e.ts
* Added typescript as a global monorepo dev
* Update to v18
* Update yarn.lock
* Update env-create-file.yml
* Update .github/workflows/pr.yml
---------
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
Co-authored-by: Esaú Morais <55207584+esau-morais@users.noreply.github.com>
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
2023-03-15 15:01:04 -07:00
Nafees Nazik
3924731266
fix: undefined reason ( #7745 )
2023-03-15 20:07:14 +00:00
Joe Au-Yeung
9568e16ef6
Improvements to teams for self hosters ( #7753 )
...
* Write slug when no team billing
* Remove recommended actions for invites
2023-03-15 15:09:43 -04:00
Alex van Andel
fcb06a131b
Bugfix/allow impersonation non cal id p ( #7689 )
...
* Only require a password when IdP is CAL
* Also require twoFactorEnabled
2023-03-15 14:52:32 +00:00
Alex van Andel
d778fe6a1b
Does case insensitive select, then overwrites email with IdP email ( #7673 )
2023-03-15 14:52:18 +00:00
Peer Richelsen
877f72d11a
fixed leading for labels
2023-03-15 14:04:55 +01:00
Moritz
f728272c7f
Removed email & name placeholder from booking page ( #7708 )
...
Co-authored-by: Nafees Nazik <84864519+G3root@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2023-03-15 15:04:45 +05:30
Omar López
84fd277a97
Adds new responses to zapier payload ( #7736 )
2023-03-15 14:28:50 +05:30