Commit Graph

179 Commits

Author SHA1 Message Date
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
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
53d0cae8ea contest and contest_problems api.
add ordering for contest and submission models
2017-07-17 21:28:06 +08:00
zemal
b931724c9b 修改用户信息api 2017-07-04 10:26:02 +08:00
zemal
4733eecef9 Add migrations files 2017-05-09 14:47:54 +08:00
zemal
b05f864106 Merge branch 'chiaki_dev' into zemal_dev
* chiaki_dev:
  fix ci
  Add submission module

# Conflicts:
#	requirements.txt
2017-05-09 14:41:26 +08:00
zemal
5de3adf0ef JudgeDispatcher beta. 2017-05-08 20:37:54 +08:00
Chiaki
65f9c7f52b Add submission module 2017-05-08 17:29:01 +08:00
Chiaki
ce5c153662 Fix ci 2017-05-01 16:06:45 +08:00
Chiaki
d11f8f9bff Fix python3 qrcode and some bugs 2017-05-01 15:20:13 +08:00
Chiaki
043f8c8b26 Change account interface 2017-04-30 21:58:34 +08:00
virusdefender
ef9cdd9f75 remove i18n 2017-04-19 02:03:48 +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
Chiaki
1fcd13b5e1 Add avatar upload api 2017-04-18 15:35:08 +08:00
Chiaki
ee05af8e5a Add sso and 2fa api 2017-04-18 15:19:26 +08:00
Chiaki
c6f49c1fe7 Add mail module and fix reset password api 2017-04-18 14:34:23 +08:00
Chiaki
a9b25b872a for pass ci... 2017-04-18 12:05:07 +08:00
Chiaki
e3692c2329 Add reset password api 2017-04-18 11:57:57 +08:00
Chiaki
8a68ad7ac9 add account view for preview 2017-04-16 10:15:26 +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
29aa457a2d add is_admin method 2017-02-10 14:37:52 +08:00
virusdefender
817e5aadae rename some method and add some decorator 2017-02-10 11:46:23 +08:00
virusdefender
802f27a516 add user problem permission 2017-02-10 10:38:32 +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
1fc19eba21 refine var name 2017-01-24 23:56:18 +08:00
virusdefender
d1e505dc24 add timezone in user profile 2017-01-24 13:21:49 +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
5c5cf7ff98 fix basic ci 2017-01-23 16:05:52 +08:00
virusdefender
3e42e6648e reinit 2017-01-23 16:01:56 +08:00
virusdefender
637baba71b add conf app and related test and settings 2016-11-19 13:47:59 +08:00
virusdefender
7fcc4d972b 统一APIView的名字 2016-11-19 12:37:27 +08:00
virusdefender
172fd4b1f4 使用Python3和更科学的API写法 2016-11-19 12:32:23 +08:00
virusdefender
39857d1b56 add some tests 2016-10-30 02:17:35 +08:00
virusdefender
078de956e5 重构 2016-09-25 17:00:52 +08:00