1
0
forked from PGL/Clyde
Commit Graph

138 Commits

Author SHA1 Message Date
f33a421aee Merge branch 'master' into Max/Backend/Curriculum 2024-03-15 17:40:42 +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
385640c10e Merge branch 'master' into wal/front/listingUsers 2024-03-15 15:14:18 +01:00
a0c38a8d59 adding list of user PROTO 2024-03-15 15:12:01 +01:00
198ee8a4ce Register API and form optimization [depend: backend /register] (#93)
Made the register api following the backend

refactored the register form for more ergonomy

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

Reviewed-on: PGL/Clyde#93
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
1502cc871c Merge pull request 'UploadAPI and profilePicture' (#102) from tonitch/front/apiUpload into master
Reviewed-on: PGL/Clyde#102
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
59c3442647 lil corrections 2024-03-14 22:33:16 +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
6228e21d38
easter is coming (dont look it's not fun) 2024-03-13 23:28:25 +01:00
64e7f8dc6b
modifying the frontend to send the image and getting the data 2024-03-13 22:33:39 +01:00
a0285e700d
Modifying backend so it send the full entry of a file upload 2024-03-13 22:28:59 +01:00
7d8e1113cc Remove course 2024-03-13 17:54:57 +01:00
354793a29f Create Course 2024-03-13 17:54:57 +01:00
d5b1df32b6 course management 2024-03-13 17:54:57 +01:00
58a4c87661
Removing test gradle 2024-03-13 14:39:34 +01:00
f52cb31189 Adding info about self (#88)
Reviewed-on: PGL/Clyde#88
Reviewed-by: Wal <karpinskiwal@gmail.com>
Reviewed-by: Maxime <231026@umons.ac.be>
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-13 09:54:56 +01:00
86f1a6f17b Little corrections 2024-03-12 09:55:26 +01:00
68df9f99fa modify profil strating setup 2024-03-12 09:55:26 +01:00
2fe6153705 Translation correction 2024-03-12 09:55:26 +01:00
042553c123 Profil Teacher and examples 2024-03-12 09:55:26 +01:00
3cf5153e79 Profil Student Prototype 2024-03-12 09:55:26 +01:00
07e5fb3a73 profil menu base 2024-03-12 09:55:26 +01:00
c14d0a9d21 option language settings start 2024-03-12 09:55:26 +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
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
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
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
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
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
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
481c96bec2 i18n added but not usable 2024-03-08 20:22:00 +01:00
7ff47b6e9c wtf is it doing there ? 2024-03-08 19:23:59 +01:00
0ca5640564 Merge branch 'master' into wal/frontend/Register 2024-03-08 16:37:00 +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
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
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
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
886077349c Adding menu button + Cursus 2024-03-06 21:00:35 +01:00
d9ec085d2c Inputs setup 2024-03-06 17:41:18 +01:00
6df81a66f2
Fixing i18n path 2024-03-06 14:41:03 +01:00
34a36f8b1e i18n try 2024-03-06 14:35:58 +01:00
2a558e40cb Merge branch 'master' into wal/frontend/Register 2024-03-06 14:23:24 +01:00
3350533e74 Register proto 2024-03-06 14:20:32 +01:00
aaaba0ddf3
User api first draft finished 2024-03-06 14:08:39 +01:00
38ed249150
using unix socket 2024-03-06 10:52:11 +01:00
e158fa1f87
backbone for login 2024-03-06 09:00:55 +01:00
6289be529a
package-lock was forgoten 2024-03-06 08:59:08 +01:00
1f69040436
adding patch to restConsumer 2024-03-06 08:59:08 +01:00
56a14a3e8a
adding toast on requests 2024-03-06 08:59:06 +01:00
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
d1b4023d92
adding register 2024-03-05 14:58:56 +01:00
837db9aba9
backbone for login 2024-03-05 14:10:13 +01:00
09d5e1c293
Document rest 2024-03-05 11:48:04 +01:00
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
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
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
25fe568148 Convert login.html to Login.vue 2024-03-04 19:42:57 +01:00
672d17cf0e New file for login's style 2024-03-04 19:42:57 +01:00
49196caccc Grid setup frontend 2024-03-04 19:42:57 +01:00
0b0fe9ae78 Table for navigation bars 2024-03-04 19:42:57 +01:00
057d8ff001 Login prototype 2024-03-04 19:42:57 +01:00
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
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
1a5f3cf65e Removing vitest 2024-03-02 20:09:02 +01:00
298cdcaae0 Implementation of i18n with documentation
All files are documented. For further details please read them.
2024-03-02 20:08:02 +01:00
7c9fe9235c
Example of toaster 2024-02-28 17:57:47 +01:00
9c92e7d1e9
Ajout du CORS Pour le dev local + toastify + exmpl
tout est dans le titre
2024-02-27 14:24:26 +01:00
c0ab074a95
adding fk 2024-02-27 08:10:07 +01:00
4f4ed952cc
adding base template for working 2024-02-27 00:51:30 +01:00
fb6527afd5 base of backend
Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
Reviewed-on: PGL/Clyde#29
Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Co-committed-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2024-02-23 12:00:36 +01:00
85b0be3479 frontend CI (#27)
voilà... normalement tout le ci pour le frontend est bon.. reste plus que le backend

Reviewed-on: PGL/Clyde#27
Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Co-committed-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2024-02-20 09:48:59 +01:00
a795108859 frontend + ci 2024-02-17 20:58:42 +01:00