DmytroHryshyn and Benny Joo
bdd1d3a99d
chore: [app-router-migration 16]: migrate routing forms page ( #13015 )
...
Co-authored-by: Benny Joo <sldisek783@gmail.com >
2024-01-19 11:57:08 -07:00
Greg Pabian and Benny Joo
dd7673b1f9
chore: [app-router-migration 27] migrate the "signup" page ( #13061 )
...
Co-authored-by: Benny Joo <sldisek783@gmail.com >
2024-01-19 11:54:43 -07:00
Anik Dhabal Babu and Udit Takkar
3983351dac
fix: Allow impersonation from the /settings/admin/users page ( #13281 )
...
* add impersonation in the dropdown menu
* add logo
* fix another minor issue
* Update UsersTable.tsx
---------
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-01-19 17:07:38 +00:00
Peer Richelsen and Keith Williams
01322431fc
chore: flappy bird ui fixes ( #13329 )
...
* Update BookEventForm.tsx
* Apply suggestions from code review
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-01-19 14:32:08 +00:00
Maaz Ahmed Khan and Keith Williams
dcd06b0663
fix: Troubleshooter - Vertical scrolling not working on left panel or calendar (Re-opened) ( #13243 )
...
* Fix scrolling on calendar
* Fix scrolling on TroubleshooterSidebar
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-01-19 11:02:56 -03:00
James Garbutt and Keith Williams
26e50d24b0
test(core): add tests for events utils ( #13265 )
...
This adds tests for the following utils found in `core`:
- event utils
- getAggregateWorkingHours
- getCalendarsEvents
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-01-19 13:22:28 +00:00
956f2c7a2b
feat: show pay & book label to the meeting confirmation button when payment is enabled. ( #12960 )
...
* feat: Meeting confirmation button when payment is enabled says `pay & book`
* Update apps/web/public/static/locales/en/common.json
---------
Co-authored-by: Peer Richelsen <peer@cal.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-01-19 10:20:17 +00:00
Carina Wollendorfer and CarinaWolli
3fe0280dee
fix event title in calendar event ( #13316 )
...
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
2024-01-19 09:28:47 +00:00
d1810d9f14
refactor: Canceling Seats ( #13136 )
...
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Omar López <zomars@me.com >
2024-01-19 04:01:06 +00:00
a25cd43ddf
fix: start and end date for ooo entry ( #13284 )
...
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: sean-brydon <sean@cal.com >
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com >
2024-01-19 04:00:21 +00:00
833a91375e
feat: integrate avatarapi to pre-fill avatar ( #13185 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Omar López <zomars@me.com >
2024-01-19 03:57:07 +00:00
8124627cc5
feat: preview of installed app name on the schedule screen ( #13221 )
...
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: Udit Takkar <udit222001@gmail.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Omar López <zomars@me.com >
2024-01-19 03:56:56 +00:00
zomars
51c9b94fb5
chore: Syncs nextjs
2024-01-18 14:20:29 -07:00
Anik Dhabal Babu
03671e2a58
fixes issue #13304 ( #13306 )
2024-01-18 16:05:43 +00:00
Nishith Munda
5e5f223908
fix: mobile-navbar ( #13273 )
2024-01-18 14:58:04 +00:00
bd4722554d
chore: [app-router-migration 13.5] Add ability to reuse legacy getServerSideProps and getStaticProps on the /future pages ( #13184 )
...
Co-authored-by: Greg Pabian <35925521+grzpab@users.noreply.github.com >
Co-authored-by: Benny Joo <sldisek783@gmail.com >
Co-authored-by: zomars <zomars@me.com >
2024-01-17 10:27:15 -07:00
Hariom Balhara
396b81af58
Skip code verification for admin ( #13278 )
2024-01-17 13:21:30 +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
Manavpreet Singh and Manavpreet Singh
8f0ff58bcf
fix: datepicker border color fix ( #13262 )
...
Co-authored-by: Manavpreet Singh <119919977+manavpreetsingh@users.noreply.github.com >
2024-01-16 18:42:08 +00:00
Lauris Skraucis and Omar López
312a3f2543
refactor: API POST /teams ( #13211 )
...
Co-authored-by: Omar López <zomars@me.com >
2024-01-16 17:47:46 +00:00
ca3e3600f7
test: Check the workflow tab and your functionalities (teste2e-workflow) ( #12474 )
...
* test: Check the workflow tab
* fix type
---------
Co-authored-by: gitstart-calcom <gitstart-calcom@users.noreply.github.com >
Co-authored-by: GitStart-Cal.com <121884634+gitstart-calcom@users.noreply.github.com >
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
2024-01-16 11:11:36 -05:00
Morgan
ba944b471a
refactor: app-store imports webhook.ts from @calcom/web ( #13257 )
2024-01-16 15:10:58 +00:00
Udit Takkar
1fed08fa9b
fix: untranslated string in event ( #13247 )
2024-01-16 07:20:33 -03: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 <hariombalhara@gmail.com >
* Update packages/trpc/server/routers/viewer/organizations/adminUpdate.handler.ts
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
* Update packages/trpc/server/routers/viewer/organizations/create.handler.ts
---------
Co-authored-by: Hariom <hariombalhara@gmail.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-01-16 10:18:17 +00:00
sean-brydon and Udit Takkar
60e0bbf4b7
feat: impersonation improvements ( #13066 )
...
* fix: rename checkPermission to be more fitting
* feat:return to user
* nits: cleanup plus comments
* cleanup
* test: Add e2e
* fix: fix fixtures
* nit: cleanup logs
* chore: move to impersonatedBy in session
* fix: can return to self
* Update apps/web/playwright/impersonation.e2e.ts
* fix: typecheck
---------
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-01-16 08:45:48 +00: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
Vishal Bisht
f41f4b01a9
Fixed [CAL-2930] Org branding isnt centered in shell #13225 ( #13237 )
2024-01-16 03:02:46 +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 <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Erik <erik@erosemberg.com >
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
Udit Takkar and Carina Wollendorfer
7ec3d04acc
test: add test for invalid cal video ( #13103 )
...
* test: add test for invalid cal video
* chore: add confirm
* chore: fix type error
* chore: update code
* test: add unit test
* chore: type error
* chore
* chore: type
* chore: fix test
* chore
---------
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
2024-01-15 15:07:58 -05:00
Udit Takkar
13a765e50a
test: In Team Event type when location is Organizer Default App and U… ( #12939 )
...
* test: In Team Event type when location is Organizer Default App and User Metadata is emoty
* chore: use variable
* fix: type error
2024-01-15 19:38:16 +00:00
e5eb121ab7
fix: Reschedule a cancelled booking ( #13170 )
...
* fix: Reschedule a cancelled booking
* canceled instead of cancelled
---------
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
2024-01-15 16:52:04 +00:00
6612926aa5
test: Check availability tab and all your functions (teste2e-availability) ( #12434 )
...
* add changes
* add changes
* add changes
* add changes
* Requested changes
* Change way to grab element
---------
Co-authored-by: gitstart-calcom <gitstart-calcom@users.noreply.github.com >
Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-01-15 11:45:51 -05:00
24607873c0
refactor: Abstract handleSeats from handleNewBooking ( #12062 )
...
* 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
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Erik <erik@erosemberg.com >
2024-01-15 15:28:11 +00:00
Peer Richelsen
8b37d91108
chore: added community support to help ( #13213 )
2024-01-15 15:16:35 +00:00
22b0644700
fix: event reschedule workflow trigger ( #13122 )
...
* fix event reschedule workflow trigger
* uncomment previously failed test
* review fix
---------
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
2024-01-15 10:15:49 -05:00
sean-brydon and Peer Richelsen
0798e2940a
fix: check for isEmbed ( #12907 )
...
* fix: check for isEmbed
* chore: useIsEmbed hook
* Update packages/features/bookings/Booker/components/Header.tsx
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-01-15 10:39:38 +00:00
Udit Takkar and Peer Richelsen
b1bf94aa58
chore: added a fallback for country code ( #13171 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-01-15 09:51:16 +00:00
Peer Richelsen and Udit Takkar
0a921c2929
chore: added mini game to waiting screen of instant meetings ( #13177 )
...
* nit
* Update packages/features/bookings/Booker/components/BookEventForm/BookEventForm.tsx
---------
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-01-15 03:29:01 +00:00
Carina Wollendorfer
67c318e527
fix: use DateRangePicker component in my-account/out-of-office ( #13207 )
2024-01-14 13:58:10 +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 <sldisek783@gmail.com >
2024-01-12 18:36:48 -03:00
DmytroHryshyn
abd90f6af8
chore: [app-router-migration 14] migrate not-found page ( #13032 )
...
* chore: migrate not-found page
* migrate page, replace ssgInit
* fix flaky test
* fix
* fix
* fix
2024-01-12 18:21:35 -03:00
Benny Joo and Greg Pabian
0bdc45a1a5
chore: [app-router-migration 18] Migrate "/settings/organizations/*" pages ( #13042 )
...
* manual: app-directory-boilerplate-calcom
* manual: import components directly
* manual: move files to correct route groups and add metadata
* manual: Change structure & Refactor to make code up to date
* manual: refactors
* Fix
* manual: fix type of arg of getData
* manual: fix type error
* fix type bugs
* fix
* fixing the build
* wip
---------
Co-authored-by: Greg Pabian <35925521+grzpab@users.noreply.github.com >
2024-01-12 15:32:39 -03:00
sean-brydon
d8ba783369
fix: use brand accent instead of invert on current day selector ( #13194 )
...
* fix: use brand accent instead of invert
* fix: use brand accent instead of invert
* chore: remove constants from commit
2024-01-12 13:44:26 +00: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
Rahil Ansari and Udit Takkar
dfe03efc37
fix: fix the fluctuations in sidebar when we scroll main content ( #13115 )
...
* fix the fluctuations in sidebar when we scroll main content
* fix: reduced vertical padding instead of
TOP_BANNER_HEIGHT
---------
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-01-11 18:29:03 +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 <keithwillcode@gmail.com >
2024-01-11 14:35:02 +00:00
Greg Pabian
cd9d16be3e
chore: [app-router-migration 23] Migrate the "enterprise" page ( #13044 )
2024-01-11 12:56:30 +00:00
Benny Joo
0df6777814
chore: [app-router-migration 20] Migrate /settings/security/* pages ( #13046 )
...
* intuita codemod: app-directory-boilerplate-calcom
* manual: move folders to (settings-layout) route group
* manual: add title/description metadata
* manual: Change structure & Refactor to make code up to date
2024-01-11 12:44:44 +00:00
4ca79af13f
chore: [app-router-migration-11] Migrate workflow page group ( #12777 )
...
* add a/b test flags for apps, workflows, getting-started, settings/teams
* Finalize
* Discard changes to apps/web/app/layoutHOC.tsx
* fix: types
* manual: address Keith's comments
---------
Co-authored-by: Benny Joo <sldisek783@gmail.com >
Co-authored-by: Omar López <zomars@me.com >
2024-01-11 07:49:46 -03:00