- Fixed NPE when attempting to add a permission without a registrant (issue-344)
- Invalidate all cached repository data on "clear cache" (issue-346)
- Fix chart failures when an apostrophe is in a user display name (issue-350, pr-128)
+ - Fix exception in create repository when not selecting a garbage collection period (issue-366)
- Stop setting admin permission based on undocumented Redmine REST API behavior (issue-368)
- Fix support url decoding with non-ascii characters (pr-136)
- Fix potential NPE on removing uncached repository from cache
form.add(new DropDownChoice<String>("HEAD", availableRefs).setEnabled(availableRefs.size() > 0));\r
\r
boolean gcEnabled = app().settings().getBoolean(Keys.git.enableGarbageCollection, false);\r
+ int defaultGcPeriod = app().settings().getInteger(Keys.git.defaultGarbageCollectionPeriod, 7);\r
+ if (repositoryModel.gcPeriod == 0) {\r
+ repositoryModel.gcPeriod = defaultGcPeriod;\r
+ }\r
List<Integer> gcPeriods = Arrays.asList(1, 2, 3, 4, 5, 7, 10, 14 );\r
form.add(new DropDownChoice<Integer>("gcPeriod", gcPeriods, new GCPeriodRenderer()).setEnabled(gcEnabled));\r
form.add(new TextField<String>("gcThreshold").setEnabled(gcEnabled));\r