1
0
forked from PGL/Clyde
Commit Graph

118 Commits

Author SHA1 Message Date
Maxime fd357ba938 GET /curriculum returns user's curriculum 2024-03-18 12:15:13 +01:00
Maxime e03a01ec89 oups forgot somthing 2024-03-18 11:53:33 +01:00
Maxime fd18df7c3a added a InscriptionRequest to POST /mock 2024-03-18 11:33:50 +01:00
Maxime 93c161be4c added every delete endpoint required 2024-03-18 11:22:21 +01:00
Maxime a80fb2b297 added DELETE user and prepared tables for cascade deletion 2024-03-18 00:14:48 +01:00
Maxime f484fb095e added protection for inscription requests 2024-03-18 00:14:26 +01:00
Maxime 2fb6aef67c added GET /user/{id} 2024-03-17 22:01:48 +01:00
Maxime ea4a0745e0 creation of the user when request accepted 2024-03-17 17:15:33 +01:00
Maxime 76f5a39a8f GET /users doesn't return Admins if the poster isn't an admin 2024-03-17 16:26:30 +01:00
Maxime 37f8a3ac4e removed an unused variable 2024-03-17 16:25:00 +01:00
Maxime ea46dd664c added a todo to send an email for every state changement of request 2024-03-17 16:02:30 +01:00
Maxime 385290d1a2 Merge branch 'master' into Max/Backend/ReturnUserPasswordIssue 2024-03-17 13:07:20 +01:00
Maxime cf2deb983d added security to assistant posting and Get courses/owned for owners 2024-03-17 12:13:03 +01:00
Maxime f7df234312 moved portective method to Static ProtectiveService 2024-03-17 03:06:19 +01:00
Maxime d855bbe911 Merge branch 'Max/Backend/CourseInCurriculum' into Max/Backend/ReturnUserPasswordIssue 2024-03-17 02:50:12 +01:00
Maxime f2507ddcdd forgot the return statement 2024-03-17 02:46:33 +01:00
Maxime a70b05a0ef protected course'owner password 2024-03-17 02:45:49 +01:00
Maxime 1d793cef4e moved UserWithouPaswword to authenticatorService 2024-03-17 02:40:05 +01:00
Maxime 4cf2ac1aa8 fixed an issue with the getting of curriculums 2024-03-17 02:34:00 +01:00
Maxime 6e6bd285af added security to the post of course and GET /courses 2024-03-17 02:15:08 +01:00
Maxime 474a8d3f31 added POST /curriculum/{id} endopoint to post courses 2024-03-17 02:00:42 +01:00
Maxime 4379794dba added /students endpoint 2024-03-16 23:05:26 +01:00
Maxime c5d7ce4178 cleaned the Entities 2024-03-16 20:31:03 +01:00
Maxime 382d3c203a cleaned the services 2024-03-16 20:25:35 +01:00
Maxime 97b57b361d cleaned all controllers 2024-03-16 19:13:57 +01:00
Maxime 069466ef5f Max/Backend/CoursesEndpoints (#129)
PLZ FIX

Reviewed-on: PGL/Clyde#129
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
Co-authored-by: Bartha Maxime <231026@umons.ac.be>
Co-committed-by: Bartha Maxime <231026@umons.ac.be>
2024-03-16 17:17:07 +01:00
Maxime d5f6656e2b added the GET /teachers (#130)
had to fix the mock and the UserController isAdminOrSecretary

Reviewed-on: PGL/Clyde#130
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
Co-authored-by: Bartha Maxime <231026@umons.ac.be>
Co-committed-by: Bartha Maxime <231026@umons.ac.be>
2024-03-16 17:16:46 +01:00
tonitch 17ab241250 show map by role 2024-03-16 16:57:52 +01:00
tonitch 182be8ac7b Merge branch 'master' into Max/Backend/AppsController 2024-03-16 14:48:03 +01:00
tonitch da3f8c47f9 Fix merge because i'm bad 2024-03-16 14:34:11 +01:00
tonitch 1546fc6d47 Merge branch 'master' into Max/Backend/BackendClean 2024-03-16 14:13:47 +01:00
tonitch 45fbef52ed fix tokens characters 2024-03-16 12:29:51 +01:00
tonitch abff9aef3a Merge branch 'master' into Max/Backend/AppsController 2024-03-16 11:58:03 +01:00
Maxime 8f2fb04112 I pressed tab by accident 2024-03-16 09:03:03 +01:00
Maxime c6198b7220 cleaned Services + added private final to all repos 2024-03-16 09:02:08 +01:00
Maxime 13fd048cd2 added a inscriptionService mock user 2024-03-16 09:01:36 +01:00
Maxime b7b2eafb93 removed the GET /Apps/{id} frontend just iterates on the /apps list 2024-03-16 00:44:11 +01:00
Maxime 0860567e1b fixed the GetAuthorizedApps method 2024-03-16 00:42:46 +01:00
Maxime 25009ba149 Enum in CamelCase 2024-03-16 00:34:20 +01:00
Maxime 208c6c63e8 moved the isSecretaryOrAdmin method 2024-03-16 00:31:03 +01:00
Maxime e2da7271af rename Cursus -> Curriculum 2024-03-15 23:53:15 +01:00
Maxime 1f14890d43 added ApplicationController and Application enum 2024-03-15 18:54:53 +01:00
Maxime f33a421aee Merge branch 'master' into Max/Backend/Curriculum 2024-03-15 17:40:42 +01:00
Maxime 017235cccf fixed inscription in the backend 2024-03-15 17:29:45 +01:00
tonitch 20d52b2b21 Merge pull request 'Max/Backend/RegisterEndPoint' (#105) from Max/Backend/RegisterEndPoint into master
Reviewed-on: PGL/Clyde#105
Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
Reviewed-by: LeoMoulin <leomoulin125@gmail.com>
Reviewed-by: Wal <karpinskiwal@gmail.com>
2024-03-14 23:30:13 +01:00
tonitch 1502cc871c Merge pull request 'UploadAPI and profilePicture' (#102) from tonitch/front/apiUpload into master
Reviewed-on: PGL/Clyde#102
Reviewed-by: LeoMoulin <leomoulin125@gmail.com>
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: Maxime <231026@umons.ac.be>
2024-03-14 22:37:30 +01:00
tonitch 826bbf5990 Create the directory if not exists 2024-03-14 22:36:48 +01:00
tonitch c26972369f Putting the right configuration for cors 2024-03-14 22:35:57 +01:00
Maxime 12846ed83d added cursus/course interactions 2024-03-14 21:53:43 +01:00
Maxime bb4ee784fa Merge pull request 'Max/Backend/UserControllerUpdate' (#94) from Max/Backend/UserControllerUpdate into master
Reviewed-on: PGL/Clyde#94
Reviewed-by: LeoMoulin <leomoulin125@gmail.com>
Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
2024-03-14 21:53:33 +01:00