Skip to content

v0.4.0 — Past papers, student uploads and public site

Latest

Choose a tag to compare

@tired-wind tired-wind released this 18 Oct 01:31

Added

  • Past papers are sorted by type (homework, quiz, midterm, final) and by calendar year, with type filters, year groups and solutions paired to their papers. Academic-year names such as 2023-24 Sem 2 are converted to the calendar year of the exam.
  • Past-paper uploads: anyone can submit a paper, with an optional solution, for review without logging in. Submissions are validated (PDF only, 20 MB limit) and rate-limited per client.
  • Review page at /admin, protected by an admin password with lockout after repeated failures. Reviewers can preview a submission, correct its course, type and semester, then approve or reject it. Approved papers are filed under a standard name.
  • Contributors page, plus scripts/sync_contributors.py, which generates CONTRIBUTORS.md from the live site.
  • Public demo mode (DEMO_MODE=1): a bundled mock Canvas and demo past papers, a one-click demo login, and example study data on first visit. Real tokens are rejected.
  • Dockerfile, Render blueprint, and a Docker Compose + Caddy setup with automatic HTTPS for a server.
  • Native deployment for small servers, in deploy/native/: a systemd service behind an existing Caddy, daily backups of uploads and review records, and a one-command deploy script.
  • The site is live at https://nuscan.duckdns.org, with demo course data. Past-paper uploads are open.