1
0
forked from PGL/Clyde
Commit Graph

53 Commits

Author SHA1 Message Date
tonitch 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
Wal d2a697904e Merge branch 'master' into wal/frontend/Register 2024-03-08 20:53:10 +01:00
tonitch 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
tonitch 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
tonitch 8e40638b5e adding the right dependencies 2024-03-08 20:43:47 +01:00
tonitch 13d9020c7d stub for cursus 2024-03-08 20:43:47 +01:00
Wal 481c96bec2 i18n added but not usable 2024-03-08 20:22:00 +01:00
tonitch 7ff47b6e9c wtf is it doing there ? 2024-03-08 19:23:59 +01:00
Wal 0ca5640564 Merge branch 'master' into wal/frontend/Register 2024-03-08 16:37:00 +01:00
Wal 4111839852 Requests setup 2024-03-08 11:54:10 +01:00
tonitch 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
tonitch 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
Wal 3c08022c20 toggle for language(base) + starting inscription menu 2024-03-07 15:42:36 +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
tonitch 8e932b1b67 fixing top level await 2024-03-07 14:51:36 +01:00
tonitch 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
tonitch 4aa15ec72a Merge branch 'master' into wal/frontend/Register 2024-03-07 14:11:32 +01:00
tonitch 0e7c18e088 Base for rest api utilisation (#53)
The restConsumer will be the base, then I will create a js file per
"object" (for instance there will be users.js with all endpoints for
users using the restConsumer.js)

Reviewed-on: PGL/Clyde#53
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-06 21:38:09 +01:00
Wal 886077349c Adding menu button + Cursus 2024-03-06 21:00:35 +01:00
Wal d9ec085d2c Inputs setup 2024-03-06 17:41:18 +01:00
tonitch 6df81a66f2 Fixing i18n path 2024-03-06 14:41:03 +01:00
Wal 34a36f8b1e i18n try 2024-03-06 14:35:58 +01:00
Wal 2a558e40cb Merge branch 'master' into wal/frontend/Register 2024-03-06 14:23:24 +01:00
Wal 3350533e74 Register proto 2024-03-06 14:20:32 +01:00
tonitch aaaba0ddf3 User api first draft finished 2024-03-06 14:08:39 +01:00
tonitch 38ed249150 using unix socket 2024-03-06 10:52:11 +01:00
tonitch e158fa1f87 backbone for login 2024-03-06 09:00:55 +01:00
tonitch 6289be529a package-lock was forgoten 2024-03-06 08:59:08 +01:00
tonitch 1f69040436 adding patch to restConsumer 2024-03-06 08:59:08 +01:00
tonitch 56a14a3e8a adding toast on requests 2024-03-06 08:59:06 +01:00
tonitch 24a54bdee4 removing useless function & calling reloadLang properly (#52)
Reviewed-on: PGL/Clyde#52
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-05 20:28:23 +01:00
tonitch d1b4023d92 adding register 2024-03-05 14:58:56 +01:00
tonitch 837db9aba9 backbone for login 2024-03-05 14:10:13 +01:00
tonitch 09d5e1c293 Document rest 2024-03-05 11:48:04 +01:00
tonitch dcd1fad6ac solve access to /login
Vite won't export not specified page, so I specified it in the config.
2024-03-05 10:57:48 +01:00
tonitch 8c2397c4cf Base for rest api utilisation
The restConsumer will be the base, then I will create a js file per
"object" (for instance there will be users.js with all endpoints for
users using the restConsumer.js)
2024-03-05 00:15:52 +01:00
tonitch 9850f2145c Fixing the login page availability
To access the login page you need login.html. Then this page loads the
login.js that generate the login.vue in the div#app (with the '#app')
2024-03-04 19:42:57 +01:00
Wal 25fe568148 Convert login.html to Login.vue 2024-03-04 19:42:57 +01:00
Wal 672d17cf0e New file for login's style 2024-03-04 19:42:57 +01:00
Wal 49196caccc Grid setup frontend 2024-03-04 19:42:57 +01:00
Wal 0b0fe9ae78 Table for navigation bars 2024-03-04 19:42:57 +01:00
Wal 057d8ff001 Login prototype 2024-03-04 19:42:57 +01:00
tonitch 2d43707aca Changing name because it's cool...
Honestly this commit can be skipped but I want to show-off ^^
2024-03-02 20:09:19 +01:00
tonitch f1b3b0dd45 Adding favicon plus perfect clyde
The clyde was good but i'm authistic so I made it perfect (16x16 scaled
up so proportions are perfectly perfect)
2024-03-02 20:09:19 +01:00
tonitch 1a5f3cf65e Removing vitest 2024-03-02 20:09:02 +01:00
tonitch 298cdcaae0 Implementation of i18n with documentation
All files are documented. For further details please read them.
2024-03-02 20:08:02 +01:00
tonitch 7c9fe9235c Example of toaster 2024-02-28 17:57:47 +01:00
tonitch 9c92e7d1e9 Ajout du CORS Pour le dev local + toastify + exmpl
tout est dans le titre
2024-02-27 14:24:26 +01:00
tonitch c0ab074a95 adding fk 2024-02-27 08:10:07 +01:00
tonitch 4f4ed952cc adding base template for working 2024-02-27 00:51:30 +01:00