Skip to content

Commit

Permalink
Merge release 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gitblit committed Oct 20, 2014
2 parents e10ac6e + d6b70ab commit 9984ea8
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 21 deletions.
6 changes: 3 additions & 3 deletions build.moxie
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ name: Gitblit
description: pure Java Git solution
groupId: com.gitblit
artifactId: gitblit
version: 1.6.1-SNAPSHOT
version: 1.6.1
inceptionYear: 2011

# Current stable release
releaseVersion: 1.6.0
releaseDate: 2014-06-16
releaseVersion: 1.6.1
releaseDate: 2014-10-20

# Project urls
url: 'http://gitblit.com'
Expand Down
130 changes: 115 additions & 15 deletions releases.moxie
Original file line number Diff line number Diff line change
@@ -1,19 +1,119 @@
#
# ${project.version} release
# 1.6.1 release
#
r25: {
title: ${project.name} ${project.version} released
id: ${project.version}
date: ${project.buildDate}
note: ~
title: Gitblit 1.6.1 released
id: 1.6.1
date: 2014-10-20
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: ~
security: ~
fixes: ~
changes: ~
additions: ~
dependencyChanges: ~
contributors: ~
text: ''
Highlights:

* Dependency updates
* Many bug fixes
* GITBLIT_HOME environment variable support
''
security:
- Sanitize page parameters, form fields, and markup for XSS vulnerabilities (issue-496, ticket-164)
- Fix flash security risk (issue-498, ticket-165)
- Fix XRF vulnerability (issue-500, ticket-166)
- Prohibit new forks from inadvertently disclosing view-restricted contents (issue-495, ticket-167)
- Restrict Gitblit's cookie to the context path (issue-507, ticket-187)
fixes:
- Fix NPE when two repository names differ only in case (pr-204, ticket-108)
- Fix API documentation links (issue-449, ticket-111)
- Fix internal error when specifying a blob url without a path (ticket-113)
- Fix milestone queries for hyphentated names (ticket-115)
- Fix duplicate repositories on dashboards (issue-454, ticket-117)
- Fix lower-case project names in RepositoryNamePanel (issue-509, ticket-118)
- Fix ticket notifications not sent when author doesn't have an email address (issue-423, ticket-132)
- Fix regression in create-ticket-on-push & clarify reported explanation (ticket-135)
- Fix redirects after ajax form submissions with Tomcat (issue-455, ticket-136)
- Fix potential NPE in Raw servlet (ticket-137)
- Fix Raw link path generation that does not respect web.forwardSlashCharacter (ticket-139)
- Do not log query parameter passwords when Redmine authentication fails (pr-215, ticket-466)
- Fix NPE in RepositoryNamePanel for anonymous admins (issue-490, ticket-147)
- Fix repo creation with initial commit when the creator does not have an email address (issue-458, ticket-149)
- Fix Edit Repository page missing owners from owners list (issue-480, ticket-150)
- Fix NPEs when handling tickets with non-existent milestones (ticket-152)
- Quote all Lucene query args that have non-alphanumberic characters (issue-483, issue-469, ticket-153)
- Fix 0-length files from raw servlet when file does not exist (issue-489, ticket-154)
- Fix raw servlet failures with long project names (issue-478, ticket-163)
- New ticket responsible selections are missing users with RW access (issue-476, ticket-170)
- Fix NPE in TicketListPanel due to missing repository (issue-451, ticket-171)
- Fix MigrateTickets failure for view-restricted repositories (issue-475, ticket-173)
- Fix repository deletion bug where the Lucene ticket index was not purged (issue-468, ticket-174)
- Fix Jenkins post-receive script repository url (pr-219, ticket-175)
- Fix potential NPE in retrieving a ticket comment (issue-503, ticket-179)
- Fix bug in migrating tickets to the BranchTicketService (issue-474, ticket-183)
- Fix failure to clear/delete a ticket topic and description (issue-505, ticket-188)
- Fix cropped ticket status indicators (ticket-197)
- Fix bug in raw servlet extracting repository out of the path (pr-222, ticket-203)
- Improve relative path determiniation using Java 7 Paths (issue-511, ticket-204)
changes:
- Remove git.streamFileThreshold setting and documentation (ticket-119)
- Update Korean translation (pr-206, ticket-120)
- Add additional documentation for web.canonicalUrl (pr-205, issue-453, ticket-121)
- Remove Wicket references from non-Wicket packages (ticket-129)
- LDAP user accounts now clear email address when unset in LDAP (issue-456, ticket-134)
- Update French translation (pr-210, ticket-140)
- Update authentication documentation (pr-213, ticket-142)
- Pretty print Perl modules (pr-216, ticket-144)
- Pretty print C/C++ headers (pr-207, ticket-145)
- Do not stamp raw servlet responses with cache-control headers (issue-489, ticket-148)
- Treat UTF-9 and UTF-18 (both fake encodings) as UTF-8 (issue-486, ticket-151)
- Allow Lucene indexing period to be configurable (ticket-161)
- Do not display stacktraces for bad requests in servlets (issue-497, ticket-169)
- Preserve branch ref in commits, tree, and docs navbar links (issue-501, ticket-176)
- Disable Edit User Page permission checkboxes if admin/fork/create permission is inherited (issue-196, ticket-177)
- Explicitly declare page subclasses that reference commits (issue-503, ticket-180)
- Explicitly attempt to register BouncyCastle as a JCE provider (ticket-194)
- Treat .ico and .jpeg files as images (pr-221, ticket-202)
additions:
- Add support for GITBLIT_HOME as a -D system property (pr-212, ticket-141, ticket-185)
- Add support for GITBLIT_HOME as an environment variable (ticket-193)
- Add install script for Fedora (pr-207, ticket-146)
- Add NO CHANGE REQUIRED ticket status (ticket-182)
dependencyChanges:
- JGit 3.5.1
- Jetty 9.2.3
- SSHD 0.12.0
contributors:
- Sascha Vogt
- Ron Smits
- Eric Fairon
- Johnny Hughes
- Revi
- Kyle Gottfried
- Berke Viktor
- David Ostrovsky
- Romain Gagnaire
- Koen Serry
- Anthony O.
- mereth
- Michael Legart
- Soeren Grunewald
- Simon Santoro
- fgeorges
- robindengen
- Robert M. Roberson Jr.
- 1988porsche944
- Steffen Gebert
- gibwar
- gato84b
- jakob@jboysen
- ThanksForAllTheFish
- Stephan Krull
- jliedy
- Michael Glauche
}

#
Expand Down Expand Up @@ -1432,6 +1532,6 @@ r1: {
- James Moger
}

snapshot: &r25
release: &r24
releases: &r[1..24]
snapshot: ~
release: &r25
releases: &r[1..25]
4 changes: 4 additions & 0 deletions src/site/setup_go.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ By default, Gitblit GO stores all data (users, settings, repositories, etc) in t

If you are deploying Gitblit to a *nix platform, you might consider moving the data folder out of the GO installation folder and then creating a symlink named "data" that points to your moved folder.

#### Specifying baseFolder via GITBLIT_HOME

You can specify `GITBLIT_HOME` either as an environment variable or as a `-DGITBLIT_HOME` JVM system property.

### Creating your own Self-Signed SSL Certificate
Gitblit GO (and Gitblit Certificate Authority) automatically generates a Certificate Authority (CA) certificate and an ssl certificate signed by this CA certificate that is bound to *localhost*.

Expand Down
8 changes: 6 additions & 2 deletions src/site/setup_war.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@ Choose a location that is writeable by your servlet container!

After you configure baseFolder and restart your container, Gitblit will copy the contents of the `WEB-INF/data` folder to your specified *baseFolder* **IF** the file `${baseFolder}/gitblit.properties` does not already exist. This allows you to get going with minimal fuss.

#### Specifying baseFolder through web.xml
#### Specifying baseFolder via GITBLIT_HOME

You can specify `GITBLIT_HOME` either as an environment variable or as a `-DGITBLIT_HOME` JVM system property.

#### Specifying baseFolder via web.xml

You may specify an external location for your data by directly editing `WEB-INF/web.xml` and manipulating the *baseFolder* env-entry. Your servlet container may be smart enough to recognize the change and to restart Gitblit.

#### Specifying baseFolder through JNDI
#### Specifying baseFolder via JNDI

This is a better way to configure your *baseFolder* because it survives WAR redeploys or deployments of new versions. These directions assume you are running Tomcat as your container, other containers may have different ways to specify global JNDI environment entries.

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/gitblit/tests/JGitUtilsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ public void testRevlog() throws Exception {
// grab the commits since 2008-07-15
commits = JGitUtils.getRevLog(repository, null,
new SimpleDateFormat("yyyy-MM-dd").parse("2008-07-15"));
assertEquals(19, commits.size());
assertEquals(12, commits.size());
repository.close();
}

Expand Down

0 comments on commit 9984ea8

Please sign in to comment.