Commit graph

552 commits

Author SHA1 Message Date
C. Fuhrman
9fa277c8d7 fix errors: 'React' is declared but its value is never read. 2025-01-11 02:32:14 -05:00
C. Fuhrman
50e92fb458 install eslint (client), fix errors (many) 2025-01-11 02:22:14 -05:00
C. Fuhrman
fd81e3b0d1 Install eslint in server, fix errors
configure
2025-01-11 00:03:05 -05:00
Christopher (Cris) Fuhrman
e5e7f61b71
Merge pull request #184 from ets-cfuhrman-pfe/fuhrmanator/issue171
Some checks are pending
CI/CD Pipeline for Backend / build_and_push_backend (push) Waiting to run
CI/CD Pipeline for Nginx Router / build_and_push_nginx (push) Waiting to run
CI/CD Pipeline for Frontend / build_and_push_frontend (push) Waiting to run
Tests / tests (client) (push) Waiting to run
Tests / tests (server) (push) Waiting to run
Fuhrmanator/issue171
2025-01-10 23:46:01 -05:00
C. Fuhrman
90e42865ba Clean up server startup
Fixes #171
2025-01-10 23:43:15 -05:00
Christopher (Cris) Fuhrman
839ee79912
Merge pull request #153 from ets-cfuhrman-pfe/fuhrmanator/issue78
Some checks are pending
CI/CD Pipeline for Backend / build_and_push_backend (push) Waiting to run
CI/CD Pipeline for Nginx Router / build_and_push_nginx (push) Waiting to run
CI/CD Pipeline for Frontend / build_and_push_frontend (push) Waiting to run
Tests / tests (client) (push) Waiting to run
Tests / tests (server) (push) Waiting to run
Nom du dossier pour chaque quiz devrait être affiché lorsque "tous les dossiers" sont affichés
2025-01-10 22:38:07 -05:00
Christopher (Cris) Fuhrman
2f14ac0ad2
Merge pull request #182 from ets-cfuhrman-pfe/JubaAzul/issue181
Some checks are pending
CI/CD Pipeline for Backend / build_and_push_backend (push) Waiting to run
CI/CD Pipeline for Nginx Router / build_and_push_nginx (push) Waiting to run
CI/CD Pipeline for Frontend / build_and_push_frontend (push) Waiting to run
Tests / tests (client) (push) Waiting to run
Tests / tests (server) (push) Waiting to run
Impossible de téleverser une image (Erreur 505)
2025-01-10 18:06:08 -05:00
JubaAzul
427182e7a8 Adding snapshot tests for editor 2025-01-10 17:39:19 -05:00
JubaAzul
ee00feef69 Impossible de téleverser une image (Erreur 505)
Fixes #181
2025-01-10 16:27:00 -05:00
C. Fuhrman
ea6454550c vite needs to understand the src mapping (redundant with tsconfig.json) 2025-01-10 15:56:43 -05:00
C. Fuhrman
6c73cfddc9 use src/constants (abs path) so it can remap when jest runs 2025-01-10 15:46:17 -05:00
C. Fuhrman
51d3d9f473 got back to import.meta (so dev version works) 2025-01-10 15:45:07 -05:00
C. Fuhrman
3faed3625e allow always using 'src/constants' (a kind of absolute path) 2025-01-10 15:44:22 -05:00
C. Fuhrman
535e726e6e use correct env variable 2025-01-10 15:43:12 -05:00
C. Fuhrman
3366fbe18c map the constants import to a mocked one 2025-01-10 15:42:47 -05:00
Christopher (Cris) Fuhrman
0a7f507a47
Merge pull request #180 from ets-cfuhrman-pfe/JubaAzul/issue179
Some checks are pending
CI/CD Pipeline for Backend / build_and_push_backend (push) Waiting to run
CI/CD Pipeline for Nginx Router / build_and_push_nginx (push) Waiting to run
CI/CD Pipeline for Frontend / build_and_push_frontend (push) Waiting to run
Tests / tests (client) (push) Waiting to run
Tests / tests (server) (push) Waiting to run
Login affiche "Nom de la salle" plutôt que "Mot de passe" et "Nom d'utilisateur" au lieu d' "Adresse courriel"
2025-01-10 13:39:44 -05:00
JubaAzul
81eedfbd29 Login affiche "Nom de la salle" plutôt que "Mot de passe" et "Nom d'utilisateur" au lieu d' "Adresse courriel"
Fixes #179
2025-01-10 13:20:40 -05:00
JubaAzul
ebc0c64ef4 Added tests 2025-01-10 12:39:52 -05:00
C. Fuhrman
4959e02acf Fix broken merge, npm audit fix 2025-01-10 11:09:06 -05:00
Christopher (Cris) Fuhrman
e0ac770230
Merge branch 'main' into fuhrmanator/issue78 2025-01-10 11:01:29 -05:00
Christopher (Cris) Fuhrman
f4e21ee7a9
Merge pull request #175 from ets-cfuhrman-pfe/JubaAzul/issue170
Some checks are pending
CI/CD Pipeline for Backend / build_and_push_backend (push) Waiting to run
CI/CD Pipeline for Nginx Router / build_and_push_nginx (push) Waiting to run
CI/CD Pipeline for Frontend / build_and_push_frontend (push) Waiting to run
Tests / tests (client) (push) Waiting to run
Tests / tests (server) (push) Waiting to run
LaTeX mal affichée quand on lance le quiz (mais ok en Prévisualisation)
2025-01-09 16:30:09 -05:00
Christopher (Cris) Fuhrman
ecf4f9a819
Merge pull request #174 from ets-cfuhrman-pfe/JubaAzul/issue74
Ajustement de l'interface problématique dans l'éditeur de quiz
2025-01-09 16:28:57 -05:00
JubaAzul
ebd6101a64 LaTeX mal affichée quand on lance le quiz (mais ok en Prévisualisation)
Fixes #170
2025-01-08 16:45:48 -05:00
JubaAzul
c3de76cd20 Ajustement de l'interface problématique dans l'éditeur de quiz
Fixes #74
2025-01-08 13:48:03 -05:00
Christopher (Cris) Fuhrman
b46c1c1934
Merge pull request #172 from ets-cfuhrman-pfe/JubaAzul/issue146
Some checks failed
CI/CD Pipeline for Backend / build_and_push_backend (push) Has been cancelled
CI/CD Pipeline for Nginx Router / build_and_push_nginx (push) Has been cancelled
CI/CD Pipeline for Frontend / build_and_push_frontend (push) Has been cancelled
Tests / tests (client) (push) Has been cancelled
Tests / tests (server) (push) Has been cancelled
Icône pour dupliquer est l'icône pour copier (presse papiers)
2025-01-08 10:39:47 -05:00
JubaAzul
5c64f60021 Icône pour dupliquer est l'icône pour copier (presse papiers)
Fixes #146
2025-01-08 10:35:56 -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
C. Fuhrman
d57c61f78f Nom du dossier pour chaque quiz devrait être affiché lorsque "tous les dossiers" sont affichés
Fixes #78
Uses Cards in Material UI to display the quizzes by folder
2024-10-19 22:58:49 -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