Commit Graph

153 Commits

Author SHA1 Message Date
Beichi-CHs
cef608b809
resolve backward compatibility issues
Signed-off-by: Beichi-CHs <g841734459@126.com>
2021-11-18 18:08:17 +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
virusdefender
d57cf64afa 修复比赛修改密码之后,之前保存的 session 仍然可以使用的问题 2019-09-22 16:54:40 +08:00
virusdefender
f2576a9411 fix tests 2019-03-26 10:51:49 +08:00
virusdefender
6f8e68846c check is id 2019-03-26 10:02:49 +08:00
virusdefender
1adfd35615 解决 dispatcher 中部分数据库锁的问题 2019-03-12 14:58:14 +08:00
virusdefender
c192304fd8 增加文件上传功能 2019-03-12 14:54:07 +08:00
virusdefender
7df98245e4 增加部分缓存 2019-03-11 17:59:28 +08:00
virusdefender
a5f0c8eb31 remove celery and use dramatiq 2019-03-11 17:59:24 +08:00
virusdefender
6ef16c8253 修复部分情况下提取 serializer 的错误信息的错误 2019-03-11 11:30:30 +08:00
virusdefender
6b7654a0c3 update to django 2.0 2019-03-11 11:25:10 +08:00
virusdefender
a52f383930 将编译选项修改为数据库存储 2019-01-05 14:12:17 +08:00
李扬
a5722d9f2e
初始化管理员用户的时候,由判断 root 用户名是否存在改为是否有用户存在
防止 root 用户被改名之后创建重复的 root 用户的问题
2018-12-09 14:43:42 +08:00
virusdefender
82890a92b4 support fps problems import; fix qduoj problems import 2018-04-18 00:08:18 +08:00
zema1
b388c5dd03 add dashboard api 2018-01-04 19:43:18 +08:00
virusdefender
8454b36792 fix permission 2018-01-04 19:39:24 +08:00
virusdefender
a5fea0c653 update xss filter 2017-12-24 15:34:22 +08:00
virusdefender
872e7407cf add smtp test function 2017-12-24 11:34:40 +08:00
virusdefender
072364497c new throttling 2017-12-24 11:01:33 +08:00
zema1
a429dbb72f Merge branch 'zemal_dev' into 2.0 2017-12-04 17:37:09 +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
zema1
cc857e65d9 add migrate script 2017-12-04 15:29:55 +08:00
zema1
27a9b1144b 封榜后管理员可以通过force_update查看最新rankings 2017-12-03 15:36:31 +08:00
zema1
ee89df9ff2 去除不必要的serializer 2017-12-01 17:19:31 +08:00
zema1
5429e99465 调整UserSerializer 2017-11-30 20:17:56 +08:00
zema1
13e3260fd3 添加UserSerailizer admin返回real_name 2017-11-29 14:06:32 +08:00
virusdefender
1f9eca8b7d fix initadmin script 2017-11-25 13:07:22 +08:00
zema1
2d00ed802d 添加initinstall命令 2017-11-07 19:04:41 +08:00
zema1
c16543c830 修复test_case排序问题 2017-11-06 21:45:52 +08:00
zema1
37d6dd84ee 修复contest announcement的一些问题 2017-11-06 19:05:21 +08:00
zema1
b86ebf0ed7 题目AC后不计入AC计数器;
支持图片上传
2017-11-01 23:07:37 +08:00
zema1
728373a5ff 完善contest权限控制 2017-10-27 18:36:29 +08:00
zema1
e8841eae82 add dockerfiles 2017-10-23 20:59:44 +08:00
zema1
f5566148bc 完善OI细则 2017-10-16 09:45: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
virusdefender
edb32eaf7b tiny work 2017-10-02 04:33:43 +08:00
virusdefender
9990cf647a 使用 SysOptions 2017-10-02 03:54:34 +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
1ee0596a3a add session management api; add more unit tests for account module 2017-09-16 20:40:56 +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
zema1
1e4ede6d1a 大幅优化数据库查询, 升级django至1.11 LTS, 升级python至3.6.2 2017-08-29 19:35:22 +08:00
zema1
539b45148b 移除user time_zone, 统一使用submission_number和accepted_number字段 2017-08-26 08:41:29 +08:00
zemal
57ab7435af 移除time_zone,修复problem越权 2017-08-23 17:02:57 +08:00
zemal
99fd87dbcf 换回之前的capacha代码 2017-08-20 20:41:48 +08:00