Commit Graph

560 Commits

Author SHA1 Message Date
sw 976c4ddd19 增加迁移文件 2015-07-02 15:36:27 +08:00
sw 156f2f9a2e 部分评分数据重复 2015-06-30 14:30:11 +08:00
lizanle 2ba87477fa Merge remote-tracking branch 'origin/szzh' into szzh 2015-06-26 09:18:39 +08:00
sw 358c344ca5 迁移文件错误 2015-06-19 16:10:49 +08:00
sw 044370b958 作品创建时间迁移 2015-06-19 14:21:36 +08:00
lizanle 96220a0147 schema.rb 2015-06-15 10:08:05 +08:00
sw 243fa0af89 admin用户能操作作业和作品 2015-06-04 17:24:50 +08:00
yutao cd0752f5da 课程讨论区动态与我相关 2015-06-04 15:55:41 +08:00
sw cc5171bc1d 解决冲突 2015-06-02 14:48:48 +08:00
sw c8128cffea 删除无效动态 2015-06-02 13:59:33 +08:00
sw 8d23815169 数据迁移不完整 2015-06-02 11:42:12 +08:00
sw bdbcc52320 评分计算的数据迁移 2015-06-02 11:01:49 +08:00
sw c1d753f634 数据迁移文件增加个人动态中的迁移 2015-06-02 10:09:05 +08:00
sw e4046851cf 1、作品列表 学号、姓名过长会换行
2、作品作业相关数据迁移
3、student_work缺少字段project_id
2015-06-02 09:33:34 +08:00
sw a562cc7409 Merge branch 'dev_hjq' into szzh 2015-05-29 16:12:50 +08:00
alan f47d30f22a 项目首页缓存设置
Signed-off-by: alan <547533434@qq.com>
2015-05-28 15:14:38 +08:00
huang cae882b3d6 新增邮件状态表
相关关联
2015-05-28 14:44:04 +08:00
sw 4783bad924 1、打分后作品的各项得分数据刷新
2、作品列表样式调整
2015-05-27 17:32:14 +08:00
alan 59c77e870c Merge branch 'szzh' of http://xianbo_trustie2@repository.trustie.net/xianbo/trustie2.git into redis_cache
Conflicts:
	db/schema.rb
	public/javascripts/course.js

Signed-off-by: alan <547533434@qq.com>
2015-05-27 17:01:52 +08:00
alanlong9278 a27b3e9dc6 Signed-off-by: alanlong9278 <547533434@qq.com> 2015-05-25 23:22:11 +08:00
lizanle 42fab7c784 schema 2015-05-25 11:05:28 +08:00
sw 6ac97f2c34 1、迁移文件增加回滚方法
2、作品表增加所属项目字段
2015-05-21 10:54:02 +08:00
alan 799f561d77 Merge branch 'szzh' into memcached_alan
Conflicts:
	Gemfile
	app/views/issues/index.html.erb
	db/schema.rb

Signed-off-by: alan <547533434@qq.com>
2015-05-20 17:42:26 +08:00
huang b645a1aa1e 私有项目成员列表非项目成员不能通过URL访问 2015-05-19 14:25:10 +08:00
sw dc1971f507 学生作品详细得分表,以及相关的关系 2015-05-19 11:18:19 +08:00
sw 08b469fa3c 学生作品匿评分配表 2015-05-19 10:56:41 +08:00
sw 3abfaed081 学生提交作品表,以及相关的关系 2015-05-19 10:36:30 +08:00
sw bb3e0c4c7e 手动评分作业、编程作业相关表的添加以及关系的定义 2015-05-19 10:20:07 +08:00
sw 7bfd7755f7 增加手动评分相关表,以及关系的定义 2015-05-19 09:56:08 +08:00
sw a43a6289e4 新的老师布置的作业表添加,以及相关关系定义 2015-05-19 09:49:26 +08:00
guange 907d89e1cc merge 2015-05-15 13:39:26 +08:00
guange 39308dacfd 将setting中的domain合并到host配置中 2015-05-14 21:40:34 +08:00
guange bb506b2ab4 Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
# Conflicts:
#	db/schema.rb
2015-05-13 16:22:44 +08:00
lizanle 3fae37fa90 课程学生列表下啦刷新显示,查看历次作业成绩的下啦刷新显示api改动 2015-05-13 09:56:34 +08:00
guange 461d9cc183 将autologin默认过期时间改为两个月 2015-05-10 18:06:45 +08:00
sw 6a31a99c93 编辑课程讨论区回复时的问题 2015-05-08 16:14:46 +08:00
alanlong9278 49fe15a666 论坛js冲突
Signed-off-by: alanlong9278 <547533434@qq.com>
2015-05-08 09:37:52 +08:00
alan 08f1c39033 修改课程讨论区界面
Signed-off-by: alan <547533434@qq.com>
2015-05-07 16:10:07 +08:00
huang a7b2ac860b 修改索引迁移文件不能执行的问题 2015-05-06 15:40:13 +08:00
sw 2ade53053b Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh 2015-05-05 16:33:13 +08:00
sw c60ea1db84 111 2015-05-05 16:33:01 +08:00
lizanle 71004e2f78 课程学生列表显示太慢,需要对表加索引 2015-05-05 10:58:37 +08:00
alan 54078e114c redis缓存服务器的搭建以及对首页的缓存设置
Signed-off-by: alan <547533434@qq.com>
2015-05-04 15:20:40 +08:00
alan c80263a66e Merge branch 'guange_dev' into memcached_alan
Conflicts:
	.gitignore
	Gemfile
	app/views/issues/index.html.erb
	app/views/layouts/_base_feedback.html.erb
	app/views/tags/_tag_name.html.erb
	config/environments/production.rb
	db/schema.rb

Signed-off-by: alan <547533434@qq.com>
2015-05-04 14:58:11 +08:00
lizanle 2f4ac77838 schema 2015-04-30 09:25:16 +08:00
guange 38ec84cde9 将删除版本库的操作置入后台 2015-04-28 10:33:15 +08:00
guange 3f9abf170e #2363 按天发送邮件相关标题修改 2015-04-23 17:43:10 +08:00
sw 92eabdbecd 修改作业历史数据的问题 2015-04-22 11:49:48 +08:00
sw 09c51d1a87 修改创建作业未启用匿评时,所有作业列表看不到 2015-04-22 11:44:52 +08:00
alanlong9278 945192f1d8 添加memcached配置
Signed-off-by: alanlong9278 <547533434@qq.com>
2015-04-21 09:41:40 +08:00
lizanle 871623b7c8 commit 2015-04-16 11:14:12 +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
huang 115d77dd01 圈子JS和modulesJS
版本库删除按钮
2015-04-16 09:49:03 +08:00
guange 11c1bbb525 解决打包时文件过多插库错误 2015-04-15 11:24:15 +08:00
lizanle b13d30bf20 自动更改 2015-04-15 10:52:50 +08:00
huang f528584345 添加迁移--项目类型默认值 2015-04-14 20:04:58 +08:00
huang e907f5e3e4 1.解决缺陷列表图片不显示
2、项目种类页面局部刷新
3、工具栏调整
4.项目新增字段(判断种类)
2015-04-09 19:18:04 +08:00
lizanle 590dd0cac5 删除这个demo的数据表创建脚本 2015-04-09 10:09:47 +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 56df5ce9a7 优化zip重复打包问题 2015-04-02 17:20:52 +08:00
guange 02e83ea776 将邮件发送放到后台进程中 2015-03-31 11:51:34 +08:00
guange c1ed8bd36d #2096 course、forge的邮件通知系统,改为可以每日一报、一事一报、不报 2015-03-29 12:33:33 +08:00
guange f139427f03 Merge remote-tracking branch 'origin/szzh' into guange_dev
Conflicts:
	app/controllers/zipdown_controller.rb
	app/views/bids/_homework_list.html.erb
	config/routes.rb
	db/schema.rb
	public/javascripts/attachments.js
2015-03-27 18:17:46 +08:00
lizanle 04c064ddc8 nothing 2015-03-26 16:22:16 +08:00
lizanle f59e9a3f7e 添加owner_type字段 2015-03-26 16:13:19 +08:00
guange 15accd7d9f 下载功能优化, 功能已实现 2015-03-25 10:41:42 +08:00
lizanle bfc9cdb3a4 资源表 2015-03-17 10:08:55 +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 a9cafb2241 新建DiscussDemo表 2015-03-16 15:25:22 +08:00
sw 78039a726e Merge branch 'szzh' into guange_dev 2015-03-12 17:09:20 +08:00
z9hang 8190403380 app添加忘记密码接口,课程动态接口代码优化(去掉其中的中文) 2015-03-12 16:33:31 +08:00
lizanle 437fc243ad 给每个项目添加一条初始创建信息,如果有menber,最早加进来的就算创始人,并给projects表的更新创建人 2015-03-11 15:47:10 +08:00
guange c893a2d99b 迁移优化,原来需要1800秒,现只需800秒 2015-03-09 16:25:41 +08:00
alan 5ff43fdea7 项目添加新用户邮件发送功能
Signed-off-by: alan <547533434@qq.com>
2015-03-07 10:52:20 +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 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
z9hang 3334299808 app版本管理功能(表添加,页面部分添加) 2015-03-05 17:37:33 +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 f2a3ce0ece 修改《网页标题显示为“中国高校”不合适》bug
Signed-off-by: alan <547533434@qq.com>
2015-01-30 16:05:36 +08:00
huang d0a675f2b8 企业版模块 2015-01-30 14:11:35 +08:00
z9hang 222e2cc135 修改ErrorHandler未能加载问题 2015-01-28 09:25:58 +08:00
z9hang db1cd8851c Merge branch 'szzh' into api
Conflicts:
	Gemfile
	db/schema.rb
2015-01-23 16:51:40 +08:00
sw 900cff8f8e 1、问卷列表界面发布问卷按钮增加问卷标题不能为空的判断
2、去掉错误的插件引用
2015-01-23 14:43:40 +08:00
sw 6645648027 学生是否看到问卷结果老师可配置增加数据库 2015-01-23 14:10:38 +08:00
z9hang 3911450787 问卷调查简答题输入字符过多显示超边框问题 2015-01-23 09:51:36 +08:00
alan 6ccb154cc3 课程留言,发邮件给课程所有人
Signed-off-by: alan <547533434@qq.com>
2015-01-21 11:33:29 +08:00
sw 750c8d77aa 11111 2015-01-17 15:21:18 +08:00
huang 34b8ffeb5b tongji 2015-01-16 10:51:08 +08:00
huang 2b0775da26 Merge branch 'Poll' of http://repository.trustie.net/xianbo/trustie2 into Poll
Conflicts:
	db/schema.rb
2015-01-14 16:37:45 +08:00
huang b63b4974eb 统计 2015-01-14 16:36:30 +08:00
sw 0433f7c87f 增加新建单选题功能 2015-01-14 15:35:04 +08:00
z9hang b6826a74d3 问卷显示 2015-01-14 11:50:59 +08:00
z9hang 60b0743292 问卷调查页面在火狐中的显示问题 2015-01-14 09:48:19 +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
sw c0fa21eb9f 问卷调查表增加描述列 2015-01-12 16:07:15 +08:00
sw 197068a2e2 111 2015-01-12 15:44:56 +08:00
alan 9f807438d6 教师数目显示:-1 ,同时动态大量不显示。是不是只显示近期3个月的?
Signed-off-by: alan <547533434@qq.com>
2015-01-12 14:58:11 +08:00
sw ee9d82bfc7 1.实现文件调查的model、control、view的架构
2.修正完善新增表之间的关系
3.修正代码中单复数不正确的问题
2015-01-08 17:42:46 +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
z9hang b5da95d5ce 修改错误 2015-01-05 10:15:14 +08:00
alan c1705bd65b 增加《导入student_for_course数据》
Signed-off-by: alan <547533434@qq.com>
2014-12-31 17:02:55 +08:00
alan 486f0b69b1 数据迁移student_for_course的数据
Signed-off-by: alan <547533434@qq.com>
2014-12-31 10:23:21 +08:00
alan 23140307aa 实现<去存储过程功能,并修改打分的表更新>
Signed-off-by: alan <547533434@qq.com>
2014-12-31 08:48:14 +08:00
alan ed54248494 修改《查找学生信息》bug
Signed-off-by: alan <547533434@qq.com>
2014-12-30 14:33:46 +08:00
alan 6a86e1c386 <分组点击两次>bug
Signed-off-by: alan <547533434@qq.com>
2014-12-30 14:00:48 +08:00
alan 4f5fe52485 基于苏稳添加的字段优化存储过程
Signed-off-by: alan <547533434@qq.com>
2014-12-30 09:21:56 +08:00
alan 5874450d14 修改《学生列表排序用的存储过程》
Signed-off-by: alan <547533434@qq.com>
2014-12-29 22:20:21 +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
alan fb398904b6 优化《学生列表》分页查询
Signed-off-by: alan <547533434@qq.com>
2014-12-29 16:57:31 +08:00
sw 0a58fce251 优化数据迁移效率 2014-12-29 11:53:26 +08:00
sw 259799eb89 1.增加评分的model
2.修改评分表中为教师评分的历史数据的is_teacher_score的值
2014-12-29 11:38:35 +08:00
sw fa36e6d2b0 增加判断评分是不是老师评分的列 2014-12-29 10:58:45 +08:00
alan b79b08fa8f 编写《作业查询存储过程》
Signed-off-by: alan <547533434@qq.com>
2014-12-26 15:51:39 +08:00
sw 73afb7e6c8 调用作业课程时首先判断该作业的所属课程是否存在 2014-12-22 14:15:49 +08:00
guange 03f2c9c192 关注返回规范化 2014-12-18 13:37:23 +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 2dab864199 #1689修改部分学生匿评得分大于5分 2014-12-10 15:04:35 +08:00
sw 0d793ee4bc 解决冲突 2014-12-05 14:48:33 +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 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
www 53ecf8718f [api]用户认证完成 2014-11-27 19:43:04 +08:00
sw bb1c1a0bb0 修改部分学生作业评分居然是6分 2014-11-27 16:14:00 +08:00
sw 13bf91f954 1.修改课程作业列表中、启动、关闭匿评、提交作业、编辑等按钮不见的问题
2.修改匿评、提交评论的样式
2014-11-22 15:50:14 +08:00
z9hang cf808598d2 全站搜索不在搜索非本人的私有资源,且他人的公开资源亦不能修改其公开私有属性2、添加迁移文件 2014-11-21 14:57:10 +08:00
sw 91cb6e29d5 数据库增加是否开启匿评字段
新建作业是增加是否开启匿评功能以及相关页面效果显示
修改相关js判断
2014-11-19 10:34:36 +08:00
z9hang ae19532601 修改帮助的浮动边框 2014-11-14 17:35: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 373ba9fb33 1、用户名过长的显示问题。2、部分内容过长的回复的与头像不在同一行问题 2014-11-06 14:51:25 +08:00
sw 54a9044679 修改匿评个数可配置、以及增加其相关js验证 2014-11-05 10:06:20 +08:00
alan 8cec84dca7 添加<公共贴吧 无帖子置顶功能 建议增加>,<管理员可以根据贴吧的热度选择将贴吧置顶>
Signed-off-by: alan <547533434@qq.com>
2014-11-03 15:16:56 +08:00
z9hang 47c8ffd22a 作业修改 2014-11-02 17:26:28 +08:00
gonglexin e8e7708d6e 作业匿评功能 2014-11-02 14:38:43 +08:00
alan 12cf56d201 Signed-off-by: alan <547533434@qq.com> 2014-10-31 21:21:57 +08:00
alan 9c4c1679af 修改bug<有些课程school_id=0 或为空则课程进不去>
Signed-off-by: alan <547533434@qq.com>
2014-10-31 20:46:23 +08:00
sw c045b4682a 增加匿评分配作业表,以及和作业、作品、用户表关系键确认 2014-10-31 19:30:49 +08:00
alan bdc38014ac 修改bug《测试版:课程列表--点击个别课程返回500错误》
Signed-off-by: alan <547533434@qq.com>
2014-10-31 14:55:52 +08:00
alan 94a4c0037a 修复bug《中国高校--地区列表无“港”、“澳”、“台” 建议增加》
Signed-off-by: alan <547533434@qq.com>
2014-10-30 16:49:19 +08:00
alan 61815af8bd 添加港澳台高校信息
Signed-off-by: alan <547533434@qq.com>
2014-10-30 11:24:46 +08:00
alan 7487c538f3 Signed-off-by: alan <547533434@qq.com> 2014-10-30 10:06:35 +08:00
sw 7e8ab97713 作业描述最大长度限制为3000个字符 2014-10-29 15:16:00 +08:00
alan e044f5b615 修改contest中出现的逻辑错误
Signed-off-by: alan <547533434@qq.com>
2014-10-23 11:30:34 +08:00
z9hang f957666b25 部分网页标题不标准问题,补交之前漏掉未添加的文件 2014-10-14 16:50:22 +08:00
z9hang af59cef90b 网站页脚配置功能 2014-10-13 17:38:59 +08:00
sw 4957f6d55a 修改作业描述字段的类型,页面代码优化 2014-10-09 14:14:31 +08:00
sw 341ee214c1 修复部分课程作业进入作业列表报错的BUG 2014-10-09 09:13:50 +08:00
sw b6551f8955 #1297修复学生能看到发布通知按钮的BUG
2.增加课程是否对学生开发的数据迁移
 3.页面代码整理
 解决方案:增加当前登录用户是否在课程有发布通知权限的判断
2014-10-08 10:27:19 +08:00