Commit Graph

345 Commits (2e117d07c88165279ffc8d6032cb4dbd5e07f979)

Author SHA1 Message Date
Agusti Fernandez Pardo 99d328c35d chore: refactor-out apiKey check into middleware 2022-03-28 17:46:12 +02:00
Agusti Fernandez 5826e1744c
Merge pull request #8 from calcom/feat/validate-add-availabilites-and-attendees
feat: adds availabilities and attendees endpoints
2022-03-28 16:21:57 +02:00
Agusti Fernandez Pardo 093d6888d2 remove unused req 2022-03-28 16:05:50 +02:00
Agusti Fernandez Pardo 1241ae6cfc feat: move findAll to return arrays 2022-03-28 16:05:00 +02:00
Agusti Fernandez Pardo 19934d8c3a Adds basic api-key auth in users, need to extract out 2022-03-28 02:51:40 +02:00
Agusti Fernandez Pardo 0e3131d866 feat: improve validations 2022-03-27 15:15:46 +02:00
Agusti Fernandez Pardo c561b16f85 chore: rename empty validations, enable relations on user zod object 2022-03-27 01:19:49 +01:00
Agusti Fernandez Pardo 396c5b8d8c chore: refactor all delete endpoints to use if/else instead of .catch() and .error() 2022-03-27 01:08:00 +01:00
Agusti Fernandez Pardo 936572e7e1 feat: adds availabilitesi and attendees endpoints, some cleanup less try/catch more if/else 2022-03-27 00:58:22 +01:00
Agusti Fernandez 8fbd8ccd63
Merge pull request #7 from calcom/chore/tests-new-and-find-all
feat: adds bookings and more tests
2022-03-26 23:09:00 +01:00
Agusti Fernandez Pardo ac307f7161 feat: adds bookings and more tests 2022-03-26 22:29:30 +01:00
Agusti Fernandez c0d7623beb
Merge pull request #6 from calcom/chore/more-testing
feat: 50% almost code coverage
2022-03-26 05:30:25 +01:00
Agusti Fernandez Pardo 7998e8fc2c feat: 50% almost code coverage 2022-03-26 05:28:53 +01:00
Agusti Fernandez 9233f143c6
Merge pull request #5 from calcom/feat/users-teams
Feature: adds users and teams tests
2022-03-26 02:24:02 +01:00
Agusti Fernandez Pardo 022ba7b8de fixes tests by passing stringifyISODates to createdDate and emailVerified 2022-03-26 02:22:28 +01:00
Agusti Fernandez Pardo 62a917c7a8 renames team -> teams adds tests for users and teams 2022-03-26 02:16:46 +01:00
Agusti Fernandez 557342104b
Merge pull request #4 from calcom/feat/teams
feat: Adds teams endpoints and zod validations
2022-03-26 01:55:07 +01:00
Agusti Fernandez Pardo 8b8629f37a feat: Adds teams endpoints and zod validations 2022-03-26 01:53:56 +01:00
Agusti Fernandez 2a1ed8dd79
Merge pull request #3 from calcom/feat/test-api-keys
Tests: add testing for api keys endpoints
2022-03-26 01:42:43 +01:00
Agusti Fernandez Pardo f2be36f89c fix: remove console statements 2022-03-26 01:41:22 +01:00
Agusti Fernandez Pardo 12a7129e5a feat: adds tests for api keys endpoints 2022-03-26 01:40:43 +01:00
Agusti Fernandez Pardo 9e8be659c5 feat: initial tests for api-keys endpoint 2022-03-26 00:42:12 +01:00
Agusti Fernandez f80f23d3c3
Merge pull request #2 from calcom/feat/with-transpile-modules
feat: adds module transpiling so api can require @calcom/prisma
2022-03-25 23:28:02 +01:00
Agusti Fernandez Pardo 084c91f6c1 feat: improve api key endpoints, add users endpoint 2022-03-25 23:26:22 +01:00
Agusti Fernandez Pardo d9c34f67e6 feat: adds api keys endpoints, new QueryIdAsString as apiKey has a UUID string-like ID unlike the numbers of event-type or others 2022-03-25 20:17:37 +01:00
Agusti Fernandez Pardo c2234593db feat: adds module transpiling so api can require @calcom/prisma and not @prisma/client directly 2022-03-25 19:37:51 +01:00
Agusti Fernandez Pardo a2817a2fee Feat: event-types and tests 2022-03-25 06:54:57 +01:00
Agusti Fernandez Pardo 2e2f6a5e57 feat: adds git hooks and husky for pre-commit linting 2022-03-25 02:18:43 +01:00
Agusti Fernandez Pardo a71039328f feat: 100% code-coverage, add coverage to gitignore 2022-03-25 02:07:51 +01:00
Agusti Fernandez Pardo f6371c3b75 adds message and full error in eventtype/new 2022-03-25 01:52:13 +01:00
Agusti Fernandez Pardo f4d889e87b add @lib and @api paths for cleaner imports 2022-03-25 00:43:35 +01:00
Agusti Fernandez Pardo 737a8897ba extracting out schemaQuery validation to lib, extracting out delete/edit to it's own files for clarity 2022-03-25 00:04:07 +01:00
Agusti Fernandez Pardo e4d9f7bc7d remove example validation file 2022-03-24 23:19:13 +01:00
Agusti Fernandez Pardo 84ab74b46a feat: tests all codepaths of event-type/[id] 2022-03-24 23:16:48 +01:00
Agusti Fernandez Pardo dfa227f1b6 adds testing for validations 2022-03-24 23:10:24 +01:00
Agusti Fernandez Pardo 713f53acc4 feat: add next-validations and zod validations 2022-03-24 21:25:35 +01:00
Agusti Fernandez Pardo c5b12d46af chore: rename return types to Data, import prisma from @calcom/prisma 2022-03-24 19:01:37 +01:00
Agusti Fernandez Pardo b753466bda moving to nextjs/api 2022-03-24 17:02:33 +01:00
Agusti Fernandez Pardo 60d2b81c29 feat: Initial work on event-types, add jest for testing w node-http-mocks 2022-03-23 22:35:38 +01:00
Agusti Fernandez Pardo 9a8e63b729 resolve conflict w main 2022-03-23 22:32:46 +01:00
Agusti Fernandez Pardo 3856d0768c remove unneede env 2022-03-23 22:30:47 +01:00
Agusti Fernandez Pardo b6dca78d64 remove unneeded jest config and deps 2022-03-23 22:29:00 +01:00
Agusti Fernandez Pardo c46a899c1b remove all next-auth related stuff 2022-03-23 22:27:03 +01:00
Agusti Fernandez Pardo 9a5c3f96ec rebase fixing conflicts 2022-03-23 22:22:57 +01:00
Agusti Fernandez 11e1312e3a feat: inital commit 2022-03-18 14:42:42 +01:00