Commit Graph
100 Commits
Author SHA1 Message Date
tonitch 47c5c14862 Make app use full space 2024-03-30 12:38:17 +01:00
tonitch 3d6941ab93 adding cdn to CI 2024-03-18 21:39:31 +01:00
tonitch de72bd800c CI fix 2024-03-18 21:13:00 +01:00
tonitch a762b6875d removing cdn 2024-03-18 13:54:31 +01:00
tonitch ec3c912847 Merge remote-tracking branch 'origin/master' into Max/Backend/GetUserById 2024-03-18 13:45:47 +01:00
tonitch d40ceff2ba disable test on ci, problem for later 2024-03-18 12:41:18 +01:00
tonitch 853a3a42d2 Small improvement 2024-03-18 02:14:36 +01:00
tonitch 611e7167f9 CI -> build no test and trying to fix test 2024-03-17 22:40:22 +01:00
tonitch ee37dc79a7 Fixing the CI
Moving the dev test and build to port 5442 from 5432 to avoid
conflicting with the running postgresql
2024-03-17 22:02:12 +01:00
tonitch 17ab241250 show map by role 2024-03-16 16:57:52 +01:00
tonitch 182be8ac7b Merge branch 'master' into Max/Backend/AppsController 2024-03-16 14:48:03 +01:00
tonitch da3f8c47f9 Fix merge because i'm bad 2024-03-16 14:34:11 +01:00
tonitch 1546fc6d47 Merge branch 'master' into Max/Backend/BackendClean 2024-03-16 14:13:47 +01:00
tonitch 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
tonitch 847936b799 fix tokens characters 2024-03-16 12:36:17 +01:00
tonitch 0b27d2e8d8 Merge branch 'master' into tonitch/front/pagesAPI 2024-03-16 12:35:15 +01:00
tonitch 45fbef52ed fix tokens characters 2024-03-16 12:29:51 +01:00
tonitch cc8530621d Merge branch 'master' into tonitch/front/manageCourses/LinkToBackend 2024-03-16 12:01:44 +01:00
tonitch 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
tonitch 77a170be6d Merge branch 'master' into tonitch/front/pagesAPI 2024-03-15 22:37:37 +01:00
tonitch ae4ad036a8 Merge remote-tracking branch 'origin/master' into tonitch/front/manageCourses/LinkToBackend 2024-03-15 22:32:21 +01:00
tonitch 3996765c8a Simple hook for when the backend is ready 2024-03-15 22:25:26 +01:00
tonitch 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
tonitch 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
tonitch 826bbf5990 Create the directory if not exists 2024-03-14 22:36:48 +01:00
tonitch c26972369f Putting the right configuration for cors 2024-03-14 22:35:57 +01:00
tonitch 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
tonitch 6228e21d38 easter is coming (dont look it's not fun) 2024-03-13 23:28:25 +01:00
tonitch 64e7f8dc6b modifying the frontend to send the image and getting the data 2024-03-13 22:33:39 +01:00
tonitch a0285e700d Modifying backend so it send the full entry of a file upload 2024-03-13 22:28:59 +01:00
tonitch 68e55e8355 Putting the right configuration for cors 2024-03-13 20:42:06 +01:00
tonitch 58a4c87661 Removing test gradle 2024-03-13 14:39:34 +01:00
tonitch 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
tonitch 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
tonitch 8fdfb470cb fixing the origin requests once and for all 2024-03-09 18:54:46 +01:00
tonitch 160cfb0bbf Page api stub 2024-03-09 18:41:20 +01:00
tonitch ac88307036 fix expiration date and frontend requests 2024-03-09 16:22:38 +01:00
tonitch 847b1ca419 Solve crossOrigin Finally 2024-03-09 16:20:55 +01:00
tonitch be084cfd12 Removing more useless stuff 2024-03-09 12:32:07 +01:00
tonitch 0b4b38f6c5 Fix typo
Merci javascript pour ces erreurs de qualitée...
2024-03-09 10:36:20 +01:00
tonitch 21de520175 Fixing the cross origine on the frontend side 2024-03-09 10:29:32 +01:00
tonitch 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
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
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
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
tonitch 204e6a9505 Base oauth et spring sessions 2024-03-07 15:24:22 +01:00
tonitch 8e932b1b67 fixing top level await 2024-03-07 14:51:36 +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
tonitch 6df81a66f2 Fixing i18n path 2024-03-06 14:41:03 +01:00
tonitch aaaba0ddf3 User api first draft finished 2024-03-06 14:08:39 +01:00
tonitch a253a5152d My life is a potato 2024-03-06 11:20:29 +01:00
tonitch 38ed249150 using unix socket 2024-03-06 10:52:11 +01:00
tonitch 212ab638a2 allow unix socket connection for database in prod 2024-03-06 10:01:55 +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 57de070eb1 Merge branch 'master' into LeoMoulin/Backend/Leo 2024-03-05 20:30:00 +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 516fc0d5e6 fix last commit 2024-03-04 20:42:10 +01:00
tonitch 7abd2a001f relatives position for static api 2024-03-04 20:15:12 +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
tonitch ba7e9599de Premire journal de bord base
Contient le choix des technologies
ainsi que la répartition des taches
2024-03-02 20:04:47 +01:00
tonitch caf11b5b19 Refactoring backend (#42)
removing cors fails.
refactoring ping as a proposal for rest endpoints locations

Reviewed-on: PGL/Clyde#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
tonitch 0de7b69b1b enable jpa library for managing data 2024-02-29 08:53:33 +01:00
tonitch 7c9fe9235c Example of toaster 2024-02-28 17:57:47 +01:00
tonitch 56df39b584 [fix] wrong file 2024-02-27 19:15:36 +01:00
tonitch 4c79b9e51f dependants 2024-02-27 17:16:01 +01:00
tonitch 6559462f2b docker pipeline 2024-02-27 17:12:56 +01:00
tonitch 43adb6d31f database on deploy 2024-02-27 16:55:16 +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 88108918dd adding database support 2024-02-27 12:08:28 +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
tonitch d8cbbdc94b Removing drone 2024-02-27 00:36:52 +01:00
tonitch f39cc004ad . 2024-02-27 00:22:22 +01:00
tonitch 4983b67fbe . 2024-02-26 19:59:23 +01:00
tonitch 0015763523 . 2024-02-26 19:51:09 +01:00
tonitch f1154713b7 . 2024-02-26 19:29:40 +01:00
tonitch 883ff19fa3 . 2024-02-26 18:25:41 +01:00
tonitch fdfbd5a948 fk m life 2024-02-26 18:17:59 +01:00
tonitch b90716ab38 sill am 2024-02-26 17:42:32 +01:00
tonitch 3f74c5bb07 I am stupid 2024-02-26 16:52:02 +01:00
tonitch c11ad4fa11 wrong file 2024-02-26 16:45:19 +01:00
tonitch 5d877c3460 typo 2024-02-26 16:33:13 +01:00
tonitch 5691ff1783 Signing 2024-02-26 15:31:58 +01:00
tonitch fbbc6978d5 Deploy backend on push 2024-02-26 15:25:31 +01:00
tonitch bb5d1a6982 Build and push the backend on pr and merge 2024-02-26 14:33:39 +01:00
tonitch 6503af0096 Adding docker entry for backend
This allow you to run `docker-compose up` in the backend directory
to run the whole backend in a docker. by default the port is set to 4000
2024-02-26 13:20:03 +01:00
tonitch 42d9231ef6 Adding dev instructions 2024-02-23 12:30:12 +01:00
tonitchandDebucquoy 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
tonitchandDebucquoy dda321256c frontend-CI (#28)
Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
Reviewed-on: PGL/Clyde#28
Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Co-committed-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
2024-02-20 10:55:16 +01:00