Commit Graph

4611 Commits

Author SHA1 Message Date
alan 6e72e07028 Merge branch 'szzh' into email_verify
Conflicts:
	Gemfile
	Gemfile.lock
2015-02-06 18:16:20 +08:00
alan 6f9e2bad63 mail weekly 2015-02-06 18:15:08 +08:00
z9hang d913f89a82 添加课程动态接口 2015-02-06 15:52:34 +08:00
z9hang cc83b30fc6 修正搜索用户接口,添加课程动态接口 2015-02-06 14:29:42 +08:00
sw 859889b750 简化查询匿评数量的代码 2015-02-06 11:27:37 +08:00
sw 3c8f851c37 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-02-06 11:22:48 +08:00
sw 4cdb3c83dd 增加获取用户在指定课程内作业数量的接口 2015-02-06 11:22:29 +08:00
sw 0b41afa571 修改作业匿评界面,左侧附件名显示混乱 2015-02-06 10:51:29 +08:00
z9hang cd25628208 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-02-06 10:36:06 +08:00
z9hang b1903dba11 添加课程留言接口 2015-02-06 10:35:38 +08:00
lizanle d902d76ae2 将google统计换为了百度统计 2015-02-06 10:15:18 +08:00
sw 50244e6860 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-02-06 09:32:50 +08:00
sw 95b757ba09 修改问卷发布成功和取消发布成功后弹框提示样式 2015-02-06 09:32:32 +08:00
z9hang 0dfa428377 手机API添加回复留言接口 2015-02-05 17:32:19 +08:00
z9hang ef203ff40c 修正作业留言接口 2015-02-05 16:11:35 +08:00
z9hang d6813e5996 项目新闻报错问题,作业留言接口 2015-02-05 15:54:50 +08:00
z9hang d6b82c3549 修正课程通知评论接口 2015-02-04 14:39:46 +08:00
z9hang 4fdc1b97a5 配置API comment接口,修正显示课程通知接口未判断权限问题 2015-02-04 14:07:00 +08:00
z9hang 3cd97f8a70 API添加comment模块 2015-02-04 13:47:52 +08:00
z9hang d1e2bfd6c4 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-02-04 12:27:47 +08:00
z9hang 6d79c2cf83 手机端API添加新闻评论实体Comment,新闻实体中引用Comment,课程新闻列表添加权限判断,并修正该接口不可用问题 2015-02-04 11:57:37 +08:00
sw da56477ed0 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-02-03 16:34:24 +08:00
z9hang 7e6d4e6215 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-02-03 16:03:49 +08:00
z9hang 8216453a02 匿评作品详情返回结果中添加comment_status字段 0:所属作业尚未开启匿评,1:匿评中 2:匿评结束 2015-02-03 16:03:30 +08:00
z9hang 87e658a0f1 修改评论接口,匿评结束后依然可以评论(属于留言) 2015-02-03 15:46:17 +08:00
huang 59e7f2f28b Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-02-03 15:23:05 +08:00
huang 8bef9420cf 修改企业版中自己能看到自己的私有项目 2015-02-03 15:22:45 +08:00
z9hang 9708c50899 添加作品评分接口 2015-02-03 15:10:21 +08:00
sw a752ade770 #1922 测试版--平台上传附件功能,附件显示问题 2015-02-03 15:02:45 +08:00
sw 6226974f0b Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-02-03 11:25:31 +08:00
huang 56fa330fed Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-02-03 11:25:08 +08:00
huang 26b1f9f433 修改企业版中存在的一些bug
最多只显示十个项目
提示的样式
代码优化
2015-02-03 11:24:46 +08:00
sw 7ab5eeab65 #1839上传附件名延后省略号显示 2015-02-03 10:42:36 +08:00
sw 320ee9289a #1897 修改点击DTS测试之后,TAB页背景色变化 2015-02-03 09:52:35 +08:00
alan 44c783a61b 帖子的邮件通知改成只有版主收到
Signed-off-by: alan <547533434@qq.com>
2015-02-02 17:31:27 +08:00
sw 93410e0d57 #1919 取消作业留言的动态显示 2015-02-02 17:23:32 +08:00
alan 646678c9db 修改《课程--学生列表:输入有效条件获得搜索结果,对搜索结果按积分排序,却自动返回对所有学生排序》bug
Signed-off-by: alan <547533434@qq.com>
2015-02-02 17:01:07 +08:00
alan 858b5ea97c 修改《讨论吧发帖发送邮件错误问题》
Signed-off-by: alan <547533434@qq.com>
2015-02-02 11:00:23 +08:00
lizanle fa8475387a Merge branch 'szzh' into dev_zanle 2015-02-02 10:06:53 +08:00
lizanle 8f5e613477 添加一些对代码理解的注释 2015-02-02 09:53:14 +08:00
sw a29887cfed 关闭问卷后,发布问卷和其他的发布问卷框框未对齐 2015-02-02 09:43:35 +08:00
sw 78d8a0a1c6 修改意见反馈折叠后背景为透明 2015-02-02 09:09:45 +08:00
sw 6261d95eba 首页显示异常 2015-01-31 17:27:52 +08:00
z9hang 944dc33212 注释掉API文档 2015-01-31 17:14:47 +08:00
z9hang 836be8c75e 添加企业首页配置功能 2015-01-31 17:14:01 +08:00
alan 9681e08600 Merge branch 'szzh' into email_verify
Conflicts:
	Gemfile.lock
2015-01-31 16:43:46 +08:00
sw 79d1a069c2 修改公司名字过长首页显示有问题 2015-01-31 16:19:13 +08:00
huang 2a65ba3af8 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-31 16:10:33 +08:00
huang 1dd8724656 修改样式 2015-01-31 16:10:20 +08:00
alan 1010003737 Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh
Conflicts:
	config/locales/zh.yml
2015-01-31 15:55:17 +08:00
alan 134f0d5557 Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh
Conflicts:
	config/locales/zh.yml
2015-01-31 15:49:00 +08:00
huang 3350bb98b6 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	config/locales/zh.yml
2015-01-31 15:46:30 +08:00
alan 9e36f9264c 修改《竞赛作业评分》
Signed-off-by: alan <547533434@qq.com>
2015-01-31 15:46:10 +08:00
huang 523af8b2a9 修改企业版结构及列表页面 2015-01-31 15:43:35 +08:00
alan 48cb0e0450 email verify 2015-01-31 15:04:48 +08:00
sw 2cc31e5c72 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-31 14:48:08 +08:00
whimlex c413ce1405 项目企业模块国际化修改 2015-01-31 14:44:16 +08:00
sw f3b99ec045 修改项目首页搜索按钮移位 2015-01-31 14:37:24 +08:00
sw 9b854f4264 修改编辑作业列表显示异常 2015-01-31 14:29:11 +08:00
sw d76c0a5365 修改新建作业界面显示异常 2015-01-31 14:28:02 +08:00
sw 8289ca6c89 11111 2015-01-31 11:14:55 +08:00
whimlex 6a22e47b0a Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-31 10:55:31 +08:00
whimlex 57237c76d8 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	config/locales/zh.yml
2015-01-31 10:55:08 +08:00
whimlex 3e1d90630e 找回密码,邮件激活国际化 2015-01-31 10:48:09 +08:00
alan 3484fd34bb merge dev_zanle branch
Signed-off-by: alan <547533434@qq.com>
2015-01-31 10:47:09 +08:00
alan 7710af316d Merge remote-tracking branch 'remotes/origin/dev_zanle' into szzh 2015-01-31 10:46:29 +08:00
alan b5e49e2e1c Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh 2015-01-31 10:10:28 +08:00
huang 768e06ea8a Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-30 17:58:58 +08:00
huang be9ff9b4bb 修改控制器名
解决列表中企业重名的bug
2015-01-30 17:58:41 +08:00
alan e34e87bb82 Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh 2015-01-30 17:48:18 +08:00
alan 2f168dd4d7 修改《课程动态》样式
Signed-off-by: alan <547533434@qq.com>
2015-01-30 17:47:57 +08:00
lizanle 999b395763 添加Kaminari分页样式文件,
_paginator.html.erb 这是总的入口文件,可以通过修改它来调整显示的整体结构
比如我不需要“首页”,”末页“这两个链接,那么我就在这个文件里面将对应的代码删除
_page.html.erb 对应页码链接
_first_page.html.erb / _last_page.html.erb 对应“首页”和“末页”的链接
_prev_page.html.erb / _next_page.html.erb 对应“上一页”和“下一页”的链接
_gap.html.erb 空隙的显示,默认是中间的省略号(...)
2015-01-30 17:26:23 +08:00
lizanle a47cb8eb65 去掉原有的样式分页样式 2015-01-30 17:24:56 +08:00
z9hang d8571ac931 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-30 16:58:18 +08:00
z9hang 6bd202e80a 课程作业列表当当前用户为课程学生时,输出分配给改学生匿评的作业集合 2015-01-30 16:58:05 +08:00
sw 269f1835b0 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-30 16:19:35 +08:00
sw 34c68a59fc 关闭问卷之后老师容许查看统计结果 2015-01-30 16:19:05 +08:00
alan f2a3ce0ece 修改《网页标题显示为“中国高校”不合适》bug
Signed-off-by: alan <547533434@qq.com>
2015-01-30 16:05:36 +08:00
alan 661dbe5219 Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh 2015-01-30 14:52:48 +08:00
alan a467736a5e 修改《多字段唯一性判断》
Signed-off-by: alan <547533434@qq.com>
2015-01-30 14:52:36 +08:00
huang 666ebf9b5b Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-30 14:45:47 +08:00
huang 9e470fa25c meigia 2015-01-30 14:45:33 +08:00
sw 0d6261dfa7 Merge branch 'dev_zanle' into szzh
Conflicts:
	app/controllers/projects_controller.rb
	app/helpers/projects_helper.rb
2015-01-30 14:38:54 +08:00
sw 31c78279ea 删除多余的一个end 2015-01-30 14:31:15 +08:00
huang d91c0442d1 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-30 14:29:01 +08:00
huang 29df528af1 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/views/welcome/index.html.erb
	config/locales/zh.yml
	config/routes.rb
2015-01-30 14:27:56 +08:00
sw 36c07f9664 修改拒绝项目成员加入后,页面不会刷新的BUG 2015-01-30 14:16:32 +08:00
huang d0a675f2b8 企业版模块 2015-01-30 14:11:35 +08:00
lizanle 22dd4981c0 修改分页函数 2015-01-30 13:35:10 +08:00
lizanle b453d16228 将controller里的两个方法挪到helper 2015-01-30 13:30:06 +08:00
lizanle 90649209ca 封装,简化,重新编排代码格式,并删掉了一些无用的方法代码 2015-01-30 13:29:25 +08:00
lizanle abc5dd1c74 添加表格样式 2015-01-30 12:07:07 +08:00
lizanle 0232826a6e 上次修改引入bug:关键字查询不到任何东西 2015-01-30 12:04:33 +08:00
lizanle e761cd5f22 关键字查询会丢失样式 2015-01-30 11:52:37 +08:00
sw 87fdd840ec 首页加入项目增加已是当前项目的判断 2015-01-30 11:39:19 +08:00
lizanle 852bb940a2 过滤掉日志中日志分析的请求 2015-01-30 11:31:41 +08:00
sw a265556cfe 搜索项目时增加js验证增加 2015-01-30 11:00:18 +08:00
sw 0d5384c6d8 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-30 10:37:58 +08:00
sw 97ec208b1a Merge branch 'dev_zanle' into szzh
Conflicts:
	config/routes.rb
2015-01-30 10:37:05 +08:00
whimlex deadea81fa Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-30 10:35:23 +08:00
whimlex 617107f0cb Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/views/welcome/index.html.erb
	config/locales/zh.yml
2015-01-30 10:34:47 +08:00
lizanle f3f590a834 # 这写变量发现没有用而且拖慢速度
#@teachers= searchTeacherAndAssistant(@course)
    #@canShowRealName = isCourseTeacher(User.current.id,@course)
2015-01-30 10:27:21 +08:00
whimlex f05e046751 首页国际化 2015-01-30 10:26:26 +08:00
sw 6bca666f08 #1896 课程--问卷调查--新建题目时点击确定按钮无反应 2015-01-30 10:24:06 +08:00
sw c56f641163 修改首页加入项目按钮没反应 2015-01-30 09:57:43 +08:00
sw ce526fde77 Merge branch 'dev_zanle' into szzh
Conflicts:
	config/routes.rb
2015-01-30 09:05:47 +08:00
sw 2978d9020f Merge branch 'develop' into szzh 2015-01-29 17:44:37 +08:00
sw c366cc90e7 修改删除问卷后相关BUG 2015-01-29 17:33:10 +08:00
sw a772ef329d 修改问卷时增加问卷标题不能为空的提示 2015-01-29 17:01:19 +08:00
sw 108435f933 新增题目时,增加标题不能为空的js验证 2015-01-29 16:53:11 +08:00
sw b71d714103 #1887 用户职称显示问题 2015-01-29 16:39:25 +08:00
sw bf75f32903 修改个人留言界面,左侧个人信息样式显示不正确 2015-01-29 16:22:26 +08:00
sw af7e605f76 添加新闻时,“提交”按钮和“取消”按钮之间有一竖 2015-01-29 16:13:36 +08:00
lizanle 3637d1906d Merge branch 'szzh' into dev_zanle
Conflicts:
	Gemfile
	config/routes.rb
2015-01-28 12:38:32 +08:00
lizanle 87b230623b Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-28 12:32:16 +08:00
whimlex b7c7cc4c64 意见反馈栏实现cookie缓存收拉属性,实现页面刷新跳转,意见反馈栏收拉一致 2015-01-28 12:13:17 +08:00
z9hang a6488da7fa 修改API上线问题 2015-01-28 10:45:20 +08:00
z9hang f7dbb24d35 修改测试版上线问题 2015-01-28 10:31:30 +08:00
z9hang 222e2cc135 修改ErrorHandler未能加载问题 2015-01-28 09:25:58 +08:00
z9hang f793cff398 改为开发模式下才调用api文档 2015-01-27 17:34:02 +08:00
z9hang 91a8078cae Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-27 16:03:53 +08:00
z9hang cf1cd9201c 修改上传资源弹框样式 2015-01-27 16:03:38 +08:00
alan 20f4b5c44b 修改《contest新建的样式》
Signed-off-by: alan <547533434@qq.com>
2015-01-27 15:43:06 +08:00
alan 5434a5b087 修改《admin可以访问courses和users列表》
Signed-off-by: alan <547533434@qq.com>
2015-01-27 15:29:09 +08:00
alan 36dfd7c77c Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh 2015-01-27 15:12:56 +08:00
alan 00c0ddc600 admin查看course和user列表
Signed-off-by: alan <547533434@qq.com>
2015-01-27 15:11:24 +08:00
sw 950d831108 Merge branch 'api' into szzh 2015-01-27 14:51:15 +08:00
lizanle ff23ecb9a8 Merge branch 'szzh' into dev_zanle 2015-01-27 14:46:04 +08:00
lizanle fd42af1ac4 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-27 14:32:54 +08:00
lizanle d8b5252279 调整了注释 2015-01-27 14:21:51 +08:00
lizanle 5afbf6dbca 调整了注释 2015-01-27 14:19:46 +08:00
sw 5950f0404b #1832 不显示无数据的字段,字段名 2015-01-27 11:35:19 +08:00
sw 56700f4d62 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-27 11:06:42 +08:00
sw 649c65fbe2 国际化部分代码 2015-01-27 10:14:05 +08:00
sw fe06ca503a 增加poll colsed_at的赋值 2015-01-27 09:55:02 +08:00
sw 97c7ccac16 增加关闭问卷功能 2015-01-27 09:45:15 +08:00
z9hang 4b3621905e 修正课程成员搜索bug 2015-01-27 09:06:00 +08:00
whimlex 0ff22b1ac0 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-26 17:47:47 +08:00
whimlex e5e24c1163 resolve conflict 2015-01-26 17:47:33 +08:00
whimlex 64cbeddd13 项目“缺陷”修改为“问题跟踪”,sidebar栏“缺陷”修改为“问题”;项目新建新闻按钮样式统一;新建课程样式统一;课程重开和关闭国际化;竞赛导航锁定;翻译缺失修正 2015-01-26 17:37:05 +08:00
alan 36ec204f40 修改《公共贴吧中,回复了帖子后,重新编辑的话能编辑标题》
Signed-off-by: alan <547533434@qq.com>
2015-01-26 16:54:46 +08:00
alan f1495686e9 Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh 2015-01-26 15:54:38 +08:00
alan 0944cc4ca8 < 邮件格式调整>
Signed-off-by: alan <547533434@qq.com>
2015-01-26 15:54:23 +08:00
sw d135274281 修改重复加入项目提示语 2015-01-26 15:41:10 +08:00
sw 87f19f7a8b #1873 加入”==》“申请加入” 2015-01-26 14:25:39 +08:00
sw 2f8d57797c 增加弹出框的宽度 2015-01-26 14:09:56 +08:00
alan 472ccc45bf Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh 2015-01-23 23:12:51 +08:00
sw 02f01c1aba 修改首页加入项目 2015-01-23 17:10:21 +08:00
z9hang db1cd8851c Merge branch 'szzh' into api
Conflicts:
	Gemfile
	db/schema.rb
2015-01-23 16:51:40 +08:00
z9hang b2396df68c 优化下代码 2015-01-23 16:31:41 +08:00