Hariom Balhara
094189fc3b
Correcly identify the user during signup ( #13506 )
2024-02-02 15:18:00 +00:00
a0a731b357
chore: adds future opt-in banner for ADMINS only ( #13315 )
...
* chore: adds future opt-in banner for ADMINS only
* Adds banner to shell
* Update teams.e2e.ts
* fix: e2e ab tests
* Update ab-tests-redirect.e2e.ts
* Discard changes to apps/web/playwright/ab-tests-redirect.e2e.ts
* Discard changes to apps/web/playwright/app-store.e2e.ts
* Discard changes to apps/web/playwright/event-types.e2e.ts
* Discard changes to apps/web/playwright/payment.e2e.ts
* Discard changes to apps/web/playwright/settings-admin.e2e.ts
* Discard changes to apps/web/playwright/teams.e2e.ts
---------
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
2024-01-29 13:20:01 -07:00
Omar López
fdaa6961f8
fix: Adds missing rate limiting headers ( #13430 )
2024-01-29 12:26:11 -07:00
Morgan
f33ea91ab0
chore: move getFixedT to web ( #13446 )
2024-01-29 08:44:15 +00:00
f9359aaa7b
feat: added ability to assign event to all members ( #13219 )
...
* feat: added ability to assign event to all members
* fix: types
* chore: incorporate assignment for collective and round robin event sas well
* fix: update event types query
* feat: round robin hosts
* fix: update
* fix: update
* fix: assignAllTeamMembers issue
* design fixes
---------
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
2024-01-26 17:37:38 +00:00
e4037be79a
feat: Limit the amount of days to load for a schedule ( #13282 )
...
* feat: Disallow next month prefetching in booker
* renamed to include NEXT_PUBLIC
* fixed boolean expression
* Now using a variable length of days to load
* Type fixes
* Now opening all dates to be clickable
* Added turbo.json var and updated example env
* Fixed issue with selectedDate being null when first loading the page
* Updated description of variable
* Made constant for the booking days
* Type fix
* Setting the days to load for weekly view to 7
* feat: add ui and ability to fetch more on click
* feat: add ui and ability to fetch more on click
* fix: loader
* fix: banner detection
* Update packages/features/bookings/Booker/Booker.tsx
* fix: types
* Not showing HavingTroubleFindingTime component when the schedule is loading
* Only enabled on monthly view
* Correctly load initial date
* Type fix
* Fixed bugs around triggering multiple requests
* Added case for when there is no selectedDate but the month has been specified
* Types
* More types
* Check for undefined
* More typing
* More typing
---------
Co-authored-by: sean-brydon <[email protected] >
Co-authored-by: sean-brydon <[email protected] >
2024-01-25 14:48:46 -03:00
30ba168fc3
chore: bump @trpc/* and @tanstack/react-query ( #13335 )
...
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Omar López <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: zomars <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: Benny Joo <[email protected] >
Co-authored-by: Carina Wollendorfer <[email protected] >
Co-authored-by: Gergő Móricz <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
2024-01-23 16:42:29 -07:00
Morgan and Omar López
4417d649ea
refactor: remove @calcom/features dependency to @calcom/web ( #13365 )
...
* refactor: remove @calcom/features dependency to @calcom/web
* refactor: remove IS_VISUAL_REGRESSION_TESTING from web
* fix: wrong imports
---------
Co-authored-by: Omar López <[email protected] >
2024-01-23 17:17:36 +00:00
Hariom Balhara
2ae2c15083
Validate that a user isnt a member of the organization before marking the username unavailable ( #13354 )
2024-01-22 08:01:55 -03:00
Carina Wollendorfer and CarinaWolli
3fe0280dee
fix event title in calendar event ( #13316 )
...
Co-authored-by: CarinaWolli <[email protected] >
2024-01-19 09:28:47 +00:00
zomars
2408338ed4
Revert "chore: Chore team metadata table + isOrganization migration from metadata ( #12828 )"
...
This reverts commit aabfd3b3f6 .
2024-01-16 12:20:51 -07:00
aabfd3b3f6
chore: Chore team metadata table + isOrganization migration from metadata ( #12828 )
...
* Migration+schema changes
* Remove org utils from schema
* Users fixture
* Auth signup handlers
* checkIsOrg fn
* use team.isOrganization > metadata
* Add isOrganization to getTeamWithMembers query
* list handler + optimise queries
* Update trpc handlers to use team.isOrganization && orgSettings table
* Update fixture
* Fix typo in prisma.schema
* next auth options use organizationSettings instread of tema metadata
* Admin tooling
* Updating components to use orgsettings over metadata
* Add unique index + fix org lib files
* validateUsername
* Add a seperate unique constraint between isOrg and slug
* Invite Member Logic
* fix resend file
* force isOrg to exist
* Team settings
* update createOrUpdateMemberships
* fix: admin get handler
* fix: team list handler - improve select
* fix: update admin update handler
* fix: settings layout - team get select
* organziationSettings Schema + adminupdate
* organziationSettings Schema + adminupdate
* typefix onSubtmi
* Fix:team repo throwing error if no metadata is found
* fix: add onDelete to be cascade instead of restri
* fix: org - team invite e2e
* fix: team invites not working in subteam context
* rename to organizationID
* fix user fixture team names
* Fix the organization created in tests
* fix: update organization metadata
* variable rename
* Reuse isOrganization
* variable rename
* Remove unnecessary optional chaining
* Update packages/trpc/server/routers/viewer/organizations/adminUpdate.handler.ts
Co-authored-by: Hariom Balhara <[email protected] >
* Update packages/trpc/server/routers/viewer/organizations/adminUpdate.handler.ts
Co-authored-by: Hariom Balhara <[email protected] >
* Update packages/trpc/server/routers/viewer/organizations/create.handler.ts
---------
Co-authored-by: Hariom <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
2024-01-16 10:18:17 +00:00
a0f1ceba19
refactor: Refactor seats logic ( #12905 )
...
* Refactor createBooking
* Type fix
* Abstract handleSeats
* Create Invitee type
* Create OrganizerUser type
* Abstract addVideoCallDataToEvt
* Abstract createLoggerWithEventDetails
* Abstract `handleAppStatus` from handler
* Create ReqAppsStatus type
* Move `deleteMeeting` and `getCalendar`
* Set parameters for `handleSeats`
* Typescript refactor
* Change function params from req
* Type fix
* Move handleSeats
* Abstract lastAttendeeDeleteBooking
* Create function for rescheduling seated events
* Fix imports on reschedule seats function
* Fix imports
* Import handleSeats function
* Fix rescheduleUid type
* Refactor owner reschedule to new time slot
* Refactor combine two booking times together
* Reschedule as an attendee
* Refactor createNewSeat
* Remove old handleSeats
* Remove lastAttendeeDeleteBooking from handleNewBooking
* Test for new attendee right params are passed
* Unit test params for reschedule
* Typo fix
* Clean up
* Create new seat test
* Test when attendee already signs up for booking
* Type fix
* Test reschedule move attendee to existing booking
* On reschedule create new booking
* Test on last attendee cancel booking
* Owner reschedule to new time slot
* Owner rescheduling, merge two bookings together
* Test: when merging more than available seats, then fail
* Test: fail when event is full
* Remove duplicate E2E tests
* Clean up
* Rename `addVideoCallDataToEvt` to `addVideoCallDataToEvent`
* Refactor `calcAppsStatus`
* Assign `evt` to resutl of `addVideoCallDataToEvent`
* Use prisma.transaction when moving attendees
* Clean create seat call
* Use ErrorCode enum
* Use attendeeRescheduledSeatedBooking function
* Await function
* Prevent double triggering of workflows
* Use inviteeToAdd in createNewSeat
* Remove unused error code
* Remove old handleSeats file
* Type fix
* Type fix
* Type fix
* Type fix
* Type fix
* Type fix
* Type fix
* Type fix
---------
Co-authored-by: Morgan <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Erik <[email protected] >
2024-01-15 17:04:13 -05:00
Udit Takkar
29b1f7bf51
chore: add error message for no availability ( #13230 )
...
* chore: add error message for no default user availability
* chore: check only availability
* chore: change message
* chore: add eventType
2024-01-15 16:04:12 -05:00
e5eb121ab7
fix: Reschedule a cancelled booking ( #13170 )
...
* fix: Reschedule a cancelled booking
* canceled instead of cancelled
---------
Co-authored-by: Joe Au-Yeung <[email protected] >
Co-authored-by: Carina Wollendorfer <[email protected] >
2024-01-15 16:52:04 +00:00
DmytroHryshyn and Benny Joo
a28b9cacd2
chore: [app-router-migration 17]: migrate payments page ( #13039 )
...
* chore: migrate payments page
* migrate page to WithLayout HOC, replace new ssrInit
* fix type error
* fix
* revert version changes
* fix
---------
Co-authored-by: Benny Joo <[email protected] >
2024-01-12 18:36:48 -03:00
sean-brydon
bc6267e99b
fix: Use constants.ts for brand colours > db DEFAULT ( #13167 )
...
* fix: user proper default values if no brand colour is set.
* fix:default value
* fix: more ?? to defined default as color is possibly null
2024-01-11 20:22:35 +00:00
Ethan Chen and Keith Williams
026f22fbaf
feat: add utcOffset in webhook payload ( #12709 )
...
* add utcOffset in webhook
* add utcOffset in webhook
* fix type
* fix type
* fix function error
* fix: UTCOffset DST
* getUTCOffsetByTimezone support date param
* add startTime in `getUTCOffsetByTimezone` func
---------
Co-authored-by: Keith Williams <[email protected] >
2024-01-11 14:35:02 +00:00
8856ba7d70
fix: Changed dynamic to group meeting and udpated meta ( #13028 )
...
* Changed dynamic to group meeting and udpated meta
* type fix
* Update packages/features/bookings/components/BookerSeo.tsx
* Update packages/features/eventtypes/lib/getPublicEvent.ts
* Update packages/features/bookings/components/BookerSeo.tsx
* Update packages/features/eventtypes/lib/getPublicEvent.ts
* Update getPublicEvent.ts
* Apply suggestions from code review
* Update packages/lib/defaultEvents.ts
* Update packages/lib/defaultEvents.ts
* Update packages/lib/defaultEvents.ts
* Update packages/lib/defaultEvents.ts
---------
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
2024-01-05 13:20:17 +00:00
6a1325867e
fix: Fix all TS warnings (fix-tsWarnings) ( #12139 )
...
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: GitStart-Cal.com <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
2024-01-03 18:18:42 -07:00
f848a44f1a
feat: integrate formbricks in help feedback box ( #12276 )
...
* feat: integrate formbricks in help feedback box
* Update yarn.lock
* Update yarn.lock
* fix: use formbricks/[email protected] & set user with userId linked to feedback
* fix: use separate env vars as suggested
* test: Add more orgs tests (#12241 )
* feat: integrate formbricks in help feedback box
* Update yarn.lock
* fix: yarn lockfile
* fix: yarn lockfile again
* feat: link cal and formbricks user.id and add attributes of email and username to formbricks person object
* Update yarn.lock
* Update yarn.lock
* fix: type safety in enums
---------
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Hariom Balhara <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
2024-01-02 14:08:11 +00:00
Udit Takkar and Peer Richelsen
8c8401330a
fix: preview url for booking page ( #12973 )
...
* fix: preview url for booking page
* chore: use cal url
* chore: fix tests
---------
Co-authored-by: Peer Richelsen <[email protected] >
2024-01-02 14:00:00 +00:00
Peer Richelsen
16d1adf990
fix: dark mode improvements for signup ( #12965 )
...
* dark mode improvements
* small changes
* readded producthunt badges
* only show social proof on cal.com
2023-12-29 18:08:36 +00:00
Carina Wollendorfer and CarinaWolli
076868d243
test: testing workflow triggers ( #12823 )
...
* add workflows to bookingScenario
* activate sandbox mode for unit/integreation tests
* add sendgrid specific code to SendgridProvider
* Refactor WIP
* remove duplicate sendgridProvider file
* first implementation for testing workflows
* revert unintended changes
* comment out Workflow trigger tests
* move sendgrid check after test mode
* Update signup.tsx
* fix esLint
* test webhooks on all tests in fresh-booking.test.ts
* fix subjectPattern as title can be different
* add workflow tests to reschedule.test.ts
* code clean up
* code clean up
* fix sendgrid credentials missing message
* code clean up
---------
Co-authored-by: CarinaWolli <[email protected] >
2023-12-21 18:57:06 +05:30
Hariom Balhara
9a2c2aaca4
fix: Links on avatar for org events ( #12892 )
...
* fix: Links on avatar for org events
* Remove noop code
* Fix self review feedbavk
2023-12-20 14:21:29 +00:00
200ce6932d
feat: Instant Meeting ( #12345 )
...
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
2023-12-19 11:01:42 -08:00
Thanh Nguyen and Rajiv Sahal
038008502c
fix: minor typo ( #12842 )
...
Co-authored-by: Rajiv Sahal <[email protected] >
2023-12-19 11:20:54 -03:00
Hariom Balhara
5886792285
feat: More admin options for organizations ( #12424 )
...
* Add more features in org admin
* Pr feedback addressed
2023-12-19 18:31:22 +05:30
Hariom Balhara and sean-brydon
e5e0fa97eb
fix: Across Org Scenarios - Wrong links for event and team ( #12358 )
...
Co-authored-by: sean-brydon <[email protected] >
2023-12-19 19:33:30 +10:00
Hariom Balhara and Udit Takkar
4b16860d07
fix: Correctly prefill username in case of non-org email invite in an org ( #12854 )
...
* fix: Correctly prefill username in case of non-org email invite in an org
* Update test
---------
Co-authored-by: Udit Takkar <[email protected] >
2023-12-19 02:44:48 +00:00
Hariom Balhara
a28e8ff39b
fix: A user joining from invite link of a team doesn't automatically become member of the org ( #12774 )
...
* fix: Add org membership when invite link for a team in an org is generated
* Run tests sequentially till we fix emails fixture
2023-12-18 17:48:35 +05:30
9dfa596e3e
feat: Add consistent iCalUID ( #12122 )
...
Co-authored-by: Hariom <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
2023-12-15 10:28:32 -05:00
Hariom Balhara and Omar López
99e71365ab
fix: Disallow changing username and email in case of Organization email invite ( #12735 )
...
Co-authored-by: Omar López <[email protected] >
2023-12-13 20:08:16 +00:00
Guilherme Santos
5fe919452b
test: Make sure response is still writable before setting headers ( #12478 )
2023-12-08 18:56:49 +05:30
83c8f97afd
test: booking and duration limits e2e ( #10968 )
...
* test: booking and frequency limits e2e
* test: refactor limit e2e and check multiple
* test: move limits e2e to separate file
* fix: blocked day assertions
* chore: rename to booking-limits
* fix: use todo test util
* chore: un-DRY tests
* feat: create user with limits helper
* chore: move user limit helper to utils
* fix: multiple limits test
* feat: fail faster
* chore: event url helper
* fix: prismock count date comparisons
* chore: improve booking limit types in test utils
* test: add typed weekStart to getOrganizer helper
* test: add custom fromDate to getDate helper
* fix: correctly handle negative date increments
* test: add helper for partial weeks
* test: booking limits edge cases
* chore: remove booking limit e2e todos
* chore: normalize getDate return type and skip test
* Fix imports paths that are changes after main merge
* Fix failing types
* Skip failing test
---------
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Hariom <[email protected] >
2023-12-08 10:23:31 +00:00
Udit Takkar
90a6fc3f26
refactor: Top Banner and add google calendar credential banner ( #12532 )
...
Fixes: https://github.com/calcom/cal.com/issues/12473
TODO:
- [x] Fix Type error
<img width="1512" alt="Screenshot 2023-12-02 at 12 47 19 AM" src="https://github.com/calcom/cal.com/assets/53316345/8a5c6dd0-6095-482b-b4d0-81653607a270 ">
<img width="1512" alt="Screenshot 2023-12-02 at 12 47 39 AM" src="https://github.com/calcom/cal.com/assets/53316345/fc64edb9-27b3-438f-b42d-75b200ac96e9 ">
2023-12-07 15:32:47 -07:00
Alex van Andel
bf2af799d5
perf: Improve performance of working hours processing ( #12687 )
2023-12-07 09:46:45 +00:00
Nafees Nazik and Erik
325f250d39
feat: add resend email transport ( #12645 )
...
Co-authored-by: Erik <[email protected] >
2023-12-04 15:31:55 -08:00
Haran Rajkumar and Morgan Vernay
2f4b1818d0
feat: Allow only first slot to be booked ( #12636 )
...
Co-authored-by: Morgan Vernay <[email protected] >
2023-12-02 19:07:06 -05:00
ca78be011c
chore: [app-router-migration-1] migrate the pages in settings/admin to the app directory ( #12561 )
...
Co-authored-by: Dmytro Hryshyn <[email protected] >
Co-authored-by: DmytroHryshyn <[email protected] >
Co-authored-by: zomars <[email protected] >
2023-12-01 13:07:26 -07:00
sean-brydon
c11ecbb323
Fix:use typed query initially fill default paramaters ( #12568 )
2023-11-29 17:51:47 -05:00
Morgan
a65e18d92d
chore: improve invitation form validation ( #12594 )
...
* chore: improve invitation form validation
* fixup! chore: improve invitation form validation
* fixup! fixup! chore: improve invitation form validation
2023-11-29 12:44:48 -07:00
Joe Au-Yeung and Omar López
877cd4cdff
refactor: Team Creation Flow [CAL-2751] ( #12501 )
...
* Create new endpoint for creating a team
* Generate a team checkout session
* Create team navigate to checkout
* Clean up
* UI changes
* Add comments
* Fix
* Type fix
* Type fix
* Type fix
* Type fixes
* Set telemetry
* Import fix
* Type fix
* Update tests
* Type fix
* fix: e2e
* fix: e2e
* fix: e2e
* fix: e2e
* Update teams.e2e.ts
* fix: e2e
---------
Co-authored-by: Omar López <[email protected] >
2023-11-29 09:39:21 -07:00
Udit Takkar and sean-brydon
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 <[email protected] >
2023-11-29 19:39:25 +05:30
Peer Richelsen and Udit Takkar
6c4b1154b8
chore: removed last web3 references ( #12540 )
...
* removed last web3 references
* updated yarn
* Update schema.prisma
* readded icon
---------
Co-authored-by: Udit Takkar <[email protected] >
2023-11-29 11:57:50 +00:00
8dabbbd09f
feat: signup refactor ( #11421 )
...
Co-authored-by: alannnc <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
2023-11-28 14:52:53 +00:00
Omar López
c765ea9b31
fix: team and org invite e2e tests ( #12566 )
2023-11-28 10:49:06 +00:00
Joe Au-Yeung
0a43aa3351
OAuth URL account for dev environment ( #12530 )
2023-11-24 17:38:21 +00:00
Hariom Balhara
de479bb2da
fix: getting-started crash and build failure ( #12506 )
2023-11-22 22:41:20 -07:00
Greg Pabian and Omar López
1de05ebf3d
chore: migrate the event-types page to the app directory ( #12390 )
...
Co-authored-by: Omar López <[email protected] >
2023-11-22 19:17:33 +00:00