From 7d3a31514afbe88664081b4ea57cd7939de99014 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Thu, 03 Jul 2014 17:00:40 -0400
Subject: [PATCH] Extract services manager into a top-level injectable manager

---
 releases.moxie |  267 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 265 insertions(+), 2 deletions(-)

diff --git a/releases.moxie b/releases.moxie
index dc2d479..e99cbd5 100644
--- a/releases.moxie
+++ b/releases.moxie
@@ -1,4 +1,267 @@
 #
+# ${project.version} release
+#
+r25: {
+    title: ${project.name} ${project.version} released
+    id: ${project.version}
+    date: ${project.buildDate}
+    note: ~
+    html: ~
+    text: ~
+    security: ~
+    fixes:
+    - Fixed NPE when there are two repositories which only differ in case (pr-204, ticket-108)
+    - Fixed api/manager download links in documentation (issue-449, ticket-111)
+    - Fixed stackoverflow on (de)serialization of the history page (ticket-114)
+    - Fixed queries for milestones with hyphentated names (ticket-115)
+    - Fixed duplicate repositories on the dashboard (issue-454, ticket-117)
+    - Fixed lower-case project selection (ticket-118)
+    changes:
+    - Update Korean translation (pr-206, ticket-120)
+    - Improve web.canonicalUrl documentation (pr-205, ticket-121, issue-453)
+    additions: ~
+    dependencyChanges:
+    - Jetty 9.2.1 (pr-202)
+    - Lucene 4.8.1 (pr-201)
+    - JGit 3.4.0 (pr-200)
+    - Guice 4.0-beta4 (ticket-80)
+    - SLF4j 1.7.7 (ticket-122)
+    - gson 2.2.2 (ticket-123)
+    - Freemarker 2.3.20 (ticket-124)
+    contributors:
+    - James Moger
+    - David Ostrovsky
+    - Kyle Gottfried
+    - Yena Hong
+    - Eric Fairon
+    - Gareth Collins
+}
+
+#
+# 1.6.0 release
+#
+r24: {
+    title: Gitblit 1.6.0 released
+    id: 1.6.0
+    date: 2014-06-16
+    note: ''
+          The next major release (v1.7.0) will focus on:
+          * ticket-75: making projects more useful including the concept of project ownership
+          
+          This improvement will require a NON-BACKWARDS-COMPATIBLE migration of repository ownership from the RpeositoryModel to the UserModel
+          
+          * ticket-55: facilitating usage of tickets & git-flow in the web ui
+          ''
+    html: ~
+    text: ''
+          Highlights:
+          
+          * My Tickets page
+          * User Preferences web ui
+          * SSH key management web ui
+          * Basic CRUD pages for ticket milestones
+          * Overhaul repository creation, editing, and empty repository pages
+          
+          If you are upgrading, you might consider copying the data/gitignore folder to your ${baseFolder} to allow selection & injection of a .gitignore when creating a repository.
+          
+          The OpenShift Express build has been dropped. You can deploy GO or WAR on Express so this build is no longer necessary.
+          ''
+    security: ~
+    fixes:
+    - Allow ticket responsible selection if anonymous push is enabled (issue-425, ticket-71)
+    - Fix failure to generate SSH server keys on ARM (issue-426, ticket-70)
+    - Fix flotr2 chart generation failure if a label contained a single-quote (ticket-77)
+    - Fix repository cache refresh after ref deletion/addition (issue-433, ticket-82)
+    - Fixed cache miss on repository model retrieval (pr-185, ticket-83)
+    - Fixed GitBlit static singleton reference in localclone.groovy (issue-436, ticket-84)
+    - Removed Ticket responsible team permission exclusion (ticket-87)
+    - Fixed SSH daemon thread exhaustion (ticket-89)
+    - Fixed Ticket responsible selections not considering the AUTHENTICATED authorization control (ticket-91)
+    - Fixed invalid generated SSH url for port 22 (issue-444, ticket-98)
+    - Fix cloning repositories with `+` in their names. (revert pr-136, issue-362, ticket-100)
+    - Fixed NPE in GitblitClient (ticket-102)
+    changes:
+    - Split the pages servlet into a raw servlet and a pages servlet. All raw links now use the raw servlet (issue-413, ticket-49)
+    - Drop deprecated --set-upstream syntax for -u (ticket-59)
+    - BARNUM: Prune deleted branches on fetch (git fetch -p) (ticket-60)
+    - BARNUM: Create ticket/N instead of topic/N for pt start N (ticket-61)
+    - Move repository deletion functions to the edit repository page AND allow deletion to be disabled (pr-180, ticket-67)
+    - Update the Korean translation (pr-184, ticket-69)
+    - Update the Dutch translation (pr-191)
+    - Overhaul the EmptyRepositoryPage (ticket-73)
+    - Overhauled the edit repository page (ticket-76)
+    - Process bugtraq links in the ticket description and comments (ticket-78)
+    - Exclude personal repositories from the repositories list, by default (issue-419, ticket-95)
+    additions:
+    - Add My Tickets page (issue-215, ticket-15)
+    - Added CRUD functionality for Ticket Milestones (ticket-17)
+    - Implemented Ticket migration tool to move between backends (ticket-19)
+    - Added extension points for top nav links, root-level pages, repository nav links, user menu links, and http request filters (ticket-23)
+    - Added an editor panel in the user profile page to manipulate preferences (issue-108, issue-424, ticket-64)
+    - Added an editor panel in the user profile page to manipulate public SSH keys (ticket-64)
+    - Add FORK_REPOSITORY RPC request type (issue-371, pr-161, ticket-65)
+    - Add object type (ot) parameter for RSS queries to retrieve tag details (pr-165, ticket-66)
+    - Add setting to allow STARTTLS without requiring SMTPS (pr-183)
+    - Simplified repository creation, offer simple README generation, and insertion of a pre-defined .gitignore file (ticket-76)
+    - Added an extension point for monitoring onStartup and onShutdown (ticket-79)
+    - Tag server-side merges when incremental push tags are enabled (issue-432, ticket-85)
+    - Add a user preference for the clone transport (ticket-90)
+    - Add setting to control default thread pool size for miscellaneous background tasks (ticket-92)
+    - Add Norwegian transation (pr-186)
+    - Add German translation (pr-192)
+    - Add Italian translation (pr-196)
+    dependencyChanges:
+    - Update to javax.mail 1.5.1 (issue-417, ticket-58)
+    contributors:
+    - James Moger
+    - David Ostrovsky
+    - Manisha Gayathri
+    - Gerard Smyth
+    - Christian Buisson
+    - Berke Viktor
+    - Marcus Hunger
+    - Matthias Cullmann
+    - Emmeran Seehuber
+    - Sascha Vogt
+    - Carsten Lenz
+    - Matthias Sohn
+    - Leif Jantzen
+    - Stardrad Yin
+    - Jeroen Baten
+    - Dongsu Kim
+    - Karanbir Singh
+    - Tamás Papp
+    - GianMaria Romanato
+    settings:
+    - { name: 'web.allowDeletingNonEmptyRepositories', defaultValue: 'true' }
+    - { name: 'web.includePersonalRepositories', defaultValue: 'false' }
+    - { name: 'mail.starttls', defaultValue: 'false' }
+    - { name: 'execution.defaultThreadPoolSize', defaultValue: '1' }
+    - { name: 'git.gitignoreFolder', defaultValue: '${baseFolder}/gitignore' }
+}
+
+#
+# 1.5.1 release
+#
+r23: {
+    title: Gitblit 1.5.1 released
+    id: 1.5.1
+    date: 2014-05-07
+    note: ~
+    html: ~
+    text: ~
+    security: ~
+    fixes:
+    - Fix subdirectory links in pages servlet (issue-411)
+    - Fix subdirectory navigation in pages servlet (issue-412)
+    - Fix bug in adding invalid or empty SSH keys (ticket-50)
+    - Fix forcing default locale to en or LANG_CC for web ui (ticket-51)
+    - Fix inconsistency with repository ownership permission checking (ticket-52)
+    - Prevent submission from New|Edit ticket page with empty titles (ticket-53)
+    - Ensure the repository model ref list is refreshed on ref creation or deletion (ticket-54)
+    - Fix case-sensitivity error in determining fork network (issue-420, ticket-62)
+    - Fix transport determination for SSH urls served on port 22 (issue-421, ticket-63)
+    changes:
+    - improve French translation (pr-176)
+    - simplify current plugin release detection and ignore the currentRelease registry field
+    - split pages servlet into two servlets (issue-413)
+    additions: ~
+    dependencyChanges:
+    - update to Apache MINA/SSHD 0.11.0 (issue-410)
+    - added Apache Tiki 1.5 (issue-413)
+    contributors:
+    - James Moger
+    - Julien Kirch
+    - Ralph Hoffman
+    - Olivier Rouits
+    - Owen Nelson
+    - Alexander Zabluda
+    - Philipp Beckmann
+    - Jakob Boysen
+}
+
+#
+# 1.5.0 release
+#
+r22: {
+    title: Gitblit 1.5.0 released
+    id: 1.5.0
+    date: 2014-04-17
+    note: Gitblit now requires Java 7 for build & runtime.
+    html: ~
+    text: ''
+          MAJOR Release.
+
+          * Integrated SSH daemon based on Apache Mina/SSHD and Gerrit
+          * Basic plugin management framework and plugin registry, limited extension points
+          * Replace GoogleCharts with a self-hosted copy of the flotr2 charting library
+          * Move to Java 7, some dependencies require this
+          * Move to Jetty 9, dropped AJP feature because it was removed upstream
+          ''
+    security: ~
+    fixes:
+    - Repository mailing lists could not be reset from the Edit Repository page (issue-399)
+    - Fix intermittent NPE in determining commit date in RefModel (issue-401)
+    - Fix closing ticket on push by parsing commit messages for closes|fixes (issue-404)
+    - Fix diffstat display for a ticket with a pending submodule change (issue-407)
+    - Ensure the Lucene ticket index is updated on repository deletion.
+    - Fixed failure to properly determine hasTicket in RedisTicketService
+    - Fixed handling of pushing ticket branch deletions
+    changes:
+    - Switch from GoogleCharts to self-hosted flotr2 charts (issue-283, ticket-43, pr-166)
+    - Specify the --dailyLogFile option for the Ubuntu and CentOS service scripts (issue-348)
+    - Improve logging for missing LDAP uid attribute when synchronizing (issue-394)
+    - The ticket close-on-push commit message regular expression is now configurable by a setting (issue-404)
+    - Redirect to summary page on edit repository (issue-405)
+    - Option to allow LDAP users to directly authenticate without performing LDAP searches (pr-162)
+    - Replace JCommander with args4j to be consistent with other tools (ticket-28)
+    - Sort repository urls by descending permissions and by transport security within equal permissions
+    - Move to Java 7 & updated to Jetty 9.1.4
+    - dropped AJP support because it has been removed from upstream Jetty
+    - dropped settings: server.useNio, server.ajpPort, server.ajpBindInterface
+    - dropped GO parameters: --ajpPort, --useNio
+    additions:
+    - Added an SSH daemon with public key authentication (issue-369, ticket-6)
+    - Added beginnings of a plugin framework for extending Gitblit (issue-381, ticket-23)
+    - Added a French translation (pr-163)
+    - Added a setting to control what transports may be used for pushes
+    - Expose JGit 3.x receive pack settings (issue-408)
+    dependencyChanges:
+    - Java 7
+    - Jetty 9.1.4
+    - args4j 2.0.26
+    - JGit 3.3.1
+    - Mina SSHD 0.10.1
+    - pf4j 0.8.0
+    - SLF4J 1.7.5
+    contributors:
+    - James Moger
+    - David Ostrovsky
+    - Johann Ollivier-Lapeyre
+    - Jeremie Brebec
+    - Tim Ryan
+    - Decebal Suiu
+    - Eric Myrhe
+    - Kevin Walter
+    settings:
+    - { name: 'realm.ldap.bindpattern', defaultValue: ' ' }
+    - { name: 'tickets.closeOnPushCommitMessageRegex', defaultValue: '(?:fixes|closes)[\\s-]+#?(\\d+)' }
+    - { name: 'git.acceptedPushTransports', defaultValue: ' ' }
+    - { name: 'git.checkReceivedObjects', defaultValue: 'true' }
+    - { name: 'git.checkReferencedObjectsAreReachable', defaultValue: 'true' }
+    - { name: 'git.maxObjectSizeLimit', defaultValue: '0' }
+    - { name: 'git.maxPackSizeLimit', defaultValue: '-1' }
+    - { name: 'git.sshPort', defaultValue: '29418' }
+    - { name: 'git.sshBindInterface', defaultValue: ' ' }
+    - { name: 'git.sshKeysManager', defaultValue: 'com.gitblit.transport.ssh.FileKeyManager' }
+    - { name: 'git.sshKeysFolder', defaultValue: '${baseFolder}/ssh' }
+    - { name: 'git.sshBackend', defaultValue: 'NIO2' }
+    - { name: 'git.sshCommandStartThreads', defaultValue: '2' }
+    - { name: 'plugins.folder', defaultValue: '${baseFolder}/plugins' }
+    - { name: 'plugins.registry', defaultValue: 'http://plugins.gitblit.com/plugins.json' }
+}
+
+#
 # 1.4.1 release
 #
 r21: {
@@ -1191,5 +1454,5 @@
 }
 
 snapshot: ~
-release: &r21
-releases: &r[1..21]
+release: &r24
+releases: &r[1..24]

--
Gitblit v1.9.1