Commit Graph

1933 Commits

Author SHA1 Message Date
virusdefender
5eacb9f3d7 增加 admin 后台返回执行模板的 views 函数 2015-08-05 19:47:49 +08:00
virusdefender
21e977f409 Accept Merge Request #21 : (virusdefender-dev -> dev)
Merge Request: 增加通用分页函数和对应的测试
Created By: @virusdefender
Accepted By: @virusdefender
URL: https://coding.net/u/virusdefender/p/qduoj/git/merge/21
2015-08-05 19:46:06 +08:00
virusdefender
c5446361db 增加了 admin spa 的通用代码[CI SKIP] 2015-08-05 19:45:35 +08:00
sxw
c868441d61 1.在用户注册页面添加了email字段,并附带验证;
2.统一了username和email字段的唯一性验证方法。
[ci skip]
2015-08-05 19:40:02 +08:00
sxw
34ccdd5e0e 1.仿照代码重写了原usernameCheck的validator。重命名为remoteCSRF,用于使用ajax异步向服务器验证字段唯一性。参数为url:请求地址,field:向服务器发送的表示符名称;
2.添加了emailAddress的validator的requires.js的config.
[ci skip]
2015-08-05 19:38:28 +08:00
hohoTT
17b44800ca 将announcement 加入 setings.py 里面的 INSTALLED_APPS,并且创建announcement这张表 2015-08-05 10:34:00 +08:00
hohoTT
2fae6493d0 Merge branch 'virusdefender-dev' of https://git.coding.net/virusdefender/qduoj into hohoTT-dev 2015-08-05 10:20:18 +08:00
virusdefender
5558600792 补充通用分页函数的注释和用法;修改错误的测试用例 2015-08-05 08:53:39 +08:00
virusdefender
8a6093d645 增加通用分页函数和对应的测试 2015-08-05 08:44:28 +08:00
virusdefender
44be61dab6 修改 runtest.sh,只有在测试成功的情况下才进行测试覆盖率分析和打开结果页面 2015-08-05 08:43:15 +08:00
esp
f04eaae129 Accept Merge Request #13 : (sxw-dev -> dev)
Merge Request: 添加了Tools中windows脚本;修改重复密码表单校验js
Created By: @esp
Accepted By: @esp
URL: https://coding.net/u/virusdefender/p/qduoj/git/merge/13
2015-08-04 20:01:51 +08:00
sxw
0b55f6bbf7 修改了重复密码验证的js,精简代码量,减少了重复的校验,减少了valuedator中confirm的参数 [ci skip] 2015-08-04 19:54:44 +08:00
hohoTT
4548ffd617 更正公告API测试的名称 2015-08-04 19:23:10 +08:00
sxw
1d4af5cc7c 添加了windows下的runserver和runtest脚本 [ci sikp] 2015-08-04 19:18:56 +08:00
esp
19f9f1c374 Accept Merge Request #12 : (virusdefender-dev -> dev)
Merge Request: add coverage requirement and run test shell script
Created By: @virusdefender
Accepted By: @esp
URL: https://coding.net/u/virusdefender/p/qduoj/git/merge/12
2015-08-04 18:40:41 +08:00
virusdefender
76aba7f0e7 add coverage requirement and run test shell script 2015-08-04 18:38:00 +08:00
virusdefender
f239f41c17 Accept Merge Request #11 : (hohoTT-dev -> dev)
Merge Request: 增加了公告的API接口和相应的API测试
Created By: @hohoTT
Accepted By: @virusdefender
URL: https://coding.net/u/virusdefender/p/qduoj/git/merge/11
2015-08-04 17:40:33 +08:00
hohoTT
006ed117f1 增加了公告的API接口和相应的API测试 2015-08-04 17:38:04 +08:00
esp
ca7bc6332d Accept Merge Request #10 : (sxw-dev -> dev)
Merge Request: 添加了登陆,修改密码,注册三个页面的csrf; 添加了usernameCheck的valuedation检测方法; urls.py 添加了register,change_password页面。
Created By: @esp
Accepted By: @esp
URL: https://coding.net/u/virusdefender/p/qduoj/git/merge/10
2015-08-04 16:08:22 +08:00
sxw
62a9e050f5 添加了登陆,修改密码,注册三个页面的csrf;
添加了usernameCheck的valuedation检测方法;
urls.py 添加了register,change_password页面。
2015-08-04 16:05:40 +08:00
esp
e75cd60741 Accept Merge Request #9 : (sxw-dev -> dev)
Merge Request: 增加了修改密码的页面和js
Created By: @esp
Accepted By: @esp
URL: https://coding.net/u/virusdefender/p/qduoj/git/merge/9
2015-08-04 15:02:10 +08:00
sxw
68c5a580d7 Merge branch 'dev' into sxw-dev
Conflicts:
	oj/urls.py
2015-08-04 14:58:45 +08:00
sxw
58a664af1b 增加了注册js 2015-08-04 14:56:17 +08:00
sxw
3ccb7740f2 增加了修改密码的页面和js 2015-08-04 14:55:38 +08:00
virusdefender
93e4599789 Accept Merge Request #8 : (virusdefender-dev -> dev)
Merge Request: 增加 login_required decorator 和对应的测试
Created By: @virusdefender
Accepted By: @virusdefender
URL: https://coding.net/u/virusdefender/p/qduoj/git/merge/8
2015-08-04 13:23:46 +08:00
virusdefender
c72624e2d5 增加 login_required decorator 和对应的测试 2015-08-04 13:22:37 +08:00
virusdefender
7d0ec41d27 Accept Merge Request #6 : (dev -> master)
Merge Request: dev -> master
Created By: @virusdefender
Accepted By: @virusdefender
URL: https://coding.net/u/virusdefender/p/qduoj/git/merge/6
2015-08-03 20:03:43 +08:00
virusdefender
22d6181471 Accept Merge Request #5 : (virusdefender-dev -> dev)
Merge Request: virusdefender-dev -> dev
Created By: @virusdefender
Accepted By: @virusdefender
URL: https://coding.net/u/virusdefender/p/qduoj/git/merge/5
2015-08-03 20:03:16 +08:00
virusdefender
5cd58164c9 Accept Merge Request #4 : (hohoTT-dev -> virusdefender-dev)
Merge Request: 新增用户修改密码和API测试的功能
Created By: @hohoTT
Accepted By: @virusdefender
URL: https://coding.net/u/virusdefender/p/qduoj/git/merge/4
2015-08-03 19:58:48 +08:00
hohoTT
b7280719ac 新增修改用户密码和对应的API测试功能 2015-08-03 19:54:55 +08:00
hohoTT
2a2ef36d14 增加用户注册代码和API测试 2015-08-03 18:45:26 +08:00
virusdefender
b3d5519987 删除 urls 里面多余的 login url[CI SKIP] 2015-08-03 17:14:44 +08:00
virusdefender
8b0ad78b1a 增加检测用户名是否存在的 api 接口和相应测试 2015-08-03 16:52:31 +08:00
sxw
2454db54b0 修复了空格和tab混合的问题 2015-08-03 16:37:20 +08:00
sxw
90eaadbb1c 增加了用户注册页面和对应的urls配置 2015-08-03 16:34:55 +08:00
virusdefender
798e68509b 修改 js 路径和引用方式 2015-08-02 18:09:28 +08:00
virusdefender
cf4ae5aa12 增加题目列表页和部分 ajax js [CI SKIP] 2015-08-02 16:58:41 +08:00
virusdefender
335051dbd4 修复单元测试错误 2015-08-02 14:27:09 +08:00
virusdefender
37529512c9 增加daocloud ci 2015-08-02 14:24:30 +08:00
virusdefender
7ff8ce9504 增加数据库 migrate 2015-08-02 14:07:57 +08:00
virusdefender
be675c17a0 修改 js 错误 2015-08-02 14:01:53 +08:00
virusdefender
eb686a0f1a 增加启动命令 2015-08-02 12:22:13 +08:00
virusdefender
4fb0bd7945 自动排除了 lib,导致js 不全 2015-08-02 12:21:12 +08:00
virusdefender
477fc68ae2 换回 python 环境 2015-08-02 11:55:44 +08:00
virusdefender
a039ff333d 更换 docker 环境 2015-08-02 11:47:32 +08:00
virusdefender
d2c19e91d4 修改 dockerfile 2015-08-02 11:07:08 +08:00
virusdefender
d94d472e21 自动创建 LOG 文件夹 2015-08-02 10:59:01 +08:00
virusdefender
348aaa53d1 another typo 2015-08-02 10:56:12 +08:00
virusdefender
4b0fdb5495 typo 2015-08-02 10:54:18 +08:00
virusdefender
ebbbc857b5 dockerfile 里面的 typo 2015-08-02 10:52:36 +08:00