feat: serve the quiz API under /_quizzes/api/v1 behind jwt.auth

This commit is contained in:
Jakub Zych
2026-10-02 14:13:30 +02:00
parent 4d4da5dc14
commit effe640549
16 changed files with 2232 additions and 11 deletions

View File

@@ -1 +1,14 @@
{}
plugin:
name: Quizzes
description: Quizzes with single, multiple and self-check questions, attempts and scoring.
api:
quiz_not_found: Quiz not found
attempt_not_found: Attempt not found
attempt_completed: The attempt is already completed.
time_limit_exceeded: The time limit of this attempt has been exceeded.
question_not_in_quiz: The question does not belong to this attempt.
answer_ids_required: The answer ids field is required for this question.
answer_not_in_question: The chosen answers do not belong to this question.
single_one_answer: Choose exactly one answer for this question.
known_required: The known field is required for this question.
unknown_category: The quiz has no questions in this category.

14
lang/pl/lang.yaml Normal file
View File

@@ -0,0 +1,14 @@
plugin:
name: Quizy
description: Quizy z pytaniami jednokrotnego i wielokrotnego wyboru oraz fiszkami, podejściami i punktacją.
api:
quiz_not_found: Nie znaleziono quizu
attempt_not_found: Nie znaleziono podejścia
attempt_completed: To podejście zostało już zakończone.
time_limit_exceeded: Czas na to podejście minął.
question_not_in_quiz: To pytanie nie należy do tego podejścia.
answer_ids_required: Wybierz odpowiedź na to pytanie.
answer_not_in_question: Wybrane odpowiedzi nie należą do tego pytania.
single_one_answer: Wybierz dokładnie jedną odpowiedź.
known_required: Zaznacz, czy znasz odpowiedź.
unknown_category: Quiz nie ma pytań w tej kategorii.