Commit Graph

206 Commits

Author SHA1 Message Date
Christian Cueni aa5077bf3c wip: Split cockpit feedback pages 2023-12-07 10:12:23 +01:00
Christian Cueni 22cfa6ff23 Add feedback type, add test feedback 2023-12-07 10:11:24 +01:00
Christian Cueni 3a5c941360 wip: Make linter and TS happy, fix cypress 2023-12-07 10:11:24 +01:00
Christian Cueni 2e408643bc wip: Update course creation 2023-12-07 10:11:24 +01:00
Christian Cueni 39ea4d8555 wip: Add Reisen Auftrag 2023-12-04 14:06:06 +01:00
Christian Cueni 01c288f686 Add tests 2023-11-28 10:54:41 +01:00
Daniel Egger 26de615f22 test: propgate new `cypress_reset` options to admin view 2023-11-03 14:02:48 +01:00
Daniel Egger e6aa6f0cbe Merge branch 'develop' into feature/VBV-496-dash-regionalleiter 2023-11-03 10:44:22 +01:00
Daniel Egger c1e73f58e6 `get_recipients` should only fetch experts for the course session 2023-11-02 16:52:02 +01:00
Livio Bieri 3748ce44fa chore: cypress tests supervisor dashboard 2023-11-01 17:14:47 +01:00
Livio Bieri 2e0c8205ee wip: e2e cypress tests 2023-11-01 15:16:12 +01:00
Livio Bieri 44cbf3c8f7 chore: create test-supervisor1@example.com
and clean up the way users get created a bit
2023-10-31 17:41:58 +01:00
Livio Bieri 7c00ac1681 hack: extremely hack to make supervisor dashboard navigation to cockpit semi-work
not sure how this could be done nicer :-/
2023-10-26 18:33:15 +02:00
Reto Aebersold 90a8f851d2 feat: add dashboard API 2023-10-16 09:23:25 +02:00
Daniel Egger 2eddb93be5 Adapt code to user more of the codegen generated typescript types 2023-10-12 10:51:10 +02:00
Daniel Egger a3e16dc107 Fix problems 2023-10-10 15:55:46 +02:00
Daniel Egger dcf450339d Every REST response returns `id`-field as string 2023-10-10 15:02:03 +02:00
Daniel Egger 86cf8f44d3 Add percent for results and "Bestanden"/"Nicht Bestanden" 2023-10-05 14:06:33 +02:00
Daniel Egger 2b50c1d90f Pass `user_points` and `max_points` to edoniq test result cypress_reset 2023-10-05 09:59:43 +02:00
Daniel Egger 966533e13b Add feedback trainer cypress test 2023-09-26 18:48:25 +02:00
Daniel Egger 66b50d6b1d Refactor feedback response creation 2023-09-26 18:13:33 +02:00
Daniel Egger 89e068fb09 Add cypress test for student 2023-09-26 14:34:22 +02:00
Daniel Egger 0444658ce3 Fix unit tests 2023-09-26 13:43:44 +02:00
Daniel Egger cce82b72ad Format code 2023-09-08 16:47:37 +02:00
Daniel Egger b48ab5ec3d Add flags in admin from for cypress_reset_view 2023-09-08 16:47:37 +02:00
Daniel Egger 9f81def537 Show evaluation points in KompetenzNavi 2023-09-08 16:46:54 +02:00
Daniel Egger 4bc1ca636c Add result data for edoniq test 2023-09-08 16:46:54 +02:00
Daniel Egger 428ac294e0 Add `--create-assignment-evaulation` cli parameter 2023-09-08 16:46:54 +02:00
Daniel Egger a95974c54f Extend graphql scheme for KompetenzNavi 2023-09-08 16:46:53 +02:00
Daniel Egger 0537d96dbb Add models for KompetenzNavi and GraphQL-Types 2023-09-08 16:46:53 +02:00
Daniel Egger d8bce90b8e User supervisord in docker to start supercronic and gunicorn 2023-08-30 09:55:41 +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 5790fac78f Add `LoggedCommand` to JobLogs in django admin interface 2023-08-29 14:31:43 +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 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 81351aa9fa Exclude email, fix dates, don't check "Geburtsdatum" field 2023-08-17 14:41:47 +02:00
Christian Cueni 4f437fe562 Add RichText Features 2023-08-10 07:55:27 +02:00
Christian Cueni 28b2265465 Add prepwork IT/FR, add link to allowed features 2023-08-02 18:34:15 +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
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
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 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 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 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
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 1a9f676381 Add "Gewinnen" assignment, fix titles, update expert info 2023-06-08 16:01:02 +02:00
Daniel Egger b5736ef9ef Make link out from teams link 2023-06-02 15:16:42 +02:00
Daniel Egger 183135bcb7 VBV-409: onboarding anpassungen 2023-06-02 15:16:41 +02:00
Daniel Egger 32233ec38e Import students from excel 2023-06-02 15:16:41 +02:00
Daniel Egger 9c1684bce3 Add excel import code 2023-06-02 15:16:41 +02:00
Daniel Egger 61ce0897cf Refactor user creation code for sso and import 2023-06-02 15:16:41 +02:00
Daniel Egger 8a1e9221c8 Cleanup unused stuff 2023-06-01 23:12:47 +02:00
Lorenz Padberg 69445b546c Change default admin passwort (for tests) 2023-06-01 16:18:58 +02:00
Lorenz Padberg 6826410d82 Change default admin passord to environment variable 2023-06-01 15:39:57 +02:00
Daniel Egger 9e3124160a Add some test data and clean up some things 2023-05-17 19:09:33 +02:00
Elia Bieri 849e49c433 Minor fixes 2023-05-17 13:42:16 +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 edc1eed60d Reset AssignmentCompletion data on reset action 2023-05-08 14:27:40 +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
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 13b580468d Create test assignment with tasks in code 2023-04-05 21:43:15 +02:00
Daniel Egger 1f7b9252ab Remove api page chache -> it is not needed anymore 2023-03-17 11:15:56 +01:00
Christian Cueni b2cc2788df Add FR üK Trainer, add DE üK student 2023-03-15 06:59:27 +01:00
Christian Cueni 154b123bec Update FR ük 2023-03-06 11:40:59 +01:00
Christian Cueni 02315af984 Add demo language switch 2023-03-02 07:07:40 +01:00
Christian Cueni 8f5eebed1f Format files 2023-02-13 09:37:47 +01:00
Christian Cueni b667140d3e Add language field and API 2023-02-08 13:15:04 +01:00
Elia Bieri b5e4c30d40 Merged in feature/notifications (pull request #15) 2023-02-08 11:39:27 +00:00
Christian Cueni 8b2aab8298 Add Chrigi to üK, change numbers of feedbacks 2023-01-31 11:49:26 +01:00
Christian Cueni bf704cccc5 Add experts to all circles 2023-01-23 13:40:47 +01:00
Christian Cueni c34d3729fc Assign users to new course 2023-01-23 09:31:10 +01:00
Christian Cueni 429f6241d2 Add missing expert 2023-01-19 07:43:04 +01:00
Daniel Egger 47770bde90 Refactor course expert serializer 2023-01-11 15:54:50 +01:00
Christian Cueni ae62b43606 Fix upload, add delete s3 files command 2023-01-11 07:38:47 +01:00
Christian Cueni e2ce704a40 Add sso_id field 2023-01-11 07:11:38 +01:00
Daniel Egger 15b5223dc5 Fix cypress tests 2022-12-14 22:05:10 +01:00
Christian Cueni 5e0b69702f Add file upload modal 2022-12-13 08:42:29 +01:00
Daniel Egger cb9505b54c Add some more demo users 2022-12-02 10:27:27 +01:00
Daniel Egger a3c3e60763 Show only uniqe courses (not course sessions) on Dashboar 2022-11-14 11:20:37 +01:00
Daniel Egger 64b6356ef5 Add more test users 2022-11-11 11:22:41 +01:00
Daniel Egger 6f6fbc3cf8 Replace email from Bianca 2022-11-09 12:40:01 +01:00
Daniel Egger 93a0fdaadb Add ÜK1 course 2022-11-09 12:40:01 +01:00
Daniel Egger e6e5b77d0e Create default `CourseSessionUser`s 2022-11-09 12:40:01 +01:00
Daniel Egger d8577c70d5 Limit page access to users which can access course 2022-11-09 12:40:00 +01:00