From aebea41e67fb31c097040e3fdc46c8e25bc2e0d2 Mon Sep 17 00:00:00 2001 From: Origami404 Date: Fri, 1 Mar 2024 11:40:03 +0800 Subject: [PATCH 1/3] Adding back a missing option to app.example.ini In the refactoring of the configuration file, that line was accidentally deleted: DEFAULT_CLOSE_ISSUES_VIA_COMMITS_IN_ANY_BRANCH = false See: https://github.com/go-gitea/gitea/commit/4a84022d2559ccfc99960c7c654ee8b9b38664f7?diff=split&w=1#diff-eda333ab2034231553808ef0f99e28cd1f209c7f583fd3d0aa0fb1b77e573cd4L56 --- custom/conf/app.example.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 5451537d02ccf..93fff534d061f 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -956,6 +956,8 @@ LEVEL = Info ;GO_GET_CLONE_URL_PROTOCOL = https ;; ;; Close issues as long as a commit on any branch marks it as fixed +;DEFAULT_CLOSE_ISSUES_VIA_COMMITS_IN_ANY_BRANCH = false +;; ;; Comma separated list of globally disabled repo units. Allowed values: repo.issues, repo.ext_issues, repo.pulls, repo.wiki, repo.ext_wiki, repo.projects, repo.packages, repo.actions. ;DISABLED_REPO_UNITS = ;; From 7089418e5183f2fa2cde098d059c1f866863edde Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Fri, 1 Mar 2024 02:51:57 -0500 Subject: [PATCH 2/3] Update custom/conf/app.example.ini Co-authored-by: Lunny Xiao --- custom/conf/app.example.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 93fff534d061f..32e86e2cdff5e 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -957,7 +957,9 @@ LEVEL = Info ;; ;; Close issues as long as a commit on any branch marks it as fixed ;DEFAULT_CLOSE_ISSUES_VIA_COMMITS_IN_ANY_BRANCH = false -;; +;; Allow users to push local repositories to Gitea and have them automatically created for a user or an org +;ENABLE_PUSH_CREATE_USER = false +;ENABLE_PUSH_CREATE_ORG = false ;; Comma separated list of globally disabled repo units. Allowed values: repo.issues, repo.ext_issues, repo.pulls, repo.wiki, repo.ext_wiki, repo.projects, repo.packages, repo.actions. ;DISABLED_REPO_UNITS = ;; From cf61fde8597de157c398b5b2b8c3c1537e1cf5c5 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Fri, 1 Mar 2024 18:43:39 +0800 Subject: [PATCH 3/3] Update custom/conf/app.example.ini --- custom/conf/app.example.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 32e86e2cdff5e..f7f5cac9c897c 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -957,9 +957,11 @@ LEVEL = Info ;; ;; Close issues as long as a commit on any branch marks it as fixed ;DEFAULT_CLOSE_ISSUES_VIA_COMMITS_IN_ANY_BRANCH = false +;; ;; Allow users to push local repositories to Gitea and have them automatically created for a user or an org ;ENABLE_PUSH_CREATE_USER = false ;ENABLE_PUSH_CREATE_ORG = false +;; ;; Comma separated list of globally disabled repo units. Allowed values: repo.issues, repo.ext_issues, repo.pulls, repo.wiki, repo.ext_wiki, repo.projects, repo.packages, repo.actions. ;DISABLED_REPO_UNITS = ;;