1
0
forked from PGL/Clyde
Commit Graph

433 Commits

Author SHA1 Message Date
ce2efb61c8 fixed some issue for the token authorization (#87)
Reviewed-on: PGL/Clyde#87
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-10 23:28:13 +01:00
b7c97ead2b Merge pull request 'Reactive Translations' (#86) from tonitch/front/Reactive_Translations into master
Reviewed-on: PGL/Clyde#86
Reviewed-by: Maxime <231026@umons.ac.be>
Reviewed-by: Wal <karpinskiwal@gmail.com>
2024-03-10 20:35:32 +01:00
84fe1df671 Reactive Translations
Make Translated text reactive so that when switching lang, text is
reload on the fly

Fixes: #77
2024-03-09 19:14:57 +01:00
8fdfb470cb fixing the origin requests once and for all 2024-03-09 18:54:46 +01:00
160cfb0bbf Page api stub 2024-03-09 18:41:20 +01:00
31159ebb5c Merge pull request 'Fixing the cross origine on the frontend side + request in json' (#79) from tonitch/front/fix/crossOrigine into master
Reviewed-on: PGL/Clyde#79
Reviewed-by: Maxime <231026@umons.ac.be>
2024-03-09 18:18:15 +01:00
ac88307036 fix expiration date and frontend requests 2024-03-09 16:22:38 +01:00
847b1ca419 Solve crossOrigin Finally 2024-03-09 16:20:55 +01:00
5bda05925c Merge pull request 'Removing more useless stuff' (#81) from tonitch/front/fix/removeComponents into master
Reviewed-on: PGL/Clyde#81
2024-03-09 14:58:01 +01:00
be084cfd12 Removing more useless stuff 2024-03-09 12:32:07 +01:00
0b4b38f6c5 Fix typo
Merci javascript pour ces erreurs de qualitée...
2024-03-09 10:36:20 +01:00
21de520175 Fixing the cross origine on the frontend side 2024-03-09 10:29:32 +01:00
b88d820c12 Merge pull request 'fixed a token encoding issue' (#70) from Max/backend/loginFix into master
Reviewed-on: PGL/Clyde#70
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
Reviewed-by: LeoMoulin <leomoulin125@gmail.com>
2024-03-09 09:57:52 +01:00
521c98fdc2 token is now an writable char thanks to the modulos ! 2024-03-09 00:46:40 +01:00
ba8b32160d Lots of refactoring
- Removing test mentions in readme
- moving login page as an app
- removing vite broken config
- removing auto-generated and unused vite configuration (base.css)

Overall simplification

(sorry @Wal I kinda destroyed your login page a bit but seems fixable 👉👈)
2024-03-08 23:35:11 +01:00
3571b96cfc Merge pull request 'Fix lang toggle' (#72) from tonitch/front/fix/langSwitch into master
Reviewed-on: PGL/Clyde#72
Reviewed-by: Wal <karpinskiwal@gmail.com>
2024-03-08 22:22:19 +01:00
619d2601f1 Fix lang toggle
This is not perfect as the toggle is not set to the right position when
the site is reload but as @Wal_ said he would refactor, I just made a
working sample good enough imo
2024-03-08 22:00:15 +01:00
03ff0c0568 Merge pull request 'Ajout register + quelques options' (#63) from wal/frontend/Register into master
Reviewed-on: PGL/Clyde#63
Reviewed-by: Maxime <231026@umons.ac.be>
Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
2024-03-08 21:24:10 +01:00
82a3b152f2 put the params in the body and fixed token issue 2024-03-08 20:54:23 +01:00
d2a697904e Merge branch 'master' into wal/frontend/Register 2024-03-08 20:53:10 +01:00
fe34ff4705 Merge pull request 'wtf is it doing there ?' (#71) from tonitch/front/fix/stupidLine into master
Reviewed-on: PGL/Clyde#71
Reviewed-by: Maxime <231026@umons.ac.be>
Reviewed-by: Wal <karpinskiwal@gmail.com>
2024-03-08 20:46:59 +01:00
de7774047f Merge pull request '[Journal de bord] tokens et authentifications' (#65) from maxonitch/jdb/Authentication into master
Reviewed-on: PGL/Clyde#65
Reviewed-by: Maxime <231026@umons.ac.be>
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: LeoMoulin <leomoulin125@gmail.com>
2024-03-08 20:46:27 +01:00
a524845d06 First draft of the register requests api.
I don't think it's currently usable but it serve as a stub for when
backend will support it
2024-03-08 20:45:22 +01:00
8e40638b5e adding the right dependencies 2024-03-08 20:43:47 +01:00
13d9020c7d stub for cursus 2024-03-08 20:43:47 +01:00
8a544515d0 Merge branch 'master' into wal/frontend/Register 2024-03-08 20:23:13 +01:00
481c96bec2 i18n added but not usable 2024-03-08 20:22:00 +01:00
1383814e34 change ASCII to ISO_8859_1 2024-03-08 19:57:38 +01:00
7ff47b6e9c wtf is it doing there ? 2024-03-08 19:23:59 +01:00
fba30cff9e fixed a token encoding issue 2024-03-08 18:52:10 +01:00
875cfb8b7c Merge pull request 'Max/Backend/loginApi Ajout mock Users et Tokens' (#62) from Max/Backend/loginApi into master
Reviewed-on: PGL/Clyde#62
Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: LeoMoulin <leomoulin125@gmail.com>
2024-03-08 16:50:22 +01:00
0ca5640564 Merge branch 'master' into wal/frontend/Register 2024-03-08 16:37:00 +01:00
acfd366fc8 fixed the user constructor issue 2024-03-08 12:00:56 +01:00
4111839852 Requests setup 2024-03-08 11:54:10 +01:00
e69ece23d0 adding set cookie and set lang (#68)
simple set cookie (je deteste javascript) et un setlang pour le syntastic sugar

Reviewed-on: PGL/Clyde#68
Reviewed-by: Maxime <231026@umons.ac.be>
Reviewed-by: Wal <karpinskiwal@gmail.com>
Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Co-committed-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2024-03-08 11:23:32 +01:00
b42324987b stub for courses (#60)
base for the courses api

Reviewed-on: PGL/Clyde#60
Reviewed-by: Wal <karpinskiwal@gmail.com>
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-07 22:29:07 +01:00
3b31fa794f Merge branch 'Leo/Backend' into Max/Backend/loginApi 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 2024-03-07 17:29:31 +01:00
6b58c852a2 cleaning 2024-03-07 17:02:19 +01:00
8b35b3dc01 cleaned the login process 2024-03-07 17:01:50 +01:00
93144d0f90 added what is the token and justifications 2024-03-07 15:43:16 +01:00
3c08022c20 toggle for language(base) + starting inscription menu 2024-03-07 15:42:36 +01:00
204e6a9505
Base oauth et spring sessions 2024-03-07 15:24:22 +01:00
Wal
d639fa5ee3 Merge pull request 'fixing top level await' (#64) from tonitch/front/fix/top-level-await into wal/frontend/Register
Reviewed-on: PGL/Clyde#64
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: Maxime <231026@umons.ac.be>
2024-03-07 15:21:12 +01:00
e1d8e37c52 Merge branch 'master' into Max/Backend/loginApi 2024-03-07 15:15:32 +01:00
8e932b1b67
fixing top level await 2024-03-07 14:51:36 +01:00
dbbf74f2c3 Merge pull request 'tonitch/front/User_API' (#56) from tonitch/front/User_API into master
Reviewed-on: PGL/Clyde#56
Reviewed-by: Maxime <231026@umons.ac.be>
Reviewed-by: Wal <karpinskiwal@gmail.com>
2024-03-07 14:12:49 +01:00
4aa15ec72a Merge branch 'master' into wal/frontend/Register 2024-03-07 14:11:32 +01:00
2938707f0f added mocks users with their role as password and token 2024-03-07 00:55:07 +01:00