Commit Graph

77 Commits

Author SHA1 Message Date
Alexis Leboeuf
3eadabfa4c Modified HTTP status on create when user already exists
Changed from 409 CONFLICT to 302 FOUND
2026-01-09 08:40:40 +01:00
Alexis Leboeuf
dc814d4a7b Addd user retrieval if exists on creation for Coach and Athlete 2026-01-09 08:27:52 +01:00
trochas
748bb97139 pas de setId dans mapToEntity, c'est la BDD qui gère les id 2026-01-08 18:03:01 +01:00
Alexis Leboeuf
e3043b021d Fixed role typo in athelete creation 2026-01-08 16:53:39 +01:00
Alexis Leboeuf
f20d20dd40 Added Admin endpoints
Fixed typos in Users Endpoints
2026-01-08 16:26:32 +01:00
Alexis Leboeuf
0bd93ac824 Merge remote-tracking branch 'refs/remotes/origin/main' 2026-01-08 15:47:53 +01:00
Alexis Leboeuf
95ce13181f Added Keycloak related endpoints and other ones 2026-01-08 15:47:46 +01:00
tuanvu
286fa78eb0 clean edt athlete 2026-01-08 15:31:07 +01:00
Alexis Leboeuf
e72243d355 Added ids to DTOs as they're needed 2026-01-08 15:01:38 +01:00
Alexis Leboeuf
0e8ba63be5 Updated API connection 2026-01-08 14:51:50 +01:00
Alexis Leboeuf
1b44116936 Merge remote-tracking branch 'refs/remotes/origin/main' 2026-01-08 13:40:14 +01:00
Alexis Leboeuf
42a6c57369 Coaches and Athletes by keycloak id 2026-01-08 13:39:54 +01:00
tuanvu
85daf4647a create account marche 2026-01-08 13:32:53 +01:00
tuanvu
919149e012 //TODO WebSecurityConfig 2026-01-08 12:34:24 +01:00
Alexis Leboeuf
988a7c16b3 P U S H 2026-01-08 12:01:56 +01:00
Alexis Leboeuf
90ecf2767c Merge remote-tracking branch 'refs/remotes/origin/main' 2026-01-08 11:36:59 +01:00
Alexis Leboeuf
25bae7652e Changed roles in Activite and Session endpoints 2026-01-08 11:36:54 +01:00
tuanvu
f77b401628 athlete test 2026-01-08 11:34:13 +01:00
tuanvu
6c2ae936ac Merge remote-tracking branch 'origin/main' 2026-01-08 11:27:25 +01:00
tuanvu
e28b126838 change in athlete and getkeycloak 2026-01-08 11:27:18 +01:00
Alexis Leboeuf
9a2d1ae5e6 Lot of things
Refactored Role enum to be the same as Keycloak roles
Managed CORS errors in backend
Edited Keycloak config to avoid CORS error
Edited frontend API to avoid CORS errors
Changed Activite creation management
Added debug print in Login (should be removed);
2026-01-08 11:26:16 +01:00
tuanvu
41f574bc94 Merge remote-tracking branch 'origin/main' 2026-01-08 10:03:01 +01:00
Alexis Leboeuf
b6793f0a0e Added overriden getter/setters because of error 2026-01-08 09:15:42 +01:00
tuanvu
068eb7f611 remove admin previlige in creation 2026-01-08 08:59:52 +01:00
Alexis Leboeuf
f03629ba33 Changed Athlete entity properties, was missing Getter Setter 2026-01-07 18:20:51 +01:00
Alexis Leboeuf
8b94f4ca74 Removing unused imports 2026-01-07 18:18:42 +01:00
Alexis Leboeuf
a695f5deb1 Removing useless classes, it wasn't the right implem 2026-01-07 18:06:54 +01:00
Alexis Leboeuf
203d0fe157 Finished refactoring classes, DTOs, endpoints I guess ? 2026-01-07 17:40:41 +01:00
Alexis Leboeuf
c8d1407bcc Continuing refactoring 2026-01-07 17:09:37 +01:00
Alexis Leboeuf
1a0fc33167 Re-wrote part of object classes 2026-01-07 16:06:25 +01:00
Alexis Leboeuf
2e06c53b62 CORS Management 2026-01-07 13:51:13 +01:00
tuanvu
3423042646 Merge remote-tracking branch 'origin/main' 2026-01-07 13:16:48 +01:00
tuanvu
928fe11842 add security 2026-01-07 13:16:43 +01:00
Alexis Leboeuf
435dc6171a Merge remote-tracking branch 'refs/remotes/origin/main' 2026-01-07 13:10:56 +01:00
Alexis Leboeuf
68d4373d05 Different updates
Changed API behaviour to manage Session objects
Added route in frontend to link to API
2026-01-07 13:10:49 +01:00
tuanvu
a4536d85a4 update curl api 2026-01-07 13:10:18 +01:00
tuanvu
f5b582bab4 Merge remote-tracking branch 'origin/main' 2026-01-07 10:16:41 +01:00
tuanvu
f6634338a7 test on server 8081 2026-01-07 10:16:17 +01:00
Alexis Leboeuf
8ccc23696b Merge remote-tracking branch 'refs/remotes/origin/main' 2026-01-07 10:02:45 +01:00
Alexis Leboeuf
9f4f1a7b92 Corrected error duplicate container in docker compose 2026-01-07 10:01:24 +01:00
tuanvu
20712412a8 add security to frontend 2026-01-07 09:55:12 +01:00
Alexis Leboeuf
fb9515cc3c Documentation 2026-01-06 18:33:15 +01:00
tuanvu
ad5ca2189b tested spring boot 2026-01-06 16:15:23 +01:00
Alexis Leboeuf
f90387ba45 mapToDTO and mapToEntity 2026-01-06 15:09:52 +01:00
Alexis Leboeuf
d38b88e68c Removed unused interface 2026-01-06 11:07:21 +01:00
Alexis Leboeuf
90b55bea38 Removed unused imports 2026-01-06 11:04:06 +01:00
Alexis Leboeuf
0afb619d40 Resolved errors in AthleteResource 2026-01-06 11:02:24 +01:00
Alexis Leboeuf
8b240b8b60 Merge remote-tracking branch 'refs/remotes/origin/jpa' into jpa 2026-01-06 10:50:37 +01:00
Alexis Leboeuf
c9891ae7e8 Still a few errors to correct 2026-01-06 10:49:24 +01:00
Amaël Kesteman
5e5661635e Feat: Ajout des imports manquants pour Athlete DTO + Athlete 2026-01-06 10:17:04 +01:00