Commit Graph

618 Commits

Author SHA1 Message Date
Christian Cueni 6083ab8c92 Add demo courses again 2023-08-03 08:06:55 +02:00
Christian Cueni 097750184c Add acceptance to IT/FR uk 2023-08-02 18:38:01 +02:00
Christian Cueni 28b2265465 Add prepwork IT/FR, add link to allowed features 2023-08-02 18:34:15 +02:00
Christian Cueni a7dde5e58c WIP: use parameters for vv creation
Use competence page from course, make multilang fns
2023-08-02 18:33:11 +02:00
Elia Bieri 3a2d12c0b9 Merged in feature/VBV-474-auftragstyp-condition-acceptance (pull request #173)
Add CONDITION_ACCEPTANCE assignment type

* Add CONDITION_ACCEPTANCE assignment type

* Add translations

* Create default CONDITION_ACCEPTANCE assignment

* Move CONDITION_ACCEPTANCE assignment in learning sequence

* Add additional translations

* Add condition acceptance to ÜK basis circle

# Conflicts:
#	server/vbv_lernwelt/course/management/commands/create_default_courses.py

* Move condition acceptance to kickoff circle
2023-08-02 08:13:35 +00:00
Daniel Egger a999375f23 Update slugs when parent changes slug due to title change 2023-07-24 13:37:06 +02:00
Daniel Egger 6654d61761 Refactor some course creation stuff 2023-07-24 13:37:06 +02:00
Daniel Egger f3ed9db437 Change some settings for Wagtail 2023-07-24 13:37:06 +02:00
Christian Cueni 15af550ab7 Fix courseSessionUsers admin view 2023-07-24 13:17:28 +02:00
Christian Cueni 0f744332cb Update documents 2023-07-24 08:39:02 +02:00
Daniel Egger d90030b614 Update urls in course creation scripts 2023-07-21 13:56:09 +02:00
Daniel Egger f357e34536 Fix cypress tests 2023-07-21 13:56:09 +02:00
Daniel Egger 815d81a471 Simplify media library models 2023-07-21 13:56:09 +02:00
Christian Cueni a1403f8a54 Merged in feature/VBV-464-excel-importer (pull request #160)
Feature/VBV-464 excel importer

Approved-by: Daniel Egger
2023-07-21 10:07:50 +00:00
Daniel Egger 842b0b4334 Update not delete `CourseSessionAttendanceCourse` 2023-07-21 10:24:52 +02:00
Daniel Egger dfc0a01e9f Add more details to error message 2023-07-21 09:22:54 +02:00
Daniel Egger 0798efc7f2 Merged in feature/VBV-453-graphql-learningpath-server (pull request #161)
Feature/VBV-453 graphql learningpath server

Approved-by: Elia Bieri
2023-07-21 06:40:25 +00:00
Elia Bieri b970597a81 Merged in feature/VBV-451-anwesenheitskontrolle-frontend (pull request #150)
VBV-451 Anwesenheitskontrolle frontend & neues Cockpit

* Regenerate graphql types after rebase

* Fix grading progress

* Fix cypress tests

* Fix circle selection and add CourseSessionAssignment for Fahrzeug Vorbereitungsauftrag

* Use `LearningContentAssignment` explictly

* Improve type safety without `as`

* Disable feedback details button when no feedback

* Extend submission overview titles after review

* Improve attendance check state handling

* Minor translation/wording fixes


Approved-by: Daniel Egger
2023-07-20 16:22:28 +00:00
Christian Cueni 5d0f7b88b5 Add sync 2023-07-20 15:34:10 +02:00
Christian Cueni 12977b01cc Add real courses data, update importer
Make course optional on import

Add importer in admin

Use new trainer format in xls

Import trainers via admin interface

Add participant import

Update tests

Update url, handle error

Refactor importer

Add json field

Fix tests

Add update test
2023-07-20 15:34:10 +02:00
Christian Cueni 65d527d894 Add student export for edoniq 2023-07-19 16:02:11 +02:00
Christian Cueni 6e9d87797e Fix css 2023-07-18 07:46:18 +02:00
Christian Cueni 1ca8a8cf81 Translate circles 2023-07-18 07:46:18 +02:00
Daniel Egger da03b407bb Add GraphQL server code for learning path 2023-07-17 17:52:27 +02:00
Daniel Egger e8178fa36a Format code 2023-07-14 17:14:00 +02:00
Daniel Egger e208fdabbc Change after making UUIDs 2023-07-14 17:13:21 +02:00
Daniel Egger f25602c84c Change types to use UUID ids 2023-07-14 14:55:45 +02:00
Daniel Egger 5ed883e83b Use UUIDs as primary key for models with user context 2023-07-14 14:37:59 +02:00
Daniel Egger 7c2190feaa Reset migrations 2023-07-14 14:16:38 +02:00
Daniel Egger 76e53a205c Improve error handling a bit... 2023-07-14 13:15:28 +02:00
Daniel Egger c97ec9b399 Adapt AssignmentCompletion model to include page_id 2023-07-12 19:06:51 +02:00
Elia Bieri 4b0a881055 Merged in feature/VBV-326-auftrag-benachrichtigungen-rebased (pull request #157)
Feature/VBV-326 auftrag benachrichtigungen rebased

* Implement notifications for assignments

# Conflicts:
#	server/vbv_lernwelt/assignment/services.py

* Add cypress test for student assignment submission

* Update django-notifications-hq

* Rework


Approved-by: Daniel Egger
2023-07-12 14:32:49 +00:00
Daniel Egger 5b3da272ce Changes after code review 2023-07-12 15:21:55 +02:00
Daniel Egger 5d29fb7a76 Set due_dates for courses explicitly 2023-07-12 11:45:02 +02:00
Daniel Egger c1f29a02a0 Fix problems after rebase 2023-07-12 10:21:23 +02:00
Daniel Egger 3d4654efbc Mark LearningContentAssignment completion in backend 2023-07-12 10:21:23 +02:00
Daniel Egger 36152a4364 Do not auto mark completion if the user should not be able to do it 2023-07-12 10:21:23 +02:00
Daniel Egger 1b7a3a401e VBV-459: Add flag for user course completion self toggle 2023-07-12 10:21:23 +02:00
Daniel Egger 3bd489d2ae Refactor `CourseCompletion` model 2023-07-12 10:21:23 +02:00
Daniel Egger ab8dbd09ef Working with enums in graphql... 2023-07-12 10:21:23 +02:00
Daniel Egger b9c9b009ff Add more typing 2023-07-12 10:21:23 +02:00
Daniel Egger 46b14bd4e7 Refactor attendance_course code into its own module 2023-07-12 10:21:23 +02:00
Daniel Egger eb0b03f413 Create mutation with test case 2023-07-12 10:21:23 +02:00
Daniel Egger a75bb14e4c Add simple graphql types for CourseSessionAttendanceCourse 2023-07-12 10:21:22 +02:00
Daniel Egger 282e62ef6f "start" not "end" should be mandatory 2023-07-12 09:59:29 +02:00
Daniel Egger c4d10badf6 Standardize name `duedates` to `due_dates` 2023-07-12 09:15:21 +02:00
Daniel Egger 5890e908f2 Add CourseSessionAssignment to serializer 2023-07-11 17:42:30 +02:00
Lorenz Padberg 324725964b Add deadline to course session assigments in test_course 2023-07-11 15:57:07 +02:00
Lorenz Padberg bf3582d338 Fix linting 2023-07-11 11:23:36 +02:00
Lorenz Padberg 9911117df5 Resolve comments from Pullrequest 2023-07-11 11:19:00 +02:00