Commit Graph

82 Commits (b3443cd22dfb7a041bf173f371ef54a09f6007d9)

Author SHA1 Message Date
zomars e15f6abc9b Fixes 2022-12-02 15:22:56 -07:00
zomars 055699f612 Various import and type fixes 2022-11-25 06:58:21 -07:00
Syed Ali Shahbaz 8e25b9244c
Fix deployment failure due to prettier (extra spaces) (#214)
Simply removes extra spaces which are causing prettier to fail
deployment, introduced in the PR for USER swagger doc update
2022-11-21 10:49:55 +05:30
Syed Ali Shahbaz bbaa8ae5e7
Adds more definition to USER swagger (#212)
Adds more definition for documentation for the USER endpoints
2022-11-18 12:20:15 -07:00
Alex van Andel 51bc3d93c1
user: Add email and username, remove bufferTime,startTime,endTime (#202)
Co-authored-by: zomars <zomars@me.com>
2022-11-17 11:35:06 -07:00
zomars d93fd26a1e Removed unused methods middleware 2022-10-21 13:30:09 -06:00
Alex van Andel f4d52b88a4
Changed req to query to allow passing in userId, not session (#197) 2022-10-20 18:27:01 +01:00
zomars 07b011424f Formatting 2022-10-15 10:54:22 -06:00
zomars 00bd908916 Fixes permission errors 2022-10-14 17:41:28 -06: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 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 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 561271f3f6 fix: isAdmin from req, no isAdminGuard everywhere 2022-06-24 00:53:15 +02:00
Agusti Fernandez Pardo 61c82eb197 fix: address issues raised in preview PR 2022-06-24 00:26:40 +02:00
Agusti Fernandez Pardo 04b9b71310 fix: userId not, id remove templates stall 2022-06-24 00:09:23 +02:00
Agusti Fernandez Pardo 60688e2e91 fix: make isAdmin require req.prisma too 2022-06-18 03:03:13 +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 8b87cde733 fix: _delete missing userId rename 2022-06-16 01:48:29 +02:00
Agusti Fernandez Pardo 11f3d411b3 fix: rename users id to users userId to easier availability sharing _get endpoint 2022-06-16 00:18:40 +02:00
Agusti Fernandez Pardo 4389288e69 feat: adds users/id/availability endpoint 2022-06-16 00:04:04 +02:00
zomars 1ab81fb8ee Better error on user delete 2022-06-14 14:51:23 -06:00
zomars 0f72a9084a Splits user endpoints by method 2022-06-14 14:35:15 -06:00
zomars 7d0cef065f Refactors user id endpoint 2022-06-14 14:10:59 -06:00
zomars 58e1ea9bf6 User endpoint refactoring 2022-06-14 14:08:58 -06:00
Agusti Fernandez Pardo 180e925bed feat: dynamic prisma almost working 2022-06-08 18:52:25 +02:00
Agusti Fernandez Pardo e407a16766 feat: dynamic prisma 2022-06-06 18:17:10 +02:00
Agusti Fernandez Pardo 187d5f2b10 docs: add some comments 2022-05-31 18:53:41 +02:00
Agusti Fernandez Pardo 9459b9048d feat: Admin API users manegement endpoints 2022-05-31 18:33:01 +02:00
Agusti Fernandez Pardo 0ca9748674 fix: dont throw err on bad query 2022-05-18 14:27:30 +02:00
Agusti Fernandez Pardo 5aa0b37443 fix build and pass lint 2022-05-17 19:33:18 +02:00
Agusti Fernandez Pardo 72444792bc fix: disable admin only post endpoint for users as makes build fail until impersonate PR merged into web main/prod 2022-05-11 16:01:35 +02:00
Agusti Fernandez Pardo 1f2b59c18d feat: adds users post endpoint for admin only 2022-05-05 05:02:59 +02:00
Agusti Fernandez Pardo b572e4b0ff fix: move all req to deconstructed 2022-04-30 20:53:19 +02:00
Agusti Fernandez Pardo 005d0f8040 fix: channels removed 2022-04-30 19:46:04 +02:00
Agusti Fernandez Pardo 9bb0f82075 fix: improve comments, no anys 2022-04-29 17:29:57 +02:00
Agusti Fernandez Pardo d6c34a8e51 fix: remove empty lines 2022-04-29 01:54:21 +02:00
Agusti Fernandez Pardo bb28680413 fixes all openapi spect issues, removes json-schema auto-generated moving to manual examples 2022-04-29 01:38:40 +02:00
Agusti Fernandez Pardo e52af0bbef fix: post / patch attendees docs w examples 2022-04-27 19:25:36 +02:00
Agusti Fernandez Pardo 6997606a4c fix: moves to pick and separates availabilities 2022-04-26 22:23:33 +02:00
Agusti Fernandez Pardo fa30b52988 remove v1 from specs 2022-04-26 21:56:59 +02:00
Agusti Fernandez Pardo 804fe27458 fix availabilites validations 2022-04-25 03:12:33 +02:00
Agusti Fernandez Pardo 4c022d5d07 feat: adds full validations for users endpoint 2022-04-24 23:56:25 +02:00
Agusti Fernandez Pardo dad70d5a12 fix users, availabilites, attendees 2022-04-24 02:10:32 +02:00
Agusti Fernandez Pardo 9078ee2f3f fix: build removing extra spaces 2022-04-23 02:40:39 +02:00
Agusti Fernandez Pardo 8d5605dc7b fix: move 401 to throw early in all endpoints 2022-04-23 02:17:06 +02:00
zomars be3bcf2bf0 Refactoring and fixes 2022-04-21 19:42:53 -06:00
Agusti Fernandez Pardo 25a2a405da feat: adds apikeyAuth in swagger ui for all endpoints 2022-04-17 16:39:38 +02:00
Agusti Fernandez Pardo 5013ea2ef5 feat: adds apiKey auth as query params in docs and users endpoint 2022-04-17 16:18:42 +02:00