Commit Graph
100 Commits
Author SHA1 Message Date
tonitch ecaf5e3df8 Merge remote-tracking branch 'origin/master' into forum 2024-04-21 09:04:58 +02:00
tonitch e8fea7625f Removing toaster at every request
It is possible to explicitly request a toaster for a request by setting
its config['toast'] to true
2024-04-20 10:05:01 +02:00
tonitch 3ca074a3ba typo 2024-04-19 20:35:16 +02:00
tonitch 7bb1df123f Merge remote-tracking branch 'origin/master' into forum 2024-04-19 20:33:52 +02:00
tonitch 10c1c6096d const error fix
This error seems to be there for quite some times. for some reason I
haven't seen it at all. I tried to bisect it and couldn't find the
origin so I just fix it in this commit
2024-04-19 18:04:21 +02:00
tonitch f8d60f40fc Removing toaster at every request
It is possible to explicitly request a toaster for a request by setting
its config['toast'] to true
2024-04-18 08:32:06 +02:00
tonitch f19236b3f7 Avoid password leakage
The password should never be parsed to json ever so can be safely
ignored.
2024-04-17 21:44:30 +02:00
tonitch cba11d54ff Page to right size (#152)
Reviewed-on: PGL/Clyde#152
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-04-17 21:43:49 +02:00
tonitch c6ce6d3e5b translations of forum 2024-04-13 16:05:14 +02:00
tonitch 2e02cd8870 Style bits redone 2024-04-13 15:56:43 +02:00
tonitch 106bf96a98 responses and general modifications 2024-04-09 23:41:43 +02:00
tonitch 7b0d76dae8 Merge remote-tracking branch 'origin/master' into forum 2024-04-09 17:28:59 +02:00
tonitch 61e269eb27 Linking front for forum creation 2024-04-09 17:27:26 +02:00
tonitch 5f483216b9 indev 2024-04-08 10:02:03 +02:00
tonitch 5a4d066c45 Forum and topic getter and creator endpoints 2024-04-07 18:16:05 +02:00
tonitch f9bcff6d4f Avoid password leakage
The password should never be parsed to json ever so can be safely
ignored.
2024-04-07 14:46:14 +02:00
tonitch 5bb7606721 signing and commenting 2024-04-05 12:54:51 +02:00
tonitch b049c46571 Avoid title reseting mid modification 2024-04-05 11:45:47 +02:00
tonitch 7bd745fd5e Adding frontend visual side 2024-04-05 08:57:19 +02:00
tonitch a96609d2ef Page to right size 2024-04-03 14:58:04 +02:00
tonitch cb750b8505 Database creation (Tables) 2024-04-02 21:40:52 +02:00
tonitch 7ca5c34afe adding timestamp 2024-04-02 11:08:58 +02:00
tonitch 2b9bdf8dac fixup! show sender on message 2024-04-02 10:18:50 +02:00
tonitch ccb954e348 show sender on message 2024-04-02 10:05:17 +02:00
tonitch 3761fa6f49 Adding cdn support with compose
Now when you upload a file, the path is stored to the db and the file is
accesible on the client with : `localhost:8000/cdn/3ed026aa-366f-4f33-bc51-fb59d37e35ee.png` for instance.
2024-04-02 00:21:15 +02:00
tonitch cb36aa8a30 Fixing file locations 2024-04-01 22:49:24 +02:00
tonitch 2e2837fec4 adding info about compose 2024-03-30 23:33:16 +01:00
tonitch 0e26e1a0db adding compose for launching properly everything 2024-03-30 23:23:33 +01:00
tonitch ce56e37a33 redesign send bar 2024-03-29 14:31:22 +01:00
tonitch 1c61a356a4 update when message sent 2024-03-29 14:31:08 +01:00
tonitch 2bdffe6ab4 remove member of a discussion 2024-03-29 14:30:46 +01:00
tonitch 729d1ad504 adding members management 2024-03-27 23:54:59 +01:00
tonitch 1522d74ed3 messsaging on the frontend 2024-03-27 19:52:48 +01:00
tonitch b4499e04c7 Managing the message with backend
Using DTO to change the way discussions and message are sent to the
client
2024-03-27 19:50:52 +01:00
tonitch 914f6bdf36 fix for new discussions not appearing right away 2024-03-25 09:43:45 +01:00
tonitch 66e7fa24a1 Adding the discussion architectures and creating new discussions 2024-03-25 00:08:44 +01:00
tonitch 7b9f021c24 first version of the frontend for messages 2024-03-24 22:33:17 +01:00
tonitch 2dfa0a0ee0 base msg 2024-03-24 22:33:14 +01:00
tonitch acd1262955 Make app use full space 2024-03-22 13:56:04 +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