Ori Livneh
2013-08-10 da71511be5a4d205e571b548d6330ed7f7b72d99
refs
author Ori Livneh <ori@wikimedia.org>
Saturday, August 10, 2013 22:05 -0400
committer Ori Livneh <ori@wikimedia.org>
Saturday, August 10, 2013 23:33 -0400
commitda71511be5a4d205e571b548d6330ed7f7b72d99
tree e33db591f640ecd34fefe7f868583029cb2b5848 tree | zip | gz
parent 3928544560cb7f6cd1bff4bf975eea5f5d10fda2 view | diff
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.
5 files modified
27 ■■■■■ changed files
releases.moxie 6 ●●●● diff | view | raw | blame | history
src/main/distrib/data/gitblit.properties 5 ●●●●● diff | view | raw | blame | history
src/main/java/com/gitblit/wicket/pages/BasePage.java 4 ●●●● diff | view | raw | blame | history
src/main/java/com/gitblit/wicket/pages/MyDashboardPage.java 4 ●●●● diff | view | raw | blame | history
src/main/java/com/gitblit/wicket/pages/RootPage.java 8 ●●●●● diff | view | raw | blame | history