Commit Graph

220 Commits

Author SHA1 Message Date
virusdefender
29f75a011b add export contest rank to csv 2018-05-06 04:25:53 +08:00
virusdefender
3bb3becfcf alter to text field 2018-05-01 12:56:23 +08:00
virusdefender
8454b36792 fix permission 2018-01-04 19:39:24 +08:00
zema1
417337c4d2 修复几处visible未过滤的问题 2017-12-15 20:54:30 +08:00
zema1
4ebfa0d021 fix disabled users in contest rankings 2017-12-06 16:06:36 +08:00
zema1
fc35e5ed79 filter admin users in all rankings 2017-12-06 15:54:08 +08:00
zema1
0f9f34df65 支持选取已有题目作为比赛题目 2017-12-03 18:52:32 +08:00
zema1
4c2db34b9d add ACM contest admin helper api 2017-12-03 15:39:02 +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
13e3260fd3 添加UserSerailizer admin返回real_name 2017-11-29 14:06:32 +08:00
zema1
5cac51007c 完善contest和announcement单元测试 2017-11-28 16:20:29 +08:00
zema1
ffd5943492 修复sample空格被吃掉的问题;
修复test_id 不对应的问题
2017-11-13 21:29:27 +08:00
zema1
727fbf48d8 添加contest ip限制api;
OI problem的AC,total count也算入profile了
2017-11-10 20:00:00 +08:00
zema1
343eff1c51 admin修改username后update submissions;
problem id refresh api
2017-11-08 21:56:39 +08:00
zema1
37d6dd84ee 修复contest announcement的一些问题 2017-11-06 19:05:21 +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
f0655ee305 全局的announcement api 2017-10-30 15:07:52 +08:00
zema1
728373a5ff 完善contest权限控制 2017-10-27 18:36:29 +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
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
zema1
d650252a1a separate contest submission and regular submission 2017-09-30 10:26:54 +08:00
zema1
51c229a2c5 merge problem and contest_problem 2017-09-24 09:48: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
14b850c652 完成ACM ContestProblem相关判题逻辑
contest,submission等表默认-create_time排序
2017-08-01 16:52:48 +08:00
zemal
17432b4c81 添加contest access api 2017-07-20 15:52:11 +08:00
zemal
8b85f86124 reformat code. 2017-07-18 11:25:08 +08:00
zemal
ee49d0a815 添加contest权限验证、contest密码验证api
添加problem、contest单元测试。
2017-07-18 11:18:18 +08:00
zemal
53d0cae8ea contest and contest_problems api.
add ordering for contest and submission models
2017-07-17 21:28:06 +08:00
zemal
ee2f5f5dd7 去掉dataTime的格式化,因为格式化后moment.js不能识别为标准时间 2017-07-15 23:18:07 +08:00
zemal
78a8999b44 Add contestAPI. 2017-06-22 14:10:32 +08:00
virusdefender
8128e076f2 format code 2017-04-19 01:37:10 +08:00
Chiaki
3caf2d9d2c Allow multiple ways to access url and fix ci 2017-04-18 15:39:49 +08:00
zhanghedr
60ebece853 add contest tests 2017-02-26 23:18:22 -05:00
virusdefender
0fdaab7e88 add create contest problem 2017-02-17 20:14:03 +08:00
Howard
e87c567f55 Fix url and admin check in contest (#67)
- Fix url
 - Add contest_announcement get and fix bug
2017-02-16 15:03:31 +08:00
virusdefender
817e5aadae rename some method and add some decorator 2017-02-10 11:46:23 +08:00
virusdefender
0678dd4fca support display id 2017-02-09 16:47:08 +08:00
virusdefender
7f105e4a69 rebuild some strange migration 2017-02-06 17:19:53 +08:00
virusdefender
8ce6040a5b add create problem api 2017-02-02 16:59:15 +08:00
virusdefender
02940029ef add contest announcement 2017-01-29 17:04:56 +08:00
virusdefender
5ced3d9ca0 add edit contest api 2017-01-27 23:20:56 +08:00