Commit graph

259 commits

Author SHA1 Message Date
C. Fuhrman
afef820765 isDev n'était pas passé en paramètre (undefined) 2025-01-11 11:30:01 -05:00
C. Fuhrman
7c5c6739fa Définir les variables VITE_* (vide)
Vite est censé ne pas les changer par un .env.* (selon copilot)
2025-01-11 11:28:51 -05:00
C. Fuhrman
ec2f6cc358 Renommer .env à .env.development
Vite est censé ignorer ça en production (docker) tandis que .env serait toujours chargé
2025-01-11 11:27:36 -05:00
Christopher (Cris) Fuhrman
da3e810a32
Merge pull request #186 from ets-cfuhrman-pfe/fuhrmanator/issue185
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/issue185
2025-01-11 03:03:18 -05:00
C. Fuhrman
3c9a11e668 tweak eslint command 2025-01-11 03:01:40 -05:00
C. Fuhrman
236aaa6d09 more feedback on action 2025-01-11 02:47:48 -05:00
C. Fuhrman
63a3131729 run lint 2025-01-11 02:41:26 -05:00
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