10af0256b8
移除 OI 残留:UserProfile 的 oi_problems_status / total_score / add_score
...
判题不再写入 OI 相关状态后,UserProfile 上的 OI 字段永远为空/为 0:
- 删除 oi_problems_status、total_score 两列及 add_score() 方法
- ProfileProblemDisplayIDRefreshAPI 去掉 oi_problems 合并分支
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-04 11:40:45 -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
57c0572fd9
async
2026-05-26 21:25:26 -06:00
a744baf4c9
fix
2026-05-17 07:31:05 -06:00
e4e8b7759d
update for django6
2026-05-09 05:57:30 -06:00
c466dfd3c6
change enum
2026-05-09 02:30:47 -06:00
028ea6e5f9
fmt
2026-04-23 13:57:56 -06:00
a6d76a64c4
重构用户权限
2025-09-25 18:41:23 +08:00
24f1a0372e
提交题目完成的排名
2025-09-21 19:11:18 +08:00
6ddb4cc29c
test
2025-05-13 18:36:49 +08:00
0310307fec
test
2025-05-13 17:39:39 +08:00
74337ca10d
保存明文密码
2025-05-09 22:42:01 +08:00
09e693bf25
后台可以筛选管理员
2025-04-30 09:51:19 +08:00
virusdefender
6b7654a0c3
update to django 2.0
2019-03-11 11:25:10 +08:00
zema1
93cb2bc3fe
Added: language profile
2018-07-15 12:43:44 +08:00
virusdefender
3bb3becfcf
alter to text field
2018-05-01 12:56:23 +08:00
zema1
e8b06f0487
add generate user api
2017-11-18 08:26:41 +08:00
zema1
727fbf48d8
添加contest ip限制api;
...
OI problem的AC,total count也算入profile了
2017-11-10 20:00:00 +08:00
zema1
70f52b6f27
用户名不区分大小写;
...
修复更新problem时的一些问题
2017-11-02 15:29:08 +08:00
zema1
b694000ab9
update dockerfile and settings
2017-10-24 21:14:29 +08:00
zema1
2c5a1e42bf
support share submission
2017-10-15 18:36:55 +08:00
zema1
080ecf1bcf
migrate to postgres json field
2017-10-11 21:43:29 +08:00
virusdefender
93bd77d8d8
bug fixes
2017-10-09 18:55:25 +08:00
virusdefender
a324d55364
tiny work
2017-10-02 05:16:14 +08:00
zema1
e9c7344815
adjust account fields, cache the website_config
2017-09-22 16:41:29 +08:00
zema1
034ad59f2e
support avatar upload;
...
use middleware to operate session data.
2017-09-19 19:10:50 +08:00
zema1
a3ca8b2336
Use signals to save ip, user_agent, last_login in sessions
2017-09-16 17:42:43 +08:00
zema1
f55a242ec0
Move real_name to UserProfile;
...
Delete student_id field;
Mark the problems that have submission;
Alter dispatcher to adapt the changes.
2017-09-12 11:45:17 +08:00
zemal
57ab7435af
移除time_zone,修复problem越权
2017-08-23 17:02:57 +08:00
zemal
07643e2639
ranklist相关的改动
2017-08-20 20:32:07 +08:00
zemal
14b850c652
完成ACM ContestProblem相关判题逻辑
...
contest,submission等表默认-create_time排序
2017-08-01 16:52:48 +08:00
zemal
4733eecef9
Add migrations files
2017-05-09 14:47:54 +08:00
zemal
5de3adf0ef
JudgeDispatcher beta.
2017-05-08 20:37:54 +08:00
virusdefender
29aa457a2d
add is_admin method
2017-02-10 14:37:52 +08:00
virusdefender
817e5aadae
rename some method and add some decorator
2017-02-10 11:46:23 +08:00
virusdefender
802f27a516
add user problem permission
2017-02-10 10:38:32 +08:00
virusdefender
27b2c92d8d
add contest list api
2017-01-26 13:45:39 +08:00
virusdefender
3e42e6648e
reinit
2017-01-23 16:01:56 +08:00
virusdefender
172fd4b1f4
使用Python3和更科学的API写法
2016-11-19 12:32:23 +08:00
virusdefender
39857d1b56
add some tests
2016-10-30 02:17:35 +08:00
virusdefender
078de956e5
重构
2016-09-25 17:00:52 +08:00
virusdefender
61ab910d53
重构
2016-09-25 14:07:45 +08:00
virusdefender
eb02a00859
修改账户系统以及部分用户权限写法
...
增加部分测试和注释,完善国际化
2016-06-23 12:19:16 +08:00
virusdefender
61fe5675e0
修复题目ac计数器重复计算的问题
2016-06-11 23:45:56 +08:00
virusdefender
0166008ce1
增加更新用户提交计数器的任务
2016-04-24 15:02:51 +08:00
virusdefender
794ce8ff46
增加用户排名功能
2016-04-24 13:21:22 +08:00
spxcds
7a841214d4
增加禁用用户的功能
2016-03-27 01:26:24 +08:00
virusdefender
030a9b52f1
增加后台编辑两步验证和openapi appkey的功能。
...
同时修复:
- 去除部分表单的 id 和 name,阻止chrome的自动填充
- 不再需要的model
- 部分代码格式问题
2016-02-17 09:45:35 +08:00
virusdefender
c035971908
修复两步验证中的错误
2015-12-12 21:40:04 +08:00
virusdefender
2222a56d0a
增加两步验证基础代码
2015-12-11 22:43:23 +08:00