Commit Graph
30 Commits
Author SHA1 Message Date
Erza Bytyci 5cc4db08bb improve jumbled exercise: rename, add feedback option, functionality 2026-05-25 07:59:20 +00:00
Erza Bytyci 50dfa974aa Add New Exercise: Jumbled Sentence 2026-05-21 11:33:00 +00:00
Erza Bytyci afcc1745df Fix Click function and add rich editor, improve Gap edit functionality, fix the editor 2026-05-13 07:58:56 +00:00
strasmus1 64263471a2 Memory game exercise 2026-05-07 09:36:10 +00:00
Erza Bytyci 1834eb958c Update schema.sql 2026-05-06 07:38:24 +00:00
Erza Bytyci be66aeb855 Add new exercise: Match exercise 2026-05-06 07:33:00 +00:00
Erza Bytyci ed42af7f17 fix:click exercise,free from: add title for exercises, rename Drag und Drop 2026-04-29 11:48:24 +00:00
Erza Bytyci b7dd293816 Add Fill-in-the-Gap Exercise, extend admin features and improve editor 2026-04-22 16:55:08 +00:00
Erza d4e5b81d8b feat: communication- add descriptions/alphabetical ordering, grammar-list cleanup/renderer fix, lernen- sort by number/improve chapter navigation buttons, ensure images scale correctly, update tests 2026-04-16 20:11:38 +00:00
Erza 2f604c6b9c fix New Page functionality, restore score bar order, improve page sorting, and remove slug input 2026-04-14 12:48:19 +00:00
Erza 252a8babc6 Updated schema.sql 2026-04-10 10:20:28 +00:00
Erza 376aa57c6b Update schema.sql 2026-04-10 09:26:06 +00:00
Erza ff2a9b6bef Generate more questions in one exercise for FreeForm, added edit or delete options for FreeForm exercises 2026-04-10 09:11:47 +00:00
Erza 506dd29584 Fixed line endings in schema.sql 2026-03-19 18:38:04 +00:00
Erza 541b5d1a10 Update schema.sql after superadmin migration 2026-03-19 15:47:05 +00:00
Erza 46e1931bbc Update schema.sql after migration 2026-03-19 12:58:15 +00:00
LosEvons 458ff4e0a0 Adjusted pathing and checks to hopefully fix problems with testing. Added coverage functionality. 2025-11-20 12:00:58 +00:00
Paul Veltheim 22fcf9f5ba getHTMLContent takes type argument now, communications texts successfully migrated 2025-10-30 20:50:40 +02:00
Miika Holmlund 03b767a9fa Update schema.sql with new html tables 2025-10-06 11:24:21 +03:00
Axel AdlercreutzandGitHub f8a794d2ff axel/improved anchors (#344)
* improved anchors

* copy buttons

* codegen
2025-05-02 15:21:52 +03:00
Axel AdlercreutzandGitHub 00e9686733 axel/fix form (#345)
* offline answrs

* better lightmode colors

* fix test

* run e2e test

* install before run

* node env test

* cleanup

* fix
2025-05-02 15:21:36 +03:00
Vili-Ilari KaistoandGitHub 154078088b Vili/clickfixes (#343)
* UI and usability fixes

* refactoring click exercise to save user answers

* add functionality to save user answers

* fetch user answers

* quick cleanup

* add tests

* fix using testfactory
2025-04-30 12:49:06 +03:00
5a2a4d1844 Admin can create a new drag and drop -exercise (#337)
* Changed admindragdrop location and started connecting it to the database

* Moved files

* Added title for the d&d exercise creation

* Create button can't be pressed until all fields are filled

* Added a preview-window for when creating a drag and drop exercise

* the data now submits correctly from page.js

* data is now received in the correct format

* update schema

* added linkbutton, linked dragdrop form

* Fixed cancel-button link

* Added cancel-button

* Fixed the blue-color

* translated dnd admin form to German

* Creating tests

* fix migration

* Fixed the test

* Re-made translations from English to German cause of a merge fail

* Fixed the bug that broke the color picking function. Translated rest of the words to German

* run dbreset

---------

Co-authored-by: Mari Lehtikari <mari.lehtikari@helsinki.fi>
Co-authored-by: DoebelnAtz <axel.ej.adlercreutz@gmail.com>
2025-04-29 16:47:33 +03:00
Axel AdlercreutzandGitHub bab6c5bca4 fix migration (#326)
* fix migration

* allow null

* codegen

* fix gen

* schema
2025-04-25 13:13:15 +03:00
Axel AdlercreutzandGitHub 483188f404 axel/exercise anchors backend (#298)
* backend routes for anchors

* migration

* frontend components

* schema

* use logger

* use snake-case

* cleanup

* use variables

* axel/anchor frontend (#308)

* add ability to link & unlink

* add ability to link & unlink

* style and bugfix
2025-04-24 15:19:17 +03:00
Jukka KuustoandGitHub b598ba3d99 Jukka/multichoice db (#304)
* Create database tables for multichoice exercise

* Fetch exercise data from DB, form page slugs according to multichoice_exercises id

* Populate DB with example multichoice exercise data

* Remove confusing user message while useQuery handles data

* Display exercise description

* Add automatic shuffle of multichoice options order

* Reset incorrect answer style coloring when user reselects an answer option (before resubmitting)

* Rename migrations to avoid conflicts with master

* Update populate file with category column

* Create tests for multichoice exercise

* Fix typo from conflict resolving
2025-04-24 14:21:53 +03:00
a5878e1171 Updated drag and drop schema (#266)
* Creating a page for admin to create d&d exercise

* Made dropdown menu for the number of boxes that will then dynamically appear on the screen

* Added word boxes next to titles

* Fixed based on comments: 1. there is no number of boxes choosed in the beginning 2. the fields don't reset when the number of boxes is changed

* changed titles to categories

* added color option dropdown menu

* changed layout to rows

* added colors to the dropdown options

* changes to dnd schema

* update dnd schema

* added route file

* Small db changes

* Commented changes away for now

* Updated drag and drop schema

* reordered columns for consistency

* adjusted gaps

* added created_by reference to exercises and dnd_exercises

* added dropdown components

* fixed naming

* Dropdown menu changes to get colors to work

* Added style to dropdown component

* Deleted old comments

* Made progress with database connection

* Made corrections, now the exercise is connected from the database and displayed on the screen.

* Fixed a bug (when dropping a wordbox, the page froze)

* Fixed a bug, now the font color changes when the wordbox is dropped to the right dustbin

* Deleted unnecessary itemtypes file

* Made a sample drag and drop exercise

* Reverted old migrations and made a new one

* Fixed the add dnd exercise migration and altered the old dnd migration file with a new file

* Changes made based on comments

* Lint fix

* add schema

---------

Co-authored-by: Mari Lehtikari <mari.lehtikari@helsinki.fi>
Co-authored-by: DoebelnAtz <axel.ej.adlercreutz@gmail.com>
2025-04-16 16:14:56 +03:00
Vili-Ilari KaistoandGitHub 3d5935ce3c Vili/redirectpath (#276)
* add redirect for click_exercises

* add redirect freeform

* add tests for reroute

* fix tests

* fix
2025-04-16 14:17:03 +03:00
Axel AdlercreutzandGitHub bdd4ec1755 glossary admin page (#273) 2025-04-16 10:51:34 +03:00
Axel AdlercreutzandGitHub 8d106964f4 fix (#271)
* fix

* update requests

* fixes

* ssl

* fix test

* remove pgbouncer

* cleanup
2025-04-11 11:29:54 +03:00