James Moger
2014-03-04 9aa11943f821cb6c10a6d1c41c3d2381676f5047
src/main/java/com/gitblit/client/EditRepositoryDialog.java
@@ -88,6 +88,12 @@
   private JTextField descriptionField;
   private JCheckBox acceptNewPatchsets;
   private JCheckBox acceptNewTickets;
   private JCheckBox requireApproval;
   private JCheckBox useIncrementalPushTags;
   private JCheckBox showRemoteBranches;
@@ -205,6 +211,12 @@
      ownersPalette = new JPalette<String>(true);
      acceptNewTickets = new JCheckBox(Translation.get("gb.acceptsNewTicketsDescription"),
            anRepository.acceptNewTickets);
      acceptNewPatchsets = new JCheckBox(Translation.get("gb.acceptsNewPatchsetsDescription"),
            anRepository.acceptNewPatchsets);
      requireApproval = new JCheckBox(Translation.get("gb.requireApprovalDescription"),
            anRepository.requireApproval);
      useIncrementalPushTags = new JCheckBox(Translation.get("gb.useIncrementalPushTagsDescription"),
            anRepository.useIncrementalPushTags);
      showRemoteBranches = new JCheckBox(
@@ -298,6 +310,12 @@
      fieldsPanel.add(newFieldPanel(Translation.get("gb.gcPeriod"), gcPeriod));
      fieldsPanel.add(newFieldPanel(Translation.get("gb.gcThreshold"), gcThreshold));
      fieldsPanel.add(newFieldPanel(Translation.get("gb.acceptsNewTickets"),
            acceptNewTickets));
      fieldsPanel.add(newFieldPanel(Translation.get("gb.acceptsNewPatchsets"),
            acceptNewPatchsets));
      fieldsPanel.add(newFieldPanel(Translation.get("gb.requireApproval"),
            requireApproval));
      fieldsPanel
      .add(newFieldPanel(Translation.get("gb.enableIncrementalPushTags"), useIncrementalPushTags));
      fieldsPanel.add(newFieldPanel(Translation.get("gb.showRemoteBranches"),
@@ -552,6 +570,9 @@
            : headRefField.getSelectedItem().toString();
      repository.gcPeriod = (Integer) gcPeriod.getSelectedItem();
      repository.gcThreshold = gcThreshold.getText();
      repository.acceptNewPatchsets = acceptNewPatchsets.isSelected();
      repository.acceptNewTickets = acceptNewTickets.isSelected();
      repository.requireApproval = requireApproval.isSelected();
      repository.useIncrementalPushTags = useIncrementalPushTags.isSelected();
      repository.showRemoteBranches = showRemoteBranches.isSelected();
      repository.skipSizeCalculation = skipSizeCalculation.isSelected();