Keith Williams
306f53dec7
fix: Typo in OAuth clients ( #14292 )
...
* fix: Typo in OAuth clients
* Update index.tsx
2024-04-02 15:02:26 -03:00
sean-brydon
af8d38e3a6
feat: hide if team slider if org is private ( #14201 )
...
* feat: hide if org is private
* fix: allow owners and admin to see page
2024-03-26 12:51:03 +00:00
Syed Ali Shahbaz
fd91c5da79
feat: SSO for orgs ( #13794 )
...
* WIP
Adds the capability to add SSO setup in orgs
if you are an Admin or an Owner of the org
* remove sso setup from teams
* allows account creation on first login
* auto-add on login and dsync fixes
* allow SP & idP initiated login for SAML
* revert change to checkIfUserShouldbelongToOrg
* fixes SP initiated Login for first time
* removed stale comment
* code improvement
* --
* minor fixes
* more fix
* add description for non-admin sso settings page
2024-03-26 11:11:51 +00:00
e04a8f0344
chore: moved GTM into signup ( #14175 )
...
Co-authored-by: sean-brydon <[email protected] >
Co-authored-by: zomars <[email protected] >
2024-03-22 18:40:25 +00:00
Lauris Skraucis
74e5f4bf37
feat: atoms as npm package ( #14160 )
...
* fix: getEnv not returning fallback API_URL breaking examples app
* refactor: use vite as the only way to build atoms
* refactor: web use atoms from web.ts and rest from dist
* refactor: update atoms version, description and set privacy to public
* fix: lib and ui import from web atoms
* refactor: rename @calcom/platform-atoms to @calcom/atoms
* feat: atoms as npm works with example app outside monorepo
* start atoms from v1.0.0
* refactor: monorepo atoms for internal use
* document atoms publishing
* refactor: remove unused import in v2
* fix: mistakes made during main merge
* refactor: move back examples app while still having it in atoms-examples repo
* refactor: monorepo examples readme
* feat: atoms yarn publish command
* refactor: atoms css file simplify
* fix: mocking atoms in ui unit test
* fix: mocking atoms in app-store unit test
2024-03-21 14:33:10 -03:00
Morgan
e19e829ff7
refactor: availabilitySettings atoms web wrapper and translations ( #14167 )
...
* refactor: availabilitySettings atoms web wrapper and translations
* fixup! refactor: availabilitySettings atoms web wrapper and translations
2024-03-21 15:26:33 +02:00
+24
0a15483c46
feat: platform atoms + api v2 ( #14106 )
...
* add connect to cal atom
* add connect to cal to atoms package index
* shadcn setup
* update packages
* button component from shadcn
* dumb button component
* replace button with dumb button component
* update commenst and change url param
* chore: setting up monorepo packages for platforms (#12572 )
* chore: init platform folders strucutre and api proxy
* fixup! chore: init platform folders strucutre and api proxy
* chore: init database oAuth platform client schema
* fixup! chore: init database oAuth platform client schema
* fix config path after move to folder /v1
* feat: scaffold v2 API (#12554 )
* init nest project
* add kysely as a separate package
* add ee folder with license
* prettier: format v2 api same as mono repo
* migrate over Eriks nestjs poc
* schema generation script
* ee license file
* nest poc eslint file
* remove prisma-kysely from v2 api
* prepare for mergin platform: remove prisma-kysely because incorrect checksum
* add prisma-kysely to packages/prisma
* move to apps/api/v2
* rename v2 package
* readme update
* Update apps/api/v2/env.example
* env typo
* env typo
---------
Co-authored-by: Erik <[email protected] >
Co-authored-by: Morgan Vernay <[email protected] >
* chore: init platform packages (#12603 )
* chore: init platform packages
* fixup! chore: init platform packages
* fixup! fixup! chore: init platform packages
* fix: type in package.json
* fixup! fixup! fixup! chore: init platform packages
* fixup! fixup! fixup! fixup! chore: init platform packages
* fixup! fixup! fixup! fixup! fixup! chore: init platform packages
* fixup! fixup! fixup! fixup! fixup! fixup! chore: init platform packages
---------
Co-authored-by: Lauris Skraucis <[email protected] >
* chore: platform more permissions utils and tests (#12613 )
* chore: more permisions utils and tests
* chore: tests
* feat: validate `CalProvider` api keys (#12672 )
* fix: signup nit (#12585 )
* Disable submit on empty form
* Fix submit
---------
Co-authored-by: Peer Richelsen <[email protected] >
* New Crowdin translations by Github Action
* fix: Signup options are not disabled (#12610 )
* fix: Signup options are not disabled
* fixes/signup disabling suggested changes done
* chore: signup and login improvements
---------
Co-authored-by: Udit Takkar <[email protected] >
* fix: typo in @calcom/emails readme (#12615 )
* fix: handle reschedule request for dynamic meetings (#12275 )
* 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] >
* chore: added cursor-pointer to img upload (#12624 )
* added cursor-pointer to img upload
* nit
* feat: add clear filters option in bookings page (#12629 )
* add clear filters option
* fix vscode settings.json
* use removeAllQueryParams()
* fix yarn lock
* remove toggleoption
* feat: display long durations in hours on booking (#12631 )
Co-authored-by: Udit Takkar <[email protected] >
* New Crowdin translations by Github Action
* fix: workaround for future app dir routes
* feat: Allow only first slot to be booked (#12636 )
Co-authored-by: Morgan Vernay <[email protected] >
* New Crowdin translations by Github Action
* feat: add matomo analytics app (#12646 )
* chore: Sentry Wrapper with Performance and Error Tracing (#12642 )
* add wrapper for sentry and update functions in 'getUserAvailability'. Update tracesSampleRate to 1.0
* Make Sentry Wrapper utilize parent transaction, if it exists.
* Update wrapper for functions to inherit parameters from the child function
* add comment of when to use the wrapper
* check for sentry before wrapping, if not call unwrapped function
* refactored wrapper to have async and sync separate functions that utilize helpers for common behaviour
* update type of args to unknown
* fixed types of returns from wrapped functions
---------
Co-authored-by: Morgan <[email protected] >
* validate api keys to set error and key states for api keys
* organize error messages into one place
* set error messages from errors file instead of hardcoding value
* fix incorrect constant name
---------
Co-authored-by: sean-brydon <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Crowdin Bot <[email protected] >
Co-authored-by: Pratik Kumar <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: Samyabrata Maji <[email protected] >
Co-authored-by: Manpreet Singh <[email protected] >
Co-authored-by: Benny Joo <[email protected] >
Co-authored-by: Dmytro Hryshyn <[email protected] >
Co-authored-by: DmytroHryshyn <[email protected] >
Co-authored-by: zomars <[email protected] >
Co-authored-by: Varun Prahlad Balani <[email protected] >
Co-authored-by: Mike Zhou <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: Haran Rajkumar <[email protected] >
Co-authored-by: Morgan Vernay <[email protected] >
Co-authored-by: Harshith Pabbati <[email protected] >
Co-authored-by: Brendan Woodward <[email protected] >
Co-authored-by: Morgan <[email protected] >
* fix: storybook atom import
* feat: oauth clients management (#12604 )
* feat: oAuth create and update dtos
* feat: WIP oAuth repository
* feat: oAuth controller and module
* refactor: rename cal oAuth to simply oauth
* fix: controller update client
* add oAuth client module to endpoints module
* refactor: OAuthClientRepository
* refactor
* status codes for controller
* oauth create return
* fix: oAuth client only for v2 API
* remove repository as provider from its module
* fix: oAuth module, have repository in providers
* fix: make endpoints run
* comment out oauth prisma schema code: coming next
* refactor: remove api-key authguard (#12675 )
* chore: Prisma exception filters (#12679 )
* fix: get prisma schema from package @calcom/prisma (#12692 )
* fix: get prisma schema from package @calcom/prisma
* fixup! fix: get prisma schema from package @calcom/prisma
* fixup! fixup! fix: get prisma schema from package @calcom/prisma
* fix: prettier config
* fixup! fix: prettier config
* chore: create authenticated user guard (#12677 )
* chore: wip next-auth-guard for apiv2
* refactor: use NextAuthGuard on all OAuthClientController routes
* refactor: use passport to get next user
* exclude password from prisma read service
* Revert "exclude password from prisma read service"
This reverts commit 24b1f8ed59f6d99f0ecc589c691efb0ac1f2ac3b.
* fix: userRepo sanitize password
* refactor: function order in UserRepository
* implement user repository service
* refactor: strict null checks for TS
* refactor: fix strict null checks
* delete res locals type
* refactor: switch from zod to class-validator for oAuth client
* refactor: switch from zod to class-validator for booking
* refactor: rename dtos folder to input folder
* fix: create migration for prisma schema oauth clients table
* feature: post oAuth client
* refactor: rename oAuth client_secret to secret
* stricter ts config + oauth secret
* remove migrations
* fix: improve response type
* improve error code types
* fix: prettier by removing eslint as its not needed
* refactor: eslint fix files
* wip organization oauth_lcient
* fix import types
* fix team schema platformOAuthClient name
* fix: import packages transpiled
* feat: roles guard
* refactor: use organisationId instead of userId
* fix: jwt secret signing not having jwt_secret
* fix: stop importing input DTOs as types
* fix: jwt sign expecting plain object
* add sentry, routes logger, generic response type
* fix test config
* fixup! fix test config
* refactor: dont await async function return
* feat: fallback value for getEnv
* feat: add helmet for security
* feat: organization guard
* refactor: check if user set in RolesGuard
* refactor: remove roles requirement for oauth read
* chore: add exceptions filters
* fix: api key strategy throws errors
* chore: set e2e tests
* chore: centralize api type in package
* feat: user repository relations
* feat: user repository relations
* Revert "feat: user repository relations"
This reverts commit 1802b256b5a6e5c9b6a62138c8cb1b6f75ed401b.
* Revert "feat: user repository relations"
This reverts commit 4a8f52583d95ff15b6254694c976d8ec9ce0e546.
* test: mock next auth
* fixup! test: mock next auth
* test:oAuth authed user but no org
* refactor: remove unused type
* refactor: organisation guard based on Membership table
* refactor: folder and file structure
* fix: small changes exception filters
* refactor: merge organization and roles guards into one guard
* fix: remove old export
* fix: org roles guard
---------
Co-authored-by: supalarry <[email protected] >
* chore: OAuth clients tests and fixes (#12762 )
* chore: add tests and fixes
* fixup! chore: add tests and fixes
* fixup! fixup! chore: add tests and fixes
* fixup! fixup! fixup! chore: add tests and fixes
* fixup! fixup! fixup! fixup! chore: add tests and fixes
* fixup! fixup! fixup! fixup! fixup! chore: add tests and fixes
* fixup! fixup! fixup! fixup! fixup! fixup! chore: add tests and fixes
* fix: remove unused imports
* chore: move repos to feature folder (#12769 )
* chore: rename repositories
* fix yarn.lock
* feat: oauth client guard (#12814 )
* feat: oAuth client guard
* refactor test
* refactor: move oauth-client guard to oauth module
* refactor: separate jest config from package.json
* fix: resolving paths in jest tests
* fix: tests
* jest setup file
* fix: jest test warnings about .js platform constants imports
* refactor: test repository fixtures
* remove allowjs
* ignore js files in ts-jest
* make oauth client module global
* make oauth client module global
* feat: platform oAuth clients frontend (#12867 )
* add oauth client to settings
* fix imports
* add react and axios
* oauth client form and card components
* hooks for oauth clients data
* index page for oauth clients
* oauth client list component
* oauth client form page
* shift atoms into platform
* init platform folder
* refactor handleSubmit functioin
* platform
* platform
* platform parts
* revert tsconfig constant platform
* fix: useOauthClients
* feat: create oauth client with api
* fix: add prettier to platform type package
* fixup! fix: add prettier to platform type package
* chore: class-validator types in platform package
* add types for delete oauth client iput
* add onSuccess and onError methods
* update oauth client card view with client id and secret
* cleanup comments
* split oauth persisit hook into create and delete hooks
* fix: oauth client creation / deletion / listing
* fixup! fix: oauth client creation / deletion / listing
* fix: comment logo for now
* fix: layout setting org keys
* cleanup comments
* minor style fixes, add logic for client permissions
* show toast after deleting client
* not passing clint logo at the moment
---------
Co-authored-by: Morgan Vernay <[email protected] >
* chore(platform): OAuth Flow (#12798 )
* fixup! chore(platform): OAuth Flow (#12798 )
* feat: CRUD for oAuth users (#12853 )
* user controller with oauth guard
* crud repository and controller operations
* add user controller to user module
* refactor: oauth guard
* connect user with oauth client upon creation
* fix: test
* wip: e2e test
* refactor: findUniqueOrThrow -> findUnique user
* test: POST user request
* feat: permissions guard
* e2e tests
* e2e
* e2e refactor
* e2e refactor
* reflector decorator check refactor
* refactor oauth guard
* remov unused imports
* log message
* delete permissions decorator and guard
* remove delete user endpoint
* remove delete user endpoint
* refactor: route structure
* remove get oauth client decorator
* delete unecessary e2e config changes
* remove set header in post test
* fix: oauth guard test on empty db
* revert: add previously removed constant to fulfill merge platform
* fix: import to satisfy platform branch merge
* use real implementation of access token guard
* generate access & refresh tokens and fix e2e
* fix: oauth client e2e test
* refactor: variable naming
* refactor
* rename test file
* remove oauth client from request
* refactor: v2 API (#12913 )
* Use Boolean only instead of git add src/modules/auth/guard/organization-roles/organization-roles.guard.ts
* move tests next to files they test
* replace .. in import paths with absolute path
* camelCase instead of snake_case for access and refresh token variables
* user sanitize function Typescript friendly
* restructure oAuth clients folder: example for other folders
* restructure bookings module
* organize modules in auth, endpoints, repositories, services
* organize auth module
* organize repositories
* organize inputs
* rename OAuthClientGuard to OAuthClientCredentialsGuard
* add error messages
* add error messages
* clientId as param in oauth-flow & schema mapping
* camelCase instead of snake_case for clientId and clientSecret
* access token guard as passport strategy
* folder structure as features
* get rid of index files
* feat: endpoint for deleting oAuth users & oAuth users returned data (#12912 )
* feat: delete oAuth users
* check if access token matches userId in parameter
* driveby: return only user id and email in oauth users endpoints
* refactor: access token errors (#12932 )
* change error messages
* error message if access token does not exist in our database
* token expired 498
* access token expired message as constant
* store 498 status code as const
* fix: access token error less information given
* chore: invalid access token const
---------
Co-authored-by: Morgan Vernay <[email protected] >
* feat: external gcal (#12954 )
* wip connect gcal
* feat: add external google calendar
* fixup! feat: add external google calendar
* fix: google calendar oauth check invalid
* google cal check tests
* use zod
* fix: await validate access token service
* chore: e2e tests for oAuth flow (#13005 )
* fix: accessing length of undefined
* refactor: GetUser throw error if no user provided
* fix: cascade delete PlatformAuthorizationToken if owner or client deleted
* test: POST /authorize
* refactor oauth-flow controller
* refactor oauth-flow controller
* new function to get authorization token by client user ids
* refactor token service
* fix: re-created access and refresh tokens having not unique secret
* oauth flow tests
* oauth flow tests
* feat: abstracted jwt service (#13016 )
* remove unused JwtModule from the auth module
* feat: create abstracted jwt service
* refactor: tokens module and service use new jwt service
* refactor: oauth-client module and repository use new jwt service
* implement Morgans requests
* Basic atoms in barebone example platform apps (#13006 )
* example app
* example app
* dev move
* fix: more entry points
* fixup! fix: more entry points
* refactor: v2 API (#12913 )
* Use Boolean only instead of git add src/modules/auth/guard/organization-roles/organization-roles.guard.ts
* move tests next to files they test
* replace .. in import paths with absolute path
* camelCase instead of snake_case for access and refresh token variables
* user sanitize function Typescript friendly
* restructure oAuth clients folder: example for other folders
* restructure bookings module
* organize modules in auth, endpoints, repositories, services
* organize auth module
* organize repositories
* organize inputs
* rename OAuthClientGuard to OAuthClientCredentialsGuard
* add error messages
* add error messages
* clientId as param in oauth-flow & schema mapping
* camelCase instead of snake_case for clientId and clientSecret
* access token guard as passport strategy
* folder structure as features
* get rid of index files
* feat: endpoint for deleting oAuth users & oAuth users returned data (#12912 )
* feat: delete oAuth users
* check if access token matches userId in parameter
* driveby: return only user id and email in oauth users endpoints
* Connect CalProvider and GCal
* Connect CalProvider and GCal
* return response interceptor to handle failed requests
* handle failed requests using axios intercepter
* cal provider refresh tokens, external gcal
* external gcal
* cal provider refresh and retries
* remove console.log
* refactor
* ignore built atoms css
* remove change to token repo
* refactor
* refactor
* downdgrade vite of unrelated packages
* move gcal endpoints to platform
* gcal service
* refactor: use atoms provider
---------
Co-authored-by: Lauris Skraucis <[email protected] >
Co-authored-by: Ryukemeister <[email protected] >
* feat: user schedule management (#13053 )
* platform-constants package: list of accepted schedule timezones
* feat: schedules endpoint to create schedule with default availability
* refactor: rename function
* refactor: store userId for availabilities
* feat: createSchedule endpoint
* feat: get schedules/default
* feat: getSchedule by id
* feat: get all schedules
* feat: delete schedule
* feat: update schedule
* check user owns schedule
* empty test
* define returned data on controller level not repository
* define returned data on controller level not repository
* Revert "define returned data on controller level not repository"
This reverts commit 4c292a0f0762f58bdcad0707ad8eef7408390800.
* use luxton
* put availabilities out of ee
* use guard on controller level
* refactor
* e2e test schedule creation
* remove log
* test
* default schedule get test
* update schedule test
* delete schedule test
* fix update test
* different email for schedules e2e
* driveby: fix yarn test
* schedule inputs availabilities as array
* re-use BaseStrategy class
* feat: me endpoint v2 api (#13274 )
* feat: me endpoint v2 api
* simplify
* chore: NestJS throttling (#13011 )
* fix: v2 throttling setup (#13402 )
* fix: v2 throttling
* fix: setup redis locally
* move sentry files to api v1
* chore: calcom platform libraries (#13444 )
* fixup! chore: calcom platform libraries (#13444 )
* fix: fix managed users
* feat: user timezone management in `CalProvider` (#13361 )
* hooks to fetch and update user timezone
* add react query package
* add logic to check for change in user timezone and update it
* hook to handle timezone changes
* shift timezone handling logic into separate custom hook
* rename variables
* rename hook to get a user
* call useTimezone hook inside of cal provider
* minor refactors
* add variables for api endpoints
* use URL constructor for creating endpoints
* key prop not needed
* use URL constructor for creating endpoints
* chore: package json scripts
* fix(atoms): fix import path of useUpdateUserTimezone
* fix(atoms): build constants and fix ENDPOINTS const
* feat: v2 api event type endpoints (#13449 )
* build platform-libraries
* make getEventTypeById compatible with default PrismaClient
* feat: fetch event type endpoint
* handle event type not found
* e2e test for GET
* test
* determine is user org admin for getEventTypeId correctly
* prisma type like before
* add negative test
* POST event-type and return event-type for api and atom
* POST event-type and return event-type for api and atom
* feat: create default user event types when creating managed user
* feat: v2 api me PUT endpoint (#13486 )
* add timeZone to me endpoint
* feat: me endpoint PUT
* reset package.json
* standardize creation and updating of user
* user creation: capitalize timezones and week start
* default event type constants in const file
* refactor: defaultTimezone Europe/London in response schema
* refactor: validators
* refactor: default schedule in schedules endpoints
* refactor: patch instead of put
* fix: getEventTypeById organizationId (#13554 )
* chore: transpile more libraries functions
* feat: overlay calendar busy dates events (#13581 )
* feat: overlay calendar busy times events
* fixup! feat: overlay calendar busy times events
* fixup! fixup! feat: overlay calendar busy times events
* fixup! fixup! fixup! feat: overlay calendar busy times events
* refactor: schedules for atom (#13585 )
* schedules get.handler transformers as util functions
* export schedule transformers from platform-libraries package
* schedules for atom
* refactor: schedules response service format response
* remove unused injected dependency
* fix: prevent duplicate calendar account linking (#13310 )
* fix: prevent signing up multiple times from same account
* revert: lark calendar changes
* credential clean up if duplicate
* fix code duplication and check before credential creation
* feat: useRouterQuery allow unset queryParam
* feat: showToast on account duplication attempt
* Small tweak to copy
* Updated other calendars not to use checkDuplicateCalendar
* Add account already linked to apps/installed/calendar
---------
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
* Revert event-type profile based querying (#13588 )
* test: Bookings: Add more automated tests for organization (#13576 )
* Avoid selecting unused props
* Add automated tests
* Add existing user invite and booking
---------
Co-authored-by: Joe Au-Yeung <[email protected] >
* fix: organization user shouldn't be asked for payment for a premium username (#13535 )
Co-authored-by: Joe Au-Yeung <[email protected] >
* chore: refactor handle new reccuring booking (#13597 )
* chore: refactor handle new reccuring booking
* fixup! chore: refactor handle new reccuring booking
* fixup! fixup! chore: refactor handle new reccuring booking
* test: Create unit tests for the questions (teste2e-multiSelectQuestion) (#11569 )
* Remove unnecessary changes
* add changes
* Requested changes
* Requested changes
* FIx failing tests
* FIx failing tests
* Update regularBookings.ts
* FIx failing tests
* Refactor
* add unit tests for all questions
---------
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: GitStart-Cal.com <[email protected] >
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: Morgan <[email protected] >
Co-authored-by: Joe Au-Yeung <[email protected] >
* fix: update valid_for_secs (#13604 )
* fix: Fixes teams UI load issue (#13593 )
* fixes teams uiload issue
* revert: yarn.lock
---------
Co-authored-by: Udit Takkar <[email protected] >
* chore: upgrades boxyhq jackson (#13477 )
* chore: upgrades boxyhq jackson
* Update jackson.ts
reduces bundle size
* Update yarn.lock
* Update apps/web/next.config.js
* Upgrades again
---------
Co-authored-by: Keith Williams <[email protected] >
* upgrades copycat
* feat: PLA-47 Reserve Slots Handler (#13607 )
* PLA-44 feat: Platform getPublicEvent (#13596 )
* chore: getPublicEvent
* chore: fix
* feat: booker atom bookings platform endpoints (#13613 )
* feat: handle new booking
* wip
* feat: handle recurring and instant booking
* fixup! feat: handle recurring and instant booking
---------
Co-authored-by: Peer Richelsen <[email protected] >
* fix: v2 not running (#13636 )
* fix: import from platform-libraries instead of lib
* fix: typescript error
* fix: provide EventTypesRepository to SlotsService
* fix: small change
* Merge branch 'main' into platform
* fix: make v2 run after user model changes (#13653 )
* feat: event type atom user connected and destination calendars endpoint (#13559 )
* extract connected calendars logic in re-usable platform-libraries function
* extract connected calendars logic in re-usable platform-libraries function
* extract connected calendars logic in re-usable platform-libraries function
* calendars endpoints
* enable calendars endpoint
* calendars type form platform-libraries instead of lib
* finish merging platform branch
* fix dbWrite
* fix: issue after merge platform
* fix: new abstracted function export
* change ee/overlay-calendars to ee/calendars endpoint
* refactor: merge overlay service with calendars service
* ts fix
* body -> query
* chore: Platform get schedule (#13696 )
* chore: get available slots
* chore: infer event type isTeam
* chore: nit
* chore: Delete selected slot (#13692 )
Co-authored-by: Morgan Vernay <[email protected] >
* feat: v2 endpoint for availability atom timezones (#13687 )
* refactor: move cityTimezones handler to lib
* test: incorrect timezone when creating oauth user
* refactor: standardize time zone validation
* feat: schedules/time-zones endpoint returning possible time zones
* refactor: @IsValidTimezone load allowed timezones dynamically
* chore: split timezones to its own trpc router
---------
Co-authored-by: Morgan Vernay <[email protected] >
* fix after merge main
* feat: platform useGetPublicEvent (#13752 )
* feat: platform useGetPublicEvent
* chore: move public event type to libraries
* chore: use const for query key
* fixup CalendarBusyTimesInput optional params
* feat: platform use get available slots (#13756 )
* feat: platform use get available slots
* fixup! feat: platform use get available slots
* feat: platform use get connected calendars (#13757 )
* chore: platform enable cors (#13774 )
* chore: enable cors
* fixup! chore: enable cors
* feat: platform use get calendars busy times (#13759 )
* fixup! feat: platform use get calendars busy times (#13759 )
* feat: platform use slots hooks (#13785 )
* feat: platform use slots hooks
* fixup! feat: platform use slots hooks
* fixup! fixup! feat: platform use slots hooks
* fixup! fixup! fixup! feat: platform use slots hooks
* fixup! fixup! fixup! fixup! feat: platform use slots hooks
* fixup! feat: platform use slots hooks (#13785 )
* feat: platform use create boookings hooks (#13797 )
* feat: `Availability Settings` atom (#13762 )
* styling and updating the examples app
* add custom hooks for availability settings atom
* update default exports
* minor updates
* update cal provider to use react query
* availability settings atom
* dialog from shadcn
* navbar for examples app
* add select skeleton loader in calcom ui packages
* refactors
* define rtl for cal provider
* fox trpc call to avoid merge conflicts
* fix issues caused by merges
* revert changes for rtl
* hook to fetch every city timezones
* implement useGetCityTimezones into timezone component
* minor fix
* update hooks
* add props and intergrate into avaialibility component
* add missing await
* remove logs
* add comments
* invalidate queries after settled
* toaster from shadcn
* add toaster into cal provider
* implement toast on event handlers
* add classnames prop to accept custom styles
* passing custom styles
* update packages
* remove comments
* fix: styling
* fix: useUpdateSchedule
* fixup! fix: useUpdateSchedule
* wip
* feat: availability setting atom
* fixup! feat: availability setting atom
* fixup! fixup! feat: availability setting atom
* fixup! fixup! fixup! feat: availability setting atom
* fixup! fixup! fixup! fixup! feat: availability setting atom
---------
Co-authored-by: Morgan Vernay <[email protected] >
* fix: atoms import
* chore: lock
* fix: types
* fixup! fix: types
* refactor: v2 user timezones (#13944 )
* fix: OAuth client form improvements (#13837 )
* rename app to apps
* fix type errors, validate redirect url and other fixes
* enable user to add multiple redirect uris
* add id to input to make labels clickable
* translations for oauth form
* improve styles, add translations and add select all button for permissions
* add permissions for profile read and write
* fixes
* nit
* use `useFieldArray` for dynamic fields
---------
Co-authored-by: Morgan <[email protected] >
* refactor: check organizationId primarily on user profile (#13969 )
* refactor: attach movedToProfile to user
* refactor: check organizationId primarily on user profile
* fix: resolve TS errors to build v2 for prod (#13858 )
* feat: atoms typescript build (#13864 )
* fix: atoms typescript build
* refactor: dayjs
* refactor: meticulous
* refactor: use vite for type generation
* tsconfig
* feat: given user timezone update update default schedule timezone (#13981 )
* refactor: standardize schedules api response
* fix: schedules e2e tests
* refactor: use IsTimeZone class-validator instead of custom built one
* feat: validate managed user timezone
* feat: update default schedule when me schedule updated
* refactor: standardize v2 api returned data (#13984 )
* feat: V2 api swagger (#13804 )
* feat: v2 API swagger docs
* fix: query param not showing up in docs
* latest swagger.json
* refactor: remove scaffolded sample endpoint
* separate internal endpoints
* oauth-clients and oauth flow docs only in dev
* oauth-clients and oauth flow docs only in dev
* create oauth client response doc
* responses for oauth-clients
* document development only endpoints
* chore: consume auth token on exchange (#13993 )
* feat: docker build for v2 (#13918 )
* fix: resolve TS errors to build v2 for prod
* WIP: api v2 docker
* arg env dockerfile
* wip
* Revert "wip"
This reverts commit 232adf5b969ef004ae907f3e85b12c2715d9b6bc.
* wip
* wip
* fix docker
* fix docker
* fix docker
* docker
* docker
* expose port 80
* feat: oauth client permissions guard (#14020 )
* feat: Permissions guard
* feat: Permissions guard
* tests
* feat: use permissions guard for event types
* extra permissions test
* fix tests
* bokings, gcal, me and schedules permissions
* chore: use availability settings atom and fix useTimezone platform hook (#13934 )
* replace availabiilty settings with atom component
* add more props for custom styles
* replace intl with dayjs
* review feedback fixes
* fix: v2 api typescript errors (#14059 )
* fix: start:prod script
* fix: v2 me module dependencies (#14073 )
* feat: check v2 request origin (#14074 )
* feat: check v2 request origin
* drive by: remove console log in test
---------
Co-authored-by: Lauris <[email protected] >
* fix date overrides typing issues (#14091 )
Co-authored-by: Morgan <[email protected] >
* fix: v2 e2e tests (#14088 )
* fix: v2 e2e tests
* fix: yarn e2e tests run 1 after another
* fix gcal test
---------
Co-authored-by: Lauris <[email protected] >
* fix: availability atom and access token origin strategy
* fix: availability atom get error from unknown
* feat: booker atom platform wrapper (#14036 )
* feat: booker atom, fix hooks
* wip
* feat: booker atom platform wrapper
* fix conflicts
* fix: build v2 internal dependencies upon v2 build
* fix typing of useDeleteOAuth
* fix: isplatform timezone select improt booker event meta
* fixup! Merge branch 'platform' into feat-booker-atom-platform
* refactor
* add video call event types
* disable email and set managed user names
---------
Co-authored-by: supalarry <[email protected] >
* update yarn.lock
* Update .prettierignore
* update post install
* fix: post install
* fix yarn lock
* fix: post install
* fix: types
* feat: enable user control over timezone changes and helpers for query params (#14049 )
* helpers to get and set value of a query paramater
* add event handlers and props to figure out the timezone preference of a user
* make onTimeZoneChange handler optional
* fixup
* fix merge conflicts
* fixup
* revert changes
* fixup
* fixup
---------
Co-authored-by: Alex van Andel <[email protected] >
* fix: usetimezone import
* fix: prisma client import
* fix: prisma client import
* fix: prisma client import
* remove post install using vite
* ts fix attempt: pin prisma to same version
* Revert "ts fix attempt: pin prisma to same version"
This reverts commit 2c309f52e3a881e2dbda4185f45e77967bef6925.
* resolve v2 prisma to calcom prisma
* sync v2 and typescript deps
* sync atoms package
* lock file updat
* fix: platform web components move out of pages folder
* ui: allow experimental decorators to fix ts ci error
* app-store: allow experimental decorators to fix ts ci error
* web: allow experimental decorators to fix ts ci error
* fix: github actions v2 api secrets
* add license
* mock useIsPlatform for tests
* fix timezone select tests
* mock useLocale
* fix tests
* fix tests
* fix tests
* fix github actions
* chore: temporarily disable redis (#14142 )
* fix: only one migration file for platform
* fix api v1 files location
* fix: disable apiv2 test in ci
---------
Co-authored-by: Ryukemeister <[email protected] >
Co-authored-by: Lauris Skraucis <[email protected] >
Co-authored-by: Erik <[email protected] >
Co-authored-by: sean-brydon <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Crowdin Bot <[email protected] >
Co-authored-by: Pratik Kumar <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: Samyabrata Maji <[email protected] >
Co-authored-by: Manpreet Singh <[email protected] >
Co-authored-by: Benny Joo <[email protected] >
Co-authored-by: Dmytro Hryshyn <[email protected] >
Co-authored-by: DmytroHryshyn <[email protected] >
Co-authored-by: zomars <[email protected] >
Co-authored-by: Varun Prahlad Balani <[email protected] >
Co-authored-by: Mike Zhou <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: Haran Rajkumar <[email protected] >
Co-authored-by: Harshith Pabbati <[email protected] >
Co-authored-by: Brendan Woodward <[email protected] >
Co-authored-by: Amit Sharma <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Hariom Balhara <[email protected] >
Co-authored-by: Joe Au-Yeung <[email protected] >
Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: GitStart-Cal.com <[email protected] >
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: Anant Jain <[email protected] >
Co-authored-by: Lauris <[email protected] >
Co-authored-by: supalarry <[email protected] >
2024-03-20 13:23:19 +02:00
sean-brydon and Udit Takkar
e4e1d91068
fix: fix indicator size ( #14125 )
...
* fix: fix indicator size
* chore: import
---------
Co-authored-by: Udit Takkar <[email protected] >
2024-03-19 08:42:50 +00:00
Alex van Andel and zomars
2803b5072c
fix: Remove the right date override on removal ( #13988 )
...
Co-authored-by: zomars <[email protected] >
2024-03-13 20:30:28 +00:00
502a3241e4
chore: run migrations conditionally ( #13925 )
...
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
2024-03-13 19:52:27 +00:00
f2478ea7d3
feat: new privacy settings for orgs ( #13693 )
...
* moved privacy setting to new tab
* i18n
* added more privacy switches
* fix: hide org teams and members
* fix: use i18n
* fix: privacy page
* feat: also hide team mebers when org is private
* chore: remove log
* fix type error
* chore: type err
* chore: feedback
* chore: type err
---------
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
2024-03-12 15:56:43 +00:00
9230b2d2ca
feat: update event types for default availability change ( #13964 )
...
* feat: update event types for default availability change
* chore: add toast
---------
Co-authored-by: sean-brydon <[email protected] >
Co-authored-by: sean-brydon <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
2024-03-12 13:42:57 +00:00
3c723d6f5b
feat: Managed Events V2 ( #12320 )
...
* init
* Fix event limit interlinked switches
* wip
* WIP
* fix bugs
* lock hashed link until further notice
* lock private url for managed type to stop confusion
* fix recurring
* prettier fix
* early review fixes ...
* --WIP to send only changed form fields in updateMutation
* WIP with some type fixes
* Revert "WIP with some type fixes"
This reverts commit 00f10b772d6d08af17e7c9bd2d3601d93035d9b3.
* post merge conflict resolution fixes
* further type fix
* fixed test
* fixing e2e tests
* fix test --WIP
* attempt fix test & type --WIP
* fix duplicate locale en entry
* fix locked state persistence
* adds private URL locked/unlocked functionality
* fix tests
* Fix issue where locked labels showed up in non-managed events
* adds e2e test step
* update new test
* minor fixes
* fix test
* address changes request Part 1
fixed width on the lock badge
members default location as default selection
bugfix for offset toggle duplicate within itself
* fixes locked/unlocked label for child event types
* enable choice of destination calendar for children
* Fixes width for simple lock badge
* fix type
* fixes workflows list and apps for managed event type
* restricts creation of managed event types to EE only
* further fixes --WIP
* fix unit test for handleChildrenEventTypes
* fix test --WIP
* fix type err --WIP
* fix type err in test
* fix childevent payload
* fixes hashedLink bug
* fix test step title
* lock workflow create button when workflow is locked
* fix workflow detail
* Don't rely on parameter ordering, use object instead
* Removed console.log
* Missed one
---------
Co-authored-by: Joe Au-Yeung <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
2024-03-12 00:10:08 +00:00
sean-brydon and Peer Richelsen
30e4d769e3
feat: gtm push signup event ( #14031 )
...
* feat: gtm push signup event
* chore: fire only if gtm id is defined
---------
Co-authored-by: Peer Richelsen <[email protected] >
2024-03-08 15:13:29 +00:00
1b5d50c45c
feat: SCIM Group Provisioning To Teams Within An Org ( #13850 )
...
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: Kiran K <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: sean-brydon <[email protected] >
Co-authored-by: zomars <[email protected] >
Co-authored-by: Carina Wollendorfer <[email protected] >
2024-03-07 16:16:53 -07:00
1064e1181d
feat: SCIM 2.0 Automatic User provisioning ( #11169 )
...
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Joe Au-Yeung <[email protected] >
Co-authored-by: Joe Au-Yeung <[email protected] >
Co-authored-by: sean-brydon <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
2024-03-06 16:34:21 -07:00
Peer Richelsen
dfd683ffc4
feat: added banner for orgs ( #13644 )
...
Use this banner to test https://pbs.twimg.com/profile_banners/1063089191565905920/1685635865/1500x500
- [x] add backend
- [x] add file upload (require 1500x500px) in Organization/Appearance
- [x] for now, apply this to all Org event types. later we could think about sub-team overwrites, but for now org is enough
1) Upload Banner Screen
<img width="1512" alt="Screenshot 2024-02-15 at 10 26 36 PM" src="https://github.com/calcom/cal.com/assets/53316345/3c7417ee-7ef7-4138-b5f8-38f255a407fa ">
2)
<img width="1512" alt="Screenshot 2024-02-15 at 10 27 02 PM" src="https://github.com/calcom/cal.com/assets/53316345/a74dffbf-3727-4b2f-82d5-fefd55c12901 ">
3) Go to Org Team Event Types
<img width="1512" alt="Screenshot 2024-02-15 at 10 27 21 PM" src="https://github.com/calcom/cal.com/assets/53316345/5f188bd7-8a66-4da7-be73-1b5e178b5b3b ">
__________________________________________________
DESIGNS

__


mobile:

2024-03-06 16:18:56 -07:00
Joe Au-Yeung and Keith Williams
1f845944ac
chore: Add credential sync secret when requesting a token ( #13907 )
...
* Rename .env variables
* Remove instances of old variable names
* Add credential sync secret to request for new token
* Update invalid secret message
Co-authored-by: Keith Williams <[email protected] >
---------
Co-authored-by: Keith Williams <[email protected] >
2024-03-04 19:02:48 +00:00
92a919069d
feat: Implement secondary email ( #13678 )
...
* Implement secondary email
* Fix already existing tests failing
* Added tests for secondary email feature
* Skip email verification if user is changing the primary email to a verified secondary email
* Fix type errors in tests
* Fix email becoming unverified when switched between primary and secondary email
* Added a check to prevent prisma error from throwing up due to duplicate records
* Improved error handling when adding a secondary email
* Add test for resend verification email flow for secondary emails and validation of invite link
* Add a new column to link secondary emails with verification tokens
* Fix failing to update email to an unverified secondary email of the same user
* Fix failing tests
* Change text of resend verification email
* Add ability to use the verified secondary emails to get the event details to
* Fix type errors
* Fix failing e2e tests
* Fix failing unit tests
* Fix failing type checks
* Fix secondary verification email subject
* Fix failing e2e tests
---------
Co-authored-by: Joe Au-Yeung <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
2024-03-02 22:29:40 +00:00
0970c77009
fix: Revert -> "Revert "chore: Chore team metadata table + isOrganization migration ( #13700 )
...
* Revert "Revert "chore: Chore team metadata table + isOrganization migration from metadata (#12828 )""
This reverts commit 2408338ed4 .
* Remove constraint slug,isOrganization and reset migration
* fix: conflicts
* change schema to bust cache
* Fix issues reported by TS
* change schema to bust cache
* Review fixes
* Colaesce for orgAutoAcceptEmail as well
* Fix missing negation
---------
Co-authored-by: zomars <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: Joe Au-Yeung <[email protected] >
2024-03-01 15:04:28 +00:00
Alex van Andel and Udit Takkar
2d75048037
fix: Test flakiness due to unfilled name/email ( #13900 )
...
* fix: Test flakiness due to unfilled name/email
* Better toast-success checks
* Revert "test: Create E2E tests for bookings with custom/required Phone + other questions (#11502 )"
This reverts commit 614741d207 .
* Revert "test: Create E2E tests for bookings with custom/required Multiple Emails + other questions (teste2e-multipleEmailQuestion) (#11565 )"
This reverts commit d1d50b0d91 .
* Revert "test: Create E2E tests for bookings with custom/required Long Text + other questions (teste2e-longTextQuestion) (#11559 )"
This reverts commit 96810b5ba1 .
* Revert "test: Check the webhook event tab and your funtionalities (#12433 )"
This reverts commit 9db9204088 .
* Re-instate regularBookings
* Fixtures used by other tests
* Removed dead code from regularBookings.ts
---------
Co-authored-by: Udit Takkar <[email protected] >
2024-02-28 06:07:32 +00:00
Udit Takkar
5d1976295c
fix: hover state ( #13862 )
release.yml / release (push) Canceled after 0s
2024-02-27 14:32:59 +00:00
c6dad39fb0
test: Create E2E tests for Analytics Apps (teste2e-analyticsApps) ( #13695 )
...
* refactor
* refactor
* refactor
* refactor
* fix failing check
* Update apps.ts
* fix failing check
* fix failing check
* fix failing check
---------
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: GitStart-Cal.com <[email protected] >
2024-02-22 21:54:49 -03:00
sean-brydon and Udit Takkar
92286e2453
feat: signup redirect query param after onboarding ( #13761 )
...
* feat:redirect - if signup url has url to goto
* fix: dont throw if url is invalid - just dont set
---------
Co-authored-by: Udit Takkar <[email protected] >
2024-02-21 20:53:09 +05:30
51b2a15cb0
feat: Settings for dashboard theme that is separate from system ( #13779 )
...
* feat(db): add new col: user appTheme
* feat(event-types page): apply appTheme color
* add appTheme for trpc
* feat: mutate main page theme
* feat: add english translation for app theme update section
* modify keys in common (en)
* add woring
* Revert yarn.lock to its state before unintended changes
* feat(i18n): add back the i18n string (for dark/light mode switching)
* refactor: refactor ThemeLabel
* fix: add new user field "appTheme" to test files
* chore: modify TODO comment
* chore: update common.json (en) for "theme"
since we had appTheme now, I think it's better to update the wording here to avoid confusion
* fix: update button's data-testid to fix e2e test error
* chore: remove comment
* fix: fix brand-color-not-apply bug
* solve type error
* fix: fix type error
* fix: use correct storageKey for booker / dashboard
* fix: tidy up
* fix: skeleton
---------
Co-authored-by: swh00tw <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
2024-02-21 13:02:40 +00:00
Alex van Andel
c08365f09c
feat: Implement orgs/teams logoUrls ( #13699 )
...
* feat: Implement orgs/teams logoUrls
* Use getAvatarUrl in team/[slug]
* Extract uploadLogo to standalone file for reuse
* Allow removing the team/organisation logo
* fix: API build fail due to server-only, removed
2024-02-16 10:35:53 -03:00
Udit Takkar and Morgan
b5730da56d
fix: password reset when provider is changed ( #13706 )
...
* fix: password reset when provider is changed
* chore: remove log
---------
Co-authored-by: Morgan <[email protected] >
2024-02-15 13:19:11 +00:00
LAVIN RAJ MOHAN and Udit Takkar
a056160404
fix(fix/null-safety):#13673 ( #13674 )
...
Co-authored-by: Udit Takkar <[email protected] >
2024-02-15 07:17:19 +00:00
Omar López
30cb8f745d
revert: Revert UserPassword ( #13680 ) ( #13685 )
...
* Revert "revert: UserPassword (#13680 )"
This reverts commit 0a68c6d048 .
* fix: avoid updates for possible missing passwords
2024-02-14 16:53:27 +00:00
Alex van Andel
0a68c6d048
revert: UserPassword ( #13680 )
2024-02-14 12:36:29 +00:00
7ba1557d1d
fix: use destination calendar email ( #12821 )
...
* fix: use destination calendar email
* fix: success page
* feat: add primary email in destination calendar
* fix: set destination bug
* chore: fix tests
* test: add test for different email
* wip: save progress
* feat: add switch and email in booking
* fix: use userPrimaryEmail
* chore: fix type errr
* chore: update buileder
* fix: type err in advanced tab
* fix: unit tests
* Update apps/web/public/static/locales/en/common.json
Co-authored-by: Carina Wollendorfer <[email protected] >
* fix: cancel, request reschedule, paymeny
---------
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: Carina Wollendorfer <[email protected] >
2024-02-13 10:05:00 -05:00
d4f41e803a
fix: Collective Events: Duration parameter in link not working ( #13523 )
...
* set the selectedDuration in store to duration passed in query
* Pass durationConfig prop to Booker component in /team/[slig]/[type] pages
---------
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
2024-02-13 12:23:27 +05:30
74eafa59e1
fix: loading animation of update buttons ( #13131 )
...
* fixed loading animation of update buttons
* Update BookerLayoutSelector.tsx
* fix: update button animation in settings appearance page
* Update appearance.tsx
* Update appearance.tsx
---------
Co-authored-by: Joe Au-Yeung <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
2024-02-13 06:32:21 +00:00
Omar López
7b0d5959cb
refactor: migrates user password to it's own table ( #13628 )
2024-02-12 14:13:21 -07:00
alannnc
16c1cf7b23
fix ooo section to use settings layout ( #13623 )
2024-02-09 19:57:08 -03:00
Carina Wollendorfer and CarinaWolli
296a367955
feat: round-robin priority ranking ( #13566 )
...
* improve design of assignment tab
* design fix
* add prioity dialog
* implement UI
* add backend to save priorities
* add priorty to rr algorithm + tests
* fix defaulValue for select + added translations
* add toggle for round robin fixed hosts
* don't show priorities for fixed hosts
* type fixes
* code clean up and type fixes
* clean up getValues and setValue
* code clean up
* fix tests
* code clean up
* fix undefined check
* allow null for priority
---------
Co-authored-by: CarinaWolli <[email protected] >
2024-02-09 12:12:06 +00:00
Morgan
e0ac95578c
chore: refactor handle new reccuring booking ( #13597 )
...
* chore: refactor handle new reccuring booking
* fixup! chore: refactor handle new reccuring booking
* fixup! fixup! chore: refactor handle new reccuring booking
2024-02-08 16:59:49 +00:00
3348e7be2f
fix: prevent duplicate calendar account linking ( #13310 )
...
* fix: prevent signing up multiple times from same account
* revert: lark calendar changes
* credential clean up if duplicate
* fix code duplication and check before credential creation
* feat: useRouterQuery allow unset queryParam
* feat: showToast on account duplication attempt
* Small tweak to copy
* Updated other calendars not to use checkDuplicateCalendar
* Add account already linked to apps/installed/calendar
---------
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
2024-02-08 10:52:32 +00:00
97dcb2a2a9
fix: add missing title ( #13307 )
...
* add missing title
* add
* update
* update
* update
* fix lint
* Update AppsLayout.tsx
* update
* Update bookings-listing-view.tsx
* update
---------
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
2024-02-07 17:49:46 -03:00
0e6f44e2b9
feat: email confirmation on change ( #13443 )
...
* feat:show old and new email in confirmation dialog
* fix: update i18n
* chore: update styles
* wip: change email upon verification
* fix: email being changed w/o need to logout
* chore: tidy up - remove update sessison (WIP) will try do this serverside
* wip: try new approach of serverside call to nextjs then client update
* fix: tests
* fix: update without logout
* i18n: use i18n in toast
* fix: locale ready toast
* fix: restore email api template
* fix: revert changes from wrong branch
* fix: restore yarn.lock
* feat: happy e2e path
* fix: verification disabled e2e tests
* fix:move toast
* chore: cleanup early return
* fix: await input selector
* Update apps/web/pages/auth/verify-email-change.tsx
* fix: feedback
* fix: update the way we update session
* fix: reset password -> email verified
* fix: email change toast failure
* tests: add tests for error path
---------
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
2024-02-07 10:31:00 +00:00
Omar López
d2b4760e3a
refactor: removed isNotAnApiCall ( #13568 )
2024-02-07 04:43:36 -03:00
271f31730d
fix: recurring round robin events ( #13471 )
...
* use same lucky user + check availability
* add tests for recurring round robin events
* only use luckyUsers for recurring bookings
* don't check availability for all recurring dates
* code clean up
* pass schedulingType
* fix type error
* add availability check for fixed hosts + test
* fix type error
* implement feedback
---------
Co-authored-by: CarinaWolli <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
2024-02-06 18:18:42 +00:00
Alex van Andel and Keith Williams
8d7fb75f71
fix: Refactored availability tests for less flakiness ( #13518 )
...
* fix: Refactored availability tests for less flakiness
* Fixed type error
* Removed redundant locator
* fix: Commit updated yarn.lock file
---------
Co-authored-by: Keith Williams <[email protected] >
2024-02-05 16:00:49 +00:00
12466fb064
feat: New Organization Schema along with the ability to invite existing users to an organization ( #13002 )
...
* Add profile table
Copy to profile table
Update schema
Migrations
* wip
* Get switcher working
* Add organization seeder
* wip
* Remove dead code
* Fix unit tests
* relevantProfile -> profile
* cache bust
* One more comment
* Squash migrations
* Copy to profile table
* Update schema
* Fix existing user invite flow
* Add profile table
* Copy to profile table
* Update schema
* Format
* Add profile table
Copy to profile table
Update schema
Migrations
* Format
* wip
Get switcher working
Add organization seeder
wip
Remove dead code
Fix unit tests
relevantProfile -> profile
cache bust
One more comment
Squash migrations
Copy to profile table
Update schema
Fix existing user invite flow
Add profile table
Copy to profile table
Update schema
chore: small improvements to signup (#13227 )
* removed features on mobile, better background color
* nit
* dark mode nits
New Crowdin translations by Github Action
fix: event reschedule workflow trigger (#13122 )
* fix event reschedule workflow trigger
* uncomment previously failed test
* review fix
---------
Co-authored-by: Joe Au-Yeung <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
chore: added community support to help (#13213 )
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 <[email protected] >
Co-authored-by: Erik <[email protected] >
fix: Dynamic group booking org-migration redirect (#13223 )
* fix: Dynamic group booking redirect
* Fix flaky private team test
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 <[email protected] >
Co-authored-by: gitstart-calcom <[email protected] >
Co-authored-by: Morgan <[email protected] >
Co-authored-by: Keith Williams <[email protected] >
Co-authored-by: Joe Au-Yeung <[email protected] >
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] >
v3.7.0
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
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 <[email protected] >
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
fix: Team revert with members (#13228 )
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] >
feat: Allow admins to filter bookings only by attendee emails (#13236 )
* chore: Allow admins to filter bookings only by attendee emails
* Fix type error
Fixed [CAL-2930] Org branding isnt centered in shell #13225 (#13237 )
Add profile table
Copy to profile table
Update schema
Migrations
Format
* wip
* Add profile relation everywhere
* Fix schema
* Fix invite handler
* Add profileId during eventTypec reation
* Get dashboard working with profile relatioon
* Add workflow create repository
* Add profileId to host
* Add profileId to credential table
* Add destinationCalendar repository
* Add profileId to membership
* Revert all profile related changes
* Add acme and dunder
* Fix membership profileId usgae
* Various fixes
* Some renaming
* Fix failing tests
* Debugging next-aut
* Consolidate migrations
* Testing fixes
* Fix unit tests
* Self review feedback
* PR feedback
* Fix orgMigration as well
* Add profile schema and copy users to it
* Remove migrations from here
* Fix type issues
* Fix type error after main merge
* Remove movedFromUserId
* Add missing migration file
* Self review addressed
* Joe's review addressed
* Fix profile switcher
---------
Co-authored-by: Joe Au-Yeung <[email protected] >
2024-02-02 21:34:13 +00:00
Peer Richelsen and Keith Williams
92ff49f6a1
replaced border-neutral-300 with border-subtle ( #13500 )
...
Co-authored-by: Keith Williams <[email protected] >
2024-02-02 15:49:41 +00:00
Udit Takkar
c4aa555610
fix: remove check for location ( #13493 )
2024-02-02 15:41:27 +00:00
Somay Chauhan
a45d77de51
fix: initialized flags on event-types page ( #13469 )
...
* fix: initialized flags on event-types page
* changes
* chore: removed `managed-event-types` flag as no longer needed
* revert: `20230404202721_add_feature_flag_managed_event_types` migration
2024-02-02 15:35:00 +00:00
Peer Richelsen
d6927c5049
chore: fixed theme colors ( #13463 )
...
the palette has changed so the theme has to be adjusted for pwa mode
2024-01-30 12:04:57 +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
Benny Joo
d91e74ec13
chore: module based file structure for /video group ( #13453 )
...
* chore: module based file structure for /video group
* fix
* fix
2024-01-29 18:59:24 +00:00