Commit Graph

835 Commits

Author SHA1 Message Date
alanlong9278 a51ba0c104 Signed-off-by: alanlong9278 <547533434@qq.com> 2015-04-15 12:30:37 +08:00
huang 4acad8088e 缺陷最新显示最上面
代码优化
2015-04-15 00:40:25 +08:00
sw 81cbb76d78 课程/项目--添加成员:用真实姓名搜索用户时,需要在姓和名之间加个空格才可以搜到 2015-04-14 19:50:17 +08:00
whimlex cf4451e998 pre标签换行;contest主页样式调整 2015-04-13 18:34:44 +08:00
whimlex ccff6c27b0 #2170项目--新闻:评论新闻返回异常undefined method `split' for nil:NilClass 2015-04-11 14:14:47 +08:00
guange 123fa079b3 smtp配置放入production 2015-04-11 10:15:43 +08:00
guange c489d2400b Merge remote-tracking branch 'origin/szzh' into guange_dev 2015-04-10 10:48:17 +08:00
guange 5a876d9df1 邮件发送时,单个收件人会报错 2015-04-10 10:41:44 +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
lizanle 452e299966 删除demo代码 2015-04-03 15:08:52 +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 9cefb9f339 每日发送取日期不对 2015-04-01 17:47:04 +08:00
guange 0099ab9f9a 去除以前的邮件规则 2015-04-01 16:44:40 +08:00
guange 243bac8fed 除了mail_notification == all 的,其他都不即时发邮件 2015-04-01 16:41:23 +08:00
guange 3ea33aa847 新建news报500 2015-04-01 13:14:15 +08:00
guange 89e0602983 邮件发送去除 observer, 一句代码的功能隐藏在别的文件里,很难注意到 2015-04-01 11:12:55 +08:00
guange 27e123f9fd const_defined?小错误 2015-03-31 12:02:33 +08:00
guange 02e83ea776 将邮件发送放到后台进程中 2015-03-31 11:51:34 +08:00
guange efdfa67c64 日报homework created_on to created_at 2015-03-30 21:32:48 +08:00
guange c1ed8bd36d #2096 course、forge的邮件通知系统,改为可以每日一报、一事一报、不报 2015-03-29 12:33:33 +08:00
lizanle b95f479c17 级联删除资源 2015-03-26 16:05:30 +08:00
lizanle a4f1b9c625 model中会有许多kindeditor的资源 2015-03-26 15:47:27 +08:00
huang 525a6394ca 1、公共贴吧邮件提醒
2、浏览器版本过低提醒(样式需要再调试)
2015-03-25 10:20:08 +08:00
guange e007920cb6 Merge remote-tracking branch 'origin/szzh' into guange_dev
Conflicts:
	Gemfile
	app/views/attachments/_form.html.erb
2015-03-19 17:41:45 +08:00
whimlex b95852dfcd 附件上传国际化:修改页面一些bug:用户主页个人得分身份信息修改 2015-03-19 17:21:11 +08:00
z9hang 9d686349da 用户搜索接口添加按昵称或姓名搜索 2015-03-18 17:31:35 +08:00
lizanle da69443913 需要插入资源上传的时候插入数据库记录 2015-03-18 08:52:49 +08:00
lizanle 39cbeced87 model类 2015-03-17 09:39:12 +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 4817b3106e kindeditor资源类 2015-03-17 09:36:20 +08:00
lizanle 5c4a62dcc4 DiscussDemo代码 2015-03-16 15:29:13 +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
sw 78039a726e Merge branch 'szzh' into guange_dev 2015-03-12 17:09:20 +08:00
z9hang 57ba46ff00 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	config/locales/zh.yml
2015-03-10 17:21:59 +08:00
z9hang 43e9a9a495 1、完成手机app版本管理,上传客户端功能。2、手机app检查更新接口完成 2015-03-10 17:20:30 +08:00
lizanle 87394fe4ce issue2626,建议什么时候创建工程的信息也要加进来。 2015-03-10 16:27:32 +08:00
guange 31351bc9e8 #1095 在issue主题下,输1个字符可以进行搜索,500错误解决 2015-03-10 15:39:14 +08:00
z9hang 803f4a3eaf 1、部分页面根据apptoken参数自动登录功能添加token是否过期判断。2、版本管理发布新版本信息功能添加 2015-03-10 14:41:36 +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
alan 151fc561ac 修改邮件样式,增加相应的提示
Signed-off-by: alan <547533434@qq.com>
2015-03-07 11:30:25 +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
sw a6b3ddcfcb Merge branch 'szzh' into dev_zanle 2015-03-06 14:58:49 +08:00
lizanle 140cb81748 测试版发布课程通知和讨论区发布新帖报500 2015-03-06 11:38:32 +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
z9hang 3334299808 app版本管理功能(表添加,页面部分添加) 2015-03-05 17:37:33 +08:00
lizanle 8d322edb90 Merge branch 'szzh' into dev_zanle
Conflicts:
	app/views/projects/show.html.erb
2015-03-05 17:24:19 +08:00
sw bcc8abdee9 1、增加组织相关数据表
2、增加组织和项目的关联关系
2015-03-05 09:27:13 +08:00
lizanle 7ee58d1d44 项目动态重写,并去掉首页缓存 2015-03-04 15:32:00 +08:00
alan c00deabf75 修改《邮件样式》
Signed-off-by: alan <547533434@qq.com>
2015-02-12 00:15:10 +08:00
alan aa8f58530c 给黄总提供接口
Signed-off-by: alan <547533434@qq.com>
2015-02-11 23:34:10 +08:00
alan 4bfc4493eb 添加《邮件周日发送》功能,修改《贴吧》邮件发送策略
Signed-off-by: alan <547533434@qq.com>
2015-02-11 20:23:50 +08:00
alan 7442cc1ca4 Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into email_verify 2015-02-06 18:19:35 +08:00
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 ef203ff40c 修正作业留言接口 2015-02-05 16:11:35 +08:00
alan 44c783a61b 帖子的邮件通知改成只有版主收到
Signed-off-by: alan <547533434@qq.com>
2015-02-02 17:31:27 +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
alan 9681e08600 Merge branch 'szzh' into email_verify
Conflicts:
	Gemfile.lock
2015-01-31 16:43:46 +08:00
alan 48cb0e0450 email verify 2015-01-31 15:04:48 +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
alan f2a3ce0ece 修改《网页标题显示为“中国高校”不合适》bug
Signed-off-by: alan <547533434@qq.com>
2015-01-30 16:05:36 +08:00
alan a467736a5e 修改《多字段唯一性判断》
Signed-off-by: alan <547533434@qq.com>
2015-01-30 14:52:36 +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
sw ce526fde77 Merge branch 'dev_zanle' into szzh
Conflicts:
	config/routes.rb
2015-01-30 09:05:47 +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
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
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
z9hang db1cd8851c Merge branch 'szzh' into api
Conflicts:
	Gemfile
	db/schema.rb
2015-01-23 16:51:40 +08:00
alan 61634585f5 修改《news,forum模块发送邮件的模板》
Signed-off-by: alan <547533434@qq.com>
2015-01-23 14:51:11 +08:00
lizanle b26f2029ef Merge branch 'szzh' into dev_zanle
Conflicts:
	Gemfile
2015-01-23 13:49:13 +08:00
lizanle e96302d219 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	Gemfile
2015-01-23 13:47:38 +08:00
alan b20204fedd 修改《邮件重发一样引发的bug》
Signed-off-by: alan <547533434@qq.com>
2015-01-23 13:42:25 +08:00
alan fdba8ca986 修改《邮箱地址真实性验证》《课程分班提示重名出错》《留言模块发送邮件模板功能》
Signed-off-by: alan <547533434@qq.com>
2015-01-23 11:46:55 +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
alan 24a8f4fe7d Signed-off-by: alan <547533434@qq.com> 2015-01-23 10:03:00 +08:00
lizanle 03ae5fdeac 添加注释 2015-01-23 09:47:22 +08:00
alan 8f1249390a 修改《发送多封相同邮件》
Signed-off-by: alan <547533434@qq.com>
2015-01-22 17:31:34 +08:00
alan 432e3a05f2 增加贴吧创建,发帖时发送邮件功能,修改《邮件重发多次》bug
Signed-off-by: alan <547533434@qq.com>
2015-01-22 16:30:21 +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
alan 40d6c3b19c 添加《邮箱地址验证是否存在及国际化的编写》功能
Signed-off-by: alan <547533434@qq.com>
2015-01-20 16:33:59 +08:00
alan 3315116832 修改《课程--留言:给课程留言却返回404》bug
Signed-off-by: alan <547533434@qq.com>
2015-01-19 14:35:30 +08:00
lizanle 2431fea63e 日志查看Helper 2015-01-19 14:05:43 +08:00
alan 092265d53c Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh 2015-01-18 00:25:19 +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
alan ade0720331 邮件系统界面重置
Signed-off-by: alan <547533434@qq.com>
2015-01-17 14:19:54 +08:00
alan b9ea3e589e 修改《邮件系统》页面
Signed-off-by: alan <547533434@qq.com>
2015-01-17 11:18:24 +08:00
alan 9c45e372b4 Merge remote-tracking branch 'remotes/origin/develop' into szzh
Conflicts:
	app/views/layouts/base_newcontest.html.erb
2015-01-16 17:24:45 +08:00
alan 479a1249ae Signed-off-by: alan <547533434@qq.com> 2015-01-16 17:23:35 +08:00
alan 5191411508 <邮件加密自动登录功能,邮件附件下载功能>
Signed-off-by: alan <547533434@qq.com>
2015-01-15 18:48:19 +08:00
lizanle 75ba61ed74 issue 1798 ,用户名出现不显示的情况 2015-01-14 16:42:12 +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 2bba0ddd70 添加《邮件加入附件下载功能及私有项目自动登录》
Signed-off-by: alan <547533434@qq.com>
2015-01-14 16:08:56 +08:00
z9hang b6826a74d3 问卷显示 2015-01-14 11:50:59 +08:00
alan 2f147dcddd 增加《邮件地址自动登录功能》
Signed-off-by: alan <547533434@qq.com>
2015-01-13 18:24:14 +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
alan d96843a1d5 Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh 2015-01-09 19:11:00 +08:00
alan 576f799105 Signed-off-by: alan <547533434@qq.com> 2015-01-09 19:09:19 +08:00
lizanle 3047b523b0 add expire_helper and change the code way of set cache expire! 2015-01-09 15:28:43 +08:00
sw 7ae9556404 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-01-08 17:44:17 +08:00
sw ee9d82bfc7 1.实现文件调查的model、control、view的架构
2.修正完善新增表之间的关系
3.修正代码中单复数不正确的问题
2015-01-08 17:42:46 +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
sw 4c6ade4c08 定义各model之间的关系 2015-01-08 14:41:28 +08:00
sw c9de30bd83 增加问卷调查相关表,以及对应的model、control、view的文件夹 2015-01-08 12:00:43 +08:00
lizanle 10cde37582 cache using version 2015-01-07 09:27:44 +08:00
z9hang f55d8fe303 1、修正新建课程接口无效问题。2、修正新建课程接口返回的数据中课程名称错误问题 2015-01-05 16:58:11 +08:00
alan ba524675e0 修改<打分更新表单>bug
Signed-off-by: alan <547533434@qq.com>
2014-12-31 15:48:45 +08:00
sw 05b9b26314 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	db/schema.rb
2014-12-29 17:00:35 +08:00
z9hang 3f6b36096c 缺陷查询添加integer_done类型处理(暂未用上) 2014-12-29 11:54:31 +08:00
sw 259799eb89 1.增加评分的model
2.修改评分表中为教师评分的历史数据的is_teacher_score的值
2014-12-29 11:38:35 +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
sw b512bc53e9 修改用户搜索无法精确搜索的bUG 2014-12-24 09:08:42 +08:00
alan 2a94c61a3e 修改bug(项目--缺陷:更新图片时在历史记录中没有相关记录,删除图片只显示一个更新时间也不合理)
Signed-off-by: alan <547533434@qq.com>
2014-12-23 17:37:45 +08:00
alan 683acfcafc 优化《学生列表作业评分查询太慢》功能
Signed-off-by: alan <547533434@qq.com>
2014-12-22 10:31:09 +08:00
sw b6327460a8 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-12-18 15:49:49 +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
sw 9280da5b61 取消描述是否为空的验证 2014-12-15 15:19:03 +08:00
alan 66d76eeed7 增加《不区分大小写分班班名唯一》功能
Signed-off-by: alan <547533434@qq.com>
2014-12-10 18:40:04 +08:00
alan fbe6ce16d7 修改《分组界面》样式
Signed-off-by: alan <547533434@qq.com>
2014-12-05 23:34:16 +08:00
alan 9d0e39e708 修改孙涛提出的bug
Signed-off-by: alan <547533434@qq.com>
2014-12-05 16:03:41 +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
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
z9hang ec21a98e64 修改密码验证的方法 2014-12-03 16:14:11 +08:00
z9hang d8e9dba404 #1647 正式版--资源搜索窗口搜索课程资源进行下载返回500错误(资源可见性判断修复) 2014-12-02 16:25:49 +08:00
alan 63c9804da8 添加course_group表单到数据库中,并建立对应于members和courses之间的关联,
对相应页面的修改

Signed-off-by: alan <547533434@qq.com>
2014-12-02 14:41:36 +08:00
www 53ecf8718f [api]用户认证完成 2014-11-27 19:43:04 +08:00
alan ace5b514c6 修改bug<测试版--注册登录:成功激活注册的用户后,登录返回资料修改的页面,姓氏、名字还是标识为必填项>
Signed-off-by: alan <547533434@qq.com>
2014-11-25 14:17:04 +08:00
alan 584944059a huanyuan
Signed-off-by: alan <547533434@qq.com>
2014-11-24 11:25:23 +08:00
alan 6356596f08 Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into szzh 2014-11-22 17:49:34 +08:00
alan 88ab53730b 修改bug《登录密码错误报错》
Signed-off-by: alan <547533434@qq.com>
2014-11-22 17:45:09 +08:00
z9hang e2892453de Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-11-22 10:07:19 +08:00
z9hang 36e7b222bb 课程资源修改为公开的也需登录才能下载 2014-11-22 10:06:56 +08:00
alan 0049f921b9 修改bug《测试版--课程/项目--配置--成员添加:如图,用户列表中各用户的邮箱全部为空了》
Signed-off-by: alan <547533434@qq.com>
2014-11-22 09:51:41 +08:00