Commit Graph
2306 Commits
Author SHA1 Message Date
zema1 91d17bd3e8 add postgresql to travis CI 2017-10-31 21:11:27 +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 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 1b0952cd0d update settings 2017-10-23 10:47:26 +08:00
zema1 5d03ec5aab add pick one api 2017-10-21 20:39:39 +08:00
zema1 c1d099ed45 Merge branch 'opt' 2017-10-21 10:51:59 +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 51c229a2c5 merge problem and contest_problem 2017-09-24 09:48:17 +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
zemal 07643e2639 ranklist相关的改动 2017-08-20 20:32:07 +08:00
zemal 3b1f02c356 整理代码 2017-08-20 08:35:59 +08:00
zemal 0647312124 add username or email check api 2017-08-19 17:25:39 +08:00
zemal d1767e775d 完善captchaapi 2017-08-19 06:10:48 +08:00
zemal 57b75fd511 修复problem统计错误 2017-08-16 15:33:27 +08:00
zemal 1587192ff9 add problem_statistic_info 2017-08-15 21:05:41 +08:00
zemal df185a233f fix flake8 prompt migrations errors 2017-08-15 20:45:49 +08:00
zemal 0e96b7c2a8 更换cache使用方式 2017-08-15 20:32:14 +08:00
zemal 7d11a596e5 修正contest_submission逻辑 2017-08-15 20:02:36 +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 8a60ea52bb 修改submissions成分页 2017-07-06 21:08:34 +08:00
zemal e0369e6865 修复OI模式下测试点全部错误结果也是部分错误 2017-07-06 16:09:38 +08:00
zemal 35f6c9c4a7 添加submission_list 和 submission details API 2017-07-05 21:09:14 +08:00
zemal 62274224a9 problem改用_id作为搜索用主键;submission更加statistic_info字段 2017-07-04 20:59:25 +08:00
zemal 91eb7b5bb6 fix ci 2017-07-04 18:03:45 +08:00