Conversation
added 15 commits
April 16, 2026 15:22
These keys are generated per-deployment by `prepare.py bootstrap` and should not be shared across installations.
ctrl.sh now requires both settings.yaml and settings.env, but CI only created settings.env. Replace the manual file creation with a ./prepare.py call that generates all required configuration files. Also change the default TLS mode from "internal" to "off" so that prepare.py produces valid config without requiring a domain.
uWSGI's wsgi.errors stream inherits the default ASCII encoding from the base image, causing UnicodeEncodeError when logging messages contain non-ASCII characters (e.g. the Unicode welcome banner).
Upgrade all packages across webapp, tests, ref-docker-base, and ref-utils. Notable updates include Flask 3.1.3, SQLAlchemy 2.0.49, pytest 9.0.3, Redis 7.4.0, and Ruff 0.15.10.
Add a "Scored Exercises" section covering TestResult, scoring policies, check vs. submit behavior adaptation, and multi-task scored exercises. Update existing examples to use current decorator names (environment_test, submission_test) and task_name parameter instead of deprecated aliases.
Notable updates: cryptography 46.0.7 (fixes 3 Dependabot alerts), cffi 2.0.0, Flask-Limiter 4.1.1, gunicorn 25.3.0, pytest 9.0.3, SQLAlchemy 2.0.49, IPython 8.39.0, pylint 4.0.5, mypy 1.20.1.
Container SSH public keys are now bind-mounted into student containers at /etc/ssh/master_keys/ so key rotations take effect immediately without rebuilding images or restarting containers. Also improve SSH proxy error handling: show a generic internal error with a trackable UUID instead of leaking details, and close the channel on failure.
- Backend: GET /api/v2/auth/me returns authenticated, is_admin, is_grading_assistant for the current session - Frontend: auth API client, Pinia auth store, hydrated on app mount
- Admin submissions endpoint at /api/scoreboard/submissions/admin - Public endpoint filters out admin users and pre-start submissions - Toggle in scoreboard header switches between views (admin only)
- Disable dataZoom slider with fewer than 2 data points (ECharts bug) - Use notMerge on ChallengePlot setOption to match PointsOverTimeChart - Filter zero-score teams from rankings and challenge plots - Move time-window filtering to backend, simplify frontend ranking - Add assignment names to chart boundary markers
Wraps the app bar navigation to a second row on lgAndDown breakpoint to prevent overflow on narrow viewports.
Builds and force-recreates containers in one step, avoiding stale container issues when image contents change. Update CLAUDE.md with new deployment workflow.
Wrap requests.post() calls in server_post() helper that catches RequestException, logs the full traceback to a root-only rotating log file (/var/log/ref-task.log), and shows a user-friendly message instead of a raw Python traceback.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.