aboutsummaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorsebastian-sauer <sauer.sebastian@gmail.com>2019-01-27 10:25:21 +0100
committerzeripath <art27@cantab.net>2019-01-27 09:25:21 +0000
commit84076211b3da9bd8ab9ba30806276f0faff6d5fb (patch)
tree42d4eeba8bed911103fbf4672def96c7d280ac32 /custom
parentb8a81cb1b887799d169fd916a4c4e1a075aca2c3 (diff)
downloadgitea-84076211b3da9bd8ab9ba30806276f0faff6d5fb.tar.gz
gitea-84076211b3da9bd8ab9ba30806276f0faff6d5fb.zip
Config option to disable automatic repo watching (#5852)
Add a new config option to enable / disable the automatic watching of repos for new repositories and if a user is added to a team. Fixes #653 Signed-off-by: Sebastian Sauer <sauer.sebastian@gmail.com>
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.ini.sample4
1 files changed, 4 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index b89c5b5e96..6b46456f4e 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -368,6 +368,10 @@ DEFAULT_ALLOW_ONLY_CONTRIBUTORS_TO_TRACK_TIME = true
NO_REPLY_ADDRESS = noreply.example.org
; Show Registration button
SHOW_REGISTRATION_BUTTON = true
+; Default value for AutoWatchNewRepos
+; When adding a repo to a team or creating a new repo all team members will watch the
+; repo automatically if enabled
+AUTO_WATCH_NEW_REPOS = true
[webhook]
; Hook task queue length, increase if webhook shooting starts hanging