Skip to content

Dev#45

Merged
nbars merged 11 commits intomainfrom
dev
Apr 16, 2026
Merged

Dev#45
nbars merged 11 commits intomainfrom
dev

Conversation

@nbars
Copy link
Copy Markdown
Member

@nbars nbars commented Apr 16, 2026

No description provided.

Nils Bars added 11 commits April 16, 2026 15:26
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.
@nbars nbars merged commit a19d14c into main Apr 16, 2026
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant