Commit Graph

565 Commits (f87eb7d18e19be8fe24e0e1e1e2014707c947572)

Author SHA1 Message Date
Agusti Fernandez Pardo f87eb7d18e fix: lint add spaces 2022-07-12 20:01:51 +02:00
Agusti Fernandez Pardo f985bbd1ff fix: move patch to no then/catch 2022-07-12 20:01:25 +02:00
Agusti Fernandez Pardo 3f6e7904cb fix: no http_method middleware needed as already handled by defaultHandler 2022-07-08 21:49:14 +02:00
Agusti Fernandez Pardo 6971ba249f fix: add optional to pagination query's 2022-07-08 21:47:31 +02:00
Agusti Fernandez Pardo c8829fc08b fix: rename pageNumber to page 2022-07-08 20:19:51 +02:00
Agusti Fernandez Pardo 530752147e fix: use zod schema for parsing page query param 2022-07-08 20:15:25 +02:00
Agusti Fernandez Pardo 76d0b0c1ee
Update pages/api/users/_get.ts
remove console log statement

Co-authored-by: Omar López <zomars@me.com>
2022-07-08 19:34:26 +02:00
Agusti Fernandez Pardo 80e414d4f5
Update pages/api/availability/_get.ts
no if just return

Co-authored-by: Omar López <zomars@me.com>
2022-07-08 19:33:50 +02:00
Agusti Fernandez Pardo a72fbfa093
Update pages/api/availability/_get.ts
improve error message team no members

Co-authored-by: Omar López <zomars@me.com>
2022-07-08 19:33:37 +02:00
Agusti Fernandez Pardo f6faa8bc46
Update pages/api/users/_get.ts
remove console log

Co-authored-by: Omar López <zomars@me.com>
2022-07-08 19:33:17 +02:00
Agusti Fernandez Pardo bd485b7b77
Update pages/api/teams/_get.ts
fix prisma import

Co-authored-by: Omar López <zomars@me.com>
2022-07-08 19:33:00 +02:00
Agusti Fernandez Pardo a6e199be67 fix: make availability for teamId work 2022-07-05 23:05:29 +02:00
Agusti Fernandez Pardo f1ee03f297 fix: add teams memberships users 2022-07-05 20:58:26 +02:00
Agusti Fernandez Pardo 2263e04217
Update pages/api/availability/_get.ts
add select: availabilitUserSelect

Co-authored-by: Omar López <zomars@me.com>
2022-07-05 20:35:30 +02:00
Agusti Fernandez Pardo 5dbb2066e0
Update pages/api/availability/_get.ts
add initialData: {user}

Co-authored-by: Omar López <zomars@me.com>
2022-07-05 20:34:53 +02:00
Agusti Fernandez Pardo 9b5c7c5120 fix: remove unused import 2022-07-05 20:13:13 +02:00
Agusti Fernandez Pardo a63b623a7d feat: teamId availability in API 2022-07-05 20:12:14 +02:00
Agusti Fernandez Pardo be2647790c feat: refactor teams and add team availability 2022-06-30 00:01:14 +02:00
Agusti Fernandez Pardo 6ed007d873
Merge pull request #133 from calcom/fix/api-feedback
fix: address issues raised in preview PR
2022-06-24 01:17:28 +02:00
Agusti Fernandez Pardo 561271f3f6 fix: isAdmin from req, no isAdminGuard everywhere 2022-06-24 00:53:15 +02:00
Agusti Fernandez Pardo f85b00507a fix: add type import for NextApiRequest 2022-06-24 00:47:27 +02:00
zomars 3c32bc8528 Update customPrisma.ts 2022-06-23 16:42:47 -06:00
Omar López bfe27057a0
Update lib/constants.ts 2022-06-23 16:40:01 -06:00
Agusti Fernandez Pardo 4e738cf80c fix: minor readme update 2022-06-24 00:31:55 +02:00
Agusti Fernandez Pardo 61c82eb197 fix: address issues raised in preview PR 2022-06-24 00:26:40 +02:00
Agusti Fernandez Pardo 9b142640d5
Merge pull request #132 from calcom/fix/userId-not-id
fix: userId not, id remove templates stall
2022-06-24 00:12:10 +02:00
Agusti Fernandez Pardo 04b9b71310 fix: userId not, id remove templates stall 2022-06-24 00:09:23 +02:00
Agusti Fernandez Pardo d675535cdf
Merge pull request #130 from calcom/feat/dynamic-prisma
Feature: custom Prisma for self-hosted deployments needed for new hosted admin console
2022-06-23 23:39:29 +02:00
Agusti Fernandez Pardo aa64f32378 fix set headers error by adding missing return 2022-06-23 23:20:07 +02:00
Agusti Fernandez Pardo c3996221e1 fix: don't require apiKey if already using customPrisma with calcom license key 2022-06-23 19:16:12 +02:00
zomars 0830abf057 Scripts should be as pure as possible 2022-06-22 13:30:02 -06:00
Agusti Fernandez Pardo b6729d8b82 fix custom prisma works 2022-06-22 05:49:24 +02:00
Agusti Fernandez Pardo 6e78bf15f0 feat: databaseUrl customPrisma 2022-06-21 23:02:43 +02:00
Agusti Fernandez Pardo 7558a73ab7 fix: dont generate schemas for console 2022-06-20 03:18:13 +02:00
Agusti Fernandez Pardo f0f27857fa no package console 2022-06-20 03:14:24 +02:00
Agusti Fernandez Pardo 312664d881 fix generate schemas console 2022-06-20 03:13:03 +02:00
Agusti Fernandez Pardo 48675f4e7a fix add back console 2022-06-20 03:10:10 +02:00
Agusti Fernandez Pardo e68e6d1165 no console in package 2022-06-20 02:30:51 +02:00
Agusti Fernandez Pardo 4626b3dffa fix: 2022-06-20 02:29:18 +02:00
Agusti Fernandez Pardo c3bed7ba8f fix: add console to package 2022-06-20 02:26:20 +02:00
Agusti Fernandez Pardo 39ce6287fc fix: no need to target 2017 2022-06-18 22:30:27 +02:00
Agusti Fernandez Pardo 60688e2e91 fix: make isAdmin require req.prisma too 2022-06-18 03:03:13 +02:00
Agusti Fernandez Pardo cc534a2914 fix: remove console from api deps 2022-06-18 02:35:39 +02:00
Agusti Fernandez Pardo 5b28e9ec1c fix: main merging issues 2022-06-18 02:16:15 +02:00
Agusti Fernandez Pardo 6e68671c2a fix: merge w main 2022-06-18 01:52:37 +02:00
Agusti Fernandez Pardo 374a6e087a feat: remove datacredentials, move to deployment.databaseUrl 2022-06-17 23:23:28 +02:00
Omar López 8f0d1f8c73
Merge pull request #129 from calcom/fix/no-user-metadata
fix: remove user metadta from validations
2022-06-16 15:57:29 -06:00
Agusti Fernandez Pardo 2682db8fcd fix: remove user metadta from validations 2022-06-16 23:38:36 +02:00
Agusti Fernandez Pardo 5a914934dd
Merge pull request #127 from calcom/fix/optional-userId-availability
fix: makes id optional in availability
2022-06-16 21:53:15 +02:00
Agusti Fernandez Pardo 29be8f5266 fix: makes id optional in availability 2022-06-16 21:50:41 +02:00