forked from Gitlink/forgeplus
Compare commits
4 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
cbc6f4e7d1 | |
|
|
5c864acb64 | |
|
|
8bbfea2079 | |
|
|
8c2a543e61 |
13
CHANGELOG.md
13
CHANGELOG.md
|
|
@ -1,17 +1,6 @@
|
|||
# Changelog
|
||||
|
||||
## [v3.0.1](https://forgeplus.trustie.net/projects/jasder/forgeplus/releases) - 2021-03-19
|
||||
|
||||
* BUGFIXES
|
||||
* Fix pull reqeust模块中用户头像显示问题
|
||||
* Fix 解决issue模块中,指派用户的问题
|
||||
* Fix 解决合并请求失败的后显示message信息不正确
|
||||
* Fix 代码目录页面,readme文件提供单独的api
|
||||
|
||||
* ENHANCEMENTS
|
||||
* 重构项目详情页面
|
||||
|
||||
## [v3.0.0](https://forgeplus.trustie.net/projects/jasder/forgeplus/releases) - 2020-12-29
|
||||
## [v3.0.0](https://github.com/go-gitea/gitea/releases/tag/v1.13.1) - 2020-12-29
|
||||
|
||||
* BUGFIXES
|
||||
* Fix pull reqeust的访问权限问题 (#14156) (#14171)
|
||||
|
|
|
|||
12
README.md
12
README.md
|
|
@ -93,26 +93,26 @@ http://localhost:3000/
|
|||
|
||||
- 代码库
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
- 任务管理
|
||||

|
||||

|
||||
|
||||
- 任务查看
|
||||
|
||||

|
||||

|
||||
|
||||
- 任务指派
|
||||
|
||||

|
||||

|
||||
|
||||
- 里程碑
|
||||
|
||||

|
||||

|
||||
|
||||
### API
|
||||
- [API文档](https://forgeplus.trustie.net/docs/api)
|
||||
- [API](api_document.md)
|
||||
- [API](showdoc.com.cn)
|
||||
账号:forgeplus@admin.com 密码:forge123
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ class ProjectsController < ApplicationController
|
|||
menu = []
|
||||
|
||||
menu.append(menu_hash_by_name("home"))
|
||||
menu.append(menu_hash_by_name("code")) if @project.has_menu_permission("code")
|
||||
menu.append(menu_hash_by_name("code"))
|
||||
menu.append(menu_hash_by_name("issues")) if @project.has_menu_permission("issues")
|
||||
menu.append(menu_hash_by_name("pulls")) if @project.has_menu_permission("pulls")
|
||||
menu.append(menu_hash_by_name("devops")) if @project.has_menu_permission("devops")
|
||||
|
|
@ -26,7 +26,7 @@ class ProjectsController < ApplicationController
|
|||
scope = Projects::ListQuery.call(params)
|
||||
|
||||
# @projects = kaminari_paginate(scope)
|
||||
@projects = paginate scope.includes(:project_category, :project_language, :repository, :project_educoder, :owner)
|
||||
@projects = paginate scope.includes(:project_category, :project_language, :repository, :project_educoder, :owner, :project_units)
|
||||
|
||||
category_id = params[:category_id]
|
||||
@total_count =
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ class RepositoriesController < ApplicationController
|
|||
|
||||
# 新版项目详情
|
||||
def detail
|
||||
return render_not_found unless @project.has_menu_permission("code")
|
||||
@user = current_user
|
||||
@result = Repositories::DetailService.call(@owner, @repository, @user)
|
||||
@project_fork_id = @project.try(:forked_from_project_id)
|
||||
|
|
|
|||
|
|
@ -46,7 +46,6 @@ class Projects::CreateService < ApplicationService
|
|||
{
|
||||
hidden: !repo_is_public,
|
||||
user_id: params[:user_id],
|
||||
website: params[:website],
|
||||
identifier: params[:repository_name]
|
||||
}
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue