Commit Graph

52 Commits

Author SHA1 Message Date
cfc6c59684 Adjusting les trucs que Max a demandé
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 2m6s
Build and test backend / Test-backend (pull_request) Successful in 1m56s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 25s
2024-03-11 11:17:56 +01:00
dcf5b26b05 Ajusting small things
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 2m1s
Build and test backend / Test-backend (pull_request) Successful in 2m1s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 23s
2024-03-09 19:33:10 +01:00
94d86ef252 Remove the tests and use the compareto method in autoDeleteToken 2024-03-09 19:32:28 +01:00
d8a6d06b7a Merge branch 'master' into Leo/Backend
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 2m0s
Build and test backend / Test-backend (pull_request) Successful in 1m59s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 23s
2024-03-09 15:10:51 +01:00
02afc3df47 - Création de la table qui stocke les demandes d'inscriptions
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 2m3s
Build and test backend / Test-backend (pull_request) Successful in 2m0s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 21s
- Création de la table qui stocke les demandes de réinscription

- Création d'un enum pour les états des requetes
2024-03-09 12:40:02 +01:00
54c0f9069e - Implémentation de la limite de 5 tokens par utilisateurs 2024-03-09 10:45:04 +01:00
521c98fdc2 token is now an writable char thanks to the modulos !
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 2m3s
Build and test backend / Test-backend (pull_request) Successful in 1m57s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 22s
2024-03-09 00:46:40 +01:00
82a3b152f2 put the params in the body and fixed token issue
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 2m0s
Build and test backend / Test-backend (pull_request) Successful in 2m0s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 20s
2024-03-08 20:54:23 +01:00
fba30cff9e fixed a token encoding issue
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 2m33s
Build and test backend / Test-backend (pull_request) Successful in 1m59s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 23s
2024-03-08 18:52:10 +01:00
a297641fa9 - Ajout de la date d'expiration dans la table token
- Suppression de TokenCleaner et déplacement de la fonction de suppression des token dans Token Service
- Implémentation fonctionnelle de la nouvelle stratégie de suppression des tokens :)
2024-03-08 17:45:16 +01:00
acfd366fc8 fixed the user constructor issue
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 2m3s
Build and test backend / Test-backend (pull_request) Successful in 1m58s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 20s
2024-03-08 12:00:56 +01:00
206c5e958b - L'email passe en unique dans la table User
- utilisation de la méthode saveToken dans les mock
- changement de saveToken pour recevoir un token en paramètre
- crée la classe TokenCleaner qui gère le nettoyage des token (en faire une classe permet d'en avoir plusieurs instances qui run des timer en parallèle)
- première implémentation du timeout (need plus de tests)
2024-03-08 10:20:18 +01:00
857191f9e5 - Merge ma branche avec celle de Max
- Ajoute le champ profilePictureUrl dans les mocks
2024-03-07 21:06:40 +01:00
3b31fa794f Merge branch 'Leo/Backend' into Max/Backend/loginApi
Some checks failed
Build and test backend / Build-backend (pull_request) Failing after 1m36s
Build and test backend / Test-backend (pull_request) Failing after 1m35s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 20s
2024-03-07 20:53:33 +01:00
c33b73a114 - Ajout de "l'url" de l'image dans User 2024-03-07 19:12:48 +01:00
2f2a72bfa0 added the possibility to remove the mocks
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 2m6s
Build and test backend / Test-backend (pull_request) Successful in 1m58s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 21s
2024-03-07 17:29:31 +01:00
6b58c852a2 cleaning
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 1m57s
Build and test backend / Test-backend (pull_request) Successful in 1m56s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 21s
2024-03-07 17:02:19 +01:00
8b35b3dc01 cleaned the login process 2024-03-07 17:01:50 +01:00
e1d8e37c52 Merge branch 'master' into Max/Backend/loginApi
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 2m1s
Build and test backend / Test-backend (pull_request) Successful in 2m1s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 20s
2024-03-07 15:15:32 +01:00
2938707f0f added mocks users with their role as password and token
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 1m58s
Build and test backend / Test-backend (pull_request) Successful in 1m58s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 21s
2024-03-07 00:55:07 +01:00
434cc8dd2b - On objectise tout
- Ajout des relation
2024-03-06 20:05:24 +01:00
4a85a55290 added Token and User Services 2024-03-06 17:38:09 +01:00
37d24c59e7 add generic HttpResponse 2024-03-06 17:37:38 +01:00
5acca4d10d added foreign key to user 2024-03-06 17:37:06 +01:00
b050a74b75 added LoginController Post(/login) 2024-03-06 17:35:49 +01:00
010f9200a7 removed useless line 2024-03-06 17:35:27 +01:00
6a39464f61 /bin/bash: line 1: q: command not found 2024-03-06 17:34:18 +01:00
7222bca6e2 added spring boot security without the login page 2024-03-06 17:30:13 +01:00
38ed249150
using unix socket
All checks were successful
Build and test backend / Build-backend (push) Successful in 2m9s
Build and test backend / Test-backend (push) Successful in 1m18s
Build and test FrontEnd / Build-frontend (push) Successful in 21s
deploy to production / deploy-frontend (push) Successful in 20s
deploy to production / deploy-backend (push) Successful in 1m33s
2024-03-06 10:52:11 +01:00
212ab638a2
allow unix socket connection for database in prod
All checks were successful
Build and test backend / Build-backend (push) Successful in 2m3s
Build and test backend / Test-backend (push) Successful in 1m16s
deploy to production / deploy-frontend (push) Successful in 22s
deploy to production / deploy-backend (push) Successful in 2m17s
Build and test FrontEnd / Build-frontend (push) Successful in 21s
2024-03-06 10:01:55 +01:00
bb0e6783ec correction commit
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 2m3s
Build and test backend / Test-backend (pull_request) Successful in 1m53s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 19s
2024-03-05 23:34:49 +01:00
57de070eb1
Merge branch 'master' into LeoMoulin/Backend/Leo
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 1m55s
Build and test backend / Test-backend (pull_request) Successful in 1m52s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 24s
2024-03-05 20:30:00 +01:00
c27c3ac9fb - Ajout des champs password et salt dans user
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 2m25s
Build and test backend / Test-backend (pull_request) Successful in 2m1s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 25s
Build and test FrontEnd / Test-frontend (pull_request) Successful in 23s
- Ajout de la table token
- Ajout des foreign keys
2024-03-05 14:14:56 +01:00
cc89d7f5b7 added ResponseEntity and TODOs 2024-03-04 23:35:15 +01:00
6c688dab59 added Admin and Secretary 2024-03-04 21:25:44 +01:00
516fc0d5e6
fix last commit
All checks were successful
Build and test backend / Build-backend (push) Successful in 2m7s
deploy to production / deploy-frontend (push) Successful in 22s
Build and test backend / Test-backend (push) Successful in 1m21s
deploy to production / deploy-backend (push) Successful in 2m19s
Build and test FrontEnd / Build-frontend (push) Successful in 20s
2024-03-04 20:42:10 +01:00
7abd2a001f
relatives position for static api
All checks were successful
Build and test backend / Build-backend (push) Successful in 2m9s
Build and test backend / Test-backend (push) Successful in 1m18s
deploy to production / deploy-frontend (push) Successful in 22s
deploy to production / deploy-backend (push) Successful in 2m20s
Build and test FrontEnd / Build-frontend (push) Successful in 21s
2024-03-04 20:15:12 +01:00
684c3095eb - Changement des noms de variables
- Ajout des getters/setters appropriés
- Ajout des constructeur nécessaires
2024-03-03 17:42:26 +01:00
bbe1f9767c Merge remote-tracking branch 'origin/LeoMoulin/Backend/Leo' into LeoMoulin/Backend/Leo 2024-03-03 17:05:09 +01:00
3956037ab5 example backend api with user table 2024-03-02 23:33:48 +01:00
21a42737a2 adding api definition in static files
All checks were successful
Build and test backend / Build-backend (push) Successful in 2m4s
Build and test backend / Test-backend (push) Successful in 1m17s
deploy to production / deploy-frontend (push) Successful in 22s
deploy to production / deploy-backend (push) Successful in 2m14s
Build and test FrontEnd / Build-frontend (push) Successful in 20s
2024-03-02 22:19:10 +01:00
fa522eabd3 fixing db
Some checks failed
Build and test backend / Build-backend (push) Successful in 2m6s
Build and test backend / Test-backend (push) Has been cancelled
Build and test FrontEnd / Build-frontend (push) Has been cancelled
Build and test FrontEnd / Test-frontend (push) Has been cancelled
deploy to production / deploy-frontend (push) Successful in 24s
deploy to production / deploy-backend (push) Has been cancelled
2024-03-02 19:30:26 +01:00
caf11b5b19 Refactoring backend (#42)
All checks were successful
Build and test backend / Build-backend (push) Successful in 2m7s
Build and test backend / Test-backend (push) Successful in 1m22s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
deploy to production / deploy-frontend (push) Successful in 24s
deploy to production / deploy-backend (push) Successful in 1m28s
removing cors fails.
refactoring ping as a proposal for rest endpoints locations

Reviewed-on: #42
Reviewed-by: Maxime <231026@umons.ac.be>
Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Co-committed-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2024-03-01 18:43:56 +01:00
25019d8b91 Suppression de TeacherOwnerCourse.java et ajout d'un booléen Owned dans TeacherGivenCourse.java 2024-03-01 01:47:11 +01:00
69c3a3b965 Implémentation des différentes classes représentants les tables 2024-02-29 20:08:12 +01:00
0de7b69b1b
enable jpa library for managing data
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 1m57s
Build and test backend / Test-backend (pull_request) Successful in 1m57s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 22s
Build and test FrontEnd / Test-frontend (pull_request) Successful in 22s
Build and test backend / Build-backend (push) Successful in 2m19s
Build and test backend / Test-backend (push) Successful in 1m18s
deploy to production / deploy-frontend (push) Successful in 25s
deploy to production / deploy-backend (push) Successful in 2m16s
Build and test FrontEnd / Build-frontend (push) Successful in 23s
Build and test FrontEnd / Test-frontend (push) Successful in 23s
2024-02-29 08:53:33 +01:00
56df39b584
[fix] wrong file
All checks were successful
Build and test backend / Build-backend (push) Successful in 2m4s
Build and test backend / Test-backend (push) Successful in 1m15s
deploy to production / deploy-frontend (push) Successful in 24s
deploy to production / deploy-backend (push) Successful in 1m58s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-27 19:15:36 +01:00
43adb6d31f
database on deploy
Some checks failed
Build and test backend / Build-backend (pull_request) Successful in 1m41s
Build and test backend / Test-backend (pull_request) Successful in 1m43s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 24s
Build and test FrontEnd / Test-frontend (pull_request) Successful in 22s
Build and test backend / Build-backend (push) Successful in 1m52s
Build and test backend / Test-backend (push) Successful in 1m20s
deploy to production / deploy-frontend (push) Successful in 24s
deploy to production / deploy-backend (push) Failing after 2m0s
Build and test FrontEnd / Build-frontend (push) Successful in 23s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
2024-02-27 16:55:16 +01:00
9c92e7d1e9
Ajout du CORS Pour le dev local + toastify + exmpl
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 1m43s
Build and test backend / Test-backend (pull_request) Successful in 1m39s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 23s
Build and test FrontEnd / Test-frontend (pull_request) Successful in 23s
Build and test backend / Build-backend (push) Successful in 1m54s
Build and test backend / Test-backend (push) Successful in 1m15s
deploy to production / deploy-frontend (push) Successful in 23s
deploy to production / deploy-backend (push) Successful in 1m58s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
tout est dans le titre
2024-02-27 14:24:26 +01:00
88108918dd
adding database support
All checks were successful
Build and test backend / Build-backend (push) Successful in 1m54s
Build and test backend / Test-backend (push) Successful in 1m18s
Build and test FrontEnd / Build-frontend (push) Successful in 22s
Build and test FrontEnd / Test-frontend (push) Successful in 22s
deploy to production / deploy-frontend (push) Successful in 23s
deploy to production / deploy-backend (push) Successful in 1m26s
2024-02-27 12:08:28 +01:00