Commit Graph

221 Commits

Author SHA1 Message Date
sw 79c76d26c8 创建作品分类表,并插入部分数据 2014-07-19 11:35:43 +08:00
yanxd f5efaac93a lunchun 2014-07-18 17:17:06 +08:00
z9hang d9e04bab0a Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-07-16 14:22:37 +08:00
z9hang cc4bf3b328 添加超级管理员控制首页热门项目排序问题 2014-07-16 14:22:12 +08:00
sw 4825c5287e Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-07-16 10:15:43 +08:00
z9hang 53ff6ea335 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	db/schema.rb
2014-07-15 16:16:13 +08:00
z9hang 6a45a0287d 添加删除图片功能,修复用户修改资料界面form.quene undefine的js错误(导致加载中不消失的原因) 2014-07-15 16:13:50 +08:00
sw b142953a4b 1.创建项目增加功能:是否启动DTS测试,默认为不启用。根据用户选择,决定左侧DTS测试工具选项是否在该项目内显示 2014-07-15 10:28:49 +08:00
z9hang cf339edb6c 添加首页定制的非空验证,长度验证 2014-07-14 16:12:58 +08:00
nwb 0950ac2329 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	db/schema.rb
2014-07-14 11:32:01 +08:00
z9hang 3aab1b172c 修正执行数据迁移时的‘page_type=’ undefine错误 2014-07-14 11:28:29 +08:00
nwb 87b623bc51 1.文档添加密级设置
2.新建文档、修改文档视图修改
2014-07-14 10:44:07 +08:00
z9hang fcdfeae326 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	db/schema.rb
2014-07-11 11:45:46 +08:00
z9hang 3dfcc90574 课程、竞赛首页定制
超级管理员账户中首页定制界面优化
2014-07-11 11:41:54 +08:00
nwb 9b3ffc90ba Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/controllers/repositories_controller.rb
	db/schema.rb
2014-07-11 09:08:50 +08:00
nwb 6688ba61dd 1.用户申请加入项目向管理员发送邮件
2.资源文件添加文件密级设置
2014-07-11 09:07:09 +08:00
z9hang b4dd8409eb 添加项目托管平台首页定制功能 2014-07-10 17:38:04 +08:00
z9hang 9634046d11 权限管理机制优化 2014-07-09 16:02:15 +08:00
z9hang b87abf1f68 权限管理优化 2014-07-08 18:02:10 +08:00
z9hang 5e3a763776 添加引用项目权限、修改引用判断 2014-07-08 09:12:16 +08:00
nwb 864ef17941 清理课程状态表,修正同一课程出现多次的BUG 2014-07-04 13:38:34 +08:00
sw 2bdb0e20e9 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
Conflicts:
	app/views/welcome/course.html.erb
2014-07-03 18:14:44 +08:00
nwb 4d25ec1623 1.添加课程垃圾数据清理迁移文件
2.课程首页逻辑更改
2014-07-03 17:28:13 +08:00
sw 967c377191 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2014-07-03 10:09:25 +08:00
yanxd e1d9d6ab45 tag查询崩溃 2014-07-01 18:20:30 +08:00
nwb cf00942261 更新迁移文件 2014-07-01 16:19:42 +08:00
nwb 993ac23a36 课程各数据迁移时不再做验证,以兼容老数据 2014-07-01 15:29:16 +08:00
sw 4470f0dd73 添加作业时增加教师评分所占比例设置 2014-07-01 11:53:55 +08:00
nwb f8e5c2358a 学生角色添加回复讨论区权限 2014-06-26 11:43:03 +08:00
nwb f4aa817f42 修改合并后首页出错的问题 2014-06-26 10:01:44 +08:00
nwb 7425178419 Merge branch 'CourseModify' into szzh
Conflicts:
	app/views/layouts/base_courses.html.erb
	app/views/layouts/base_homework.html.erb
	app/views/projects/_course.html.erb
	db/schema.rb
	lib/redmine/activity/fetcher.rb
2014-06-26 08:53:16 +08:00
nwb 2a9d6eb012 迁移原课程资源文件类型数据 2014-06-18 16:11:38 +08:00
nwb 80145c5c3b 修改课程列表动态数显示不正确的BUG 2014-06-18 15:18:30 +08:00
nwb f80e1f811a 修改作业数据迁移 2014-06-18 14:01:45 +08:00
sw 8f78177d47 增加数据迁移文件 2014-06-18 11:51:20 +08:00
nwb 0480405afb 1.修改原课程各数据迁移文件BUG
2.迁移课程学生数据
2014-06-18 11:08:44 +08:00
sw 97a4aaf8ab homework_attach增加列project_id及相关数据迁移
编辑作业页面增加选择关联项目,以及数据更新项目的实现
2014-06-17 18:49:21 +08:00
z9hang ab486aa811 补充user_score_details Model及数据迁移文件 2014-06-17 15:59:34 +08:00
nwb 099e8a0912 Merge branch 'szzh' into CourseModify
Conflicts:
	app/controllers/application_controller.rb
	app/views/attachments/upload.js.erb
	app/views/courses/_homework_form.html.erb
	app/views/layouts/base_courses.html.erb
	app/views/users/_my_joinedcourse.html.erb
	db/schema.rb
	lib/redmine.rb
	lib/redmine/access_control.rb
2014-06-17 10:12:44 +08:00
nwb 2a4486bf0d 修改迁移文件 2014-06-16 14:42:48 +08:00
nwb e698f3a6c6 修改新建课程成员时的唯一性判断 2014-06-16 11:34:56 +08:00
nwb 59a261d96d 1.优化课程通知动态和权限判断
2.优化课程通知讨论区动态和权限判断
2014-06-16 10:38:38 +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
nwb 3165d97417 1.迁移课程新闻数据
2.添加课程新闻index视图
2014-06-11 16:46:13 +08:00
nwb b6c9415a4b 1.给各角色添加浏览课程资源文件权限
2.修改课程动态显示逻辑
2014-06-11 11:04:38 +08:00
nwb a793b8923d 1.Non member角色添加add_couese权限
2.course_helper优化排序等相关函数
3.课程index界面修改
2014-06-10 17:03:02 +08:00
nwb f741b0581c 修改课程资源文件视图BUG 2014-06-10 15:44:37 +08:00
yanxd 541b22b84d score statistics init 2014-06-10 10:42:41 +08:00
nwb 59742b9ddb 1.给各角色添加项目相关的权限
2.添加课程权限解析系统
2014-06-06 13:56:48 +08:00
nwb 388d14f075 迁移课程原讨论区数据 2014-06-06 08:50:46 +08:00
nwb d22ffa84b4 1.课程标签迁移,从项目中分离
2.标签control\view添加对课程类标签的处理
2014-06-05 15:20:09 +08:00
nwb cd3c69af94 课程资源文件迁移,从项目中分离 2014-06-05 14:07:44 +08:00
sw 81a97f6a5e 1.老师创建作业增加功能:是否启用互评,以及该功能的修改。对不启用互评的作业,学生不可下载作业,不可互相打分,但可以留言;老师可以进行评分、下载作业等操作。启用互评作业功能和现在一样
2.对启用互评的作业,每个用户只可以进行一次打分,打分后不可修改
2014-06-05 14:00:18 +08:00
nwb de201ae8f6 添加课程管理员表,并从项目管理员表中迁移原有数据 2014-06-05 11:01:46 +08:00
wanglinchun d06488c10d 为竞赛通知添加评论 2014-06-05 10:28:36 +08:00
nwb 69e366d841 迁移课程作业数据 2014-06-04 16:58:26 +08:00
nwb fb36a0d5ba 1.课程control添加create方法
2.课程model添加部分新列及相关逻辑
2014-06-04 15:47:09 +08:00
nwb 4404222437 0604 2014-06-04 14:13:26 +08:00
nwb d4bc8139a3 修改迁移文件 2014-06-04 11:59:26 +08:00
nwb d87b52bedd 课程成员迁移 2014-06-04 09:19:01 +08:00
nwb cd10dd5433 课程权限判断变更,从项目权限分离 2014-06-03 16:21:00 +08:00
nwb 8460344043 课程讨论区逻辑更改 2014-06-03 11:52:44 +08:00
nwb e490f7979d 添加课程index界面 2014-06-03 09:39:33 +08:00
wanglinchun bf71a38608 竞赛通知相关文件修改 2014-05-30 20:32:37 +08:00
nwb 77006198a1 1.导入项目表中已有课程至课程表
2.导入项目状态表至课程状态表
2014-05-30 11:01:20 +08:00
yanxd b33ee17343 Merge remote-tracking branch 'remotes/origin/develop' into szzh
Conflicts:
	Gemfile
	app/controllers/users_controller.rb
	db/schema.rb
2014-05-30 10:57:13 +08:00
nwb e15bad7462 course新增列并更改相关逻辑 2014-05-30 10:48:06 +08:00
nwb ea3b80fdc6 添加CourseStatus表和model 2014-05-29 16:47:32 +08:00
sw 27a30d44be 1.修改判断当前用户是不是为课程老师的方法
2.增加作业综评功能
3.其他课程的学生是不能互评的,只有本门课程的学生可以互评
4.修改添加评论方法
5.修复当作业无人评论时,作业最终得分只显示一个分字
2014-05-27 20:01:21 +08:00
wanglinchun a1083fe900 修改了原有参赛作品显示报500;
修改了作品删除功能报错
2014-05-26 19:19:11 +08:00
wanglinchun 8d77c62359 sdfd 2014-05-26 16:37:06 +08:00
xianbo e52886cf46 Merge branch 'competition' of 10.0.47.245:/home/trustie2 into develop
Conflicts:
	app/views/softapplications/show.html.erb
	db/schema.rb
2014-05-23 09:49:36 +08:00
xianbo cda9942723 Merge branch 'develop' of 10.0.47.245:/home/trustie2 into develop 2014-05-23 09:44:33 +08:00
fanqiang daa531268a 添加安全漏洞的关联表
帖子添加一个来源信息
2014-05-22 11:05:15 +08:00
yanxd 3517dbb88b Merge branch 'szzh' into develop
Conflicts:
	db/schema.rb
2014-05-22 09:58:19 +08:00
nwb 104ee13ac7 1.添加用户申请加入项目contrl、model及相关逻辑
2.项目界面添加申请加入按钮
2014-05-21 16:45:11 +08:00
xianbo 4b063a2c69 Merge branch 'develop' of 10.0.47.245:/home/trustie2 into develop
Conflicts:
	db/schema.rb
2014-05-21 11:09:22 +08:00
yanxd d47facc9e8 Merge branch 'szzh' into develop
Conflicts:
	app/views/contests/show_attendingcontest.html.erb
	db/schema.rb
2014-05-20 14:33:50 +08:00
fanqiang 87a6dd4938 修改开源项目社区中 每个项目的结构, 不再是一对一的匹配帖子,而是添加了一个中间表 2014-05-20 10:06:59 +08:00
sw b80c51475f 1.增加作业参与人员类homework_users及相关代码
2.homework_attach增加字段:name,description,state
2014-05-19 17:44:36 +08:00
wanglinchun 9fb9d2dbdf 初步增加了新建参赛作品中参赛作品所属的托管项目列表 2014-05-19 17:39:51 +08:00
fanqiang 543a199c5f 添加一张连接表relative_memo_to_open_source_projects 2014-05-19 15:40:53 +08:00
fanqiang a07ae9be58 Merge branch 'develop' of 10.0.47.245:/home/trustie2 into develop 2014-05-19 15:38:18 +08:00
wanglinchun 31ec9bc353 Merge branch 'competition' of 10.0.47.245:/home/trustie2 into develop
Conflicts:
	db/schema.rb
2014-05-16 17:06:38 +08:00
fanqiang 4ee9602621 .. 2014-05-15 10:51:48 +08:00
fanqiang 74169221a3 1234 2014-05-15 10:33:52 +08:00
fanqiang c6ee7e53e6 Merge branch 'develop' of 10.0.47.245:/home/trustie2 into develop 2014-05-15 10:05:25 +08:00
fanqiang 1a7c82174c 修改表结构 2014-05-15 10:05:05 +08:00
xianbo 66a5db5ad3 Merge branch 'szzh' into develop
Conflicts:
	config/routes.rb
	db/schema.rb
2014-05-15 09:46:38 +08:00
wanglinchun bbd293272d 添加参赛作品所属项目的网址;
参赛应用页面添加所属项目网址;
2014-05-13 16:49:23 +08:00
yanxd 225f25f04c 指定utf8,中文编码出错 2014-05-13 15:54:59 +08:00
nwb 284e6ba20a 1.添加部分默认数据
2.修改项目资源视图
2014-05-13 15:49:14 +08:00
yanxd 9976697a58 Merge remote-tracking branch 'origin/develop' into szzh 2014-05-10 14:27:48 +08:00
nwb 50cc682e02 添加数据库脚本文件 2014-05-09 17:27:04 +08:00
nwb 7ccbc5e88a 课时限制为只能输入正整数 2014-05-09 17:13:23 +08:00
nwb 42e6fc6a68 1.添加资源类型control、model及表结构
2.资源(attachments)添加资源分类属性
2014-05-08 18:03:48 +08:00
Wen d94e15cd94 用户打分 2014-05-06 15:15:29 +08:00
fanqiang 2c8580a4e8 Merge branch 'crawl' into develop
Conflicts:
	app/controllers/tags_controller.rb
	app/views/tags/_tag.html.erb
	app/views/tags/_tag_search_results.html.erb
	app/views/tags/index.html.erb
	config/locales/zh.yml
	config/routes.rb
	db/schema.rb
2014-05-05 09:11:59 +08:00
Wen a8e029da58 数据库迁移:更改了默认的学校logo 2014-04-28 09:44:40 +08:00
fanqiang 87c70909be 可以在开源社区添加帖子,并且添加了帖子的URL,即帖子来源 2014-04-28 09:13:57 +08:00