Commit Graph

58 Commits

Author SHA1 Message Date
denis 4373032582 One-command installers: VPS (Let's Encrypt, MariaDB) and intranet (internal CA, SQLite); SQLite backend option, SQLite backups, doctor intranet checks, bilingual docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 15:38:35 +02:00
denis a60d9265e8 Remove the author-mode setting (stray 'null' text in settings); author.html is reached by its URL
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 15:26:05 +02:00
denis d5e2358a17 Add header tagline, footer (copyright, contact, MIT licence) and an About/credits panel with CC BY attribution
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 15:08:54 +02:00
denis 5d2cc0eedf Offline Piper narration: downloadable voices (settings), automatic level prefetch, durable audio and Pyodide caches
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 14:50:06 +02:00
denis 3f10adb36b Certificate renewal: certbot timer, nginx reload hook, doctor checks renewal configuration
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 13:03:13 +02:00
denis 973fb98b91 check_deploy: author.html is expected behind the login (302) when the backend is active; check admin and static files
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 12:48:28 +02:00
denis 71951e1f11 server_update: list local modifications and the command to discard them
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 12:44:09 +02:00
denis 9e50a38628 vps_doctor: query the API as nginx does (Host and X-Forwarded-Proto), check certbot timer properly
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 12:37:57 +02:00
denis 1b702176ad Make the backend port configurable: first free port from 8001, stored in /etc/pyquest/env, shared by service and nginx
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 12:27:29 +02:00
denis ed2b0a5552 Fix server scripts test after db_setup step
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 12:19:32 +02:00
denis a1a7becf25 Add db_setup.sh: create MariaDB database and user, generate password into /etc/pyquest/env
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 12:18:35 +02:00
denis 170db9efee VPS flow for a root clone of PyQuest: server_setup, server_update, server_manage; drop ssh/sudo push scripts
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 11:25:48 +02:00
denis a4df92a7c6 Prepare VPS handover: bootstrap, doctor, DB backup, systemd unit, backend deploy, operations guide; commit docs sources previously ignored
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 23:15:14 +02:00
denis fb3c539eee Add sign-out in the level editor header (me endpoint, CSRF logout form)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 23:03:16 +02:00
denis 66ee610bbd create_author: --admin option, --reset keeps existing rights
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 22:45:57 +02:00
denis 398e4487ad Add Django administration for author accounts: Auteurs group, use_editor permission, grant/revoke actions, shared login throttling
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 22:35:41 +02:00
denis 9496b5b054 Add make dev-author to create a local author account
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 22:14:32 +02:00
denis 562f914b3c Add make fetch-nginx: unprivileged nginx binary for the local full-stack test
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 22:02:29 +02:00
denis e5489d15cd Add local full-stack test with real nginx (make dev-nginx), share nginx location blocks with production, e2e through nginx
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 21:50:26 +02:00
denis 1e94840abd Add Django author accounts for level editor access (login, nginx auth_request, brute-force lockout), MariaDB production settings
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 21:25:48 +02:00
denis 7eb508380a Add VPS deployment: atomic release script with rollback, deploy checker, static nginx vhost, guide
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 19:03:55 +02:00
denis 9bdcc4f31a Add bilingual MkDocs documentation (learner, contributor, hosting, reference) with make docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 18:48:48 +02:00
denis 6ac36ae5ec Editor: Tab indents, Shift+Tab dedents, Esc then Tab leaves the editor
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 17:58:10 +02:00
denis 332fc7f1fb Update project memo after levels 13-14
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 17:40:57 +02:00
denis d3b7c611f1 Add drawing canvas (canvas module, DrawingView, drawing_* tests) and levels 13-14 (classes, saved patterns)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 17:40:53 +02:00
denis 4689d25700 Add optional sync: SyncClient with optimistic concurrency, settings UI, Django DELETE and 409, dev proxy, e2e with real backend
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 17:24:58 +02:00
denis aa2fd84352 Add progress export/import (JSON file) with strict import validation and change events
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 17:19:54 +02:00
denis b19d3c038d Add levels 08-12 (functions, dicts, files, libraries, errors), persistent data/ folder, narration
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 17:04:09 +02:00
denis 88879ce8fb Document contribution flow: CONTRIBUTING, maintainers guide, CI examples, make ci
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 16:57:30 +02:00
denis 57bda6eecf Add author-mode level editor: forms, live checks, Python execution of solutions, learner preview, YAML export
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 16:51:33 +02:00
denis 3003eda8a2 Add author editor data model (LevelDraft) with exact round-trip and YAML export; validate_levels --file
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 16:46:03 +02:00
denis 2205d64ea3 Add LevelLinter (static checks) and LevelChecker (execution checks) shared by tests and the future author editor
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 16:44:05 +02:00
denis a97995342f Add graphical progress map and illustrated badges; harden worker interrupt tests
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 16:12:33 +02:00
denis 1e4d2600c5 Add graphical progress map and illustrated badges shelf
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 16:10:46 +02:00
denis f732a5a765 Add guide character (owl) with varied bilingual messages, moods and setting
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 15:00:18 +02:00
denis 6b4b89a742 Apply visual identity: palette B, Atkinson/JetBrains fonts, split CSS, syntax-highlighted editor, owl icon
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 14:53:50 +02:00
denis 6e63a51a1b Add visual identity proposals page (palettes, typography, mascots)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 14:38:42 +02:00
denis 378e984efe Fix false voice failure message: pause event fires before ended
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 13:17:06 +02:00
denis fae78b128e Redesign navigation: slide-in drawers for levels and settings, level header and deep links
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 13:13:02 +02:00
denis 4834979372 Add levels 04-07, code_contains test kind, StepValidator and reference-solution checks
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 12:50:19 +02:00
denis bb6bd8bc78 Fix voice playback: stale service worker code, button visibility, autoplay priming
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 12:37:46 +02:00
denis 7050cb1ac6 Rework sound effects and add pre-generated Piper narration
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 12:29:51 +02:00
denis 61eccb2f80 Save session context for resuming: architecture map, priorities, pitfalls
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 22:59:31 +02:00
denis 5a41231861 Add real input() support via SharedArrayBuffer and level 03
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 22:43:39 +02:00
denis cd59bbbf5f Add Chromium end-to-end test and fix level list styling
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 22:31:56 +02:00
denis 496ba4e19f Update project memo and context after tooling milestone
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 22:24:52 +02:00
denis f70ea5d497 Add optional Django sync backend skeleton with token-based API
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 22:24:39 +02:00
denis dfae68db87 Add tooling: Makefile, level validation, build, Pyodide vendoring, tests, docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 22:23:20 +02:00
denis e538d4d122 Add PWA shell, entry point, service worker and dev server
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 22:13:55 +02:00
denis 81f8402260 Add UI components, i18n, settings store and base styles
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 22:11:52 +02:00