Compare commits
No commits in common. "024b56eb0218b72d35562b68ffc4be2026c6f2ad" and "83e2f421d98be4ae7cf1f67629f1d52a364ae7fa" have entirely different histories.
024b56eb02
...
83e2f421d9
16
README.md
16
README.md
|
|
@ -1,4 +1,16 @@
|
||||||
# Gitea - WSE
|
[简体中文](https://github.com/go-gitea/gitea/blob/master/README_ZH.md)
|
||||||
|
|
||||||
|
# Gitea - Git with a cup of tea
|
||||||
|
|
||||||
|
[](https://drone.gitea.io/go-gitea/gitea)
|
||||||
|
[](https://discord.gg/NsatcWJ)
|
||||||
|
[](https://microbadger.com/images/gitea/gitea "Get your own image badge on microbadger.com")
|
||||||
|
[](https://codecov.io/gh/go-gitea/gitea)
|
||||||
|
[](https://goreportcard.com/report/code.gitea.io/gitea)
|
||||||
|
[](https://godoc.org/code.gitea.io/gitea)
|
||||||
|
[](https://github.com/go-gitea/gitea/releases/latest)
|
||||||
|
[](https://www.codetriage.com/go-gitea/gitea)
|
||||||
|
[](https://opencollective.com/gitea)
|
||||||
|
|
||||||
## Purpose
|
## Purpose
|
||||||
|
|
||||||
|
|
@ -17,7 +29,7 @@ This project has been
|
||||||
|
|
||||||
From the root of the source tree, run:
|
From the root of the source tree, run:
|
||||||
|
|
||||||
TAGS="bindata sqlite sqlite_unlock_notify" make generate build
|
TAGS="bindata" make generate all
|
||||||
|
|
||||||
More info: https://docs.gitea.io/en-us/install-from-source/
|
More info: https://docs.gitea.io/en-us/install-from-source/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -394,9 +394,6 @@ func showOrgProfile(ctx *context.Context) {
|
||||||
count int64
|
count int64
|
||||||
err error
|
err error
|
||||||
)
|
)
|
||||||
|
|
||||||
fmt.Println("[DEBUG/home.go] ctx.IsSigned, ctx.User.IsAdmin: ", ctx.IsSigned, ", ", ctx.User.IsAdmin, " = ", ctx.IsSigned && ctx.User.IsAdmin)
|
|
||||||
|
|
||||||
if ctx.IsSigned && !ctx.User.IsAdmin {
|
if ctx.IsSigned && !ctx.User.IsAdmin {
|
||||||
env, err := org.AccessibleReposEnv(ctx.User.ID)
|
env, err := org.AccessibleReposEnv(ctx.User.ID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
@ -417,6 +414,8 @@ func showOrgProfile(ctx *context.Context) {
|
||||||
} else {
|
} else {
|
||||||
showPrivate := ctx.IsSigned && ctx.User.IsAdmin
|
showPrivate := ctx.IsSigned && ctx.User.IsAdmin
|
||||||
|
|
||||||
|
fmt.Println("[DEBUG/home.go] showPrivate := ctx.IsSigned && ctx.User.IsAdmin: ", showPrivate)
|
||||||
|
|
||||||
repos, err = models.GetUserRepositories(org.ID, showPrivate, page, setting.UI.User.RepoPagingNum, "")
|
repos, err = models.GetUserRepositories(org.ID, showPrivate, page, setting.UI.User.RepoPagingNum, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctx.ServerError("GetRepositories", err)
|
ctx.ServerError("GetRepositories", err)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue