Commit Graph
71 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
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
tonitch 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
tonitch ef4929640d Corrections to api 2023-12-15 15:11:29 +01:00
tonitch 5958b15c84 Adding delete and get to message-id 2023-12-15 14:52:40 +01:00
tonitch 8648631d32 Put tag guest to DisplayArticle
asked-by: Max
2023-12-15 14:52:40 +01:00
tonitch db2003b51a Roles ref problem 2023-12-15 14:52:40 +01:00
tonitch 6f5f89d954 First api 2023-12-15 14:52:40 +01:00
tonitch 55e095bcc6 small indentation error 2023-12-14 20:58:09 +01:00
tonitch f0b2c31a06 Adding all endpoint to "general" tag 2023-12-10 21:26:51 +01:00
tonitch b50e0db3fc small changes 2023-12-10 21:21:11 +01:00
tonitch e52b9270b7 Finished RestApi 2023-12-07 23:27:23 +01:00
tonitch 5c4e981b16 Première des premières versions 2023-12-05 20:56:12 +01:00
tonitch 5a60d8f3db Merge remote-tracking branch 'refs/remotes/origin/master' 2023-12-04 19:58:50 +01:00
tonitch 4788649163 Base openapi 2023-12-04 19:58:00 +01:00