Commit Graph

252 Commits

Author SHA1 Message Date
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
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
virusdefender
61ab910d53 重构 2016-09-25 14:07:45 +08:00
LiYang
94c56fc39f 创建测试用例上传下载基础组件 2016-08-07 22:23:55 +08:00
LiYang
7c11d7046a 更新announcement后端 2016-08-02 22:02:51 +08:00
LiYang
bcee7bca67 增加部分基础组件 2016-07-31 20:26:11 +08:00
LiYang
fd9f740e76 admin webpack template 2016-07-31 15:55:31 +08:00
virusdefender
eb02a00859
修改账户系统以及部分用户权限写法
增加部分测试和注释,完善国际化
2016-06-23 12:19:16 +08:00
virusdefender
61fe5675e0
修复题目ac计数器重复计算的问题 2016-06-11 23:45:56 +08:00
virusdefender
c61dea63af
完成上传自定义头像的功能 2016-05-31 19:18:43 +08:00
virusdefender
383935c4d8
登录回调的url改为相对路径 2016-05-30 15:57:03 +08:00
virusdefender
4737e970f5
个人信息中的学校改为选填 2016-05-13 12:12:50 +08:00
virusdefender
0166008ce1
增加更新用户提交计数器的任务 2016-04-24 15:02:51 +08:00
virusdefender
794ce8ff46
增加用户排名功能 2016-04-24 13:21:22 +08:00
virusdefender
a120733121 开始重构测试 2016-03-28 18:43:13 +08:00
virusdefender
fd790453a1 增加设置中url格式的提示,防止拼接url的时候出现多余的/符号 2016-03-28 18:13:08 +08:00
spxcds
485462d702 修复用户禁用功能的部分bug 2016-03-27 18:29:58 +08:00
spxcds
7a841214d4 增加禁用用户的功能 2016-03-27 01:26:24 +08:00
virusdefender
09ccaf5290 更新单点登录的逻辑 2016-02-18 08:56:50 +08:00
virusdefender
863e511d32 个人设置页面增加appkey 2016-02-17 09:57:44 +08:00
virusdefender
030a9b52f1 增加后台编辑两步验证和openapi appkey的功能。
同时修复:
 - 去除部分表单的 id 和 name,阻止chrome的自动填充
 - 不再需要的model
 - 部分代码格式问题
2016-02-17 09:45:35 +08:00
virusdefender
78017df6b6 部分信息放入 custom_settings 里面 2016-01-28 20:36:24 +08:00
virusdefender
c035971908 修复两步验证中的错误 2015-12-12 21:40:04 +08:00
virusdefender
c93d7a5fbc tfa 显示 url 2015-12-12 21:26:09 +08:00
virusdefender
23f804476a Merge branch 'new-arch' into otp-auth
* new-arch:
  fix error package name and add pip mirrorwq
  废弃 huey,多数据库连接的时候存在 connection 无法释放的问题,回到 celery
  修复 huey 队列不会释放数据库连接的问题,是用法不对
  修复typo
  完善 sso 登录部分
  修复typo
  规范配置文件写法;数据库用户名也在环境变量中取
  个人博客链接前面也增加图标
  修改判题机器的配置文件
  删除不再使用的配置文件

Conflicts:
	account/views.py
2015-12-12 21:13:19 +08:00
virusdefender
c297e4cf0f 完成两步验证的逻辑 2015-12-12 21:12:00 +08:00
virusdefender
b687d2067b 废弃 huey,多数据库连接的时候存在 connection 无法释放的问题,回到 celery 2015-12-12 15:41:57 +08:00
virusdefender
0f8dedb540 增加关闭两步验证的 api 2015-12-11 23:00:31 +08:00
virusdefender
2222a56d0a 增加两步验证基础代码 2015-12-11 22:43:23 +08:00