Daniel Egger
cff3d6e49b
Fix unit test
2023-09-08 16:25:33 +02:00
Daniel Egger
5b01a68cdb
Translate notifications
2023-09-08 14:39:13 +02:00
Daniel Egger
515ef3707a
Bugfix: load only assignment completion data with given learning_content_id. Will fix bug with Reflexion
2023-09-06 17:31:27 +02:00
Daniel Egger
6175ca75ed
Add circle title to dropdown text
2023-09-06 16:58:49 +02:00
Daniel Egger
da56f2a346
Refactor Notification model
2023-08-30 18:47:36 +02:00
Daniel Egger
b26ec64edb
Add custom django CustomNotificationAdmin
2023-08-30 13:41:06 +02:00
Daniel Egger
d8bce90b8e
User supervisord in docker to start supercronic and gunicorn
2023-08-30 09:55:41 +02:00
Daniel Egger
88e7e0edcc
Add ability to send email, when it was not sent before
2023-08-29 15:08:12 +02:00
Daniel Egger
ae9d7cf471
Try to fix deadlock import error by lazy loading openpyxl
2023-08-29 14:39:14 +02:00
Daniel Egger
f6a01b3ad1
Add result and statistics data to reminder job
2023-08-29 14:31:47 +02:00
Daniel Egger
5790fac78f
Add `LoggedCommand` to JobLogs in django admin interface
2023-08-29 14:31:43 +02:00
Daniel Egger
6badbc480c
Use django constance to add EMAIL_RECIPIENT_WHITELIST
2023-08-29 14:31:21 +02:00
Daniel Egger
d83f660918
Change email function to use email address directly
2023-08-29 14:31:21 +02:00
Daniel Egger
31af4e933f
Refactor default handling of dict parameter
2023-08-29 14:31:21 +02:00
Elia Bieri
56e454cc8b
Squash merge of code from Elia
2023-08-29 14:31:18 +02:00
Daniel Egger
ae075e47dd
Add documentation
2023-08-29 13:53:40 +02:00
Daniel Egger
a7f7d0b184
Fail save json dump for `structlog_convert_to_json_for_new_relic`
2023-08-29 09:05:28 +02:00
Daniel Egger
2c4ae02c4d
Try to neste json string in message for new relic logs
2023-08-28 22:03:57 +02:00
Daniel Egger
e08d5574f7
Render logs as json with python-json-logger
2023-08-28 13:47:41 +02:00
Daniel Egger
946d5671b8
Cleanup azure settings and docs
2023-08-25 12:04:34 +02:00
Christian Cueni
c855753c4d
Add header for excel
2023-08-24 14:33:51 +02:00
Daniel Egger
f155ceb26b
Fix importer in default prepare_server
2023-08-24 08:06:32 +02:00
Daniel Egger
9f8686e592
Improve django admin
2023-08-23 19:06:32 +02:00
Daniel Egger
584aee1829
Use `start` date for due dates with single dates in importer
2023-08-23 17:05:40 +02:00
Daniel Egger
acdda923da
Make `start` in DueDate mandatory
2023-08-23 15:38:26 +02:00
Daniel Egger
2fa17e1204
Refactor dueDate frontent
2023-08-23 15:38:26 +02:00
Daniel Egger
279b6c1dd5
Refactor some fields in `DueDate`
2023-08-23 15:38:26 +02:00
Christian Cueni
9483c1f6d3
Ignore date of birth in export
2023-08-23 13:56:05 +02:00
Christian Cueni
50bc7391e9
Use slugs from prod in importer
2023-08-23 13:15:26 +02:00
Christian Cueni
6ba3be2710
Make importer more resilient
2023-08-23 07:33:29 +02:00
Christian Cueni
9e68abd5f9
Add CourseSessionEdoniqTest to importer
...
Add tests for CourseSessionEdoniqTest
2023-08-23 07:33:29 +02:00
Christian Cueni
c140f225ea
Add Edoniq testblock
...
WIP: Add sso code
Update content name
WIP: Add redirect endpoint
mend
Fix after rebase
WIP: Update model
WIP: Add extended time test url
Update trufflehog config, use sso
Update test
2023-08-23 07:33:29 +02:00
Christian Cueni
f7de5bae47
Fix performance criteria parent
2023-08-21 15:19:57 +02:00
Christian Cueni
9ef2a4e8b3
Rename content to reflect real data, refactor import
2023-08-17 19:41:52 +02:00
Christian Cueni
81351aa9fa
Exclude email, fix dates, don't check "Geburtsdatum" field
2023-08-17 14:41:47 +02:00
Christian Cueni
45a70f6b75
Merged in feature/update-importer (pull request #188 )
...
Feature/update importer
2023-08-17 09:18:22 +00:00
Christian Cueni
3447de19ca
Add trainer and combined export
2023-08-17 10:58:33 +02:00
Christian Cueni
57cd5fe871
Match existing Teilnehmer with multiple parameters
2023-08-17 08:11:15 +02:00
Christian Cueni
2f8b548ea7
Merged in fix/dates (pull request #187 )
...
Fix/dates
2023-08-16 14:18:13 +00:00
Christian Cueni
81734f76ae
Make start optional
2023-08-16 15:13:59 +02:00
Christian Cueni
5c7baab570
Fix tests
2023-08-16 07:48:31 +02:00
Christian Cueni
95a6d404b5
Add export for trainers
2023-08-15 16:47:03 +02:00
Christian Cueni
6195c9d32a
Use page id for feedbacks, filter by course session id
2023-08-14 19:57:31 +02:00
Christian Cueni
a411cc82d1
Fix missing "contact trainer"-functionality
2023-08-14 18:04:35 +02:00
Christian Cueni
406cf425c2
Enable FeedbackResponses in admin
2023-08-14 17:27:23 +02:00
Christian Cueni
f1f479a6f4
Add due date for casework
2023-08-14 17:20:33 +02:00
Christian Cueni
4f437fe562
Add RichText Features
2023-08-10 07:55:27 +02:00
Christian Cueni
3f8be0a96b
Merged in feature/fix-import (pull request #179 )
...
Feature/fix import
Approved-by: Elia Bieri
2023-08-09 14:16:17 +00:00
Christian Cueni
45a58abb47
Update docs
2023-08-09 15:59:59 +02:00
Christian Cueni
19ab428d47
Update content
2023-08-09 08:30:44 +02:00
Christian Cueni
5ed289c912
WIP: Fix and extend importer test
2023-08-09 08:00:45 +02:00
Christian Cueni
502aa9c543
WIP: Add update test, add trainer test
2023-08-08 16:01:44 +02:00
Christian Cueni
977e0cb7c4
WIP: Add import test
2023-08-07 16:29:18 +02:00
Christian Cueni
6b67a6cd80
Update content
2023-08-07 14:18:57 +02:00
Christian Cueni
63b9be4238
Add documents
2023-08-03 14:46:54 +02:00
Christian Cueni
2bbb35eb99
Add Redlichkeitserklärung to documents
2023-08-03 13:39:56 +02:00
Christian Cueni
8d0c48d91c
Add IT VV course
2023-08-03 12:54:34 +02:00
Christian Cueni
ee7b3122d1
Add correct links, update learningpath
2023-08-03 10:53:05 +02:00
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
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
Lorenz Padberg
b06fc4bcbf
Add translations
2023-07-11 11:02:39 +02:00
Lorenz Padberg
6b8541f9c5
Format code
2023-07-10 13:47:23 +02:00
Lorenz Padberg
a15eee3266
Remove failling tests
2023-07-10 13:47:23 +02:00
Lorenz Padberg
4fd10db935
Improve test data generation
2023-07-10 13:47:23 +02:00
Lorenz Padberg
acbeb82184
Fix importer
2023-07-10 13:47:23 +02:00
Lorenz Padberg
e0dbdde7cd
Fix Linting errors
2023-07-10 13:47:23 +02:00
Lorenz Padberg
1405e728a2
Remove unused factories
2023-07-10 13:47:23 +02:00
Lorenz Padberg
9663cdc743
Add migrations
2023-07-10 13:47:23 +02:00
Lorenz Padberg
858541134e
Add due date formatting to Attendance course
2023-07-10 13:47:23 +02:00
Lorenz Padberg
b2a7c2e282
Add DateEmbedding component
2023-07-10 13:47:12 +02:00
Lorenz Padberg
78b0a08bb3
Remove attendance_course and assignment_details json fielsd
2023-07-10 13:46:56 +02:00
Lorenz Padberg
ea81fc15ef
Remove related name
2023-07-10 13:46:56 +02:00
Lorenz Padberg
347cc37a28
Add DueDates to CourseSession and Course Session Assignment
2023-07-10 13:46:56 +02:00
Lorenz Padberg
2706d6785d
Add CourseSessionAttendance course and CourseSessionAssignment
2023-07-10 13:46:56 +02:00
Daniel Egger
a5acc66981
VBV-450: Custom CourseSessionAttendanceCourse model
2023-07-10 13:46:56 +02:00
Lorenz Padberg
89ff4af3c8
Refactoring
2023-07-10 13:46:56 +02:00
Lorenz Padberg
b92ac8b08a
Add duedates to frontend
2023-07-10 13:46:55 +02:00
Lorenz Padberg
cda7ae07a8
Add duedate to API
2023-07-10 13:46:21 +02:00
Lorenz Padberg
f05d7b2279
Rename Event -> DueDate
2023-07-10 13:46:21 +02:00
Lorenz Padberg
f43a2c94e8
Add default event genration function for Course assignment
2023-07-10 13:46:21 +02:00
Lorenz Padberg
4d8c219076
Add events app
2023-07-10 13:46:21 +02:00
Christian Cueni
e02a386359
Update courses url
2023-07-10 07:35:38 +02:00
Daniel Egger
a692c819ee
Add generated types so that they can be referenced in code
2023-07-07 18:43:57 +02:00
Daniel Egger
2fdae7c120
Use different naming convention for GraphQL types
2023-07-07 18:43:57 +02:00
Daniel Egger
df13e99d6f
Play with generated graphql code
2023-07-07 18:43:57 +02:00
Daniel Egger
9860a59cef
Clean up assignment graphql
...
* Remove old assignment api REST code which is unused
* Refactor handling AssignmentCompletionStatus enum
* Add full test for GraphQL assignment completion mutation
* Hide wagtail INFO logs on local dev
2023-07-07 18:43:57 +02:00
Elia Bieri
dcf855a443
Cherrypick logging configuration from VBV-326
2023-06-28 17:17:05 +02:00
Christian Cueni
18c21e00e7
Update participants, add staff group
2023-06-28 13:16:48 +02:00
Christian Cueni
b8f1fd8cee
Add participants
2023-06-27 11:18:36 +02:00
Daniel Egger
c715a462d9
Delete notifications before test
2023-06-21 14:44:20 +02:00
Elia Bieri
8a7453ce0e
Soft delete notifications
2023-06-20 13:18:00 +02:00
Elia Bieri
fbde06f0ef
Fix notification settings cypress test
2023-06-20 13:18:00 +02:00
Christian Cueni
d5e3142cc1
Add IT presentation
2023-06-20 07:39:32 +02:00
Christian Cueni
fec1fb9a8a
Add flag to toggle test and Fallarbeit
2023-06-19 14:59:18 +02:00
Christian Cueni
f2438f6d57
Add IT uk and training course
2023-06-19 14:59:18 +02:00
Christian Cueni
ab4e3fc8dd
Update participants
2023-06-15 15:53:39 +02:00
Christian Cueni
f9414eba9a
Update course name
2023-06-15 12:52:19 +02:00
Christian Cueni
6127746854
Add competences FR, update excel
2023-06-15 08:37:18 +02:00
Christian Cueni
8c1088ab4b
Use lowercase emails, use raw field
2023-06-15 08:37:18 +02:00
Christian Cueni
bfa4349658
Add quickfix for Präsenztag FR
2023-06-15 08:37:18 +02:00
Christian Cueni
5088450f0c
Update translations, update import files
2023-06-15 08:37:18 +02:00
Daniel Egger
22ef30c3ca
Change Trainer Import File -> one line per language
2023-06-15 08:37:18 +02:00
Daniel Egger
8c65ae3295
Make import work with different language courses
2023-06-15 08:37:18 +02:00