Commit Graph

47 Commits

Author SHA1 Message Date
wrmswindmill 564f0900c8 FIXBUG
修复登录bug
因为用户可以用用户名登录,而选择educoder时,如果用用户名登录,就必须在用户名和密码都正确时
获取到的email保证为email,而不是用户名
2018-08-25 19:40:25 +08:00
杨树明775174143 c8ef7e15fc Merge branch 'develop' of http://git.trustie.net/wrm1995/codepedia2 into develop 2018-08-24 19:14:47 +08:00
杨树明775174143 44d6be3ff1 1.右边栏调整
2.详情页面调整
2018-08-24 19:14:34 +08:00
wrmswindmill 8e71901cd3 Fixbug
> 新增Method类,记录Method对应的项目,文件,行号以及方法名
> 在FileSummary中新增了question_num
> 在File中新增字段has_annotation,并在新增标注时判断
> 在执行scanner_project时会扫描Method,has_annotation,以及question_num
>
> 然后修改了get_project_info 和 get_dir_info
2018-08-24 17:29:21 +08:00
wrmswindmill e9c64de9d8 Merge 2018-08-23 10:49:02 +08:00
杨树明775174143 93eba6358b 调整
1.右边框内的样式问题
 2.代码详细框增加文字
2018-08-23 09:43:55 +08:00
wrmswindmill 91745b6870 modify right area And add annoted_method 2018-08-23 00:34:47 +08:00
杨树明775174143 e30f722b1e 1.项目右边 web 和 code 两个小框隐藏,与顶部距离调整。
2.代码 字体 大小 间隔缩小
缩小
3.projectjects 数字拥挤问题
4. 注释文本框文字调整 ,输入框与边增加距离
5. projects 右侧隐藏
6.代码页logo和首页logo颜色统一,logo 右边增加首页的三个按钮
7.注释信息页横线去掉
8.按照PPT 进行调整并进行翻译
2018-08-22 17:54:24 +08:00
wrmswindmill 4d901dad9b fixbug and add new function
修复点赞bug
新增组内成员允许修改组内成员的标注
2018-08-22 00:47:49 +08:00
wrmswindmill c422e83959 FIXBUG 2018-08-21 20:12:37 +08:00
wrmswindmill 399dbd9c0c 增加功能
支持Educoder平台,支持从Educoder平台获取用户的信息等
增加功能:同组内不能点赞
增加功能:在查看标注的权限为组内可见时,可以查看到组内所有成员的标注
2018-08-21 20:03:44 +08:00
wrmswindmill 9d35fa3ee1 Modify Login And Support Educoder 2018-08-21 01:08:07 +08:00
杨树明775174143 3a99c00d6a 调整 2018-08-20 16:18:53 +08:00
wrmswindmill ea38005262 Temp
修改CodeReading部分html代码生成方式
但是还有问题
2018-08-19 19:35:33 +08:00
wrmswindmill 0f14e830d1 Fixbug
修改Scanner Project后Method count不正确的问题,同时修改了文件及文件夹Method数目与opengrok不一致的问题

仍然存在的问题:opengrok对python的Method扫描不准确,对go语言不支持
2018-08-19 17:38:22 +08:00
wrmswindmill 213f853fe9 FixBug
修复不同文件注释符号不同的bug:之前全都默认为//
内容放在operation/views.py中的get_currentfile_comment_anno()中

新增功能:
添加移除项目功能
2018-08-18 22:51:23 +08:00
wrmswindmill 96fc8bc561 FixBug
修复不同文件注释符号不同的bug:之前全都默认为//
内容放在operation/views.py中的get_currentfile_comment_anno()中

新增功能:
添加移除项目功能
2018-08-18 22:49:28 +08:00
杨树明775174143 512b77b1c2 1.详情列表增加 一行
2.右边详情增加两行内容
2018-08-17 12:53:37 +08:00
杨树明775174143 5f6458915a 1.注释和问题栏添加 选择效果
2.行距调整
2018-08-16 15:24:05 +08:00
wrmswindmill aa4c7bdea4 FIXBUG
修复了打开第一个标签后左侧文档树不展开的BUG
解决方法:
由于jstree在未指定li的id时,id生是由规律的,第一个生成的li为j1_1,第二个为j1_2,以此类推
jstree是通过深度优先搜索遍历的,在遍历的时候又会提供当前节点的relative_path
因此在遍历时记录了节点对应的jstree_id,然后返回
“
2018-08-15 09:53:44 +08:00
wrmswindmill 83651aa687 FIXBUG:
修复打开标签页对应url的bug
修改url地址栏的url应该放在open_tab()中
2018-08-15 00:51:41 +08:00
杨树明775174143 bdd370c7f3 1.logo调整。
2.注释新增,修改同步。
3.文件图片按照设计修改更换。
2018-08-14 16:14:03 +08:00
杨树明775174143 23d9dab207 1.logo的调整
2。代码行距离调整
3.注释框的调整
4.文件夹详情页面背景拉长
5.提问页面调整
2018-08-14 11:24:40 +08:00
wrmswindmill c03b7adecf add file annotation and question 2018-08-13 09:34:45 +08:00
wrmswindmill 8fcd5758cd FIX
fix add_comment by change source.js and add a new template called new_comment.html
2018-08-08 15:35:38 +08:00
杨树明775174143 abd3ad5b2d 联调 2018-08-08 14:51:03 +08:00
wrmswindmill 8b87e6213c Add VoteUp and VoteDown
if user has voted,then active the relative vote tag
tag color is changed by .thumb_active
2018-08-08 11:32:43 +08:00
wrmswindmill 8845470065 Modify Annotation.html
Add Modify self anno
2018-08-07 23:30:36 +08:00
wrmswindmill 597e8a8270 Modify Annotation.html 2018-08-07 23:17:22 +08:00
wrmswindmill 60cfe25c89 Merge And Solve Conflict:
Modify Code-Reading.html:show_issue_question work
Modify source.js:display annotation property
Modify Code-Reading.html:display anntation properly
2018-08-07 23:00:10 +08:00
杨树明775174143 198653c72e 解决冲突导致的代码丢失 2018-08-07 21:49:20 +08:00
wrmswindmill e6b43dd8cd Merge And Solve Conflict 2018-08-07 21:12:32 +08:00
杨树明775174143 ffd2f988c1 Merge branch 'develop' of http://git.trustie.net/wrm1995/codepedia2 into develop
# Conflicts:
#	apps/operations/views.py
#	static/css/code_show.css
#	templates/projects/filesub/annotation.html
#	templates/projects/filesub/code-reading.html
2018-08-07 19:51:40 +08:00
杨树明775174143 5ded69717e 1.目录左侧虚线调整,背景颜色调整。
2.tab样式加图标。
3.右边代码窗口缩放问题,双下拉问题。
4.注释框样式调整。
5.代码文字样式调整。
6.代码配色,距离调整。
7.给代码增加注释后,代码中间看到自己注释的代码。
8.代码滚动轴重复问题。
9.头部logo调整,文件图标调整。
2018-08-07 18:37:44 +08:00
wrmswindmill 4096b63dc4 add modify 2018-08-07 18:20:33 +08:00
wrmswindmill c4fd49509b when scanner import add filesummary and anntationstragegy 2018-08-07 17:06:06 +08:00
wrmswindmill d42eb0fe0f modify a lot,and FileSummary and others 2018-08-07 15:15:10 +08:00
wrmswindmill 3e9b53aea6 shuming modify a lot, fix register by custom auther 2018-07-31 10:46:48 +08:00
wrmswindmill 74449c6bd2 add new code color using highlight.js but indentation has error 2018-07-18 23:28:02 +08:00
wrmswindmill f48f8b0cfc add code color using highlight.js 2018-07-18 21:07:03 +08:00
wrmswindmill 54c70ee061 fix:submit a question and show his question and modify code_reading html generate 2018-07-18 14:44:34 +08:00
wrmswindmill c25da9ea9d add get_project_tree_modify.py,this file use jstree create project tree,but now not implement ondbclick event 2018-07-18 10:04:53 +08:00
wrmswindmill a8c4d46818 add modify annotation and group strategy, but group not complete and 2018-07-17 22:06:28 +08:00
wrmswindmill 8d879c8389 modify login register and forgetpws 2018-07-17 08:51:03 +08:00
wrmswindmill f48b3ec682 add userinfo.html forgetpwd an so on,but is so ugly 2018-07-16 10:34:51 +08:00
wrmswindmill 99d6f6aff3 2018-7-15 2018-07-15 10:09:43 +08:00
YouXinyu 984d1e957f add newproject 2018-07-09 15:14:57 +08:00