summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorTait Hoyem <tait@tait.tech>2020-09-27 19:20:52 +0000
committerGitHub <noreply@github.com>2020-09-27 15:20:52 -0400
commitc85c9d40c2744b8b76bfa66582bbe20ef3a01dff (patch)
tree444de12b5410c1f61ac2cc7be86989be80f5efd9 /custom
parent82179a6e81b4f712d523bd481b18a64c8eb99559 (diff)
downloadgitea-c85c9d40c2744b8b76bfa66582bbe20ef3a01dff.tar.gz
gitea-c85c9d40c2744b8b76bfa66582bbe20ef3a01dff.zip
Add config option to make create-on-push repositories public by default (#12936)
* Add config option to make create-on-push repositories public by default * Fix linting * Add option to 'config cheat sheet' page * Chinese translation Signed-off-by: a1012112796 <1012112796@qq.com> * Fix typo in docs * fix typo * Add option to example config Co-authored-by: Tait Hoyem <code@tait.tech> Co-authored-by: a1012112796 <1012112796@qq.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index b3b9fd96cc..e67657d076 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -30,6 +30,8 @@ ANSI_CHARSET =
FORCE_PRIVATE = false
; Default privacy setting when creating a new repository, allowed values: last, private, public. Default is last which means the last setting used.
DEFAULT_PRIVATE = last
+; Default private when using push-to-create
+DEFAULT_PUSH_CREATE_PRIVATE = true
; Global limit of repositories per user, applied at creation time. -1 means no limit
MAX_CREATION_LIMIT = -1
; Mirror sync queue length, increase if mirror syncing starts hanging