Allows admins to manage grading report templates #14

Merged
niat8586 merged 41 commits from 3482-new-grading-criteria into develop 2024-10-30 10:05:23 +01:00

41 Commits

Author SHA1 Message Date
78c31eff50 Update core/src/main/java/se/su/dsv/scipro/report/AbstractGradingCriterion.java
Added missing 'add' in the java doc for the flags.
2024-10-29 09:29:52 +01:00
1f112b68d1 Extend Exception instead of Throwable 2024-10-28 14:36:48 +01:00
42eb4d36d9 Merge branch 'develop' into 3482-new-grading-criteria
# Conflicts:
#	core/src/main/java/se/su/dsv/scipro/report/GradingReportTemplateRepo.java
2024-10-28 14:33:35 +01:00
4e47cd426f Calculate grades using grade limits, if available.
Grade can be any string rather than a limited set
2024-10-24 13:53:21 +02:00
10369ddf4f Limit the width of the template overview 2024-10-24 12:27:21 +02:00
cf509d752b Remove more GUI testing 2024-10-24 12:25:31 +02:00
6ce9e1efb3 Remove debug print 2024-10-24 12:23:49 +02:00
a3a68b02e8 Add button to remove a criterion from the grading template 2024-10-24 12:23:30 +02:00
f147d50688 Add auto-saving when setting the valid from 2024-10-24 12:06:09 +02:00
31dc80fcf4 Group migrations under a single major version 2024-10-24 10:58:13 +02:00
1756c9829e Fix warnings 2024-10-24 10:15:15 +02:00
6bcf7dce3f Display grading template notes 2024-10-23 15:52:42 +02:00
b0f6a81a23 Page to create new grading report templates 2024-10-23 15:50:55 +02:00
e8fdfc7f76 Migrate reflection criteria (Ö6) to use the new reflection flag
It used to match the title against "Ö6 " to determine if it was the reflection criterion for special treatment.
2024-10-23 14:53:19 +02:00
24b88c1d12 Migrate opposition criteria (Ö1) to use the new opposition flag
It used to match the title against "Ö1 " to determine if it was the opposition criterion for special treatment.
2024-10-23 14:09:58 +02:00
9a839579fc Save criteria flags 2024-10-23 14:06:17 +02:00
c76361caa9 Save grade limits on grading templates 2024-10-23 12:59:50 +02:00
49443f09e4 Save note and failing grade on grading templates 2024-10-23 12:17:37 +02:00
26ab89a2e3 Textual improvements 2024-10-23 10:47:58 +02:00
23f9ea114d Renamed "default grade" to "failing grade" to better communicate what it is 2024-10-23 10:43:50 +02:00
6bc04a0a58 Flag grade limits as required inputs 2024-10-23 10:36:58 +02:00
e96ce9b0ff Persist the edited grading template 2024-10-23 10:33:02 +02:00
e5aa53f882 Specify the minimum point requirement of each criterion 2024-10-23 10:32:08 +02:00
56bac63e4f Specify the type (thesis or individual) of each criterion 2024-10-21 15:46:52 +02:00
1d3daa5226 Add new criteria to grading templates 2024-10-21 15:33:19 +02:00
99e4613a1c Code simplification 2024-10-21 15:33:19 +02:00
556abce723 Correctly mark everything as required 2024-10-21 15:33:19 +02:00
f9af18a49c [wip] Persist grading template after editing 2024-10-21 14:58:44 +02:00
4c7ef23e5d Fix edit link for upcoming templates 2024-10-21 14:40:42 +02:00
55b6552d6a Populate initial data when editing grading templates 2024-10-21 14:35:00 +02:00
a02291897e Configure valid from date in grading templates 2024-10-21 13:13:43 +02:00
2708003cee Configure point to grade conversion in templates 2024-10-21 12:57:22 +02:00
ac3da27733 Flag criteria if they're connected to some other part of the system 2024-10-21 10:27:37 +02:00
05a205d7cc Number requirements correctly 2024-10-21 10:16:32 +02:00
95d9e2658d Save text while editing the template
Before when adding/removing points any text changes were lost.
2024-10-21 10:09:52 +02:00
ffcd880384 Edit upcoming templates 2024-10-17 16:17:44 +02:00
862dd59513 Show upcoming templates on the overview page 2024-10-16 09:31:21 +02:00
7a1b3d4744 View current/old template 2024-10-15 15:05:57 +02:00
1672171f46 Grading templates overview page 2024-10-15 13:42:53 +02:00
0c1c871fb4 Grading templates are based on valid date ranges instead of only a single global one
To allow changing the template for future projects without affecting currently ongoing ones.

Removed the credits separation and only determines based on project type since the one-year and two-year master have been separate types for many years at this point.
2024-10-09 14:43:30 +02:00
4e9e35a99a Remove persistence related implementation details from GradingReportServiceImpl 2024-10-02 13:53:22 +02:00