Daniel Egger
321c57b709
Make assignment creation more generic
2023-05-24 15:20:49 +02:00
Daniel Egger
0f0d1632a7
VBV-279: Inhaltstyp Reflexion
2023-05-24 15:20:47 +02:00
Daniel Egger
b1d14fd691
Fix tests
2023-05-24 15:20:30 +02:00
Daniel Egger
9be0ce9d39
Frontend: "Vorbereitungsauftrag"
2023-05-24 15:19:49 +02:00
Daniel Egger
951d9b42e6
Add text for "Vorbereitunsauftrag"
2023-05-24 15:19:10 +02:00
Elia Bieri
100e42bdd2
Reformat code
2023-05-23 16:43:24 +02:00
Elia Bieri
09dcfcc418
Implement additional fields
2023-05-23 16:43:18 +02:00
Elia Bieri
b7cdc0ddde
Add attendance course start- and endtime
2023-05-23 15:35:19 +02:00
Elia Bieri
132c115e8b
Rename attendance days to attendance courses
2023-05-23 15:34:59 +02:00
Daniel Egger
bc368e7a2f
Fix cypress tests
2023-05-19 14:50:41 +02:00
Daniel Egger
4fb534aa25
Create `create_course_uk_de_completion_data` with algo
2023-05-19 14:05:14 +02:00
Daniel Egger
decba980f5
Rework Media Library
2023-05-19 10:17:25 +02:00
Daniel Egger
500228a7f8
Merge branch 'develop' into feature/VBV-372-lk-update
2023-05-17 19:21:19 +02:00
Daniel Egger
9e3124160a
Add some test data and clean up some things
2023-05-17 19:09:33 +02:00
Christian Cueni
d139744f4f
Update competences
2023-05-17 14:26:47 +02:00
Daniel Egger
31dae0a5cd
VBV-306: Use GraphQL for assignment code
2023-05-15 19:07:06 +02:00
Daniel Egger
e130d65f37
Merged in feature/VBV-339-assignment-cypress-test (pull request #79 )
...
Feature/VBV-339 assignment cypress test UNFINISHED
* Create assignment submission test data for cypress test
* Add first assignment trainer test
* Add first cypress test which checks DB entry with all instrumentation
2023-05-12 14:33:14 +00:00
Daniel Egger
b313bad031
Rename field `type` to `content_type` in REST response
...
In Wagtail Grapple/GraphQL the field is already called `content_type`
2023-05-12 13:38:35 +02:00
Daniel Egger
a15af2bf86
VBV-350: Refactor LearningContent to individual wagtail pages
2023-05-12 11:51:02 +02:00
Daniel Egger
d1907182a3
Fix cypress tests
2023-05-09 13:46:43 +02:00
Daniel Egger
d9a6f2dd94
Add EvaluationIntro
2023-05-08 14:27:39 +02:00
Daniel Egger
fef864df25
VBV-321: squash current work
...
Load and display AssignmentCompletionStatus
Datenmodell um Bewertungskriterien erweitern
Refactor assignment pages
Show user results
Update some data fields
Show user assignment evaluation
Changes after rebase
Rename `grading` -> `evaluation`
Add evaluation data to AssignmentCompletion
Refactor usage of `assignmentStore`
Store points for evaluation
Only debounce text
Show user responses on evaluation page
2023-05-08 14:24:38 +02:00
Ramon Wenger
96334b4eb6
Merged in feature/VBV-304-praesenztag-ui (pull request #65 )
...
Feature/VBV-304 praesenztag ui
Approved-by: Daniel Egger
2023-04-26 09:57:22 +00:00
Ramon Wenger
fba93a8f63
Fix ufmt issues
2023-04-25 17:59:25 +02:00
Ramon Wenger
9dd9a02592
Add new package to help with editing JSON fields
2023-04-25 17:23:58 +02:00
Daniel Egger
9580d79559
Add more validation to `update_assignment_completion`
2023-04-25 13:20:02 +02:00
Daniel Egger
adc61479fc
Merged in feature/VBV-290-kn-backend (pull request #59 )
...
Feature/VBV-290 kn backend
* Add initial assignment completion model
* Add first version of `update_assignment_completion`
* Upgrade wagtail>=4 for new functions needed in assignment api
* Add API to update assignment user data
* Post API via assignment not learning_content
* Add GET api endpoints for AssignmentCompletion
* Add some initial assignment completion data
* Add admin view for AssignmentCompletion
Approved-by: Elia Bieri
2023-04-18 08:07:29 +00:00
Daniel Egger
5955ad83a3
Add widget to pretty print JSONFields in admin
2023-04-14 16:11:31 +02:00
Daniel Egger
c0dc4d6a2f
Fix python tests
2023-04-14 10:02:33 +02:00
Daniel Egger
c64341a6c1
Refactor test course to make it more realistic
2023-04-14 09:31:37 +02:00
Daniel Egger
a3e4a50ba0
Add unit test to test creation of slug while saving
2023-04-13 20:03:09 +02:00
Daniel Egger
80cd70ace6
Link courseSessionAssignmentDetails to AssignmentView
2023-04-06 21:39:44 +02:00
Daniel Egger
8f84ef7502
Adapt api so it can fetch assignment page by id
2023-04-05 21:43:15 +02:00
Daniel Egger
b0cc789549
Attach Assignment to LearningPath
2023-04-05 21:43:15 +02:00
Daniel Egger
539ddbeaf9
Refactor the models
2023-04-05 21:43:15 +02:00
Elia Bieri
9ecb9a9add
Add initial wagtail models
2023-04-05 21:43:15 +02:00
Daniel Egger
2c3b77b0d8
VBV-234: Bugfix neue Seiten im Wagtail erstellen
...
Der `parent` einer Page ist erst in der `save` Funktion
vorhanden für eine neue Seite. Deshalb muss man das
Überschreiben der `slug` im `save` machen.
2023-04-05 21:43:00 +02:00
Daniel Egger
1d88117d99
Refactor `attendance_days` to its own field
2023-04-04 08:45:42 +02:00
Daniel Egger
9ee97ffc55
Format code
2023-04-03 18:55:05 +02:00
Daniel Egger
9177b9e003
Get attendance day details in relevant views
2023-04-03 18:39:36 +02:00
Daniel Egger
1437bc9b53
VBV-304: Add `AssignmentDayBlock`
2023-04-03 18:09:22 +02:00
Daniel Egger
8d41d3d3a2
VBV-193 refactored course completion for course sessions
2023-03-31 18:27:47 +02:00
Daniel Egger
18f7728793
VBV-302: Refactor Header for course session switching
2023-03-31 15:21:20 +02:00
Daniel Egger
724f31f4a8
Handle multiple CourseSessions for user
2023-03-31 11:18:55 +02:00
Daniel Egger
edcfab1dd3
Format code according to new library rules
2023-03-31 10:07:27 +02:00
Daniel Egger
a0c7dec316
Improve course creation scripts to only create some courses
2023-03-29 17:39:09 +02:00
Daniel Egger
2263c82ce6
Remove creation of Versicherungsvermittler (alt)
2023-03-29 16:20:55 +02:00
Christian Cueni
97879b570c
Show only start and stop icon in circle
2023-03-27 11:34:09 +02:00
Daniel Egger
1f7b9252ab
Remove api page chache -> it is not needed anymore
2023-03-17 11:15:56 +01:00
Daniel Egger
45533e0b2d
Refactor `frontend_url` calculation to avoid DB access and improve
...
performance
Das initiale Laden des Lernpfads dauerte so lange, weil das berechnen
des Felds `frontend_url` sehr viele DB-Zugriffe auf die jeweiligen
"parents" einer Page machten.
Die gleiche Berechnung kann man aber auch direkt aus dem `slug`
ohne Zugriff auf die Parents machen.
Das wurde hier gemacht. Das ganze beruht darauf, dass die page-`slug`
in einem bestimmten Format ist. Um das weiter zu bearbeiten,
habe ich VBV-296 erstellt.
2023-03-17 11:12:42 +01:00