269 Commits

Author SHA1 Message Date
c91a4c916e Base test that function
There is an error just after the test succes because the app tries to
close the db twice... but at least it works. i'll try to work around
that later :p
2024-03-17 10:50:40 +01:00
c6cc9a9e5d base test [dnw] 2024-03-17 01:55:13 +01:00
069466ef5f Max/Backend/CoursesEndpoints ()
PLZ FIX

Reviewed-on: 
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
d5f6656e2b added the GET /teachers ()
had to fix the mock and the UserController isAdminOrSecretary

Reviewed-on: 
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
32e26f35cb Merge pull request 'show apps by role' () from tonitch/front/apps into master
Reviewed-on: 
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: Maxime <231026@umons.ac.be>
2024-03-16 17:16:34 +01:00
17ab241250
show map by role 2024-03-16 16:57:52 +01:00
53e478b05c Merge pull request 'added ApplicationController and Application enum' () from Max/Backend/AppsController into master
Reviewed-on: 
Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
Reviewed-by: Wal <karpinskiwal@gmail.com>
2024-03-16 14:51:56 +01:00
182be8ac7b
Merge branch 'master' into Max/Backend/AppsController 2024-03-16 14:48:03 +01:00
beba199f60 Merge pull request 'Login indication' () from tonitch/front/loginIndication into master
Reviewed-on: 
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: Maxime <231026@umons.ac.be>
2024-03-16 14:45:02 +01:00
767a83d1d6 Merge pull request 'Max/Backend/BackendClean' () from Max/Backend/BackendClean into master
Reviewed-on: 
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
2024-03-16 14:38:19 +01:00
da3f8c47f9
Fix merge because i'm bad 2024-03-16 14:34:11 +01:00
1546fc6d47
Merge branch 'master' into Max/Backend/BackendClean 2024-03-16 14:13:47 +01:00
04f64f505e
Indicated that you are logged by coloring the icon in orange and disconnect if clicked on it 2024-03-16 13:56:29 +01:00
c955fbf5f8 Merge pull request 'fix tokens characters' () from tonitch/back/fixTokens into master
Reviewed-on: 
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: Maxime <231026@umons.ac.be>
2024-03-16 12:42:54 +01:00
847936b799
fix tokens characters 2024-03-16 12:36:17 +01:00
0b27d2e8d8
Merge branch 'master' into tonitch/front/pagesAPI 2024-03-16 12:35:15 +01:00
45fbef52ed
fix tokens characters 2024-03-16 12:29:51 +01:00
abff9aef3a Merge branch 'master' into Max/Backend/AppsController 2024-03-16 11:58:03 +01:00
3ea6c7886a Merge pull request 'rename Cursus -> Curriculum' () from Max/Backend/CurriculumRename into master
Reviewed-on: 
Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
Reviewed-by: Wal <karpinskiwal@gmail.com>
2024-03-16 11:50:49 +01:00
17d0ae7ccc
Refactoring: cursus -> curriculum frontend
I hope I didn't missed anything, this commit is following the previous
one in this branch
2024-03-16 10:17:04 +01:00
8f2fb04112 I pressed tab by accident 2024-03-16 09:03:03 +01:00
c6198b7220 cleaned Services + added private final to all repos 2024-03-16 09:02:08 +01:00
13fd048cd2 added a inscriptionService mock user 2024-03-16 09:01:36 +01:00
b7b2eafb93 removed the GET /Apps/{id} frontend just iterates on the /apps list 2024-03-16 00:44:11 +01:00
0860567e1b fixed the GetAuthorizedApps method 2024-03-16 00:42:46 +01:00
25009ba149 Enum in CamelCase 2024-03-16 00:34:20 +01:00
208c6c63e8 moved the isSecretaryOrAdmin method 2024-03-16 00:31:03 +01:00
e2da7271af rename Cursus -> Curriculum 2024-03-15 23:53:15 +01:00
77a170be6d
Merge branch 'master' into tonitch/front/pagesAPI 2024-03-15 22:37:37 +01:00
9f02207eb0 Merge pull request 'Max/Backend/Curriculum' () from Max/Backend/Curriculum into master
Reviewed-on: 
Reviewed-by: LeoMoulin <leomoulin125@gmail.com>
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
2024-03-15 22:33:25 +01:00
1f14890d43 added ApplicationController and Application enum 2024-03-15 18:54:53 +01:00
2ea6ed16bb removed missclick 2024-03-15 18:53:58 +01:00
f33a421aee Merge branch 'master' into Max/Backend/Curriculum 2024-03-15 17:40:42 +01:00
017235cccf fixed inscription in the backend 2024-03-15 17:29:45 +01:00
1bff48a4b9 changed the frontend API calls
to better suit the backend and logic (register => list and register => single item)
2024-03-15 17:09:18 +01:00
198ee8a4ce Register API and form optimization [depend: backend /register] ()
Made the register api following the backend

refactored the register form for more ergonomy

**PS: Waiting for the backend to catch up**

Reviewed-on: 
Reviewed-by: Maxime <231026@umons.ac.be>
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: LeoMoulin <leomoulin125@gmail.com>
Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Co-committed-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2024-03-15 14:46:39 +01:00
08c662a65f Fetch inscription on backend
This commit is waiting for the backend implementation to be merged.

The list of field expected is writen in comment
2024-03-15 14:41:21 +01:00
20d52b2b21 Merge pull request 'Max/Backend/RegisterEndPoint' () from Max/Backend/RegisterEndPoint into master
Reviewed-on: 
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
1502cc871c Merge pull request 'UploadAPI and profilePicture' () from tonitch/front/apiUpload into master
Reviewed-on: 
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
826bbf5990 Create the directory if not exists 2024-03-14 22:36:48 +01:00
c26972369f Putting the right configuration for cors 2024-03-14 22:35:57 +01:00
Wal
4c5cae7ff5 Merge pull request 'Translations' () from wal/front/Translations into master
Reviewed-on: 
Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
Reviewed-by: LeoMoulin <leomoulin125@gmail.com>
Reviewed-by: Maxime <231026@umons.ac.be>
2024-03-14 22:34:45 +01:00
59c3442647 lil corrections 2024-03-14 22:33:16 +01:00
12846ed83d added cursus/course interactions 2024-03-14 21:53:43 +01:00
bb4ee784fa Merge pull request 'Max/Backend/UserControllerUpdate' () from Max/Backend/UserControllerUpdate into master
Reviewed-on: 
Reviewed-by: LeoMoulin <leomoulin125@gmail.com>
Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
2024-03-14 21:53:33 +01:00
1777e894e9 removing spaces 2024-03-14 21:33:36 +01:00
3c3659c056 Merge branch 'master' into wal/front/Translations 2024-03-14 21:31:22 +01:00
e05492f4a8 Adding all translations 2024-03-14 21:27:03 +01:00
97a2c8a9f6 Fix the "error" bug
Even when the requests was sucessfull, the "error" toast was
appearing... now it should do a "success" when adequate
2024-03-14 21:06:33 +01:00
9aa425d1c3 changed details 2024-03-14 20:04:27 +01:00