Тесты и опросы: модуль тестов, анонимные опросы, страницы и бэкап
- lib/quizzes.js: таблицы quizzes*, CRUD, привязка медиа, подсчёт баллов, попытки, статистика, purge и уборка ассетов - server.js: роуты CRUD/прохождения/статистики, отдача медиа, публичные роуты анонимного опроса, sweep и restore - db/init.sql + db/migration.sql: схема шести таблиц, индексы и идемпотентные ALTER/CHECK - backup-restore.js: нормализация и списки таблиц, покрытие в backup.selftest.js - страницы quizzes/quiz-edit/quiz/quiz-public и публичный опрос без входа, пункт сайдбара «Тесты и опросы» - quiz.selftest.js: юнит-проверки подсчёта баллов и нормализации ответов - AGENTS.md: раздел 3t и File Map
This commit is contained in:
+1362
File diff suppressed because it is too large
Load Diff
@@ -3,6 +3,7 @@ const DEFAULT_ITEMS = [
|
||||
{ page: 'profile', label: 'Профиль', icon: 'user', section: 'base', sort_order: 20, tutor_visible: true, enabled: true },
|
||||
{ page: 'journal', label: 'Журнал', icon: 'book-open', section: 'base', sort_order: 30, tutor_visible: true, enabled: true },
|
||||
{ page: 'calendar', label: 'Календарь', icon: 'calendar-days', section: 'base', sort_order: 35, tutor_visible: true, enabled: true },
|
||||
{ page: 'quizzes', label: 'Тесты и опросы', icon: 'clipboard-list', section: 'base', sort_order: 37, tutor_visible: true, enabled: true },
|
||||
{ page: 'lessons', label: 'Отчёты о занятиях', icon: 'notebook-pen', section: 'base', sort_order: 40, tutor_visible: true, enabled: true },
|
||||
{ page: 'postlesson', label: 'Задачи после занятия', icon: 'list-checks', section: 'base', sort_order: 50, tutor_visible: true, enabled: true },
|
||||
{ page: 'students', label: 'Ученики', icon: 'graduation-cap', section: 'base', sort_order: 60, tutor_visible: true, enabled: true },
|
||||
|
||||
Reference in New Issue
Block a user