From 3f5b8f5d9203aa7ffb7fbe9cdbaf9dba3da6cae6 Mon Sep 17 00:00:00 2001
From: Hybris95 <hybris_95@hotmail.com>
Date: Thu, 01 May 2014 16:14:15 -0400
Subject: [PATCH] Fixes sort, page building and search functions on "my tickets" page.

---
 releases.moxie |  167 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 164 insertions(+), 3 deletions(-)

diff --git a/releases.moxie b/releases.moxie
index b1cdb2e..48f430e 100644
--- a/releases.moxie
+++ b/releases.moxie
@@ -1,4 +1,165 @@
 #
+# ${project.version} release
+#
+r23: {
+    title: ${project.name} ${project.version} released
+    id: ${project.version}
+    date: ${project.buildDate}
+    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)
+    changes:
+    - improve French translation (pr-176)
+    - simplify current plugin release detection and ignore the currentRelease registry field 
+    additions: ~
+    dependencyChanges:
+    - update to Apache MINA/SSHD 0.11.0 (issue-410)
+    contributors:
+    - James Moger
+    - Julien Kirch
+    - Ralph Hoffman
+    - Olivier Rouits
+    - Owen Nelson
+    - Alexander Zabluda
+}
+
+#
+# 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: {
+    title: Gitblit 1.4.1 released
+    id: 1.4.1
+    date: 2014-03-18
+    note: "The default access restriction has been elevated from NONE to PUSH and anonymous push access has been disabled by default."
+    html: ~
+    text: ''
+          !! IMPORTANT BUG FIX FOR EXTERNAL AUTHENTICATION (1.4.1) !!
+          
+          This is a MAJOR release (1.4.0).
+          
+          The entire core has been refactored to be more modular.  Authentication providers have all been refactored to be simpler.  Both of these were precursor requirements for landing the Tickets feature -- issue tracker & branch-based pull requests.
+          
+          Markup rendering has been improved and expanded to several additional formats.  A repository mirroring service  has been added to allow you to automatically track public repositories.  Commit pages now indicate diffstat information and many bug fixes and smaller features have been introduced.
+          
+          The groundwork has also been laid for SSH support which will be in the focal point for the next major release (ticket-6).
+          
+          Due to the enormity of these changes, please make a backup copy of users.conf before updating.''
+    security:
+    - Fix major authentication security hole when using external authentication providers (issue-387, ticket-35)
+    fixes:
+    - Fixed incorrect branch ref in Ticket page for symlinks (issue-383, ticket-32)
+    - Fix NPE in FileTicketService (issue-386, ticket-34)
+    - Watch list push parameters were now always honored (ticket-30)
+    - Watch list push parameters were not always validated (ticket-29)
+    - Truncated tag messages in the tag panel did not have proper tooltips (ticket-31)
+    - Fix merging GO runtime settings with command-line override settings (ticket-33)
+    - Fix ticket page IOBE on Ticket page when Gitblit is not serving repositories (ticket-27)
+    - Exclude ticket branches when forking a repository (ticket-26)
+    - Workaround pegdown bug and improve relative image path processing (ticket-24)
+    - Disable Ticket review functions in read-only repositories (mirror, frozen, etc)
+    - Fix incorrect git fetch instructions in Ticket email notifications
+    - Fix Ticket email notification recipients to include repository owners
+    - Fix Ticket propose instructions to branch from origin/{integrationBranch}
+    changes:
+    - Add closed status for milestones and abandoned status for tickets (ticket-25)
+    additions: ~
+    dependencyChanges: ~
+    contributors:
+    - James Moger
+    - David Ostrovsky
+    - Liyu Wang
+}
+
+#
 # 1.4.0 release
 #
 r20: {
@@ -1143,6 +1304,6 @@
 	- James Moger
 }
 
-snapshot: ~
-release: &r20
-releases: &r[1..20]
+snapshot: &r23
+release: &r22
+releases: &r[1..22]

--
Gitblit v1.9.1