diff options
author | Ori Livneh <ori@wikimedia.org> | 2013-08-11 10:05:10 +0800 |
---|---|---|
committer | Ori Livneh <ori@wikimedia.org> | 2013-08-11 11:33:54 +0800 |
commit | da71511be5a4d205e571b548d6330ed7f7b72d99 (patch) | |
tree | e33db591f640ecd34fefe7f868583029cb2b5848 /src/main/distrib | |
parent | 3928544560cb7f6cd1bff4bf975eea5f5d10fda2 (diff) | |
download | gitblit-da71511be5a4d205e571b548d6330ed7f7b72d99.tar.gz gitblit-da71511be5a4d205e571b548d6330ed7f7b72d99.zip |
Add setting to cap number of activity days to display
This patch adds a setting, 'web.activityDurationMaximum', that specifies the
maximum number of days of activity that may be requested. The default value is
30. When the number of days requested exceeds this value, the request is
handled as though the maximum value was requested.
Diffstat (limited to 'src/main/distrib')
-rw-r--r-- | src/main/distrib/data/gitblit.properties | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/distrib/data/gitblit.properties b/src/main/distrib/data/gitblit.properties index 7f2f8b48..770bd39d 100644 --- a/src/main/distrib/data/gitblit.properties +++ b/src/main/distrib/data/gitblit.properties @@ -882,6 +882,11 @@ web.activityDuration = 7 # SINCE 1.3.0
web.activityDurationChoices = 1 3 7 14 21 28
+# Maximum number of days of activity that may be displayed on the activity page.
+#
+# SINCE 1.3.2
+web.activityDurationMaximum = 30
+
# The number of days of commits to cache in memory for the dashboard, activity,
# and project pages. A value of 0 will disable all caching and will parse commits
# in each repository per-request. If the value > 0 these pages will try to fulfill
|