Commit Graph

362 Commits

Author SHA1 Message Date
z9hang f16bec924c 处理undefined method `update_user_level' for nil:NilClass问题 2014-06-23 09:27:21 +08:00
z9hang 31049fcf4e 修复同时更新缺陷状态和缺陷完成度时只有缺陷完成度加分及记录分数变化细节,缺陷状态更改操作未加分及记录分数变化细节bug 2014-06-19 15:59:55 +08:00
z9hang 3e37a54a0f 修复竞赛处不能留言问题 2014-06-19 14:44:58 +08:00
z9hang 9061a77221 修改user.user_score为空问题的解决方式 2014-06-19 10:45:30 +08:00
sw efb6c1fd19 1.修改、新增作业增加提交项目选项(可以为空)
2.homework_attach与project增加关联关系
2014-06-18 10:07:19 +08:00
z9hang ab486aa811 补充user_score_details Model及数据迁移文件 2014-06-17 15:59:34 +08:00
z9hang 50dbe3d04a 添加记录得分变化功能 2014-06-17 15:57:31 +08:00
z9hang 697a6034b2 新得分显示 2014-06-16 17:50:28 +08:00
yanxd 63cd19c15c Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-06-16 09:18:48 +08:00
yanxd 955fece267 merge develop 2014-06-13 16:52:12 +08:00
z9hang eae3918074 添加用户得数统计功能
帖子内的踩顶横排
2014-06-13 16:09:43 +08:00
yanxd 70abac4c1e Merge branch 'competition' into develop
Conflicts:
	app/controllers/application_controller.rb
	config/locales/en.yml
	config/locales/zh.yml
	db/schema.rb
2014-06-13 10:59:43 +08:00
z9hang 621346268f Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-06-13 08:37:11 +08:00
z9hang e8d561b4ba 修正贴吧顶踩加分无效问题 2014-06-12 17:39:44 +08:00
z9hang 4fb96bacdc 修正更新用户等级方法,保证每个用户只有一条记录 2014-06-12 16:41:48 +08:00
z9hang a42c79cea2 添加用户升级功能(用户达到一定条件时自动升级,未在前端体现) 2014-06-12 16:35:59 +08:00
yanxd 858a7936b5 revert userscore catch exception, added cache to footer. 2014-06-12 16:19:46 +08:00
sw 9bd8132359 修复作业无法留言、无法综评的BUG 2014-06-12 15:42:58 +08:00
z9hang ebbd4b0642 课程讨论区踩顶帖子
会员等级计算(占位实现自动升级)
技术得分计算
2014-06-12 15:12:55 +08:00
z9hang a8670ba6fc Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-06-12 08:47:40 +08:00
z9hang e606fd89d2 被关注+2分、取消关注-2分
讨论区帖子加顶踩功能
顶踩帖子加减分接口
2014-06-11 17:41:47 +08:00
sw 872b7efb84 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-06-11 15:54:40 +08:00
sw d0dd6eb781 1.修改作业时实现作业添加参与人员与删除参与人员
2.homework_attach、homework_user、users关系添加
3.优化页面显示
2014-06-11 15:28:13 +08:00
z9hang 7eb3c9f874 缺陷留言+1分、
更改缺陷状态+1分、
对留言回复+1分、
对帖子的回复+1分、
添加分数修正方法,分数为负时修正为0
2014-06-10 17:47:10 +08:00
yanxd 541b22b84d score statistics init 2014-06-10 10:42:41 +08:00
z9hang cae0893ea6 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-06-09 17:38:01 +08:00
z9hang ee030e6fb5 讨论区发帖协同得分+2 2014-06-09 17:37:48 +08:00
yanxd 5bc20cf6af push code, add score. 2014-06-09 13:52:21 +08:00
yanxd 6bd71ce9f1 人物分数统计,行为得分,项目相关。提交代码pending
user_scores表结构有问题,重新构建表结构
bundle exec rake db:migrate:down VERSION=20140410021724
bundle exec rake db:migrate:up VERSION=20140410021724
2014-06-09 10:40:59 +08:00
yanxd c3865ab319 notificationcomments 2014-06-07 10:45:57 +08:00
wanglinchun 45e12c4bef xx 2014-06-07 10:02:00 +08:00
wanglinchun 7f5fa8b9b8 dfd 2014-06-06 21:40:58 +08:00
yanxd 61d0532f14 user 2014-06-06 17:41:16 +08:00
yanxd dfde06248c 打分初步 2014-06-06 17:33:42 +08:00
yanxd db61ecc255 合并user_score属性 2014-06-06 16:17:27 +08:00
yanxd 174c5556a0 减少sql查询, logger ===> Rails.logger 2014-06-06 09:26:09 +08:00
yanxd 7b98d01d8a Merge branch 'develop' into szzh 2014-06-06 08:51:52 +08:00
z9hang c5fc1a8709 作业留言问题修复 2014-06-06 08:42:04 +08:00
yanxd 1c7923e5bd sql 2014-06-05 16:53:41 +08:00
wanglinchun 00b1a40345 修改了竞赛通知及评论相关文件代码 2014-06-05 15:45:17 +08:00
wanglinchun f17c01010f werew 2014-06-05 11:58:59 +08:00
wanglinchun 982bf17ebc dfd 2014-06-05 11:19:59 +08:00
wanglinchun 8b78929190 修改竞赛通知中评论的相关文件 2014-06-05 11:02:32 +08:00
wanglinchun d06488c10d 为竞赛通知添加评论 2014-06-05 10:28:36 +08:00
yanxd 2e11d76652 lin 2014-06-04 21:26:57 +08:00
wanglinchun ae70081288 eter 2014-06-04 20:29:15 +08:00
yanxd 8fb82bbdc4 register Mod 2014-06-04 14:20:26 +08:00
yanxd 51bfb6cae8 user model save bug 2014-06-04 10:08:54 +08:00
wanglinchun 6a8d697582 Merge branch 'develop' into competition
Conflicts:
	config/routes.rb
	lib/redmine.rb
2014-06-03 18:30:53 +08:00
wanglinchun a3fb48a4bb 0603 2014-06-03 18:24:55 +08:00