Commit Graph

771 Commits

Author SHA1 Message Date
lizanle b453d16228 将controller里的两个方法挪到helper 2015-01-30 13:30:06 +08:00
lizanle 0232826a6e 上次修改引入bug:关键字查询不到任何东西 2015-01-30 12:04:33 +08:00
lizanle e761cd5f22 关键字查询会丢失样式 2015-01-30 11:52:37 +08:00
lizanle 852bb940a2 过滤掉日志中日志分析的请求 2015-01-30 11:31:41 +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
whimlex f05e046751 首页国际化 2015-01-30 10:26:26 +08:00
sw ce526fde77 Merge branch 'dev_zanle' into szzh
Conflicts:
	config/routes.rb
2015-01-30 09:05:47 +08:00
sw b71d714103 #1887 用户职称显示问题 2015-01-29 16:39:25 +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
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
sw 5950f0404b #1832 不显示无数据的字段,字段名 2015-01-27 11:35:19 +08:00
sw 649c65fbe2 国际化部分代码 2015-01-27 10:14:05 +08:00
z9hang db1cd8851c Merge branch 'szzh' into api
Conflicts:
	Gemfile
	db/schema.rb
2015-01-23 16:51:40 +08:00
whimlex 38157e560e 课程--资源库--上传资源:当变化屏幕分辨率时,“上传文件”字样显示异常;添加用户或组没有链接;新建课程中,平台按钮样式调整成统一风格;课程主页,竞赛 2015-01-23 15:08:34 +08:00
lizanle 90661374a5 Merge branch 'szzh' into dev_zanle
Conflicts:
	Gemfile
	app/controllers/projects_controller.rb
	config/locales/zh.yml
2015-01-23 10:33:07 +08:00
lizanle 0147b30133 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	Gemfile
2015-01-23 10:25:28 +08:00
lizanle 27fde6c641 添加注释 2015-01-23 09:47:54 +08:00
sw a0e6b9c2fe Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	config/locales/zh.yml
2015-01-22 17:51:11 +08:00
z9hang f1693e237b 修改匿评作品详情接口,输出匿评作品详情的同时还输出对该作品的评论(包括,教师评分,匿评及留言) 2015-01-22 17:21:15 +08:00
sw 54c8ee9d4d 增加学生答完问卷之后。能看到自己答题结果的功能 2015-01-21 17:51:12 +08:00
lizanle 59a47002ae 重构,修正了许多的空指针异常 2015-01-22 16:46:06 +08:00
z9hang 89e0f98034 启动匿评接口 2015-01-21 15:29:05 +08:00
alan f01d164295 Signed-off-by: alan <547533434@qq.com> 2015-01-21 12:01:02 +08:00
alan 6ccb154cc3 课程留言,发邮件给课程所有人
Signed-off-by: alan <547533434@qq.com>
2015-01-21 11:33:29 +08:00
z9hang b949f70c64 修改数据格式转换方法 2015-01-20 17:42:18 +08:00
z9hang abcf06ccc7 课程资源不能引用问题。原因:15年1-3月能属于2014年秋季学期,代码却将其判断为15年秋季学期了 2015-01-19 15:00:46 +08:00
lizanle 2431fea63e 日志查看Helper 2015-01-19 14:05:43 +08:00
sw 1e8c6374d7 Merge branch 'szzh' into Poll
Conflicts:
	app/views/layouts/_base_feedback.html.erb
2015-01-17 15:03:59 +08:00
huang e8cca08f40 多选查询去重,修改样式 2015-01-17 14:54:19 +08:00
huang 6bba6b2b76 weiwan 2015-01-17 14:04:20 +08:00
huang 6e698d45bb 修改了html边界超出问题 2015-01-17 12:34:57 +08:00
huang 0f5c3c5f4c 添加主观题统计页面及样式 2015-01-17 11:46:34 +08:00
huang 3acec4b7c1 修改了总统计数 2015-01-17 10:14:07 +08:00
huang 59c21d81e9 修改了分母不能为0的bug
统计结果精确到两位
2015-01-16 16:48:20 +08:00
huang 7177303eeb 问卷统计最终效果 2015-01-16 15:49:22 +08:00
z9hang dc2c96f59a 提交后的问卷禁止查看与编辑 2015-01-16 10:19:38 +08:00
alan 5191411508 <邮件加密自动登录功能,邮件附件下载功能>
Signed-off-by: alan <547533434@qq.com>
2015-01-15 18:48:19 +08:00
z9hang 77dc9607df 简答题答题 2015-01-15 17:36:30 +08:00
z9hang d684acf527 多选题答题功能 2015-01-15 11:54:30 +08:00
z9hang 6d82e79e7f 答题相关方法添加 2015-01-15 09:41:19 +08:00
lizanle aca74bf937 Merge remote-tracking branch 'origin/dev_zanle' into szzh
Conflicts:
	Gemfile
	app/views/welcome/index.html.erb
2015-01-14 16:15:09 +08:00
z9hang 0f9915fc2a Merge branch 'szzh' into api
Conflicts:
	Gemfile
	Gemfile.lock
	app/controllers/bids_controller.rb
	app/controllers/users_controller.rb
	db/schema.rb
2015-01-13 15:12:05 +08:00
huang 293b3a3b42 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-10 15:42:33 +08:00
huang f7c1b76b3d 用户反馈弹框模块! 2015-01-10 15:39:02 +08:00
alan fb6c297a37 Signed-off-by: alan <547533434@qq.com> 2015-01-10 11:46:39 +08:00
alan 575b641e25 merge dev_chuangbin
Signed-off-by: alan <547533434@qq.com>
2015-01-10 11:01:16 +08:00
lizanle 3047b523b0 add expire_helper and change the code way of set cache expire! 2015-01-09 15:28:43 +08:00
alan 9bbc8d64eb 课程母版页加载缓慢
Signed-off-by: alan <547533434@qq.com>
2015-01-08 17:04:25 +08:00
alan 2262997c31 修改《新建课程时:课程名中有空格或者特殊符号会提示名称无效,》
《 缺陷 Trustie-Forge#1782 (已解决): lable标签和对应的显示值之间间距过大的问题,例如个人主页左侧的信息,具体如图所示》
    《本地版中关于学生列表的分组出现的问题:当前已存在A组,再次添加A组应给出提示“A组已存在”,该功能目前只有在学生列表首次加载时才正常》
   《托管,课程,竞赛主页中任意点击某一项目,进入该项目主页,右上角的搜索按钮风格和大小不统一。》
   《进入某竞赛主页,点击创新竞赛链接没反应》bug
Signed-off-by: alan <547533434@qq.com>
2015-01-08 16:16:59 +08:00
alan b17d4840b1 《作业优化》
Signed-off-by: alan <547533434@qq.com>
2014-12-25 10:23:59 +08:00
alan 0e7f7a4254 优化《作业评分》
Signed-off-by: alan <547533434@qq.com>
2014-12-24 18:31:45 +08:00
sw 819c4c0bc1 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/controllers/users_controller.rb
2014-12-24 09:45:23 +08:00
alan 2a94c61a3e 修改bug(项目--缺陷:更新图片时在历史记录中没有相关记录,删除图片只显示一个更新时间也不合理)
Signed-off-by: alan <547533434@qq.com>
2014-12-23 17:37:45 +08:00
sw f834759d84 #1709测试版--课程--加入课程:成功加入课程,还是显示为“加入”,需手动刷新页面 2014-12-23 11:05:31 +08:00
alan 683acfcafc 优化《学生列表作业评分查询太慢》功能
Signed-off-by: alan <547533434@qq.com>
2014-12-22 10:31:09 +08:00
alan 1965b75d92 添加《学生列表按作业评分排序》功能
Signed-off-by: alan <547533434@qq.com>
2014-12-18 18:24:37 +08:00
alan 7c1b86556d 增加《作业评分弹窗》《学生列表增加作业评分》两项功能
Signed-off-by: alan <547533434@qq.com>
2014-12-17 17:36:12 +08:00
= bb23468c7d Merge branch 'szzh' into api
Conflicts:
	app/controllers/account_controller.rb
	app/controllers/courses_controller.rb
	db/schema.rb
2014-12-17 16:41:28 +08:00
z9hang 36967eeec0 修改注册接口、添加作业列表接口 2014-12-15 13:44:26 +08:00
z9hang 9abe730dff 恢复私有课程的公开资源不能引用问题(导致搜索速度慢) 2014-12-12 18:06:10 +08:00
z9hang e4439daf3b 全站搜索bug 2014-12-12 16:59:18 +08:00
z9hang c0a0c41e14 私有课程的公开资源能下载bug 2014-12-12 16:53:49 +08:00
sw cf5b03a379 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/views/courses/_member_list.html.erb
2014-12-10 17:56:50 +08:00
sw d9250231e5 #1698 1.修改标签查询结果中点击课程/项目列表报错的BUG
2.修改页面代码
2014-12-10 09:19:00 +08:00
alan 90a01c8d84 对新增功能《添加学生列表班内搜索和课内搜索》样式微调
Signed-off-by: alan <547533434@qq.com>
2014-12-09 15:16:43 +08:00
alan d8a568e685 增加《分班搜索学生》功能
Signed-off-by: alan <547533434@qq.com>
2014-12-09 14:57:10 +08:00
alan fbe6ce16d7 修改《分组界面》样式
Signed-off-by: alan <547533434@qq.com>
2014-12-05 23:34:16 +08:00
sw d5de3dcb56 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/controllers/courses_controller.rb
2014-12-05 14:48:22 +08:00
sw f2cfa6d4a1 修改课程老师、学生数量显示为实际数字,而不是+ 2014-12-05 11:30:19 +08:00
alan 078639b35a Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into course_group 2014-12-05 10:53:58 +08:00
alan cfb8edbfe2 分组功能样式微调
Signed-off-by: alan <547533434@qq.com>
2014-12-05 10:53:43 +08:00
sw a64cae5da3 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-12-05 10:30:39 +08:00
z9hang 2b3edbc8fb #1663 课程资源库--全站搜索:老师不能引用其他资源至我的课程了 2014-12-05 09:54:13 +08:00
alan c9b84d0a35 增加《学生加入,退出分组》功能
Signed-off-by: alan <547533434@qq.com>
2014-12-04 22:02:10 +08:00
alan 66f93150f6 Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into course_group 2014-12-04 19:09:51 +08:00
alan 9765f11f7e 增加<修改,添加分组>功能
Signed-off-by: alan <547533434@qq.com>
2014-12-04 19:09:10 +08:00
sw 4bbc76a217 1.重写homework_attach的show方法,优化弹出框的弹出效率
2.修改相关的view层代码
3.增加获取指定评分的评论的方法
2014-12-04 18:01:53 +08:00
z9hang 2a7e0365b8 注册修改 2014-12-04 15:53:47 +08:00
alan 3d12d6f0e8 Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into course_group
Conflicts:
	db/schema.rb
2014-12-03 19:20:25 +08:00
alan 615bc7d444 增加课程分组的功能
Signed-off-by: alan <547533434@qq.com>
2014-12-03 19:17:10 +08:00
sw 19b61118ac 修改加入按钮失败后变为加入课程按钮 2014-12-02 18:00:57 +08:00
sw f934824175 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-12-02 17:05:27 +08:00
sw d9c3103e6e 1.修改留言列表得分显示样式
2.修改获取指定用户对作业评分的方法
2014-12-02 16:55:16 +08:00
z9hang 29d4266c6c 引用次数的统计修改及按引用排序 2014-12-02 15:30:32 +08:00
alan 63c9804da8 添加course_group表单到数据库中,并建立对应于members和courses之间的关联,
对相应页面的修改

Signed-off-by: alan <547533434@qq.com>
2014-12-02 14:41:36 +08:00
z9hang 298b767fc4 资源显示,对于课程外人员不在显示私有资源 2014-12-01 15:03:47 +08:00
z9hang 514dcb97a0 完成资源按时间、下载次数排序功能 2014-11-28 11:33:51 +08:00
z9hang c2d618ce9c Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-11-27 17:17:53 +08:00
z9hang 71e7d2c872 修改全站搜索结果显示策略:私有资源属于当前课程,且当前用户为当前课程的成员时可见,其他情况私有资源不可见 2014-11-27 17:17:33 +08:00
sw cd3f4ef8d3 修改标签的显示js 2014-11-27 16:44:14 +08:00
sw 2b5160f2d9 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-11-27 10:27:02 +08:00
z9hang 9898e1650b 1、学生看不到私有资源bug。2、引用资源弹框中无课程可显示时不显示引入我的课程按钮。3、引用资源时提示信息样式修改 2014-11-27 10:18:41 +08:00
z9hang b0db7dfece 添加判断课程是否为当前学期或下一学期方法 2014-11-26 17:38:46 +08:00
z9hang f267a3daf8 引用课程中已有的资源时提示资源已存在 2014-11-26 16:51:09 +08:00
sw e68900b9a0 #1616 修改课程时开课日期选项错误 2014-11-26 16:08:14 +08:00
z9hang 8a3669ba3b 引用次数统计包括多级引用 2014-11-26 15:26:57 +08:00