Changelog
All notable changes to SkillQuest. The version number lives in VERSION (semantic versioning).
[2.7.0] - 2026-12-06
Added
- Accepting an XP request: the description and the category can be changed in the decision form. The award and the request keep the new text; the audit log records the old and the new value.
- Warning before saving an award with 0 XP or without a category (Grant XP, award edit, accepting a request). Press the button again to save it as it is; the confirmation only covers the warnings that were shown. The bulk grant preview shows the same warnings.
Changed
- An empty XP field now says "XP is missing" instead of asking for a whole number.
[2.6.0] - 2026-12-06
Added
MAIL_COPY_TO_ADMINin.env(defaultfalse). Whentrue, every active administrator receives a copy of each "XP granted" e-mail: awards (single, bulk, CSV import, grades) and accepted XP requests. The copy has the same text, and its subject starts with[Copy]and names the student it was sent to. Rejections and login codes are not copied.API_RATE_LIMIT_PER_MINUTEin.env: calls per minute per client on the public API. The Public API page in Settings shows the value in use.
Changed
- Public API limit lowered from 120 to 20 calls per minute per client (the new default).
Fixed
/api/v1/levelswas not counted by the API rate limit.
[2.5.1] - 2026-12-06
Fixed
import-legacystopped withSameFileErrorwhen the badge files were already in/data/legacy/badges(the folder it copies to). Files already in place are now left as they are and counted as "already in place". The students and awards of an interrupted run were saved; running the same command again finishes the import (badge files, legacy public key) without creating duplicates.
[2.5.0] - 2026-12-05
Added
- Full backups:
skillquest backup --fullwrites a.tar.gz(owner-only) with the database, the badge signing keys, the evidence files, level icons and legacy files;skillquest restoreaccepts it. README: restore drill. - Read-only public JSON API under
/api/v1/(levels, classes, rankings, students, award search), paginated, with a consistent error format and a rate limit; endpoint list and OpenAPI description for the administrator (Settings → Public API). SECURITY.md: security review against the requirements, with the tests that cover each point and the residual risks.- Rate limits for XP request submissions and edits, student CSV imports and administrator CSV imports.
- Tests that open every page and check: no inline script, style or event handler (strict CSP), images with alt text, a plain page title, security headers, and that no IAM, e-mail address or note appears on public pages.
Changed
- The one-line messages shown after an action are signed, so a crafted link cannot display made-up text.
- Restore copies the database with SQLite's backup API instead of replacing the file.
- Time axes of charts show fewer, horizontal dates on phones.
Fixed
- Settings page: the signing-key section was rendered inside the page title.
- Editing a request accepted an inactive category.
[2.4.0] - 2026-12-05
Added
- Public home page with key figures (students, XP granted this school year, badges issued, Hacker Heroes), class cards (average XP, students per level) and the latest XP.
- Classes page (current / graduated and archived), class page with students per level, the class timeline (cumulative XP per student; top 3 in colour, any student can be highlighted) and the class ranking.
- Rankings (overall or per class, sortable), Timelines, and a public award search (words, student name, class, category, dates, XP range; sortable, paginated). The public search never shows revoked awards, notes, IAM usernames or e-mail addresses, and does not search by IAM.
- Student page: total XP over time with the level thresholds, XP by category, history with filters and the badge issued after each award.
- Charts (Chart.js 4.6.2, vendored) follow the light/dark theme, use a colour-blind-checked palette and always have a "Show data" table.
- Dashboard: pending requests, XP per month, top categories, students per level per class, class timeline; filters by class, category and dates.
- Grant XP to several students or to a whole class, with a preview of the level changes.
- CSV import of XP (
iam;xp;description;timestamp;note;category) with preview: unknown students and categories, repeated lines and existing duplicates are refused; e-mails optional; template download. - Semester grade XP calculator: XP = round(average ÷ required average × max XP), max 18 (semesters 1–3) or 6 (semester 4), averages typed or pasted from a spreadsheet, preview then confirm.
- Graduation export per class: printable final ranking and CSV with XP, level, prestige stars and "Reward earned".
Changed
- Disabled students no longer have a public page and are left out of the rankings.
[2.3.0] - 2026-12-05
Added
- XP requests: students describe what they did (date, optional category and note) and add up to 5 links and up to 5 files (PNG, GIF, JPG, WEBP, PDF). Requests can be edited, completed with more evidence or withdrawn while pending.
- CSV import of several requests by a student (
description;timestamp;note, preview before sending, at most 100 rows; aniamcolumn must be the student's own). - "My requests" page for students with the status of every request, their level and progress.
- Review queue for the administrator (Admin → Requests, pending count in the menu): filters by status, class, category, student and age; oldest first; bulk accept with the same XP.
- Review page: evidence, level of the student, suggested XP from similar past awards, other pending requests of the same student. Accept (creates the award and a new badge) or reject, with an optional note; the next pending request opens.
- E-mail to the student on every decision, mentioning a level-up.
- Evidence files are checked by content, images are re-encoded (metadata and hidden data removed), stored under random names, served only to the owner and the administrator with a restrictive Content-Security-Policy; PDFs are always downloaded, never shown inline. Administrator downloads are audited.
- Request bodies above the upload limit are refused with 413, also when sent in chunks.
[2.2.0] - 2026-12-05
Added
- Badges: every change of a student's total (new student, award granted, edited or revoked, level table changed, import) issues a new badge, a signed snapshot of name, student number, class, XP, level and prestige stars. The previous badge becomes "superseded".
- Ed25519 signing key created on first start in
skillquest-data/keys/(or given as a Docker secret withBADGE_SIGNING_KEY_FILE); key rotation in Settings; retired keys stay published. - Badge images (840×620 PNG, in the style of the old badges) with level icon, prestige stars, serial, issue date and a QR code to the verification page. The signed data is embedded in the PNG.
- Serial numbers continue the old numbering (first new badge: 777).
- Verification:
/v/{badge_id}(valid and current, authentic but superseded, revoked, invalid),/verify(upload a badge PNG),/verify/keys(public keys as JSON),/api/v1/badges/{badge_id}(JSON), commandskillquest verify <file.png>. - Revoking an award revokes every badge that included it and issues a new one; a single badge can also be revoked with a reason.
- Old QR codes:
/srp/check-reward.php?serial=N(with or without trailing slash, on both host names) checks the old badge image against its SHA-256 hash and RSA signature with the old public key (registered as retired keylegacy-rsa). - The legacy import gives every imported student a current badge (no e-mail); students without a badge get one at start-up.
tools/extract_badge.pyand a README section to verify a badge by hand with OpenSSL.- Public "Verify a badge" page in the navigation; current badge on the student page; badge history with revocation on the administrator's student page.
[2.1.0] - 2026-12-05
Added
- Classes (code, label, start year, status active / graduated / archived). Students of archived classes can no longer log in.
- Students: list with filters and sorting, create, edit, move to another class, disable/enable, CSV import with preview (
iam;student_number;first_name;last_name;email;class, template download); unknown classes are created. - Levels page for the administrator: rename, change required XP, add and delete levels, prestige step, icon upload (checked and re-encoded as PNG). Every change is previewed with the list of students whose level would change before it is saved.
- Prestige stars: one ★ for every 25 XP above Hacker Hero (configurable, 0 disables them); "Reward earned" mark at Hacker Hero.
- XP catalogue (categories with description and default XP), seeded with the categories of the old XP scheme.
- Awards: grant XP (with optional e-mail to the student, mentioning a level-up), edit, revoke with a mandatory reason (awards are never deleted), search with filters, sorting and CSV export.
- Similar-description suggestions while typing (full-text trigram index): each shows the usual XP, the XP range, how often it was used and when; one click copies text and XP.
- Public pages: Levels, How to earn XP, and a first version of the student page.
- Command
import-legacy: imports students and XP of all cohorts from the old site, skips TEACH test accounts and "start of studies" rows, keeps the old serials, signatures and hashes, copies the old badge files and the public key (a private key is refused), sends no e-mails, can run as--dry-runand can be repeated safely. - Audit log entries for classes, students (create, update, class change, disable/enable, import), levels, catalogue and awards (create, update, revoke, export).
Changed
- The header stays on one line on phones.
[2.0.0] - 2026-12-05
Added
- Foundation of SkillQuest v2, a complete rewrite of the Student Reward Platform.
- Docker image (multi-stage, non-root, health check) and
docker-compose.ymlwith the./skillquest-data:/datafolder; no reverse proxy (HTTPS by Pangolin). - SQLite database in WAL mode with automatic migrations on start-up and a backup before each migration.
- Trusted-proxy handling of
X-Forwarded-Proto,-Forand-Host, allowed host names (skillquest.btslgk.lu,srp.btslgk.lu). - Student login with the username (IAM) and a 6-digit code e-mailed to the stored address.
- Administrator login with an
@education.luaddress, password and e-mailed code; password change in the app;reset-admin-passwordcommand. - Sessions, CSRF protection, rate limiting, strict security headers and Content-Security-Policy.
- Append-only audit log of logins and changes, with viewer, filters and CSV export.
- E-mail outbox with a background worker sending one e-mail every 2 seconds, with retries.
- Layout with header (logo, title with version, LGK and BTS logos), navigation, About window, dark/light theme and this changelog page.
- Command line:
create-admin,reset-admin-password,migrate,backup,restore,send-test-email,version.