Commit Graph

119 Commits

Author SHA1 Message Date
385d04505b feat: open teaching analytics to Teacher Admin
StuckProblems, TopACTrend, AI user analysis, and problemset user
progress are now accessible to Teacher Admin (previously super-only).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-02 18:17:26 -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
6ab2886f77 remove contest type 2026-05-26 23:10:27 -06:00
48a16d91b5 refactor: replace sync_to_async aggregate with aaggregate in problem views 2026-05-26 21:46:56 -06:00
57c0572fd9 async 2026-05-26 21:25:26 -06:00
1217ee3eaf update 2026-05-26 02:19:26 -06:00
980b803517 feat: update all query filters to treat AST_CHECK_FAILED as accepted
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 20:45:15 -06:00
65c48437a9 fix 2026-05-24 20:44:02 -06:00
c9751c095f update 2026-05-11 04:32:49 -06:00
ee84a0abe3 update 2026-05-11 04:27:15 -06:00
25bd43676e update 2026-05-11 00:55:01 -06:00
128745f4f8 update yearly ac rate 2026-05-11 00:43:08 -06:00
238adf441f fix: remove duplicate return statement in ProblemYearlyACRateAPI 2026-05-11 00:19:37 -06:00
74d5c7256d feat: add problem yearly AC rate API endpoint
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 00:19:16 -06:00
df097dd610 fix flowchart 2026-05-07 06:09:13 -06:00
028ea6e5f9 fmt 2026-04-23 13:57:56 -06:00
c4ddfa6841 add flowchart 2026-04-12 06:00:39 -06:00
c31145f76e fix cache 2026-03-30 09:39:35 -06:00
24ff67ec0c fix 2026-03-30 09:34:38 -06:00
a12a665fde update 2026-03-18 13:26:32 +08:00
3cd944a7e1 fix 2026-03-08 21:37:46 +08:00
6527d8bfe5 update 2026-03-08 21:31:00 +08:00
889380c58e add teaching feature 2026-03-08 21:15:46 +08:00
ed40019a14 自动生成流程图 2026-01-05 10:23:02 +08:00
aa95f171a9 fix 2025-10-23 10:22:22 +08:00
8989ec0406 fix 2025-10-23 10:22:02 +08:00
6465f8fab2 add sort 2025-10-14 21:30:44 +08:00
4168d41a16 删除无用代码并且新增流程图相关内容 2025-10-11 23:29:56 +08:00
cbe0e297fd update acm helper 2025-10-06 00:06:59 +08:00
7835cf013a 后台出题人 2025-10-03 14:30:40 +08:00
ce2a4629da 出题人 2025-10-03 02:03:19 +08:00
917b32fcfd fix 2025-05-09 20:46:29 +08:00
2c71ed63f9 击败比例不需要% 2025-05-09 20:40:59 +08:00
e5939d3592 活跃用户改为两年 2025-04-14 12:18:01 +08:00
a9d7bbf367 fix 2025-04-14 12:13:35 +08:00
96e73ba33c 击败用户算一年内有提交的 2025-04-14 12:07:16 +08:00
43dfeb2fa0 击败多少用户 2025-04-13 21:48:35 +08:00
yuetsh
6356406b01 fix 2024-07-02 21:55:41 +08:00
a891255605 添加问题可见/不可见的API 2024-07-02 21:28:37 +08:00
ee9f4f356f fix create a comment 2024-06-30 09:26:00 +08:00
88a322b248 add message and comment 2024-06-30 07:59:41 +08:00
yuetsh
8a47c6e0ef update announcement and problem list serializer 2024-06-12 10:05:26 +08:00
7a152d65a3 get what i want 2024-05-07 20:25:59 +08:00
Beichi-CHs
d4b3a42f94 fix flake8 standard problems 2021-11-18 12:56:16 +08:00
helsonxiao
0566b2856e fix(style): code style 2020-11-29 14:07:18 +08:00
helsonxiao
515f422a2d feat(problem tag): 支持模糊搜索 2020-11-29 14:01:12 +08:00
myleosu
f2eb58062e Update admin.py 2019-11-16 22:09:00 +08:00
myleosu
02a32f1c02 Update admin.py 2019-11-16 21:56:03 +08:00
myleosu
43df53adaf Update admin.py
FPSProblemImport bug
2019-11-16 20:59:21 +08:00
virusdefender
0401468ff3 删除比赛题目暂时不删除测试用例 2019-09-22 15:05:02 +08:00