Commit graph

203 commits

Author SHA1 Message Date
JubaAzul
a539284813 [Katex] La L'affichage du tableau AVEC réponses pose problème lorsqu'il y a des équations
Fixes #226
2025-02-06 12:52:53 -05:00
JubaAzul
3a592ef2dc Fenêtre de rétroaction n'est pas compatible avec les longues réponses
Fixes #230
2025-02-05 19:56:04 -05:00
JubaAzul
fc623582e0 [Rythme enseignant] Fenêtre de rétroaction reste ouverte pour les prochaines questions si l'étudiant ne l'enlève pas
Fixes #222
2025-02-05 19:45:55 -05:00
JubaAzul
4356769d43 Fenêtre de rétroaction n'est pas compatible avec les longues réponses
Fixes #230
2025-02-05 18:48:52 -05:00
JubaAzul
99f4f5c7c3 Affichage du tableau AVEC réponses longue devrait être adaptés
Fixes #228
2025-02-05 11:50:42 -05:00
JubaAzul
705b0f1ddb [Katex] La L'affichage du tableau AVEC réponses pose problème lorsqu'il y a des équations
Fixes #226
2025-02-05 10:29:36 -05:00
Christopher (Cris) Fuhrman
4b7e93a199
Merge pull request #208 from ets-cfuhrman-pfe/JubaAzul/issue207
Some checks failed
CI/CD Pipeline for Backend / build_and_push_backend (push) Failing after 1m10s
CI/CD Pipeline for Nginx Router / build_and_push_nginx (push) Failing after 50s
CI/CD Pipeline for Frontend / build_and_push_frontend (push) Failing after 17s
Tests / tests (client) (push) Failing after 1m26s
Tests / tests (server) (push) Failing after 1m1s
Indiquer le numéro de la question dans l'affichage enseignant
2025-02-05 08:35:50 -05:00
JubaAzul
1aba1d6098 Indiquer le numéro de la question dans l'affichage enseignant
Fixes #207
2025-02-04 23:14:10 -05:00
JubaAzul
8edc77d217 [Katex] La L'affichage du tableau AVEC réponses pose problème lorsqu'il y a des équations
Fixes #226
2025-02-04 20:21:32 -05:00
Eddi3_As
68f301b972 Merge remote-tracking branch 'test/main' into PFEH25-merge-it2main 2025-02-03 18:45:48 -05:00
JubaAzul
44f36a3a6b Problème dans l'affichage des rétroactions Katek pour les prévisualisations (Éditeur de quiz)
Fixes #221
2025-02-03 15:47:05 -05:00
JubaAzul
d7b33423e8 Problème dans l'affichage des rétroactions Katek pour les questions réponses courtes et numériques
Fixes #220
2025-02-03 13:53:40 -05:00
C. Fuhrman
f781173695 Afficher error (console) pour éviter warnings eslint 2025-02-02 12:54:25 -05:00
C. Fuhrman
2de7671666 Corriger des tests et auto-fix des problèmes de style 2025-02-02 12:42:05 -05:00
Christopher (Cris) Fuhrman
4b9ded9a26
Merge pull request #219 from ets-cfuhrman-pfe/JubaAzul/issue218
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
L'affichage de la bonne réponse dans les rétroactions ne fonctionne plus
2025-01-31 22:58:29 -05:00
JubaAzul
e8b1163733 L'affichage de la bonne réponse dans les rétroactions ne fonctionne plus
Fixes #218
2025-01-31 15:55:37 -05:00
Christopher (Cris) Fuhrman
e9ae3237a0
Merge pull request #193 from ets-cfuhrman-pfe/JubaAzul/issue137
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
Ce n'est pas évident que le format [markdown] doit être utilisé pour les images
2025-01-31 09:39:52 -05:00
JubaAzul
c65181f7bf L'affichage de la bonne réponse dans les rétroactions ne fonctionne plus
Fixes #218
2025-01-30 23:01:04 -05:00
Eddi3_As
6b4364c7c7 PFEH2025 - merge entre main et dev-it2-PFEA2024 pour activation SSO 2025-01-29 21:45:41 -05:00
JubaAzul
3e1a88377a Merge branch 'main' into JubaAzul/issue207 2025-01-29 13:10:15 -05:00
JubaAzul
98f2b917ac Merge branch 'main' into JubaAzul/issue207 2025-01-28 16:03:13 -05:00
C. Fuhrman
d8b1134756 Merge branch 'main' into gift-pegjs-2.0 2025-01-28 15:28:45 -05:00
C. Fuhrman
29fd478523 Fixes #201
Copilot GPT 4o a suggéré la nouvelle fonction pour remplacer les `\n` seulement en dehors des PATH svg.
2025-01-27 13:14:50 -05:00
C. Fuhrman
842c5956c2 new snapshots, npm audit fix 2025-01-27 12:50:36 -05:00
C. Fuhrman
77df751708 css tweaking answer weights 2025-01-26 22:41:11 -05:00
C. Fuhrman
357fd1a271 Renommer dossier à nom existant donne erreur
Le middleware des erreurs ne fonctionnait pas correctement, parce que les routeurs ne passaient pas à next
J'ai ajouté asyncHandler pour passer les erreurs dans les routeurs
Supprimer messages de console
Fix tests
2025-01-26 21:50:57 -05:00
C. Fuhrman
cf13ac6767 refresh page après renommage 2025-01-26 16:56:49 -05:00
C. Fuhrman
55b6c41148 new test for resized images 2025-01-26 16:50:15 -05:00
C. Fuhrman
917d7d03c7 Cheat sheet with image resize example 2025-01-26 16:42:21 -05:00
C. Fuhrman
4232afc57c render images (changer taille) 2025-01-26 16:31:47 -05:00
C. Fuhrman
7fed2bb135 update snapshots 2025-01-26 15:43:14 -05:00
C. Fuhrman
122685b0de separate numerical answers, weight, feedback (tf and mc) snapshot updates, css 2025-01-26 15:42:31 -05:00
C. Fuhrman
c55baed45c fix template, update snapshots numerical answers (formatted stem, multiple answers with feedback) 2025-01-26 13:26:17 -05:00
C. Fuhrman
e51551ec9b turn off debug msg 2025-01-26 13:25:29 -05:00
C. Fuhrman
bc0d2b1f14 true false snapshots (formattedStem) 2025-01-26 12:51:15 -05:00
C. Fuhrman
688869188c update snapshots (formatted Stem) 2025-01-26 12:50:14 -05:00
C. Fuhrman
1f241a45fe turn off debug messages 2025-01-26 12:49:50 -05:00
C. Fuhrman
f1375d8e10 multiple choice snapshots updated 2025-01-26 12:45:10 -05:00
C. Fuhrman
7af156f726 Fix tests 2025-01-26 11:51:12 -05:00
C. Fuhrman
910b83def2 Rename 2025-01-26 09:33:42 -05:00
C. Fuhrman
a59574a8b3 clean an error 2025-01-25 14:38:58 -05:00
C. Fuhrman
bb5b2b5e61 Renames, centralize sanitize(), StemTemplate 2025-01-25 14:19:31 -05:00
C. Fuhrman
7dbbfbfe65 Latest beta of gift, true-false and mc tweaks, stem style 2025-01-25 10:36:07 -05:00
C. Fuhrman
82b904ef82 Some template (snapshot) tests reveal trouble 2025-01-25 02:07:38 -05:00
C. Fuhrman
cb46a18370 Renames, passing many tests 2025-01-25 02:02:18 -05:00
C. Fuhrman
00e45f0f09 rename template 2025-01-24 16:51:30 -05:00
C. Fuhrman
54dc6b48a6 Renames (Display), fixes 2025-01-24 16:50:01 -05:00
C. Fuhrman
8a7a444718 baby steps (getting tests running) 2025-01-24 14:51:58 -05:00
C. Fuhrman
d047c787b7 fix broken import 2025-01-23 22:43:50 -05:00
C. Fuhrman
39a7ecce31 Some tests passing (MultipleChoiceQuestionDisplay.test.ts) 2025-01-23 22:38:22 -05:00
JubaAzul
b49057a8ff Only show the current question for teacher mode 2025-01-23 20:23:15 -05:00
JubaAzul
226cc24532 Indiquer le numéro de la question dans l'affichage enseignant
Fixes #207
2025-01-23 20:12:47 -05:00
Christopher (Cris) Fuhrman
6f270b5436
Merge pull request #198 from ets-cfuhrman-pfe/JubaAzul/issue197
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
Juba azul/issue197
2025-01-22 20:55:08 -05:00
Christopher (Cris) Fuhrman
4b133400d4
Merge pull request #205 from ets-cfuhrman-pfe/JubaAzul/issue145
Juba azul/issue145
2025-01-22 20:49:54 -05:00
Christopher (Cris) Fuhrman
70e74e2342
Merge pull request #206 from ets-cfuhrman-pfe/JubaAzul/issue74
Update editorQuiz.css
2025-01-22 20:48:13 -05:00
JubaAzul
da4e54534e Update editorQuiz.css 2025-01-22 16:46:09 -05:00
JubaAzul
5018625693 Fix tests 2025-01-22 16:06:23 -05:00
JubaAzul
22f988f2ad Confusion avec la navigation dans les questions à rythme de l'enseignant
Fixes #145
2025-01-22 15:28:45 -05:00
JubaAzul
3e9152fa5c Confusion avec la navigation dans les questions à rythme de l'enseignant
Fixes #145
2025-01-21 15:35:07 -05:00
JubaAzul
0a6383b2ec Exemples (copiés) ne sont pas valides et les directives ne sont pas bonnes
Fixes #197
2025-01-20 12:16:21 -05:00
JubaAzul
9323763046 Merge branch 'main' into JubaAzul/issue137 2025-01-17 12:13:45 -05:00
JubaAzul
a04ec3a2e7
Merge branch 'main' into add-composant-and-snapshot-tests-for-the-EditorQuiz 2025-01-17 10:50:04 -05:00
Christopher (Cris) Fuhrman
4f58c4d412
Merge pull request #194 from ets-cfuhrman-pfe/Scroll-up-arrow-inside-quizEditor
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
Button pour monter en haut de la page d'éditeur de quiz
2025-01-16 17:05:41 -05:00
JubaAzul
1c928c8350 Chemin absolu pour les imports 2025-01-16 12:37:07 -05:00
JubaAzul
89dd55ca8f try import react inside class 2025-01-16 12:02:13 -05:00
JubaAzul
b46e2e3985 removed import in every class, try to update react 2025-01-16 12:02:13 -05:00
JubaAzul
3eb7ef084c Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer 2025-01-16 12:00:48 -05:00
JubaAzul
3c9b14dd9d Used "@ts-expect-error" instead of "@ts-ignore" 2025-01-16 12:00:48 -05:00
JubaAzul
15805e2e7e import react inside class for pipeline, not IDE 2025-01-16 11:59:02 -05:00
JubaAzul
159ed5fa5c removed import in every class, try to update react 2025-01-16 10:40:27 -05:00
JubaAzul
470d856afc Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer 2025-01-15 10:40:40 -05:00
JubaAzul
8d14e49095 Used "@ts-expect-error" instead of "@ts-ignore" 2025-01-15 10:30:45 -05:00
JubaAzul
9444603a93 import react inside class for pipeline, not IDE 2025-01-15 10:27:28 -05:00
JubaAzul
f43da4c8ba Risques sécurité dangerouslySetInnerHTML()
Fixes #192
2025-01-15 09:07:56 -05:00
JubaAzul
d18c2c502a Button pour monter en haut de la page d'éditeur de quiz 2025-01-14 17:37:29 -05:00
JubaAzul
69b5d3f2f9 Amélioration avec interaction 2025-01-14 16:21:32 -05:00
JubaAzul
ce6d9f9a2e Ce n'est pas évident que le format [markdown] doit être utilisé pour les images
Fixes #137
2025-01-14 15:06:41 -05:00
JubaAzul
59b7fa02e0 try import react inside class 2025-01-13 20:03:12 -05:00
JubaAzul
b834c8f06f Import react in tests classes 2025-01-13 19:47:37 -05:00
JubaAzul
f201305064 Revert node change 2025-01-13 18:47:28 -05:00
JubaAzul
12b376d606 Correciton pull 2025-01-13 18:34:25 -05:00
C. Fuhrman
50e92fb458 install eslint (client), fix errors (many) 2025-01-11 02:22:14 -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
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
JubaAzul
427182e7a8 Adding snapshot tests for editor 2025-01-10 17:39:19 -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
3366fbe18c map the constants import to a mocked one 2025-01-10 15:42:47 -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
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
JubaAzul
5c64f60021 Icône pour dupliquer est l'icône pour copier (presse papiers)
Fixes #146
2025-01-08 10:35:56 -05: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
C. Fuhrman
e2c4e5cba2 look at protocol in the env variable 2024-10-31 01:00:26 -04:00
C. Fuhrman
ed78dc12ef be sure to get the right variable 2024-10-30 23:42:21 -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