Commit Graph

223 Commits

Author SHA1 Message Date
zema1
a429dbb72f Merge branch 'zemal_dev' into 2.0 2017-12-04 17:37:09 +08:00
zema1
cc857e65d9 add migrate script 2017-12-04 15:29:55 +08:00
zema1
0f9f34df65 支持选取已有题目作为比赛题目 2017-12-03 18:52:32 +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
5cac51007c 完善contest和announcement单元测试 2017-11-28 16:20:29 +08:00
virusdefender
00eb3b1967 add api to reset openapi appkey and related middleware 2017-11-25 22:31:04 +08:00
virusdefender
2d038c7bcc use bulk_create and transaction for user generator 2017-11-24 23:53:47 +08:00
virusdefender
9889ac5b4a fix directory traversal 2017-11-24 23:31:51 +08:00
virusdefender
7cc33d0701 use bulk_create and transcation for importing user 2017-11-24 23:31:30 +08:00
zema1
4e80ac9492 修复误删用户问题 2017-11-23 22:00:58 +08:00
zema1
a87d73393d 补全account测试 2017-11-23 21:12:37 +08:00
zema1
45953b8f80 submission exists api 2017-11-23 19:11:12 +08:00
zema1
2b4fb4f368 import users api 2017-11-22 20:06:16 +08:00
zema1
ba9b609fe4 去掉更新displayID时的userid验证 2017-11-18 20:49:00 +08:00
zema1
e8b06f0487 add generate user api 2017-11-18 08:26:41 +08:00
zema1
334b67488a 添加SPJ编译API 2017-11-16 22:12:17 +08:00
zema1
727fbf48d8 添加contest ip限制api;
OI problem的AC,total count也算入profile了
2017-11-10 20:00:00 +08:00
zema1
48f65d1a14 fix error in refresh displayID 2017-11-09 11:21:41 +08:00
zema1
343eff1c51 admin修改username后update submissions;
problem id refresh api
2017-11-08 21:56:39 +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
70f52b6f27 用户名不区分大小写;
修复更新problem时的一些问题
2017-11-02 15:29:08 +08:00
zema1
b86ebf0ed7 题目AC后不计入AC计数器;
支持图片上传
2017-11-01 23:07:37 +08:00
zema1
8e026d7711 合并部分migrations 2017-10-31 20:47:47 +08:00
zema1
aa4240790b fix many bugs 2017-10-31 16:33:25 +08:00
zema1
728373a5ff 完善contest权限控制 2017-10-27 18:36:29 +08:00
zema1
b694000ab9 update dockerfile and settings 2017-10-24 21:14:29 +08:00
zema1
e8841eae82 add dockerfiles 2017-10-23 20:59:44 +08:00
zema1
5d03ec5aab add pick one api 2017-10-21 20:39:39 +08:00
zema1
d8bf33a12d fix tests 2017-10-21 10:51:35 +08:00
zema1
f5566148bc 完善OI细则 2017-10-16 09:45:55 +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
virusdefender
edb32eaf7b tiny work 2017-10-02 04:33:43 +08:00
virusdefender
9990cf647a 使用 SysOptions 2017-10-02 03:54:34 +08:00
zema1
d650252a1a separate contest submission and regular submission 2017-09-30 10:26:54 +08:00
zema1
2a91fd5e9f fix bugs due to problem id 2017-09-29 21:58:20 +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