Commit Graph

8925 Commits

Author SHA1 Message Date
supalarry 118e9e8e19 default schedule get test 2024-01-09 13:13:02 +02:00
supalarry 7c4cfdf52b test 2024-01-09 12:36:13 +02:00
supalarry f35cb43257 remove log 2024-01-09 12:12:00 +02:00
supalarry 0e6f969832 e2e test schedule creation 2024-01-09 12:10:56 +02:00
supalarry 266b36d5a4 refactor 2024-01-09 09:07:00 +02:00
supalarry d8a511b3c9 use guard on controller level 2024-01-08 17:46:29 +02:00
supalarry 736da72255 put availabilities out of ee 2024-01-08 17:30:56 +02:00
supalarry afca5a6ae9 use luxton 2024-01-08 17:01:16 +02:00
supalarry 3dfcb2c8a0 Revert "define returned data on controller level not repository"
This reverts commit 4c292a0f07.
2024-01-08 16:17:50 +02:00
supalarry 4c292a0f07 define returned data on controller level not repository 2024-01-08 16:15:58 +02:00
supalarry a923934298 define returned data on controller level not repository 2024-01-08 16:14:18 +02:00
Lauris Skraucis 7223de043f
Merge branch 'platform' into lauris/pro-161-crud-endpoints-for-user-schedules-availabilities 2024-01-08 15:54:10 +02:00
supalarry 82a7b249c8 empty test 2024-01-08 15:14:04 +02:00
supalarry 1e5cc77025 check user owns schedule 2024-01-08 13:34:17 +02:00
supalarry f87e88a5e0 feat: update schedule 2024-01-08 13:20:46 +02:00
supalarry 6b8b8ab476 feat: delete schedule 2024-01-08 12:35:55 +02:00
supalarry e464e027fe feat: get all schedules 2024-01-08 12:19:32 +02:00
supalarry f6b6f9c5af feat: getSchedule by id 2024-01-08 12:15:53 +02:00
supalarry 65c4b7c5bc feat: get schedules/default 2024-01-08 12:12:08 +02:00
supalarry 4025453d89 feat: createSchedule endpoint 2024-01-08 12:08:30 +02:00
Morgan f6c9447410
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 <lauris.skraucis@gmail.com>
Co-authored-by: Ryukemeister <sahalrajiv-extc@atharvacoe.ac.in>
2024-01-08 10:00:41 +02:00
supalarry e980786194 refactor: store userId for availabilities 2024-01-05 14:38:58 +02:00
supalarry 0ab39dd0e1 refactor: rename function 2024-01-05 14:34:30 +02:00
supalarry adacba6d38 feat: schedules endpoint to create schedule with default availability 2024-01-05 14:29:54 +02:00
supalarry bd593a5cfa platform-constants package: list of accepted schedule timezones 2024-01-05 14:29:26 +02:00
Morgan Vernay 158ac7d7c4 Merge branch 'main' into platform 2024-01-05 11:15:39 +02:00
DmytroHryshyn 0dddc2224a
chore: [app-router-migration-9] Migrate apps/index page (#12775)
Co-authored-by: zomars <zomars@me.com>
2024-01-04 14:36:31 -07:00
Peer Richelsen 49f9f5489b
fix: team availability data table scrolling (#13036)
* fixed data table scrolling for team availability

* Update packages/features/shell/Shell.tsx

* nit
2024-01-04 20:33:02 +00:00
DmytroHryshyn ecb693c70e
chore: [app-router-migration 8.6] reorganize future pages file structure (#12988)
* make no-meeting-found page use ssr

* remove-route-groups

* add LayoutHOC

* fix

* fix

* ensure proper types for withLayout function

---------

Co-authored-by: Greg Pabian <35925521+grzpab@users.noreply.github.com>
2024-01-04 11:26:11 -07:00
Peer Richelsen 3c6fdfe724
chore: removed old booker feature flag (#13040)
Co-authored-by: Omar López <zomars@me.com>
2024-01-04 11:23:51 -07:00
Somay Chauhan ef7f0e2259
feat: Organization Add member to a team email communication (#12946) 2024-01-04 16:29:07 +00:00
Riddhesh Mahajan 3791af8644
feat: Make private URLs easier to copy-paste from web app (#13018)
* Make private URLs easier to copy-paste from web app

* Apply suggestions from code review

* Update apps/web/pages/event-types/index.tsx

* lint

---------

Co-authored-by: Peer Richelsen <peer@cal.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2024-01-04 16:28:23 +00:00
Lauris Skraucis 55327ce035
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
2024-01-04 11:28:36 +02:00
Keith Williams c19799e275
chore: Remove invalid DATABASE_URL 'with' value (#13027) 2024-01-04 01:39:45 -03:00
Keith Williams 4c4fc9e38b
chore: Fix NODE_OPTIONS error (#13024) 2024-01-04 01:39:17 -03:00
Keith Williams 2220778e6b
chore: Upgrade buildjet cache action to v3 (#13026) 2024-01-04 14:38:48 +10:00
Keith Williams 0f707a55b0
chore: Upgrade upload-artifact action to v4 (#13025) 2024-01-04 14:38:27 +10:00
Hariom Balhara de1c9d01cd
feat: orgMigration - Support moving users as an option when moving a team (#12917)
* Move orgMigration routes to app to allow them to be tested as they are here to stay for longer tim

* move to Form everywhere and fix session reading

---------

Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
2024-01-04 08:33:51 +05:30
gitstart-app[bot] 6a1325867e
fix: Fix all TS warnings (fix-tsWarnings) (#12139)
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: Peer Richelsen <peeroke@gmail.com>
2024-01-03 18:18:42 -07:00
Keith Williams 574a4a847d
chore: Allow labeler action to use workflow_dispatch (#12993)
* chore: Update team labeler to workflow_dispatch

* Fixed conflict
2024-01-03 20:35:16 -03:00
Benny Joo f201266d69
chore: [app-router-migration-7] Migrate `/teams` page (#12622)
Co-authored-by: Dmytro Hryshyn <dev.dmytroh@gmail.com>
Co-authored-by: zomars <zomars@me.com>
2024-01-03 21:29:11 +00:00
Keith Williams 71e57bafde
chore: Remove need for force merges (#13021) 2024-01-03 19:51:24 +00:00
Peer Richelsen c4b296d580
chore: replace global.css with todesktop tailwind variant (#12991)
* installed todesktop tailwind variant

* moved todesktop styles into tailwind classes

* fixed back button in settings
2024-01-03 13:54:44 -03:00
Riddhesh Mahajan 7d7e74c869
fix: skeleton width for settings menu in sidebar (#13017) 2024-01-03 16:46:10 +00:00
Udit Takkar 6dec98129c
fix: bad request in webhook route (#13008) 2024-01-03 14:35:29 +00:00
Lauris Skraucis 78ecd2c9e1
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
2024-01-03 15:44:32 +02:00
Kartik Saini c7b62950de
fix: cal video link on booking confirmation (#12944)
* fix: Ensure generated Cal Video link matches expected pattern on booking confirmation

* fix: missing Google Meet videoCallUrl in webhooks on booking confirmation

---------

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
2024-01-03 07:35:46 +00:00
Keith Williams 4dba72fecb
fix: Permissions issue with team labeler (#12992)
* fix: Permissions issue with team labeler

* Made the job runnable
2024-01-02 22:39:39 +00:00
gitstart-app[bot] e61be783d1
test: Check the recurring event tab and your funtionalities (teste2e-recurring) (#12331)
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: Keith Williams <keithwillcode@gmail.com>
2024-01-02 21:56:48 +00:00
Amit Sharma 299a866aac
fix: dynamic booking duration (#12951)
* dynamic booking duration fix

* fix: Correct duration handling from boolean -> number

---------

Co-authored-by: Alex van Andel <me@alexvanandel.com>
2024-01-02 16:24:45 +00:00