Commit Graph

207 Commits

Author SHA1 Message Date
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
virusdefender
3150012eb1 add contest search api 2017-01-26 17:59:41 +08:00
virusdefender
5b7aacc6ac allow empty password 2017-01-26 17:06:24 +08:00
virusdefender
27b2c92d8d add contest list api 2017-01-26 13:45:39 +08:00
virusdefender
33f8a6c5a3 add create and get contest list api 2017-01-26 12:33:00 +08:00
virusdefender
e34da1ac33 add contest announcement 2017-01-25 12:50:35 +08:00
virusdefender
04fcfcd5be add judge config languages and problem tag api 2017-01-24 13:22:40 +08:00
virusdefender
d9fad97e35 isort 2017-01-23 16:48:04 +08:00
virusdefender
c26ee6e87a remove unused coding=utf-8 2017-01-23 16:31:17 +08:00
virusdefender
32c1b89080 flake8 2017-01-23 16:25:14 +08:00
virusdefender
3e42e6648e reinit 2017-01-23 16:01:56 +08:00
virusdefender
078de956e5 重构 2016-09-25 17:00:52 +08:00
virusdefender
61ab910d53 重构 2016-09-25 14:07:45 +08:00
virusdefender
257778d045
跳转回调链接修改为相对路径 2016-05-31 11:12:54 +08:00