+1
30ba168fc3
chore: bump @trpc/* and @tanstack/react-query ( #13335 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Omar López <zomars@me.com >
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: Alex van Andel <me@alexvanandel.com >
Co-authored-by: zomars <zomars@me.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: Benny Joo <sldisek783@gmail.com >
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
Co-authored-by: Gergő Móricz <mo.geryy@gmail.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-01-23 16:42:29 -07:00
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 <zomars@me.com >
2024-01-23 17:17:36 +00:00
0abff9f562
feat: Add ICS Feed support ( #13337 )
...
* feat: ics-feed proof of concept pt. 1
* feat: ics-feedcalendar fixes
* fix: ics feed i18n and icon issues
* fix: remove debug log
* chore: revert yarn.lock
* fix: remove debug log
---------
Co-authored-by: Omar López <zomars@me.com >
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2024-01-23 12:30:40 +00:00
Benny Joo and GitHub
827d8995a1
chore: [app-router-migration 38]: Refactor migrated pages and fix generateMetadata functions ( #13314 )
...
* refactor to keep consistencies in files
* manual: more refactors
* revert unnecessary changes
* fix type errors
* fix build error
* fix
2024-01-22 17:32:15 -03:00
850e222f0e
feat: instant meeting improvements ( #13258 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Omar López <zomars@me.com >
2024-01-22 19:48:23 +00:00
Mehul and GitHub
ede2357203
fix: SAML postgres err ( #12437 )
2024-01-22 15:41:43 +00:00
559ab4192f
fix: team invite broken link ( #13344 )
...
* fix: team invite broken link
* default value fix
---------
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-01-22 15:31:57 +00:00
3c8c6d0574
feat: Add Owner during organization creation ( #13069 )
...
* feat: Add Owner during organization creation
* chore: remove dead code
* fix: change route from onboard-admin to onboard-members
* fix: change button name to add_members from add_team_member
* fix: change MembershipRole badge colour
* fix: previous membership role bug
* update: "On-board administrators" tests
* fix: wrong import
* Reverted extra changes
* fix: current user cannot remove itself
* Reverted extra changes
* Reverted extra changes 2
* send isOrg to removeMember handler
* fix: removed prisma.user.delete cleanup as not needed
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
2024-01-22 10:24:09 -05:00
Hariom Balhara and GitHub
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
313bb89789
refactor: Booker Component ( #13176 )
...
* refactor: booker component
* refactor: booker component
* refactor: useBookings, useOverlayCalendar
* fix: imports and types
* fix: don't allow uid update in bookings update api (#13071 )
* don't allow uid update in bookings update api
* omit uid from schemaBookingEditBodyParams instead of updating schemaBookingBaseBodyParams
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
* New Crowdin translations by Github Action
* fix: use DateRangePicker component in my-account/out-of-office (#13207 )
* fix: remove duplicate useBrandColors
* fix: add missing localstorage package
* fix: booking form initial values
* fix: redirect to payment form
* refactor: handle fetching schedule only in Booker
* fixup! refactor: handle fetching schedule only in Booker
* fix: remove empty file
* useBookerLayout.ts useEffect dependencies
isMobile and isEmbed were missing and validateLayout was redundant
* useInitialFormValues useEffect dependencies
* fix: remove unused hook
* refactor: split logic from data fetch overlayCalendar
* fix: small changes
* fix: inifinite loop
* fix: toggle calendar
---------
Co-authored-by: Rajiv Sahal <sahalrajiv-extc@atharvacoe.ac.in >
Co-authored-by: Riddhesh Mahajan <40472653+riddhesh-mahajan@users.noreply.github.com >
Co-authored-by: Alex van Andel <me@alexvanandel.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
Co-authored-by: Lauris Skraucis <lauris.skraucis@gmail.com >
2024-01-22 11:57:00 +02:00
95e037c664
fix: event api accepts invalid start & end values ( #13203 )
...
* fix: event api accepts invalid start & end values
* fix: unit tests
* test: added 'event length check during booking'
* test: fix unit test
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-01-20 17:31:11 +00:00
techknowlogick and GitHub
da026d909d
feat(app-store): add feishu calendar ( #13187 )
2024-01-20 14:36:09 +00:00
30b433397a
Removed shell from troubleshooter ( #13303 )
...
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com >
2024-01-20 10:29:12 -03:00
DmytroHryshyn and GitHub
ff1aefe539
chore: [app-router-migration 39] refactor ssr/ssg functions ( #13336 )
2024-01-19 15:58:37 -07:00
ae3f30fabf
chore: fixed some of the terms language ( #13334 )
...
* fixed some of the terms language
* minor changes
* Update apps/web/pages/settings/organizations/[id]/onboard-admins.tsx
* fixed yarn
* nit
* fix: trans
---------
Co-authored-by: Udit Takkar <udit222001@gmail.com >
2024-01-19 22:37:04 +00:00
eed34559b5
feat: added upgrade page ( #13287 )
...
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
Co-authored-by: Utkarsh Nagar <utkarshnagar2000@gmail.com >
Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: zomars <zomars@me.com >
2024-01-19 21:37:40 +00:00
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
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
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
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
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
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
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 and GitHub
03671e2a58
fixes issue #13304 ( #13306 )
2024-01-18 16:05:43 +00:00
Nishith Munda and GitHub
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 and GitHub
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
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
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 and GitHub
ba944b471a
refactor: app-store imports webhook.ts from @calcom/web ( #13257 )
2024-01-16 15:10:58 +00:00
Udit Takkar and GitHub
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
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 and GitHub
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 and GitHub
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
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 and GitHub
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