model.addOwners(ArrayUtils.fromString(getConfig(config, "owner", "")));\r
model.useTickets = getConfig(config, "useTickets", false);\r
model.useDocs = getConfig(config, "useDocs", false);\r
+ model.useIncrementalRevisionNumbers = getConfig(config, "useIncrementalRevisionNumbers", false);\r
model.allowForks = getConfig(config, "allowForks", true);\r
model.accessRestriction = AccessRestrictionType.fromName(getConfig(config,\r
"accessRestriction", settings.getString(Keys.git.defaultAccessRestriction, null)));\r
config.setString(Constants.CONFIG_GITBLIT, null, "owner", ArrayUtils.toString(repository.owners));\r
config.setBoolean(Constants.CONFIG_GITBLIT, null, "useTickets", repository.useTickets);\r
config.setBoolean(Constants.CONFIG_GITBLIT, null, "useDocs", repository.useDocs);\r
+ config.setBoolean(Constants.CONFIG_GITBLIT, null, "useIncrementalRevisionNumbers", repository.useIncrementalRevisionNumbers);\r
config.setBoolean(Constants.CONFIG_GITBLIT, null, "allowForks", repository.allowForks);\r
config.setString(Constants.CONFIG_GITBLIT, null, "accessRestriction", repository.accessRestriction.name());\r
config.setString(Constants.CONFIG_GITBLIT, null, "authorizationControl", repository.authorizationControl.name());\r
\r
private JCheckBox useDocs;\r
\r
+ private JCheckBox useIncrementalRevisionNumbers;\r
+ \r
private JCheckBox showRemoteBranches;\r
\r
private JCheckBox showReadme;\r
anRepository.useTickets);\r
useDocs = new JCheckBox(Translation.get("gb.useDocsDescription"),\r
anRepository.useDocs);\r
+ useIncrementalRevisionNumbers = new JCheckBox(Translation.get("gb.useIncrementalRevisionNumbersDescription"),\r
+ anRepository.useIncrementalRevisionNumbers);\r
showRemoteBranches = new JCheckBox(\r
Translation.get("gb.showRemoteBranchesDescription"),\r
anRepository.showRemoteBranches);\r
useTickets));\r
fieldsPanel\r
.add(newFieldPanel(Translation.get("gb.enableDocs"), useDocs));\r
+ fieldsPanel\r
+ .add(newFieldPanel(Translation.get("gb.enableIncrementalRevisionNumbers"), useIncrementalRevisionNumbers));\r
fieldsPanel.add(newFieldPanel(Translation.get("gb.showRemoteBranches"),\r
showRemoteBranches));\r
fieldsPanel.add(newFieldPanel(Translation.get("gb.showReadme"),\r
repository.gcThreshold = gcThreshold.getText();\r
repository.useTickets = useTickets.isSelected();\r
repository.useDocs = useDocs.isSelected();\r
+ repository.useIncrementalRevisionNumbers = useIncrementalRevisionNumbers.isSelected();\r
repository.showRemoteBranches = showRemoteBranches.isSelected();\r
repository.showReadme = showReadme.isSelected();\r
repository.skipSizeCalculation = skipSizeCalculation.isSelected();\r
public boolean showRemoteBranches;\r
public boolean useTickets;\r
public boolean useDocs;\r
+ public boolean useIncrementalRevisionNumbers;\r
public AccessRestrictionType accessRestriction;\r
public AuthorizationControl authorizationControl;\r
public boolean allowAuthenticated;\r
clone.showRemoteBranches = false;\r
clone.allowForks = false;\r
clone.useDocs = useDocs;\r
+ clone.useIncrementalRevisionNumbers = useIncrementalRevisionNumbers;\r
clone.useTickets = useTickets;\r
clone.skipSizeCalculation = skipSizeCalculation;\r
clone.skipSummaryMetrics = skipSummaryMetrics;\r
gb.name = name\r
gb.enableTickets = enable tickets\r
gb.enableDocs = enable docs\r
+gb.enableIncrementalRevisionNumbers = enable incremental revision numbers\r
gb.save = save\r
gb.showRemoteBranches = show remote branches\r
gb.editUsers = edit users\r
gb.viewRestricted = authenticated view, clone, & push\r
gb.useTicketsDescription = readonly, distributed Ticgit issues\r
gb.useDocsDescription = enumerates Markdown documentation in repository\r
+gb.useIncrementalRevisionNumbersDescription = automatic tagging of each push with an incremental revision number\r
gb.showRemoteBranchesDescription = show remote branches\r
gb.canAdminDescription = can administer Gitblit server\r
gb.permittedUsers = permitted users\r
<tr><th colspan="2"><hr/></th></tr>\r
<tr><th><wicket:message key="gb.enableTickets"></wicket:message></th><td class="edit"><label class="checkbox"><input type="checkbox" wicket:id="useTickets" tabindex="7" /> <span class="help-inline"><wicket:message key="gb.useTicketsDescription"></wicket:message></span></label></td></tr>\r
<tr><th><wicket:message key="gb.enableDocs"></wicket:message></th><td class="edit"><label class="checkbox"><input type="checkbox" wicket:id="useDocs" tabindex="8" /> <span class="help-inline"><wicket:message key="gb.useDocsDescription"></wicket:message></span></label></td></tr>\r
+ <tr><th><wicket:message key="gb.enableIncrementalRevisionNumbers"></wicket:message></th><td class="edit"><label class="checkbox"><input type="checkbox" wicket:id="useIncrementalRevisionNumbers" tabindex="8" /> <span class="help-inline"><wicket:message key="gb.useIncrementalRevisionNumbersDescription"></wicket:message></span></label></td></tr>\r
<tr><th><wicket:message key="gb.showRemoteBranches"></wicket:message></th><td class="edit"><label class="checkbox"><input type="checkbox" wicket:id="showRemoteBranches" tabindex="9" /> <span class="help-inline"><wicket:message key="gb.showRemoteBranchesDescription"></wicket:message></span></label></td></tr>\r
<tr><th><wicket:message key="gb.showReadme"></wicket:message></th><td class="edit"><label class="checkbox"><input type="checkbox" wicket:id="showReadme" tabindex="10" /> <span class="help-inline"><wicket:message key="gb.showReadmeDescription"></wicket:message></span></label></td></tr>\r
<tr><th><wicket:message key="gb.skipSizeCalculation"></wicket:message></th><td class="edit"><label class="checkbox"><input type="checkbox" wicket:id="skipSizeCalculation" tabindex="11" /> <span class="help-inline"><wicket:message key="gb.skipSizeCalculationDescription"></wicket:message></span></label></td></tr>\r
new FederationTypeRenderer()));\r
form.add(new CheckBox("useTickets"));\r
form.add(new CheckBox("useDocs"));\r
+ form.add(new CheckBox("useIncrementalRevisionNumbers"));\r
form.add(new CheckBox("showRemoteBranches"));\r
form.add(new CheckBox("showReadme"));\r
form.add(new CheckBox("skipSizeCalculation"));\r