Commit graph

187 commits

Author SHA1 Message Date
973f86b269 Adds jwt token to sample swagger 2024-11-26 18:51:22 -05:00
7b348d54ad fix api requirements 2024-11-26 18:34:18 -05:00
ac648f494d make api works with static builds 2024-11-26 18:18:46 -05:00
6fd2c02611 Ajout des la documentation authentification + salle de quiz.
Ajout du support de visuel type swagger.
2024-11-26 18:07:09 -05:00
2000a47f17 Adds basic docs 2024-11-25 22:35:36 -05:00
115d3785ca Adds Auth Docs + Starting quizroom + stylise 2024-11-19 17:01:26 -05:00
8b518b9742
Merge pull request #166 from gab9281/main
Ajouter la base de documentation versionnée
2024-11-18 12:03:55 -05:00
8ef104053b fix jobs name 2024-11-14 13:54:35 -05:00
e05c287a48 adds force 2024-11-14 13:49:42 -05:00
3dbddb35a0
Merge pull request #1 from gab9281/dev-docs
Dev docs
2024-11-14 13:45:05 -05:00
e836ccc8a9 edit publishing moment + adds documentation doc 2024-11-14 13:43:49 -05:00
18f58ad86c test doc 2024-11-14 11:57:48 -05:00
Christopher (Cris) Fuhrman
f2fe6031bb
Merge pull request #162 from ets-cfuhrman-pfe/ssl-changes
Clean up ENV variables, default to window.location.host when no socket url
2024-10-31 11:36:35 -04:00
C. Fuhrman
3712464873 Clean up ENV variables
Define one for SOCKET url (testing), if it's not defined socket.io defaults to window.location.host
2024-10-31 11:31:26 -04:00
Christopher (Cris) Fuhrman
c754d71623
Merge pull request #161 from ets-cfuhrman-pfe/ssl-changes
Change the way the back-end url is set to a socket url
2024-10-31 01:03:54 -04:00
C. Fuhrman
e2c4e5cba2 look at protocol in the env variable 2024-10-31 01:00:26 -04:00
C. Fuhrman
e113e2f9e9 Merge branch 'main' of https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir into ssl-changes 2024-10-31 00:02:16 -04:00
C. Fuhrman
327875dceb make sure backend env is set for client 2024-10-30 23:58:56 -04:00
Christopher (Cris) Fuhrman
00c0abdf73
Merge pull request #160 from ets-cfuhrman-pfe/ssl-changes
Ssl changes
2024-10-30 23:44:17 -04:00
C. Fuhrman
ed78dc12ef be sure to get the right variable 2024-10-30 23:42:21 -04:00
C. Fuhrman
d75850dac4 remove obsolete version info 2024-10-30 23:41:55 -04:00
Christopher (Cris) Fuhrman
92b97681fc
Merge pull request #159 from ets-cfuhrman-pfe/ssl-changes
Enable source maps for Vite (frontend) to help debugging in the browser.
2024-10-30 22:06:06 -04:00
C. Fuhrman
e04d09b8c5 npm update and set rollupOptions in vite config
The goal is to prevent errors with source maps
2024-10-30 22:04:48 -04:00
C. Fuhrman
123c49662f Enable source maps for Vite (frontend) to help debugging in the browser. 2024-10-30 21:40:35 -04:00
Christopher (Cris) Fuhrman
4181a73a7e
Merge pull request #157 from ets-cfuhrman-pfe/ssl-changes
Ssl changes (debugging, trying to make wss work in prod)
2024-10-30 17:23:43 -04:00
C. Fuhrman
8be2efbe48 try to force the correct url (ws: or wss:) on the socket when it's created 2024-10-30 17:20:13 -04:00
C. Fuhrman
46dae02d47 Console.log debug info 2024-10-30 17:19:11 -04:00
Christopher (Cris) Fuhrman
c8f9c5470c
Merge pull request #156 from ets-cfuhrman-pfe/ssl-changes
Don't make an HTTPS server, but configure sockets.io to use secure sockets
2024-10-29 10:12:42 -04:00
C. Fuhrman
e4aa91863c Don't make an HTTPS server, but configure sockets.io to use secure sockets 2024-10-29 10:10:13 -04:00
Christopher (Cris) Fuhrman
2b9665a47d
Merge pull request #155 from ets-cfuhrman-pfe/ssl-changes
Ssl changes, trying to fix wss problem with rooms
2024-10-28 12:55:55 -04:00
C. Fuhrman
0a8f8580f4 Create an https server (unless running in dev mode)
Not sure this will work in a container, however, with nginx in front of it.
2024-10-28 12:53:13 -04:00
C. Fuhrman
f5a2be82ca create https or http server according to environment 2024-10-25 15:31:48 -04:00
Christopher (Cris) Fuhrman
b1e9489ba9
Merge pull request #147 from ets-cfuhrman-pfe/backend-tests
Backend tests and refactorings
2024-10-15 21:09:29 -04:00
Christopher (Cris) Fuhrman
2cb0318dc8
Merge pull request #148 from gab9281/main
Fixes images for branch testing
2024-10-04 09:00:12 -04:00
3fea24630a Fixes images 2024-10-03 23:51:44 -04:00
C. Fuhrman
0fa1c6b775 fix broken test with create that throws error 2024-10-03 22:37:10 -04:00
C. Fuhrman
c093ddc5a8 fix broken test for folders.duplicate 2024-10-03 22:23:57 -04:00
C. Fuhrman
c089824b05 Fix some updating bugs 2024-10-03 22:18:03 -04:00
C. Fuhrman
1b824782b9 fix duplicate logic 2024-10-03 21:56:56 -04:00
C. Fuhrman
ff6d12e972 Copilot gave me a parallelized test script (front back)-end 2024-10-03 18:12:46 -04:00
C. Fuhrman
c0de854843 rename action 2024-10-03 17:55:59 -04:00
C. Fuhrman
10a110e898 refactored duplicate name logic, tests pass 2024-10-03 15:50:53 -04:00
C. Fuhrman
ee5ffa432b add test for Folder.create
found a bug with return new Error instead of throw new Error (!)
2024-10-03 13:17:14 -04:00
C. Fuhrman
b1d1173768 quiz tests passing 2024-10-03 12:05:20 -04:00
C. Fuhrman
f1d50315ba fix deprecated ObjectId conversion, remove extraneous refs to db and models 2024-10-02 20:23:15 -04:00
C. Fuhrman
b2144345d0 fix tests, remove debugging info 2024-10-02 14:30:53 -04:00
C. Fuhrman
45e6b80a2f fix reference to Quiz model 2024-10-02 14:09:49 -04:00
C. Fuhrman
89a5146afe order of instantiation in app.js, user needs folder model 2024-10-02 10:32:01 -04:00
C. Fuhrman
0fe07b84c6 Dependency injection of models to controllers, export controllers from app.js 2024-10-02 10:23:56 -04:00
C. Fuhrman
5815cd725a Tests for folders pass 2024-10-01 22:14:38 -04:00