feat: review open answers in the admin and pick a grader per quiz

- Do oceny admin screen (golem15.quizzes.reviews) over the open answers,
  with a read-only context partial, score and comment virtual fields saved
  through SetScore, confirm and regrade record actions, bulk confirm
- open question type, rubric and max_length in the question form; grader
  dropdown on the quiz form from the grader registry
- Review model with quiz, status and student filters
This commit is contained in:
Jakub Zych
2026-11-09 18:31:19 +01:00
parent 1ce1ebee16
commit 2ad4e8b1ec
20 changed files with 1244 additions and 9 deletions

View File

@@ -18,6 +18,7 @@ func generatedModels() []any {
&models.AttemptAnswer{},
&models.Question{},
&models.Quiz{},
&models.Review{},
}
}
@@ -45,5 +46,6 @@ func generatedAdminControllers() []pact.AdminController {
controllers.AttemptsController(),
controllers.QuestionsController(),
controllers.QuizzesController(),
controllers.ReviewsController(),
}
}