Commit Graph

6 Commits

Author SHA1 Message Date
9535b64a4b 精简 Problem 模型:移除 rule_type / total_score / io_mode
系统只用 ACM 模式且题目固定标准 IO,这三列已无实际用途:
- rule_type / total_score:OI 专用,删除后 judge/dispatcher 的 OI 分支全部塌缩为 ACM
- io_mode:判题改为固定发送 Standard IO 常量;languages.py 的 seccomp_rule
  保留 dict 形态但改用字面量 key,不改判题机 wire 契约
- prompt 字段保留(预留给未来 AI 分析)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 11:40:38 -06:00
f94d29cf93 feat: add Teacher Admin role to four-tier permission system
Introduces a four-tier role system: Regular User → Student Admin →
Teacher Admin → Super Admin. Teacher Admin can manage own contests,
problemsets, and view classroom data. Student Admin (renamed from Admin)
retains problem management only.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-02 18:13:33 -06:00
c466dfd3c6 change enum 2026-05-09 02:30:47 -06:00
virusdefender
82890a92b4 support fps problems import; fix qduoj problems import 2018-04-18 00:08:18 +08:00
zema1
42a81801bf fix stripped_output_md5 IndexError 2017-12-04 17:27:57 +08:00
zema1
93c8b9a2ba update migrate script 2017-12-04 16:42:07 +08:00