Commit Graph

446 Commits

Author SHA1 Message Date
huang 7c1bb8b9ed Merge branch 'szzh' into gitlab_guange
Conflicts:
	Gemfile
	app/models/user.rb
	db/schema.rb
	lib/trustie.rb

解决冲突
2015-10-10 16:09:05 +08:00
lizanle 94bffb5458 插入头像 , 粘贴图片 ,插入图片,都要加入域名。防止邮件中出现图片不显示的问题 2015-10-10 11:37:58 +08:00
lizanle 5f8d21f1cb 暂时去掉 工具栏聚焦和不聚焦的时候 的隐藏和显示控制 2015-10-09 14:26:27 +08:00
lizanle b04e20ed7d 工具栏聚焦和不聚焦的时候 的隐藏和显示控制 2015-10-09 14:25:40 +08:00
huang 3f6d64877a 1、老师发布作业自己能收到
2、关闭给所有人发
3、修改参数member问题
2015-09-29 15:59:48 +08:00
ouyangxuhua 073761781d Merge branch 'dev_hjq' of http://repository.trustie.net/xianbo/trustie2 into dev_hjq 2015-09-29 10:28:37 +08:00
ouyangxuhua 2557e9063d 修改开启匿评中的send_message_anonymous_comment方法成对应代码 2015-09-29 10:25:37 +08:00
ouyangxuhua 769a4a1bcf 1.增加issue截止日期提醒消息;
2.修改相应rake代码
2015-09-29 10:15:35 +08:00
huang f4e2f6c4ff 作业截止日期消息时间调整,代码优化 2015-09-29 10:03:11 +08:00
huang 5b0738a4cb 匿评启动失败邮件通知:实现程序及界面 2015-09-29 09:45:41 +08:00
huang 0336cc2cf6 issue截止时间消息提醒 2015-09-29 09:22:57 +08:00
huang 5f26e331c6 缺陷截止时间到了消息通知 2015-09-28 17:31:55 +08:00
huang ba569403c3 1、匿评关闭/开启发送对象为所有成员
2、匿评方法封装
3、匿评开启/关闭邮件通知发送对象为课程所有成员
2015-09-28 15:35:08 +08:00
huang 38ba47f8c8 讨论区结构修改
任务中添加:自动开启/关闭匿评消息通知
匿评开启失败消息通知
2015-09-24 16:16:37 +08:00
sw d727097ed2 1、已开启匿评代码没有匿评设置功能
2、匿评结束不显示
2015-09-23 17:33:06 +08:00
sw 7b37f3a9f4 开启匿评、关闭匿评任务编写 2015-09-23 17:25:38 +08:00
huang 0fead3b801 1、课程留言发送对象为老师
2、作业截止时间邮件通知不适用delay_job
3、添加作业截止时间邮件通知界面
2015-09-18 10:05:26 +08:00
huang d00ad2e14d 1、作业截止时间邮件通知
2、系统消息通知路由、方法定义
2015-09-17 16:07:41 +08:00
huang 4d4b48ef99 Merge branch 'szzh' into dev_hjq
Conflicts:
	db/schema.rb
2015-09-11 15:50:10 +08:00
huang bb3fc97528 作业截止时间消息通知:
1、时间区段设置为24小时
2、只进行一次消息提醒
2015-09-11 11:02:40 +08:00
huang 92a3d78dcc 完成作业截止定时发送消息 2015-09-10 17:37:25 +08:00
lizanle 756aae0cf2 发布issue编辑器可以上传代码并高亮显示了 2015-09-10 15:45:08 +08:00
huang 6b0432c04c 添加job任务 2015-09-10 09:06:00 +08:00
huang 66251c8d30 添加功能:管理员界面发送系统消息 2015-09-09 17:05:32 +08:00
lizanle faf5f1eab5 通过 kindeditor_tag f.kindeditor生产的编辑框可以自动长高缩短 2015-09-09 09:52:39 +08:00
lizanle de822daf44 个人动态编辑框高度自动变高缩短
其他编辑框自动长高缩短
2015-09-08 11:18:02 +08:00
guange d36da76685 Merge remote-tracking branch 'origin/szzh' into guange_dev 2015-08-15 19:47:53 +08:00
cxt da20f6bc89 超级管理员新增功能:留言列表、帖子、通知、最近登录用户列表、作业 2015-08-15 17:06:50 +08:00
guange f082ff745e 同步members 2015-08-01 20:09:53 +08:00
guange 9d8596a14c 新增gitlab adapter用于适配gitlab命令 2015-08-01 18:48:55 +08:00
guange 909521df54 Merge remote-tracking branch 'origin/szzh' into gitlab_guange 2015-08-01 09:41:01 +08:00
sw 7c818ce59a admin界面增加学校列表显示,以及按名称过滤功能 2015-07-27 16:07:29 +08:00
guange bf5f7f8d4f 加入分支参数 2015-07-25 11:18:09 +08:00
guange 5732d9cee2 加入输出日志 2015-07-25 10:17:03 +08:00
guange 71970e1942 支持按时间段来统计每人的提交量 2015-07-24 16:53:21 +08:00
guange 7d0a53ec86 merge 2015-07-21 20:56:33 +08:00
guange 006ed66d7a 新注册用户可以同步到gitlab 2015-07-15 15:51:49 +08:00
guange 3614c6ee9b project同步 2015-07-12 15:56:15 +08:00
guange f56e48d60a Merge remote-tracking branch 'origin/szzh' into guange_dev 2015-07-04 22:31:07 +08:00
guange b762ae6bdd 报告人员只能克隆,不能提交,其他可以克隆和提交 2015-07-04 22:29:25 +08:00
guange 8da9805bcc 兼容ruby 1.9 2015-07-02 20:10:52 +08:00
guange 2f86874c6c Merge branch 'grack' into guange_dev 2015-07-01 22:58:57 +08:00
guange 88491e7e2a 清除提交错误 2015-07-01 22:58:46 +08:00
guange acd4f33d72 添加grack 2015-07-01 22:56:04 +08:00
guange 6fa67051e1 本项目的成员可以使用自己的用户名和密码克隆 2015-07-01 22:54:07 +08:00
sw f9880a00fd admin界面增加课程列表及相关路由 2015-07-01 16:41:17 +08:00
guange 797ed5081d 同步登录 2015-06-30 22:12:34 +08:00
guange 489f62edb7 删除帖子也要更新动态 2015-06-19 14:49:18 +08:00
guange 7a9b5712c0 message的动态单独处理 2015-06-18 10:54:28 +08:00
guange f58b530484 给课程活动慢加上缓存,并且加入了开关 2015-06-18 09:13:20 +08:00
guange d793a8119a 修改粘图的加载方式 2015-06-17 17:01:03 +08:00
sw 6d8f0e728d 课程 作业、通知模块,新版编辑器相关BUG 2015-06-12 16:26:24 +08:00
sw 1c808464d5 新版编辑器不可以拉宽 2015-06-10 16:12:19 +08:00
sw 8b0eb21d08 关注需求功能取消,部分用户进入个人主页报错 2015-06-05 11:17:00 +08:00
guange 444658d0b3 转换变为既时转换 2015-06-04 10:24:05 +08:00
guange f86acbb10f 需要迁移的预览文件优化 2015-06-03 18:30:49 +08:00
guange e4d68e988e 加上utf8头 2015-06-03 17:57:49 +08:00
guange 9ecb119aa4 task中也改为pdf 2015-06-03 17:43:42 +08:00
guange c331e5a9c8 转html改为转pdf 2015-06-03 17:42:41 +08:00
guange 00745f1270 修复文件预览bug 2015-06-03 11:40:00 +08:00
guange 57f8c7d04f added timeout 2015-06-03 10:54:40 +08:00
guange 670f9598e4 添加后台转换office任务 2015-06-03 09:53:10 +08:00
guange c9b46e4e3a 头像上传bug修复 2015-05-24 13:52:27 +08:00
guange eb73ba0b43 kindeditor界面打开时,有一个这个界面的过渡 2015-05-21 16:05:42 +08:00
guange 7b5021c4fd Merge remote-tracking branch 'origin/szzh' into guange_dev 2015-05-21 11:20:12 +08:00
huang 3f744d46f2 超级管理员界面--贴吧回复成功 2015-05-20 16:24:32 +08:00
guange 49d836d331 上传头像大小和图片类型在后台加入限制,且通过测试 2015-05-15 23:47:22 +08:00
guange 39308dacfd 将setting中的domain合并到host配置中 2015-05-14 21:40:34 +08:00
guange 06b17581b1 图片撑出在firefox上的问题 2015-05-14 17:45:02 +08:00
guange aab94676bb 在lib里不能直接用logger,要用Rails.logger 2015-05-13 09:24:02 +08:00
guange 092af28476 修正编辑器在火狐下粘贴不成功 2015-05-11 20:57:59 +08:00
guange 5c4ad1ce7d merge 2015-05-08 14:31:23 +08:00
guange eed39ef0ef 上传头像会进行压缩 2015-05-08 14:28:17 +08:00
alanlong9278 336b59f606 Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh
Conflicts:
	.gitignore
	Gemfile
	app/views/issues/index.html.erb
	app/views/layouts/_base_feedback.html.erb
	app/views/tags/_tag_name.html.erb

Signed-off-by: alanlong9278 <547533434@qq.com>
2015-05-08 09:15:50 +08:00
guange 3f88a67eef 编辑器支持直接粘贴QQ截屏 2015-05-06 23:32:34 +08:00
guange 86347cab89 现在可以通过rake redmine📧test[guange] 发送测试邮件 2015-04-27 16:44:53 +08:00
guange 3baba9c95e 清理gemfile 2015-04-27 11:56:10 +08:00
whimlex 6195f0a150 课程动态添加问卷发布,为通过问卷动态访问课程问卷做权限判断 2015-04-21 15:10:45 +08:00
alanlong9278 0668af4f89 Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh
Conflicts:
	app/views/bids/_bid_homework_show.html.erb

Signed-off-by: alanlong9278 <547533434@qq.com>
2015-04-20 14:54:02 +08:00
huang 7d87915413 Merge branch 'szzh' into dev_hjq
Conflicts:
	app/helpers/application_helper.rb
	app/helpers/files_helper.rb
	app/views/courses/_course_members.html.erb
	app/views/courses/settings.html.erb
	app/views/homework_attach/_homework.html.erb
	public/javascripts/course.js
	public/stylesheets/courses.css
	public/stylesheets/public.css
2015-04-17 15:07:01 +08:00
z9hang 8a26fd4343 课程配置:成员配置处添加搜素成员功能 2015-04-16 17:28:08 +08:00
huang 95c5e6ac83 Merge branch 'szzh' into dev_hjq
Conflicts:
	app/helpers/application_helper.rb
	app/helpers/files_helper.rb
	app/helpers/members_helper.rb
	app/models/journals_for_message.rb
	app/models/mailer.rb
	app/models/user.rb
	app/views/attachments/_form.html.erb
	app/views/bids/_new_homework_form.html.erb
	app/views/boards/_project_show.html.erb
	app/views/courses/_courses_jours.html.erb
	app/views/courses/feedback.html.erb
	app/views/courses/new_homework.html.erb
	app/views/courses/settings.html.erb
	app/views/issues/_list.html.erb
	app/views/issues/new.html.erb
	app/views/messages/_project_show.html.erb
	app/views/messages/edit.html.erb
	app/views/news/_project_news.html.erb
	app/views/projects/invite_members.html.erb
	app/views/projects/settings/_modules.html.erb
	app/views/projects/show.html.erb
	config/configuration.yml
	config/locales/zh.yml
	db/schema.rb
	public/assets/kindeditor/kindeditor.js
	public/javascripts/course.js
	public/stylesheets/courses.css
	public/stylesheets/public.css
2015-04-16 10:26:03 +08:00
alanlong9278 b704555628 Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh
Conflicts:
	.gitignore
	Gemfile
	app/controllers/discuss_demos_controller.rb
	app/models/user.rb
	app/views/bids/_bid_homework_show.html.erb
	app/views/issues/index.html.erb
	app/views/layouts/_base_feedback.html.erb
	app/views/poll/publish_poll.js.erb
	app/views/poll/republish_poll.js.erb
	public/javascripts/application.js

Signed-off-by: alanlong9278 <547533434@qq.com>
2015-04-15 12:36:19 +08:00
alanlong9278 a51ba0c104 Signed-off-by: alanlong9278 <547533434@qq.com> 2015-04-15 12:30:37 +08:00
whimlex e030c12be8 课程动态计数和显示统一;问卷计数对学生和老师和显示统一;课程资源库排序 2015-04-09 15:18:13 +08:00
huang 12eaac5683 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/views/boards/_project_show.html.erb
	public/javascripts/course.js

处理冲突
修改项目动态分页
项目到航天中添加“新建项目”
2015-04-07 13:47:39 +08:00
guange 113e11f6cd Merge remote-tracking branch 'origin/szzh' into guange_dev
Conflicts:
	app/models/comment.rb
	app/models/message.rb
	app/models/news.rb
2015-04-03 11:34:39 +08:00
lizanle ceb6af7365 课程相关模块添加编辑器 2015-04-03 11:19:15 +08:00
guange 56df5ce9a7 优化zip重复打包问题 2015-04-02 17:20:52 +08:00
guange 618e8c017c Merge remote-tracking branch 'origin/szzh' into guange_dev
Conflicts:
	db/schema.rb
2015-04-01 11:16:57 +08:00
guange 02e83ea776 将邮件发送放到后台进程中 2015-03-31 11:51:34 +08:00
guange 77134c8dde 将每日邮件移入crontab 2015-03-30 20:56:42 +08:00
sw 94ecc3e59e 1、课程新增成员分页控件样式
2、课程老师列表翻页不可用
2015-03-30 17:03:20 +08:00
sw b9031095d4 Merge branch 'szzh' into sw_new_course
Conflicts:
	Gemfile
	app/controllers/courses_controller.rb
	app/views/attachments/_form.html.erb
	app/views/attachments/_form_course.html.erb
	app/views/files/_attachement_list.html.erb
	app/views/layouts/base.html.erb
	app/views/layouts/base_projects.html.erb
	config/locales/zh.yml
	public/javascripts/attachments.js
2015-03-27 14:13:49 +08:00
lizanle d1bc2b85d0 kindeditor。 2015-03-26 16:12:03 +08:00
whimlex 1452e09154 邮件邀请邮箱格式自动填充;部分国际化 2015-03-25 17:28:22 +08:00
sw 1ab0215592 修改课程动态报错 2015-03-20 16:33:43 +08:00
sw 90df8056c8 1、修改分页控件中省略号颜色
2、更新样式文件
3、修改课程首页用新建问卷换行
2015-03-19 14:58:42 +08:00
sw 258d9bf33a 1、调整分页控件显示样式
2、修改课程动态分页算法
3、更新样式文件
2015-03-19 14:30:06 +08:00
sw 8f5d8c86a3 新版样式header调整 2015-03-18 16:16:18 +08:00
guange fdee890694 git优化上线文档补充 2015-03-18 15:33:09 +08:00
guange c45850eb8a git hook改为异步 2015-03-18 14:42:11 +08:00
guange dc29ccf3b7 1. git仓库新建时加入hook代码
2. 对现有的旧hook代码进行更新的rake任务
2015-03-18 11:22:05 +08:00
sw ec1ff6dfc3 1、修改课程界面未登录时,先显示注册,再显示登录
2、增加课程相关的css引用
3、增加top、left、content的静态页面
2015-03-17 17:34:43 +08:00
sw e4c0c840bf 1、完成课程模块导航栏样式调整
2、修改意见反馈默认在右下角位置
3、调整我的课程、我的项目js
4、ruby生成的菜单栏添加样式及部分方法重写
5、封装部分页面的ruby代码到helper
2015-03-17 15:30:15 +08:00
guange 39f1fb879f 对Gemfile作了一些优化
1.  源可以从taobao源安装
2. 所有放在lib下的gem删除,从网上下载
2015-03-15 23:09:44 +08:00
guange 08eae0e5eb Merge remote-tracking branch 'origin/szzh' into guange_dev 2015-03-13 11:30:25 +08:00
guange ab6c21314d #1503 老师发布的作业可以在课程动态中显示了 2015-03-12 21:57:35 +08:00
whimlex 5732f0ed03 国际化问题修改,新添加en.yml存在中文字符,格式问题 2015-03-11 10:10:54 +08:00
whimlex a4a9b2dfdd 国际化插件 2015-03-10 10:43:17 +08:00
sw 770704790d 还原修改 2015-03-07 16:40:07 +08:00
sw c6788e2f40 修复首页报错 2015-03-07 15:30:37 +08:00
huang f898e2aa91 16:22 2015-03-06 16:22:07 +08:00
z9hang c1c05067e7 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/controllers/admin_controller.rb
	db/schema.rb
2015-03-06 15:36:47 +08:00
huang 9e2c479590 new project 2015-03-06 15:26:40 +08:00
z9hang 3334299808 app版本管理功能(表添加,页面部分添加) 2015-03-05 17:37:33 +08:00
alan 22ac578ede Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh
Conflicts:
	config/locales/zh.yml
2015-03-02 14:50:10 +08:00
alan f374bfd7e2 修复《窗口跳转问题》
Signed-off-by: alan <547533434@qq.com>
2015-03-02 14:47:50 +08:00
alan 4bfc4493eb 添加《邮件周日发送》功能,修改《贴吧》邮件发送策略
Signed-off-by: alan <547533434@qq.com>
2015-02-11 20:23:50 +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
alan d61199f66b merge szzh 2015-01-31 16:43:10 +08:00
alan 4ebd34722d email_verifier 插件 2015-01-31 15:53:50 +08:00
alan 2f168dd4d7 修改《课程动态》样式
Signed-off-by: alan <547533434@qq.com>
2015-01-30 17:47:57 +08:00
lizanle 0785384813 修改bug,课程动态报错 2015-01-30 10:28:31 +08:00
lizanle 43e9f738c0 添加注释,修改变量命名 2015-01-27 16:32:27 +08:00
lizanle 475ef12cd5 添加注释,修改变量命名 2015-01-27 16:31:44 +08:00
lizanle 6c76cacb61 解决项目动态很慢,数据量很大的问题 2015-01-27 15:20:44 +08:00
lizanle d112c5a911 调整了注释 2015-01-27 13:46:47 +08:00
lizanle 6c02c96342 去掉了增加时间跨度的代码 2015-01-27 13:39:16 +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
alan 432e3a05f2 增加贴吧创建,发帖时发送邮件功能,修改《邮件重发多次》bug
Signed-off-by: alan <547533434@qq.com>
2015-01-22 16:30:21 +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
alan 90925edce2 修改《意见反馈页面css引起的css错乱》和《课程首页动态太少》bug
Signed-off-by: alan <547533434@qq.com>
2015-01-12 17:56:09 +08:00
alan 9f807438d6 教师数目显示:-1 ,同时动态大量不显示。是不是只显示近期3个月的?
Signed-off-by: alan <547533434@qq.com>
2015-01-12 14:58:11 +08:00
lizanle 10cde37582 cache using version 2015-01-07 09:27:44 +08:00
sw 8dc9b223b1 修改竞赛模块,重复评分不会以最后一次评分为准的BUG 2014-12-29 16:03:51 +08:00
sw f934824175 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-12-02 17:05:27 +08:00
z9hang d8e9dba404 #1647 正式版--资源搜索窗口搜索课程资源进行下载返回500错误(资源可见性判断修复) 2014-12-02 16:25:49 +08:00
sw 9a61354328 1.评分、评论作为一个action发送到服务器
2.修改作业的show方法获取参数不正确的问题
2014-12-01 15:41:49 +08:00
sw 512f16a036 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-11-14 15:04:53 +08:00
alan a4e659d8e1 修改bug<代码评审模块请在左下角显示,不要在tab中显示>
Signed-off-by: alan <547533434@qq.com>
2014-11-13 15:55:12 +08:00
sw a24d1493f9 1.修复点击课程动态,课程动态tab页不高亮显示
2.修复点击新建作业,课程作业tab页不高亮显示
2014-11-12 16:51:07 +08:00
sw 460ba55dde Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/models/user.rb
	app/views/courses/_course_form.html.erb
	db/schema.rb
2014-11-08 16:40:36 +08:00
z9hang 9b4e9bd04a 1、部分星星显示不正确问题,2、评分初始值设置为0 2014-11-06 16:52:29 +08:00
sw 9b64027ed6 1.当用户真实姓名为空时作业列表界面显示为昵称
2.修改分页控件样式
3.作业用户图像增加链接,修改鼠标悬浮样式
4.增加当前选中页显示样式
2014-10-31 14:04:19 +08:00
sw fd5b7ac468 1.更新css样式文件
2.增加相关图片
3.分页空间支持ajax刷新界面
4.修改分页控件显示样式
2014-10-31 11:48:40 +08:00
alan 7696e34ecf Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh 2014-10-30 10:06:44 +08:00
alan 7487c538f3 Signed-off-by: alan <547533434@qq.com> 2014-10-30 10:06:35 +08:00
z9hang 7c331cf49c 还原对tags做的修改(上次的修改对一个系统文件做了修改,无法应用到本系统) 2014-10-30 09:32:33 +08:00