Commit Graph

866 Commits

Author SHA1 Message Date
sw 423849ca84 加入课程、退出课程、配置、关闭、复制等按钮 2015-03-18 17:14:26 +08:00
sw 1c30b8c81c 1、增加获取某个课程动态数的方法
2、修改首页配置、关闭、复制课程等按钮的样式
2015-03-18 16:34:25 +08:00
sw 8f5d8c86a3 新版样式header调整 2015-03-18 16:16:18 +08:00
sw 64b0646281 base_course基本完成 2015-03-18 15:18:06 +08:00
sw e4c0c840bf 1、完成课程模块导航栏样式调整
2、修改意见反馈默认在右下角位置
3、调整我的课程、我的项目js
4、ruby生成的菜单栏添加样式及部分方法重写
5、封装部分页面的ruby代码到helper
2015-03-17 15:30:15 +08:00
whimlex e8da6ef871 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-03-17 15:07:51 +08:00
whimlex 50fe8f2bb7 项目配置模块 2015-03-17 15:06:15 +08:00
lizanle 86020804c9 ok 2015-03-17 09:42:04 +08:00
lizanle 33669017bf controller 2015-03-17 09:40:31 +08:00
lizanle 0c86ba210d Merge remote-tracking branch 'origin/szzh' into szzh
Conflicts:
	db/schema.rb
2015-03-17 09:38:24 +08:00
lizanle 5c4a62dcc4 DiscussDemo代码 2015-03-16 15:29:13 +08:00
guange bcb162c600 #1968 解决IE8不能上传的问题, 只是解决,体验还是没有chrome,firefox的好 2015-03-14 12:01:08 +08:00
sw d18e9ff66b Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-03-12 16:32:31 +08:00
sw 2ee04d55f2 修改项目邀请用户的界面 2015-03-12 15:46:24 +08:00
z9hang 7e7da7e445 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-03-12 11:18:00 +08:00
z9hang a05061af73 #1859 课程--资源库:全站搜索中“选入我的其他课程”弹出的课程列表中包括当前课程 2015-03-12 11:17:36 +08:00
sw b27bb34662 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/views/layouts/base_projects.html.erb
2015-03-12 09:00:12 +08:00
whimlex 57c8575470 新版项目模块国际化,目前完成各项目主页,项目动态,项目评分 2015-03-11 17:23:38 +08:00
sw 4b831c9e65 #2001 项目--工具集中wiki-“查看差别”中有html标签 2015-03-11 17:22:23 +08:00
whimlex 4b19463db7 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/views/layouts/base_projects.html.erb
	app/views/users/show.html.erb
	config/locales/zh.yml
2015-03-10 10:08:18 +08:00
whimlex 115eb38a02 完善用户资料模块,用户主页课程栏、留言栏、项目栏和标签模块国际化;对一些存储在数据表中的固定的中文属性,比如学期,职称,在helper和model中定义方法封装;平台导航模块,包括各模块内部导航的国际化;课程平台模块国际化整理和修改,去除重复功能标签 2015-03-10 09:45:36 +08:00
huang ce792f6ce8 修改邮件发送界面 2015-03-07 09:32:27 +08:00
huang b2b978d540 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-03-06 15:27:32 +08:00
huang c159bb2c48 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/controllers/projects_controller.rb
	app/views/issues/show.html.erb
	app/views/layouts/base_projects.html.erb
	app/views/projects/_form.html.erb
	app/views/projects/new.html.erb
	app/views/projects/show.html.erb
2015-03-06 15:23:42 +08:00
huang beac15475d 新项目及用户反馈框的修改!! 2015-03-06 14:55:21 +08:00
sw 5692cbf202 #1965 公共贴吧取消软件创客入口 2015-03-06 09:50:17 +08:00
sw 26081c6120 新建项目时增加不选择所属组织 2015-03-06 09:27:43 +08:00
sw 1f2b5eedb8 Merge branch 'dev_zanle' into szzh
Conflicts:
	app/views/projects/show.html.erb
	db/schema.rb
2015-03-06 08:59:29 +08:00
sw dead08a0d6 添加、修改项目增加所属组织的选择 2015-03-05 11:53:28 +08:00
lizanle 7ee58d1d44 项目动态重写,并去掉首页缓存 2015-03-04 15:32:00 +08:00
sw 73d2e2e5e2 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-02-10 09:07:04 +08:00
whimlex 22aae1910b Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/views/welcome/_search_project.html.erb
	config/locales/en.yml
	config/locales/zh.yml
2015-02-09 22:14:16 +08:00
whimlex 59a2c8283a 国际化结构调整 2015-02-09 22:07:21 +08:00
sw 2ceb21b83b Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-02-09 09:16:01 +08:00
z9hang d913f89a82 添加课程动态接口 2015-02-06 15:52:34 +08:00
sw 859889b750 简化查询匿评数量的代码 2015-02-06 11:27:37 +08:00
sw 4cdb3c83dd 增加获取用户在指定课程内作业数量的接口 2015-02-06 11:22:29 +08:00
huang 523af8b2a9 修改企业版结构及列表页面 2015-01-31 15:43:35 +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
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 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
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
huang d0a675f2b8 企业版模块 2015-01-30 14:11:35 +08:00
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
z9hang 5a20945e0d 选入我得课程列表中添加课程学期的显示 2014-11-26 14:54:31 +08:00
sw 5bcc76d399 修改作业提交项目第一项为请选择 2014-11-25 10:35:43 +08:00
sw 23da0a6dad 修改作业提交项目时默认问空 2014-11-25 10:03:56 +08:00
z9hang feccad8fa5 用户为创建课程,或没有作为教师的课程时,不显示引入我的课程按钮 2014-11-24 14:39:31 +08:00
sw d788e46546 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	config/locales/zh.yml
2014-11-22 13:52:46 +08:00