All Releases

1.9.3
2022-04-09

Gitblit 1.9.3 released

!! IMPORTANT SECURITY FIX FOR CONFIG USER SERVICE !!

There is a security vulnerability in version 1.9.2, which allows an attacker to gain
elevated access rights. This is present when the Config User Service is used as the
user service, which is the default.

Version 1.9.2 introduced a new implementation to store user data in the user config file
which holds user name, password, access rights etc. This was done to solve problems with
very large user bases (pull request #1364). This new implementation does not properly escape all
control characters, like newline and tab. As a result, a normal user, when logged into
Gitblit, can edit his profile data and enter values in e.g. the email address that are
interpreted as control characters in the text file stored on disk. This allows the malicious
user to give themselves e.g. elevated access rights on their account.

This is fixed in 1.9.3. Updates of existing installations should be made to 1.9.3, not 1.9.2.

Many thanks to Github user @YYHYlh for finding and reporting this issue (issue 1410).

Note

The 1.9 minor version is the last to support Java 7. From 1.10 on Gitblit will require Java 8.

security

  • Fix escaping control characters in config user service, resolving a security vulnerability. (issue 1410)
1.9.2
2022-02-05

Gitblit 1.9.2 released

Note

The 1.9 minor version is the last to support Java 7. From 1.10 on Gitblit will require Java 8.

fixes

changes

  • Updated traditional Chinese translation (pull request #1367 by @YMNNs)
  • Make it possible to call the Windows batch commands on the command line from a different folder (pull request #1370 by @Zwixx)
  • Updated Japanese translation (pull request #1398 by @TakehideMorimoto)

additions

dependency changes

  • update to Mockito 2.28.2
  • update to Jetty 9.2.30.v20200428

contributors

  • @edram
  • @YMNNs
  • Christian
  • David Hofmann
  • Florian Zschocke
  • Ingo Lafrenz
  • Takehide Morimoto
  • Tomas Wolf
  • Tomasz Szt
  • Vladimir A.
1.9.1
2020-04-05

Gitblit 1.9.1 released

!! IMPORTANT BUG FIX FOR PASSWORD HASH UPGRADE !!

There is a severe bug in version 1.9.0, which can lock users out from their accounts.
When updating from a previous version to 1.9.0, existing stored passwords are rehashed
with a more secure password hash mechanism when a user first logs in after the update.
This happens when the password hashing mechanism was left at default and not specifically
set in the configuration. An error in the implementation will destroy the stored password
instead and the user can no longer log in.

Only certain circumstances will lead to this wrong behaviour. It will most likely
affect users of the Gitblit Docker container. If you did not encounter any problems,
update to 1.9.1 to be on the safe side. If you were hit by this bug, we are deeply sorry.
There is no way to fix the affected accounts other than to set a new password.

This is fixed in 1.9.1. Updates of existing installations should be made to 1.9.1, not 1.9.0.

Note

When you have Gitblit installed as a service under Linux or Windows, you may need to edit your service script/definition. The command line to start Gitblit needs to be different, the classpath and class are speficied now.

See notes for release 1.9.0.

fixes

  • Fixed broken password hash upgrade destroying existing stored passwords on update.
  • Fixed Linux service scripts to use `-cp` parameter instead of `-jar`.
1.9.0
2020-02-01

Gitblit 1.9.0 released

Highlights:

* Collapsible and nested repository groups on the repositories page
* Runs on Java 11
* Retrieve SSH keys from LDAP
* User language preference
* Option to merge ticket branches fast-forward or with merge commit

Note

Gitblit uses Servlet 3.0 and thus drops support for Tomcat 6. Run on Tomcat 6 at your own risk.

With the update to Lucene 5.5.2 reindexing of the tickets is necessary. This is done automatically during the first server start after an upgrade. Depending on the amount of tickets you have, this could take a little while. The old index is kept, so that a downgrade is still possible without losing information. The old index can be deleted, when a downgrade is no longer required.

The interface for the ITicketService changed. If you have your own derived implementation, rename `start` to `onStart`. (see commit 63dbdfda)

To support Java 9+, Gitblit can no longer load JARs from the 'ext' folder by itself. In order to include the folder, it needs to be added to the classpath explicitly by changing the command line. Check the new start scripts to see the new required command line.

The 1.9 minor version will be the last to support Java 7. From 1.10 on Gitblit will require Java 8.

When the `realm.ldap.bindpattern` property is set, GitBlit will only bind as the user to LDAP, not to a manager account or anonymously.

Older password storage mechanisms are deprecated, PBKDF2 is the new default. When you switch from plaintext to a hashed scheme, or from the older hashed to the new PBKDF2 scheme, the stored password of a user will be rehashed with the more secure mechanism when the user logs in.

!! THIS IS BROKEN IN 1.9.0. DO NOT UPDATE TO 1.9.0. USE 1.9.1 INSTEAD !!

security

fixes

changes

  • Updated traditional Chinese translation (pull request #1110)
  • Load commit cache in the background to improve start-up time (pull request #1140)
  • Improved logging when sending emails fails, to assist in analysis (pull request #1144)
  • Support customized IUserService that can access application settings (pull request #1171)
  • Added feedback for invalid input on user SSH key form (pull request #1239)
  • Encode email sender's name with UTF-8 (pull request #1206)
  • Made Gitblit run on Java 9+ (issue 1262, issue 1294, pull request #1266)
  • The JRE version is reported upon starting
  • Add the `ext` directory to the classpath on the command-line to start Gitblit and related programs.
  • Report back that git command `clone.bundle` is unsupported instead of simply failing

additions

new settings

git.sshAuthenticationMethodspublickey password
realm.ldap.sshPublicKey
server.httpIdleTimeout30,000
tickets.mergeTypeMERGE_ALWAYS
web.collapsibleRepositoryGroupsexpanded

dependency changes

contributors

  • Bala Raman
  • Dongsu, Kim
  • Florian Zschocke
  • Fritz Schrogl
  • Glenn Matthys
  • Guilliam Xavier
  • Jan Breuer
  • Jia Zhi Wen
  • Lars Maes
  • Luca Milanesio
  • Markus Fömpe
  • Martin Spielmann
  • paladox
  • Rainer W
  • Rodrigo Andrade
  • Sebastiano Pilla
  • Thomas Wolf
  • Tue Ton
  • william
  • ybosy
1.8.0
2016-06-22

Gitblit 1.8.0 released

security

  • Fixed bug in My Tickets which would expose ticket metadata (title, type, etc) for private repos. (pull request #1040)

fixes

changes

additions

dependency changes

  • Prosemirror 0.6.1

contributors

  • dbywalec
  • dsteinkopf
  • James Moger
  • mereth
  • metasim
  • mrjoel
  • Paul Martin
  • pingunaut
  • RedShift1
  • rgroux
  • stummb
  • yyjdelete
1.7.1
2015-11-23

Gitblit 1.7.1 released

Note

This is a re-build of 1.7.0 with a fix for failed WAR deployments.

fixes

changes

additions

new settings

web.displayUserPaneltrue
web.tabLength4
web.avatarClass
web.showHttpServletUrlstrue
web.showGitDaemonUrlstrue
web.showSshDaemonUrlstrue
web.advertiseAccessPermissionForOtherUrlsfalse
web.maxDiffLinesPerFile4000
web.maxDiffLines20000
ssh.advertisedHost
ssh.advertisedPort
git.sshWithKrb5
git.sshKrb5Keytab
git.sshKrb5ServicePrincipalName
git.sshKrb5StripDomaintrue
filestore.storageFolder${baseFolder}/lfs
filestore.maxUploadSize-1
plugins.httpProxyHost
plugins.httpProxyPort
plugins.httpProxyAuthorization
realm.container.autoAccounts.displayName
realm.container.autoAccounts.emailAddress
realm.container.autoAccounts.locale
realm.container.autoAccounts.adminRole

dependency changes

  • Guice 4.0 (ticket 80, ticket 219)
  • SLF4j 1.7.12
  • gson 2.3.1
  • Freemarker 2.3.22
  • Lucene 4.10.0 (ticket 159)
  • SSHD 1.0.0
  • JGit 4.1.1
  • Groovy 2.4.4
  • Wicket 1.4.22
  • BouncyCastle 1.52
  • Pegdown 1.5.0
  • Jetty 9.2.13

contributors

  • Alexander Zabluda
  • Alex Lewis
  • Dariusz Bywalec
  • David Ostrovsky
  • enrico204
  • Fabrice Bacchella
  • Florian Zschocke
  • James Moger
  • Jan Šmucr
  • Marcin Cieślak
  • Milos Cubrilo
  • Morten Bøgeskov
  • mrjoel
  • Paul Martin
  • Rainer W
  • razzard
  • Steven Oliver
  • Thomas Wolf
  • Vitaliy Filippov
  • willyann
1.7.0
2015-11-22

Gitblit 1.7.0 released

fixes

changes

additions

new settings

web.displayUserPaneltrue
web.tabLength4
web.avatarClass
web.showHttpServletUrlstrue
web.showGitDaemonUrlstrue
web.showSshDaemonUrlstrue
web.advertiseAccessPermissionForOtherUrlsfalse
web.maxDiffLinesPerFile4000
web.maxDiffLines20000
ssh.advertisedHost
ssh.advertisedPort
git.sshWithKrb5
git.sshKrb5Keytab
git.sshKrb5ServicePrincipalName
git.sshKrb5StripDomaintrue
filestore.storageFolder${baseFolder}/lfs
filestore.maxUploadSize-1
plugins.httpProxyHost
plugins.httpProxyPort
plugins.httpProxyAuthorization
realm.container.autoAccounts.displayName
realm.container.autoAccounts.emailAddress
realm.container.autoAccounts.locale
realm.container.autoAccounts.adminRole

dependency changes

  • Guice 4.0 (ticket 80, ticket 219)
  • SLF4j 1.7.12
  • gson 2.3.1
  • Freemarker 2.3.22
  • Lucene 4.10.0 (ticket 159)
  • SSHD 1.0.0
  • JGit 4.1.1
  • Groovy 2.4.4
  • Wicket 1.4.22
  • BouncyCastle 1.52
  • Pegdown 1.5.0
  • Jetty 9.2.13

contributors

  • Alexander Zabluda
  • Alex Lewis
  • Dariusz Bywalec
  • David Ostrovsky
  • enrico204
  • Fabrice Bacchella
  • Florian Zschocke
  • James Moger
  • Jan Šmucr
  • Marcin Cieślak
  • Milos Cubrilo
  • Morten Bøgeskov
  • mrjoel
  • Paul Martin
  • Rainer W
  • razzard
  • Steven Oliver
  • Thomas Wolf
  • Vitaliy Filippov
  • willyann
1.6.2
2014-10-28

Gitblit 1.6.2 released

fixes

contributors

  • Barry Roberts
  • Jan Šmucr
  • Pierre Templier
1.6.1
2014-10-20

Gitblit 1.6.1 released

Highlights:

* Dependency updates
* Many bug fixes
* GITBLIT_HOME environment variable support

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 RepositoryModel to the UserModel

* ticket 55: facilitating usage of tickets & git-flow in the web ui

security

fixes

changes

additions

dependency changes

  • JGit 3.5.1
  • Jetty 9.2.3
  • SSHD 0.12.0

contributors

  • 1988porsche944
  • Anthony O.
  • Berke Viktor
  • David Ostrovsky
  • Eric Fairon
  • fgeorges
  • gato84b
  • gibwar
  • jakob@jboysen
  • jliedy
  • Johnny Hughes
  • Koen Serry
  • Kyle Gottfried
  • mereth
  • Michael Glauche
  • Michael Legart
  • Revi
  • Robert M. Roberson Jr.
  • robindengen
  • Romain Gagnaire
  • Ron Smits
  • Sascha Vogt
  • Simon Santoro
  • Soeren Grunewald
  • Steffen Gebert
  • Stephan Krull
  • ThanksForAllTheFish
1.6.0
2014-06-16

Gitblit 1.6.0 released

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.

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

fixes

changes

  • Split the pages servlet into a raw servlet and a pages servlet. All raw links now use the raw servlet (issue 709, 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 (pull request #180, ticket 67)
  • Update the Korean translation (pull request #184, ticket 69)
  • Update the Dutch translation (pull request #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 511, 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 404, issue 720, 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 667, pull request #161, ticket 65)
  • Add object type (ot) parameter for RSS queries to retrieve tag details (pull request #165, ticket 66)
  • Add setting to allow STARTTLS without requiring SMTPS (pull request #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 728, 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 (pull request #186)
  • Add German translation (pull request #192)
  • Add Italian translation (pull request #196)

new settings

web.allowDeletingNonEmptyRepositoriestrue
web.includePersonalRepositoriesfalse
mail.starttlsfalse
execution.defaultThreadPoolSize1
git.gitignoreFolder${baseFolder}/gitignore

dependency changes

contributors

  • Berke Viktor
  • Carsten Lenz
  • Christian Buisson
  • David Ostrovsky
  • Dongsu Kim
  • Emmeran Seehuber
  • Gerard Smyth
  • GianMaria Romanato
  • James Moger
  • Jeroen Baten
  • Karanbir Singh
  • Leif Jantzen
  • Manisha Gayathri
  • Marcus Hunger
  • Matthias Cullmann
  • Matthias Sohn
  • Sascha Vogt
  • Stardrad Yin
  • Tamás Papp
1.5.1
2014-05-07

Gitblit 1.5.1 released

fixes

  • Fix subdirectory links in pages servlet (issue 707)
  • Fix subdirectory navigation in pages servlet (issue 708)
  • 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 716, ticket 62)
  • Fix transport determination for SSH urls served on port 22 (issue 717, ticket 63)

changes

  • improve French translation (pull request #176)
  • simplify current plugin release detection and ignore the currentRelease registry field
  • split pages servlet into two servlets (issue 709)

dependency changes

contributors

  • Alexander Zabluda
  • Jakob Boysen
  • James Moger
  • Julien Kirch
  • Olivier Rouits
  • Owen Nelson
  • Philipp Beckmann
  • Ralph Hoffman
1.5.0
2014-04-17

Gitblit 1.5.0 released

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

Note

Gitblit now requires Java 7 for build & runtime.

fixes

  • Repository mailing lists could not be reset from the Edit Repository page (issue 695)
  • Fix intermittent NPE in determining commit date in RefModel (issue 697)
  • Fix closing ticket on push by parsing commit messages for closes|fixes (issue 700)
  • Fix diffstat display for a ticket with a pending submodule change (issue 703)
  • 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 579, ticket 43, pull request #166)
  • Specify the --dailyLogFile option for the Ubuntu and CentOS service scripts (issue 644)
  • Improve logging for missing LDAP uid attribute when synchronizing (issue 690)
  • The ticket close-on-push commit message regular expression is now configurable by a setting (issue 700)
  • Redirect to summary page on edit repository (issue 701)
  • Option to allow LDAP users to directly authenticate without performing LDAP searches (pull request #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 665, ticket 6)
  • Added beginnings of a plugin framework for extending Gitblit (issue 677, ticket 23)
  • Added a French translation (pull request #163)
  • Added a setting to control what transports may be used for pushes
  • Expose JGit 3.x receive pack settings (issue 704)

new settings

realm.ldap.bindpattern
tickets.closeOnPushCommitMessageRegex(?:fixes|closes)[\\s-]+#?(\\d+)
git.acceptedPushTransports
git.checkReceivedObjectstrue
git.checkReferencedObjectsAreReachabletrue
git.maxObjectSizeLimit0
git.maxPackSizeLimit-1
git.sshPort29418
git.sshBindInterface
git.sshKeysManagercom.gitblit.transport.ssh.FileKeyManager
git.sshKeysFolder${baseFolder}/ssh
git.sshBackendNIO2
git.sshCommandStartThreads2
plugins.folder${baseFolder}/plugins
plugins.registryhttp://plugins.gitblit.com/plugins.json

dependency changes

  • 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

  • David Ostrovsky
  • Decebal Suiu
  • Eric Myrhe
  • James Moger
  • Jeremie Brebec
  • Johann Ollivier-Lapeyre
  • Kevin Walter
  • Tim Ryan
1.4.1
2014-03-18

Gitblit 1.4.1 released

!! 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.

Note

The default access restriction has been elevated from NONE to PUSH and anonymous push access has been disabled by default.

security

  • Fix major authentication security hole when using external authentication providers (issue 683, ticket 35)

fixes

  • Fixed incorrect branch ref in Ticket page for symlinks (issue 679, ticket 32)
  • Fix NPE in FileTicketService (issue 682, 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)

contributors

  • David Ostrovsky
  • James Moger
  • Liyu Wang
1.4.0
2014-03-09

Gitblit 1.4.0 released

This is a MAJOR release.

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.

Note

The default access restriction has been elevated from NONE to PUSH and anonymous push access has been disabled by default.

security

  • issue 657: Cookies were not reset on administrative password change of a user account. This allowed accounts with changed passwords to continue authenticating. Cookies are now reset on password changes, they are validated on each page request, AND they will now expire 7 days after generation.

fixes

  • Fixed incorrect tagger attribution in the dashboard (issue 572)
  • Fixed support for implied SSH urls in web.otherUrls (issue 607)
  • Fixed injection of unnecessary explicit CLONE permissions for a fork when users or teams already had implied regex permissions (issue 616)
  • Bind LDAP connection after establishing TLS initialization (issue 639)
  • Fixed NPE when attempting to add a permission without a registrant (issue 640)
  • Invalidate all cached repository data on "clear cache" (issue 642)
  • Fix chart failures when an apostrophe is in a user display name (issue 646, pull request #128)
  • Fix exception in create repository when not selecting a garbage collection period (issue 662)
  • Stop setting admin permission based on undocumented Redmine REST API behavior (issue 664)
  • Fix compage page failure when a submodule is changed in the commit range (issue 671)
  • Fix support url decoding with non-ascii characters (pull request #136)
  • Fix potential NPE on removing uncached repository from cache
  • Ignore the default contents of .git/description file
  • Fix error on generating activity page when there is no activity
  • Fix raw page content type of binaries when running behind a reverse proxy
  • Fix author search links from compare pages

changes

  • Gitblit now rejects pushes to identified mirror repositories (issue 301)
  • Personal repository prefix (~) is now configurable (issue 561)
  • Refactored user services and separated authentication into providers (issue 577)
  • Reversed line links in blob view (issue 605)
  • Dashboard and Activity pages now obey the web.generateActivityGraph setting (issue 606)
  • Do not log passwords on failed authentication attempts (issue 612)
  • LDAP synchronization is now scheduled rather than on-demand (issue 632)
  • Show displayname and username in palettes (issue 660)
  • Updated default binary and Lucene ignore extensions
  • Change the WAR baseFolder context parameter to a JNDI env-entry to improve enterprise deployments
  • Removed internal Gitblit ref exclusions in the upload pack
  • Removed "show readme" setting in favor of automatic detection
  • README files are not shown on the summary page by default, this can be restored with web.summaryShowReadme
  • Support plain text, markdown, confluence, mediawiki, textile, tracwiki, or twiki "readme" files
  • Determine best commit id (e.g. "master") for the tree and docs pages and use that in links
  • By default GO will now bind to all interfaces for both http and https connectors. This simplifies setup for first-time users.
  • Removed docs indicator on the repositories page
  • Removed the repository setting to enable Markdown document enumeration, this is now automatic and expanded
  • Retrieve LDAP groups with dereferencing aliases (pull request #122)
  • Revised committer verification to require a matching displayname or account name AND the email address
  • Serve repositories on both /r and /git, displaying /r because it is shorter
  • Eliminate HEAD from the blob, blame, and tree pages. That assumed a resource was available in HEAD and it may not be.
  • Eliminate Gravatar profile linking.
  • Moved Gitblit reflog from refs/gitblit/reflog to refs/meta/gitblit/reflog
  • Updated Spanish translation
  • Updated Simplified Chinese translation
  • Updated Dutch translation
  • Updated Korean translation

additions

  • Added color modes for the blame page (issue 298)
  • Added an optional MirrorService which will periodically fetch ref updates from source repositories for mirrors (issue 301). Repositories must be manually cloned using native git and "--mirror".
  • Added branch graph image servlet based on EGit's branch graph renderer (issue 490)
  • Added option to render Markdown commit messages (issue 499)
  • Added Ticket tracker and Patchset collaboration feature (issue 511)
  • Added setting to control creating a repository as --shared on Unix servers (issue 559)
  • Set Link: <url>; rel="canonical" http header for SEO (issue 600)
  • Added raw links to the commit, commitdiff, and compare pages (issue 615)
  • Support intradocument linking in Markdown content using [[WikiLinks]] syntax (issue 620)
  • Support Markdown image links relative to the repository root (issue 620)
  • Added filesystem write permission check (issue 641)
  • Added GO launch parameter for redirecting logging to a rolling, daily log file (issue 644)
  • Added settings to Windows authentication provider to permit/prohibit BUILTIN\Administrators from being Gitblit Admins (issue 650)
  • Added canonical url setting for email notifications and web display
  • Support rendering confluence, mediawiki, textile, tracwiki, and twiki markup documents
  • Added setting to globally disable anonymous pushes in the receive pack
  • Added a normalized diffstat display to the commit, commitdiff, and compare pages
  • Added GO setting to automatically redirect all http requests to the secure https connector
  • Automatically display common repository root documents as tabs on the docs page
  • Support bugtraq configuration in collaboration with Syntevo, the regex.* config keys are now DEPRECATED
  • Added FishEye hook script (pull request #137)
  • Added Redmine Fetch hook script (issue 655)
  • Added Subgit hook contributed by TMate Software
  • Added function to retain a user account but prohibit authentication. This is an alternative to deleting a user account.
  • Added setting to hide the top-level navigation header to facilitate embedding Gitblit in something else.
  • Added RPC request to reindex tickets

new settings

git.createRepositoriesSharedfalse
git.allowAnonymousPushesfalse
git.defaultAccessRestrictionPUSH
git.enableMirroringfalse
git.mirrorPeriod30 mins
git.userRepositoryPrefix~
realm.authenticationProviders
realm.ldap.groupEmptyMemberPattern(&(objectClass=group)(!(member=*)))
realm.ldap.synchronizefalse
realm.ldap.syncPeriod5 MINUTES
realm.ldap.removeDeletedUserstrue
realm.windows.permitBuiltInAdministratorstrue
web.canonicalUrl
web.commitMessageRendererplain
web.documentsreadme home index changelog contributing submitting_patches copying license notice authors
web.hideHeaderfalse
web.showBranchGraphtrue
web.summaryShowReadmefalse
server.redirectToHttpsPortfalse
tickets.service
tickets.acceptNewTicketstrue
tickets.acceptNewPatchsetstrue
tickets.requireApprovalfalse

dependency changes

  • updated to Jetty 8.1.13
  • updated to JGit 3.3.0
  • updated to Lucene 4.6.0
  • updated to BouncyCastle 1.49
  • replaced MarkdownPapers with pegdown 1.4.2
  • added Dagger 1.1.0
  • added Eclipse WikiText libraries for processing confluence, mediawiki, textile, tracwiki, and twiki
  • added FontAwesome 4.0.3
  • added Jedis 2.3.1

contributors

  • Alex Lewis
  • Alfred Schmid
  • Benjamin Asbach
  • Berke Viktor
  • Bret Ikehara
  • Chad Horohoe
  • Chris Graham
  • David Ostrovsky
  • Domingo Oropeza
  • Dongsu, KIM
  • Duncan Jauncey
  • Eduardo Guervós Narvaez
  • Florian Zschocke
  • fpeters.fae
  • Gareth Collins
  • Guenter Dressel
  • I. Tagliani
  • James Moger
  • Jeroen Baten
  • Johann Fischer
  • Klaus Nuber
  • Liyu Wang
  • M. Holmquist
  • Marc Strapetz
  • Markus Foempe
  • Martijn van der Kleijn
  • Matthias Cullman
  • Matthias Cullman
  • Michael Wowro
  • Nasrollah Kavian
  • Rhys Evans
  • Rick Sladkey
  • Robin Rosenberg
  • Stardrad Yin
  • Stephan Krull
  • Tamás Papp
  • Vitaly Litvak
1.3.2
2013-08-22

Gitblit 1.3.2 released

fixes

  • Fixed Gitblit Authority startup failures when using alternate user services (issue 576)
  • Manually redirect after branch deletion (issue 578)
  • Simplify when repository size is calculated to ensure we have one IF we want one (issue 591)
  • Fixed anonymous LDAP connections (issue 593)
  • Improved branch deletion-reflog interaction
  • Encode page url parameters as UTF-8
  • Encode filename for binary files on RawPage according to browser
  • Added pptx extension for tree page icon lookup
  • Fixed project links on dashboard page when web.mountParameters=false

additions

  • Add setting for maximum number of days of activity to that may be requested
  • Added HtpasswdUserService to authenticate users against an htpasswd file
  • Automatically maintain the .git/description file used by some other tooling

new settings

web.activityDurationMaximum30
realm.htpasswd.userFile${baseFolder}/htpasswd
realm.htpasswd.overrideLocalAuthenticationfalse

dependency changes

  • Added commons-codec 1.7

contributors

  • Doug Ayers
  • Florian Zschocke
  • github/guriguri
  • Hugo Questroy
  • Ori Livneh
  • Tito Nobre
1.3.1
2013-07-24

Gitblit 1.3.1 released

Note

If you have forked repositories and your are upgrading from 1.2.x to 1.3.x, please DO NOT RELOCATE your repositories folder when running 1.3.x the first time. Gitblit will update forked repository configs on the first execution and it is critical that ${git.repositoriesFolder} points to the same location used by 1.2.x.

fixes

  • Gitblit-as-viewer with no repository urls failed to display summary page (issue 565)
  • Fixed incorrect tagger in the dashboard pages (issue 572)
  • Automatically decode %7E in repository names from git clients that encode ~ (issue 574)
  • Fixed missing Keys class in WAR and Express builds
  • Fixed missing model class dependencies in Gitblit Manager build
  • Fix for IE10 compatibility mode
  • Reset dashboard and activity commit cache on branch REWIND or DELETE
  • Fixed bug with adding new local users with external authentication
  • Fixed missing clone url on the empty repository page
  • Fixed Ubuntu service script for LSB compliance
  • Inserted "sleep 5" in Ubuntu & Centos bash script for service restart

changes

  • Use trash icon in Gitblit Reflog for branch and tag deletion
  • Update Gitblit Reflog on branch deletion from web UI
  • Updated Chinese translation
  • Updated Dutch translation
  • Updated Spanish translation
  • Updated Korean translation
  • Updated Brazilian Portuguese translation

additions

  • Added optional browser-side page caching using Last-Modified and Cache-Control for the dashboard, activity, project, and several repository pages (issue 570)
  • Added a GET_USER request type for the RPC mechanism (issue 571)
  • Added PAMUserService to authenticate against a local Linux/Unix/MacOSX server

new settings

web.pageCacheExpires0
realm.pam.backingUserServiceusers.conf
realm.pam.serviceNamesystem-auth

dependency changes

  • Added libpam4j 1.7

contributors

  • Amélie Benoit
  • Chad Horohoe
  • Dongsu, KIM
  • Eduardo Guervós Narvaez
  • Florian Zschocke
  • Gareth Collins
  • Gustavo Henrique
  • James Moger
  • Jeroen Baten
  • Liyu Wang
  • Rafael Cavazin
  • Rainer Alföldi
  • Stardrad Yin
  • Tamás Papp
1.3.0
2013-07-14

Gitblit 1.3.0 Released

Release highlights include:

  • integrated git daemon
  • compare refs or commits page
  • completed the Gitblit reflog (formerly pushlog) introduced in 1.2.1
  • added new dashboard pages
  • added a stars feature
  • improved the repository url panel to show your access permission and to offer native app clone links
  • improved navigation and theme
  • customizable page header colors and logo
  • recent activity commit caching to improve performance of dashboard and activity pages
  • Windows authentication
  • Salesforce.com authentication
  • lots of bug fixes

Thank you to syntevo, Atlassian, fournova, and Github for their permission and use of their artwork for the native app clone menus.

Note

If you have forked repositories and your are upgrading to 1.3.0, please DO NOT RELOCATE your repositories folder when running 1.3.0 the first time. Gitblit will update forked repository configs on the first execution and it is critical that ${git.repositoriesFolder} points to the same location used by 1.2.x.

security

  • Raw servlet was insecure. If someone knew the exact repository name and path to a file, the raw blob could be retrieved bypassing security constraints. (issue 494)

fixes

  • Use bash instead of sh in Linux/OSX shell scripts (issue 450)
  • Fix NPE when getting user's fork without repository list caching (issue 478)
  • Fix internal error on folder history links (issue 488)
  • Fix NPE in repositories panel when viewing a federation proposal (issue 491)
  • Fix NPEs when initializing the context on a servlet containers which returns a null contextFolder (issue 495)
  • Fixed incorrect icon file name for .doc files (issue 496)
  • Do not queue emails with no recipients (issue 497)
  • Disable view and blame links for deleted blobs (issue 512)
  • Fixed 1.2.x regression with individually symlinked repositories (issue 513)
  • Fixed UTF-8 encoding errors in email notifications (issue 514)
  • Fixed NPE in 1.2.1 Federation Client (issue 515)
  • Fixed extracting Groovy scripts on Express installs (issue 516)
  • Ensure Redmine url is properly formatted (issue 519)
  • Use standard ServletRequestWrapper instead of custom wrapper (issue 520)
  • Switch commit message back to a pre and ensure that it is properly escaped when combined with commit message regex substitution (issue 538)
  • Fixed AddIndexedBranch tool --branch parameter (issue 543)
  • Improve NPE handling for hook script enumeration (issue 549)
  • Workaround missing commit information in blame page (JGit bug 374382, issue 550)
  • Ignore orphan ".git" folder in the repositories root folder (issue 552)
  • Fixed bug where a null permission was added to a user model on a repository rename when the permission had really been inherited from a team membership (issue 555)
  • Fixed committer verification with merge commits (issue 560)
  • Fixed bug in submodule repository linking (issue 562)
  • Could not reset settings with $ or { characters through Gitblit Manager because they are not properly escaped
  • Added more error checking to blob page and blame page
  • Disable SNI extensions for client SSL connections
  • Fixed prettify language extension loading
  • Fixed index out of bounds exceptions when generating client certificates for a user when the user's table has been filtered
  • Fixed AddindexedBranch tool when specifying the non-default branch.
  • Fixed submodule diff display

changes

  • Retrieve summary and metric graphs from Google over https (issue 357)
  • Persist originRepository (for forks) in the repository config instead of relying on parsing origin urls which are susceptible to filesystem relocation (issue 486)
  • Improved error logging for servlet containers which provide a null contextFolder (issue 495)
  • Improve Gerrit change ref decoration in the refs panel (issue 502)
  • Display full commit message on commitdiff page (issue 554)
  • Improved the repository url display. This display now indicates your repository access permission, per-protocol.
  • Automatically encode/decode usernames for urls using %XX notation on space, @, and \
  • Disable Gson's pretty printing which has a huge performance gain
  • Properly set application/json content-type on api calls
  • Make days back filter choices a setting
  • Changed default days back filter setting to 7 days
  • Set rel="nofollow" on compressed download links
  • Improved page title
  • Updated Polish translation
  • Updated Japanese translation

additions

  • Added a ui for the ref log introduced in 1.2.1 (issue 473)
  • Added weblogic.xml to WAR for deployment on WebLogic (issue 495)
  • Support setting a custom header logo (issue 504)
  • Support header color customizations (issue 505)
  • Support username substitution in web.otherUrls (issue 509)
  • Option to force client-side basic authentication instead of form-based authentication if web.authenticateViewPages=true (issue 518)
  • Set author as tooltip of last change column in the repositories panel (issue 534)
  • Setting to automatically create an user account based on an authenticated user principal from the servlet container (issue 542)
  • Added WindowsUserService to authenticate users against Windows accounts (issue 546)
  • Global and per-repository setting to exclude authors from metrics (issue 547)
  • Added commit cache to improve Activity, Dashboard, and Project page generation times
  • Added SalesForce.com user service
  • Added simple star/unstar function to flag or bookmark interesting repositories
  • Added Dashboard page which shows a news feed for starred repositories and offers a filterable list of repositories you care about
  • Added client application menus for Git, SmartGit/Hg, SourceTree, Tower, GitHub for Windows, and GitHub for Mac
  • Added GO http/https connector thread pool size setting
  • Added a server setting to force a particular translation/Locale for all sessions
  • Added smart Git Daemon serving. If enabled, git:// access will be offered for any repository which permits anonymous access. If the repository permits anonymous cloning, anonymous git:// clone will be permitted while anonmymous git:// pushes will be rejected.
  • Option to automatically tag branch tips on each push with an incremental revision number
  • Implemented multiple repository owners
  • Optional periodic LDAP user and team pre-fetching & synchronization
  • Added config setting to use SMTPS
  • Added option to index all local branches in AddIndexedBranches tool
  • Display name and version in Tomcat Manager
  • FogBugz post-receive hook script
  • Chinese translation
  • Support --baseFolder parameter in Federation Client

new settings

git.daemonBindInterfacelocalhost
git.daemonPort0
git.defaultIncrementalPushTagPrefixr
mail.smtpsfalse
realm.container.autoCreateAccountsfalse
realm.salesforce.backingUserServiceusers.conf
realm.salesforce.orgId0
realm.windows.defaultDomain
realm.windows.backingUserServiceusers.conf
web.activityDuration7
web.activityDurationChoices1 3 7 14 21 28
web.activityCacheDays14
web.allowAppCloneLinkstrue
web.forceDefaultLocale
web.headerLogo${baseFolder}/logo.png
web.headerBackgroundColor
web.headerForegroundColor
web.headerHoverColor
web.headerBorderColor
web.headerBorderFocusColor
web.metricAuthorExclusions
web.overviewReflogCount5
web.reflogChangesPerPage10
server.nioThreadPoolSize50

dependency changes

  • JGit 3.0.0.201306101825-r
  • Iconic font
  • AngularJS 1.0.7
  • FreeMarker 2.3.19
  • Waffle 1.5
  • JNA 3.5.0
  • Guava 13.0.1

contributors

  • Bandarupalli Satyanarayana
  • Chad Horohoe
  • Christian Aistleitner
  • Colin Bowern
  • David Ostrovsky
  • Egbert Teeselink
  • github/akquinet
  • github/dapengme
  • Hige Maniya
  • Hirotaka Honma
  • Ikslawek
  • James Moger
  • Jay Meyer
  • John Crygier
  • Kensuke Matsuzaki
  • Laurens Vrijnsen
  • Lee Grofit
  • Lukasz Jader
  • Martijn Laan
  • Matthias Bauer
  • Michael Pailloncy
  • Michael Schaefers
  • Oliver Doepner
  • Philip Boutros
  • Rafael Cavazin
  • Ryan Schneider
  • Sakurai Youhei
  • Sarah Haselbauer
  • Slawomir Bochenski
  • Stardrad Yin
  • Thomas Pummer
  • William Whittle
  • Yukihiko Sawanobori
1.2.1
2013-01-15

Gitblit 1.2.1 Released

Because there are now several types of files and folders that must be considered Gitblit data, the default location for data has changed.

You will need to move a few files around when upgrading. Please review the upgrading GO or upgrading WAR page for details.

Express Users make sure to update your web.xml file with the ${baseFolder} values!

fixes

  • Fixed nullpointer on recursively calculating folder sizes when there is a named pipe or symlink in the hierarchy
  • Added nullchecking when concurrently forking a repository and trying to display the fork network (issue 483)
  • Fixed bug where permission changes were not visible in the web ui to a logged-in user until the user logged-out and then logged back in again (issue 482)
  • Fixed nullpointer on creating a repository with mixed case (issue 481)
  • Include missing model classes in api library (issue 480)
  • Fixed nullpointer when using *web.allowForking = true* && *git.cacheRepositoryList = false* (issue 478)
  • Likely fix for commit and commitdiff page failures when a submodule reference changes (issue 474)
  • Build project models from the repository model cache, when possible, to reduce page load time (issue 468)
  • Fixed loading of Brazilian Portuguese translation from *nix server

changes

  • Gitblit GO and Gitblit WAR are now both configured by `gitblit.properties`. WAR is no longer configured by `web.xml`. However, Express for OpenShift continues to be configured by `web.xml`.
  • Support for a *--baseFolder* command-line argument for Gitblit GO and Gitblit Certificate Authority
  • Support for specifying a *${baseFolder}* parameter in `gitblit.properties` and `web.xml` for several settings
  • Improve history display of a submodule link
  • Updated Korean translation
  • Updated checkstyle definition

additions

  • Fanout PubSub service for self-hosted [Sparkleshare](http://sparkleshare.org) notifications. This service is disabled by default.
  • Implemented a simple push log based on a hidden, orphan branch refs/gitblit/pushes (issue 473) The push log is not currently visible in the ui, but the data will be collected and it will be exposed to the ui in the next release.
  • Support for locally and remotely authenticated accounts in LdapUserService and RedmineUserService (issue 479)
  • Added Dutch translation

new settings

fanout.bindInterfacelocalhost
fanout.port0
fanout.useNiotrue
fanout.connectionLimit0

contributors

  • Dongsu, KIM
  • github/inaiat
  • github/mystygage
  • James Moger
  • Jeroen Baten
1.2.0
2012-12-31

Gitblit 1.2.0 Released

Note

The permissions model has changed in the 1.2.0 release.

If you are updating your server, you must also update any Gitblit Manager and Federation Client installs to 1.2.0 as well. The data model used by the RPC mechanism has changed slightly for the new permissions infrastructure.

fixes

  • Fixed regression in *isFrozen* (issue 477)
  • Author metrics can be broken by newlines in email addresses from converted repositories (issue 472)
  • Set subjectAlternativeName on generated SSL cert if CN is an ip address (issue 466)
  • Fixed incorrect links on history page for files not in the current/active commit (issue 462)
  • Empty repository page failed to handle missing repository (issue 456)
  • Fixed broken ticgit urls (issue 453)
  • Exclude submodules from zip downloads (issue 447)
  • Fixed bug where repository ownership was not updated on rename user
  • Fixed bug in create/rename repository if you explicitly specified the alias for the root group (e.g. main/myrepo) (issue 439)
  • Wrapped Markdown parser with improved exception handler (issue 438)
  • Fixed duplicate entries in repository cache (issue 436)
  • Fixed connection leak in LDAPUserService (issue 435)
  • Fixed bug in commit page where changes to a submodule threw a null pointer exception (issue 428)
  • Fixed bug in the diff view for filenames that have non-ASCII characters (issue 424)

changes

  • Added server setting to specify keystore alias for ssl certificate (issue 394)
  • Added optional global and per-repository activity page commit contribution throttle to help tame *really* active repositories (issue 469)
  • Added support for symlinks in tree page and commit page (issue 467)
  • All access restricted servlets (e.g. DownloadZip, RSS, etc) will try to authenticate using X509 certificates, container principals, cookies, and BASIC headers, in that order.
  • Added *groovy* and *scala* to *web.prettyPrintExtensions*
  • Added short commit id column to log and history tables (issue 464)
  • Teams can now specify the *admin*, *create*, and *fork* roles to simplify user administration
  • Use https Gravatar urls to avoid browser complaints
  • Added frm to default pretty print extensions (issue 452)
  • Expose ReceivePack to Groovy push hooks (issue 421)
  • Redirect to summary page when refreshing the empty repository page on a repository that is not empty (issue 425)
  • Emit a warning in the log file if running on a Tomcat-based servlet container which is unfriendly to %2F forward-slash url encoding AND Gitblit is configured to mount parameters with %2F forward-slash url encoding (issue 422)
  • LDAP admin attribute setting is now consistent with LDAP teams setting and admin teams list. If *realm.ldap.maintainTeams==true* **AND** *realm.ldap.admins* is not empty, then User.canAdmin() is controlled by LDAP administrative team membership. Otherwise, User.canAdmin() is controlled by Gitblit.
  • Support servlet container authentication for existing UserModels (issue 364)

additions

  • Implemented discrete repository permissions (issue 332)

    - V (view in web ui, RSS feeds, download zip)
    - R (clone)
    - RW (clone and push)
    - RWC (clone and push with ref creation)
    - RWD (clone and push with ref creation, deletion)
    - RW+ (clone and push with ref creation, deletion, rewind)

    While not as sophisticated as Gitolite, this does give finer access controls. These permissions fit in cleanly with the existing users.conf and users.properties files. In Gitblit <= 1.1.0, all your existing user accounts have RW+ access. If you are upgrading to 1.2.0, the RW+ access is *preserved* and you will have to lower/adjust accordingly.
  • Implemented *case-insensitive* regex repository permission matching (issue 332)
    This allows you to specify a permission like `RW:mygroup/.*` to grant push privileges to all repositories within the *mygroup* project/folder.
  • Added DELETE, CREATE, and NON-FAST-FORWARD ref change logging
  • Added support for personal repositories. Personal repositories can be created by accounts with the *create* permission and are stored in *git.repositoriesFolder/~username*. Each user with personal repositories will have a user page, something like the GitHub profile page. Personal repositories have all the same features as common repositories, except personal repositories can be renamed by their owner.
  • Added support for server-side forking of a repository to a personal repository (issue 433) In order to fork a repository, the user account must have the *fork* permission **and** the repository must *allow forks*. The clone inherits the access list of its origin. i.e. if Team A has clone access to the origin repository, then by default Team A also has clone access to the fork. This is to facilitate collaboration. The fork owner may change access to the fork and add/remove users/teams, etc as required <u>however</u> it should be noted that all personal forks will be enumerated in the fork network regardless of access view restrictions. If you really must have an invisible fork, the clone it locally, create a new repository for your invisible fork, and push it back to Gitblit.
  • Added optional *create-on-push* support
  • Added **experimental** JGit-based garbage collection service. This service is disabled by default.
  • Added support for X509 client certificate authentication. (issue 402) You can require all git servlet access be authenticated by a client certificate. You may also specify the OID fingerprint to use for mapping a certificate to a username. It should be noted that the user account MUST already exist in Gitblit for this authentication mechanism to work; this mechanism can not be used to automatically create user accounts from a certificate.
  • Revised clean install certificate generation to create a Gitblit GO Certificate Authority certificate; an SSL certificate signed by the CA certificate; and to create distinct server key and server trust stores. <u>The store files have been renamed!</u>
  • Added support for Gitblit GO to require usage of client certificates to access the entire server.
  • Added **Gitblit Certificate Authority**, an x509 PKI management tool for Gitblit GO to encourage use of x509 client certificate authentication.
  • Added web.shortCommitId setting to control length of shortened commit ids
  • Added alternate compressed download formats: tar.gz, tar.xz, tar.bzip2 (issue 470)
  • Added simple project pages. A project is a subfolder off the *git.repositoriesFolder*.
  • Added support for X-Forwarded-Context for Apache subdomain proxy configurations (issue 431)
  • Delete branch feature (issue 417)
  • Added line links to blob view (issue 426)
  • Added HTML sendmail hook script and Gitblit.sendHtmlMail method
  • Added RedmineUserService
  • Support for committer verification. Requires use of *--no-ff* when merging branches or pull requests. See setup page for details.
  • Added Brazilian Portuguese translation

new settings

web.allowForkingtrue
git.allowCreateOnPushtrue
git.allowGarbageCollectionfalse
git.garbageCollectionHour0
git.defaultGarbageCollectionThreshold500k
git.defaultGarbageCollectionPeriod7 days
git.requireClientCertificatesfalse
git.enforceCertificateValiditytrue
git.certificateUsernameOIDsCN
web.shortCommitIdLength8
web.compressedDownloadszip gz
server.requireClientCertificatesfalse

dependency changes

  • Jetty 7.6.8
  • JGit 2.2.0.201212191850-r
  • Groovy 1.8.8
  • Wicket 1.4.21
  • Lucene 3.6.1
  • BouncyCastle 1.47
  • MarkdownPapers 1.3.2
  • JCalendar 1.3.2
  • Commons-Compress 1.4.1
  • XZ for Java 1.0

contributors

  • github/ajermakovics
  • github/jpyeron
  • github/kevinanderson1
  • github/mallowlabs
  • github/rafaelcavazin
  • github/sauthieg
  • James Moger
1.1.0
2012-08-25

Gitblit 1.1.0 Released

Note

If you are updating from an earlier release AND you have indexed branches with the Lucene indexing feature, you need to be aware that this release will completely re-index your repositories. Please be sure to provide ample heap resources as appropriate for your installation.

fixes

  • Bypass Wicket's inability to handle direct url addressing of a view-restricted, grouped repository for new, unauthenticated sessions (e.g. click link from email or rss feed without having an active Wicket session)
  • Fixed MailExecutor's failure to cope with mail server connection troubles resulting in 100% CPU usage
  • Fixed generated urls in Groovy *sendmail* hook script for grouped repositories
  • Fixed generated urls in RSS feeds for grouped repositories
  • Fixed nullpointer exception in git servlet security filter (issue 419)
  • Eliminated an unnecessary repository enumeration call on the root page which should result in faster page loads (issue 399)
  • Gitblit could not delete a Lucene index in a working copy on index upgrade
  • Do not index submodule links (issue 415)
  • Restore original user or team object on failure to update (issue 414)
  • Fixes to relative path determination in repository search algorithm for symlinks (issue 412)
  • Fix to GitServlet to allow pushing to symlinked repositories (issue 412)
  • Repository URL now uses `X-Forwarded-Proto` and `X-Forwarded-Port`, if available, for reverse proxy configurations (issue 411)
  • Output real RAW content, not simulated RAW content (issue 410)
  • Fixed Lucene charset encoding bug when reindexing a repository (issue 408)
  • Fixed search box linking to Lucene page for grouped repository on Tomcat (issue 407)
  • Fixed null pointer in LdapUserSerivce if account has a null email address (issue 406)
  • Really fixed failure to update a GO setting from the manager (issue 381)

changes

  • Line breaks inserted for readability in raw Markdown content display in the event of a parsing/transformation error. An error message is now displayed prepended to the raw content.
  • Improve UTF-8 reading for Markdown files
  • Updated Polish translation
  • Updated Japanese translation
  • Updated Spanish translation

additions

  • Identified repository list is now cached by default to reduce disk io and to improve performance (issue 399)
  • Preliminary bare repository submodule support
  • *git.submoduleUrlPatterns* is a space-delimited list of regular expressions for extracting a repository name from a submodule url.
    For example, `git.submoduleUrlPatterns = .*?://github.com/(.*)` would extract *gitblit/gitblit.git* from *git://github.git/gitblit/gitblit.git*
    **Note:** You may not need this control to work with submodules, but it is there if you do.
    - If there are no matches from *git.submoduleUrlPatterns* then the repository name is assumed to be whatever comes after the last `/` character *(e.g. gitblit.git)*
    - Gitblit will try to locate this repository relative to the current repository *(e.g. myfolder/myrepo.git, myfolder/mysubmodule.git)* and then at the root level *(mysubmodule.git)* if that fails.
    - Submodule references in a working copy will be properly identified as gitlinks, but Gitblit will not traverse into the working copy submodule repository.
  • Added a repository setting to control authorization as AUTHENTICATED or NAMED. (issue 413)

    NAMED is the original behavior for authorizing against a list of permitted users or permitted teams.
    AUTHENTICATED allows restricted access for any authenticated user. This is a looser authorization control.
  • Added default authorization control setting (AUTHENTICATED or NAMED)
  • Added setting to control how deep Gitblit will recurse into *git.repositoriesFolder* looking for repositories (issue 399)
  • Added setting to specify regex exclusions for repositories (issue 399)
  • Blob page now supports displaying images (issue 302)
  • Non-image binary files can now be downloaded using the RAW link
  • Support StartTLS in LdapUserService (issue 418)
  • Added Korean translation

new settings

git.cacheRepositoryListtrue
git.submoduleUrlPatterns*
git.searchExclusions*
git.searchRecursionDepth-1
git.defaultAuthorizationControlNAMED

contributors

  • James Moger
  • Steffen Gebert
1.0.0
2012-07-14

Gitblit 1.0.0 Released

fixes

  • Fixed bug in Lucene search where old/stale blobs were never properly deleted during incremental updates. This resulted in duplicate blob entries in the index.
  • Fixed intermittent bug in identifying line numbers in Lucene search (issue 401)
  • Adjust repository identification algorithm to handle the scenario where a repository name collides with a group/folder name (e.g. foo.git and foo/bar.git) (issue 400)
  • Fixed bug where a repository set as *authenticated push* did not have anonymous clone access (issue 392)
  • Fixed bug in Basic authentication if passwords had a colon
  • Fixed bug where the Gitblit Manager could not update a setting that was not referenced in reference.properties (issue 381)

changes

  • **Updated Lucene index version which will force a rebuild of ALL your Lucene indexes** Make sure to properly set *web.blobEncodings* before starting Gitblit if you are updating! (issue 393)
  • Changed default layout for web ui from Fixed-Width layout to Responsive layout (issue 397)
  • IUserService interface has changed to better accomodate custom authentication and/or custom authorization. The default `users.conf` now supports persisting display names and email addresses.
  • Updated Japanese translation

additions

  • Added setting to allow specification of a robots.txt file (issue 395)
  • Added setting to control Responsive layout or Fixed-Width layout (issue 397) Responsive layout is now the default. This layout gracefully scales the web ui from a desktop layout to a mobile layout by hiding page components. It is easy to try, just resize your browser or point your Android/iOS device to the url of your Gitblit install.
  • Added setting to control charsets for blob string decoding. Default encodings are UTF-8, ISO-8859-1, and the server default charset. (issue 393)
  • Exposed JGit internal configuration settings in gitblit.properties/web.xml (issue 389) Review your `gitblit.properties` or `web.xml` for detailed explanations of these settings.
  • Added default access restriction. Applies to new repositories and repositories that have not been configured with Gitblit. (issue 384)
  • Added Ivy 2.2.0 dependency which enables Groovy Grapes, a mechanism to resolve and retrieve library dependencies from a Maven 2 repository within a Groovy push hook script
  • Added setting to control Groovy Grape root folder (location where resolved dependencies are stored) [Grape](http://groovy.codehaus.org/Grape) allows you to add Maven dependencies to your pre-/post-receive hook script classpath.
  • Added LDAP User Service with many new *realm.ldap* keys
  • Added support for custom repository properties for Groovy hooks Custom repository properties complement hook scripts by providing text field prompts in the web ui and the Gitblit Manager for the defined properties. This allows your push hooks to be parameterized.
  • Added script to facilitate proxy environment setup on Linux
  • Added Polish translation
  • Added Spanish translation

new settings

groovy.grapeFoldergroovy/grape
web.robots.txt
web.useResponsiveLayouttrue
web.blobEncodingsUTF-8 ISO-8859-1
git.defaultAccessRestrictionNONE
git.packedGitWindowSize8k
git.packedGitLimit10m
git.deltaBaseCacheLimit10m
git.packedGitOpenFiles128
git.streamFileThreshold50m
git.packedGitMmapfalse

dependency changes

  • Bootstrap 2.0.4
  • JGit 2.0.0.201206130900-r
  • Groovy 1.8.6
  • Gson 1.7.2
  • Log4J 1.2.17
  • SLF4J 1.6.6
  • Apache Commons Daemon 1.0.10
  • Ivy 2.2.0

contributors

  • Eduardo Guervos Narvaez
  • github/jcrygier
  • github/mragab
  • github/peterloron
  • github/zakki
  • James Moger
  • Lukasz Jader
0.9.3
2012-04-11

Gitblit 0.9.3 Released

fixes

  • Fixed bug where you could not remove all selections from a RepositoryModel list (permitted users, permitted teams, hook scripts, federation sets, etc) (issue 377)
  • Automatically set *java.awt.headless=true* for Gitblit GO

contributors

  • James Moger
0.9.2
2012-04-04

Gitblit 0.9.2 Released

fixes

  • Fixed absolute path/canonical path discrepancy between Gitblit and JGit regarding use of symlinks (issue 374)
  • Fixed row layout on activity page (issue 375)
  • Fixed Centos service script
  • Fixed EditRepositoryPage for IE8; missing save button (issue 376)

changes

  • Added *clientLogger* bound variable to Groovy hook mechanism to allow custom info and error messages to be returned to the client

contributors

  • github/jcrygier
  • github/jonnybbb
  • github/mohamedmansour
  • James Moger
0.9.1
2012-03-27

Gitblit 0.9.1 Released

fixes

  • Lucene folder was stored in working copy instead of in .git folder

contributors

  • James Moger
0.9.0
2012-03-27

Gitblit 0.9.0 Released

security

  • Fixed session fixation vulnerability where the session identifier was not reset during the login process (issue 358)

fixes

  • Ensure that Welcome message is parsed using UTF-8 encoding (issue 370)
  • Activity page chart layout broken by Google (issue 369)
  • Uppercase repositories not selectable in edit palettes (issue 367)
  • Not all git notes were properly displayed on the commit page (issue 366)
  • Activity page now displays all local branches (issue 361)
  • Fixed (harmless) nullpointer on pushing to an empty repository (issue 365)
  • Fixed possible nullpointer from the servlet container on startup (issue 363)
  • Fixed UTF-8 encoding bug on diff page (issue 362)
  • Fixed timezone bugs on the activity page (issue 350)
  • Prevent add/edit team with no selected repositories (issue 352)
  • Disallow browser autocomplete on add/edit user/team/repository pages
  • Fixed username case-sensitivity issues (issue 339)
  • Disregard searching a subfolder if Gitblit does not have filesystem permissions (issue 347)

changes

  • Reject pushes to a repository with a working copy (i.e. non-bare repository) (issue 345)
  • Changed default web.datetimestampLongFormat from *EEEE, MMMM d, yyyy h:mm a z* to *EEEE, MMMM d, yyyy HH:mm Z* (issue 346)
  • Expanded commit age coloring from 2 days to 30 days (issue 353)

additions

  • Added optional Lucene branch indexing (issue 312) Repository branches may be optionally indexed by Lucene for improved searching. To use this feature you must specify which branches to index within the *Edit Repository* page; _no repositories are automatically indexed_. Gitblit will build or incrementally update enrolled repositories on a 2 minute cycle. (i.e you will have to wait 2-3 minutes after respecifying indexed branches or pushing new commits before Gitblit will build/update the repository Lucene index.)
    If a repository has Lucene-indexed branches the *search* form on the repository pages will redirect to the root-level Lucene search page and only the content of those branches can be searched.<br/>
    If the repository does not specify any indexed branches then repository commit-traversal search is used.

    **Note:** Initial indexing of an existing repository can be memory-exhaustive. Be sure to provide your Gitblit server adequate heap space to index your repositories (e.g. -Xmx1024M).<br/>
    See the [setup](setup.html) page for additional details.
  • Allow specifying timezone to use for Gitblit which is independent of both the JVM and the system timezone (issue 350)
  • Added a built-in AJP connector for integrating Gitblit GO into an Apache mod_proxy setup (issue 355)
  • On the Repositories page show a bang *!* character in the color swatch of a repository with a working copy (issue 345) Push requests to these repositories will be rejected.
  • On all non-bare Repository pages show *WORKING COPY* in the upper right corner (issue 345)
  • New setting to prevent display/serving non-bare repositories
  • Added *protect-refs.groovy*
  • Allow setting default branch (relinking HEAD) to a branch or a tag
  • Added Ubuntu service init script (issue 368)
  • Added partial Japanese translation

new settings

web.allowLuceneIndexingtrue
web.luceneIgnoreExtensions7z arc arj bin bmp dll doc docx exe gif gz jar jpg lib lzh odg odf odt pdf ppt png so swf xcf xls xlsx zip
web.timezone
server.ajpPort0
server.ajpBindInterfacelocalhost
git.onlyAccessBareRepositoriesfalse

dependency changes

  • Bootstrap 2.0.2
  • MarkdownPapers 1.2.7
  • JGit 1.3.0.201202151440-r
  • Wicket 1.4.20

contributors

  • github/lemval
  • github/plm
  • github/zakki
  • James Moger
0.8.2
2012-01-13

Gitblit 0.8.2 Released

fixes

  • Fixed bug when upgrading from users.properties to users.conf (issue 337)

contributors

  • James Moger
0.8.1
2012-01-11

Gitblit 0.8.1 Released

fixes

  • Include missing icon resource for the manager (issue 336)
  • Fixed sendmail.groovy message content with incorrect tag/branch labels

contributors

  • James Moger
0.8.0
2012-01-11

Gitblit 0.8.0 Released

fixes

  • Several a bugs in FileUserService related to cleaning up old repository permissions on a rename or delete
  • Renaming a repository into a new subfolder failed (issue 329)

changes

  • Dropped display of trailing .git from repository names
  • Gitblit GO is now monolithic like the WAR build. (issue 326) This change helps adoption of GO in environments without an internet connection or with a restricted connection.
  • Unit testing framework has been migrated to JUnit4 syntax and the test suite has been redesigned to run all unit tests, including rpc, federation, and git push/clone tests

additions

  • Platform-independent, Groovy push hook script mechanism. Hook scripts can be set per-repository, per-team, or globally for all repositories.
  • *sendmail.groovy* for optional email notifications on push. You must properly configure your SMTP server settings in `gitblit.properties` or `web.xml` to use *sendmail.groovy*.
  • New global key for mailing lists. This is used in conjunction with the *sendmail.groovy* hook script. All repositories that use the *sendmail.groovy* script will include these addresses in the notification process. Please see the Setup page for more details about configuring sendmail.
  • *com.gitblit.GitblitUserService*. This is a wrapper object for the built-in user service implementations. For those wanting to only implement custom authentication it is recommended to subclass GitblitUserService and override the appropriate methods. Going forward, this will help insulate custom authentication from new IUserService API and/or changes in model classes.
  • New default user service implementation: *com.gitblit.ConfigUserService* (`users.conf`) This user service implementation allows for serialization and deserialization of more sophisticated Gitblit User objects without requiring the encoding trickery now present in FileUserService (users.properties). This will open the door for more advanced Gitblit features.
    For those upgrading from an earlier Gitblit version, a `users.conf` file will automatically be created for you from your existing `users.properties` file on your first launch of Gitblit <u>however</u> you will have to manually set *realm.userService=users.conf* to switch to the new user service.
    The original `users.properties` file and the corresponding implementation are **deprecated**.
  • Teams for specifying user-repository access in bulk. Teams may also specify mailing lists addresses and pre- & post- receive hook scripts.
  • Gravatar integration
  • Activity page for aggregated repository activity. This is a timeline of commit activity over the last N days for one or more repositories.
  • *Filters* menu for the Repositories page and Activity page. You can filter by federation set, team, and simple custom regular expressions. Custom expressions can be stored in `gitblit.properties` or `web.xml` or directly defined in your url (issue 323)
  • Flash-based 1-step *copy to clipboard* of the primary repository url based on Clippy
  • JavaScript-based 3-step (click, ctrl+c, enter) *copy to clipboard* of the primary repository url in the event that you do not want to use Flash on your installation
  • Empty repositories now link to an *empty repository* page which gives some direction to the user for the next step in using Gitblit. This page displays the primary push/clone url of the repository and gives sample syntax for the git command-line client. (issue 327)
  • Repositories with a *gh-pages* branch will now have a *pages* link which will serve the content of this branch. All resource requests are against the repository, Gitblit does not checkout/export this branch to a temporary filesystem. Jekyll templating is not supported.
  • Gitblit Express bundle to get started running Gitblit on RedHat OpenShift cloud <span class="label label-warning">BETA</span>

new settings

groovy.scriptsFoldergroovy
groovy.preReceiveScripts
groovy.postReceiveScripts
mail.mailingLists
realm.userServiceusers.conf
web.allowGravatartrue
web.activityDuration14
web.timeFormatHH:mm
web.datestampLongFormatEEEE, MMMM d, yyyy
web.customFilters
web.allowFlashCopyToClipboardtrue

dependency changes

  • JGit 1.2.0
  • Groovy 1.8.5
  • Clippy

contributors

  • James Moger
0.7.0
2011-11-11

Gitblit 0.7.0 Released

security

  • fixed security hole when cloning clone-restricted repository with TortoiseGit (issue 324)

fixes

  • federation protocol timestamps. dates are now serialized to the [iso8601](http://en.wikipedia.org/wiki/ISO_8601) standard. **This breaks 0.6.0 federation clients/servers.**
  • collision on rename for repositories and users
  • Gitblit can now browse the Linux kernel repository (issue 321)
  • Gitblit now runs on Servlet 3.0 webservers (e.g. Tomcat 7, Jetty 8) (issue 319)
  • Set the RSS content type of syndication feeds for Firefox 4 (issue 318)
  • RSS feeds are now properly encoded to UTF-8
  • RSS feeds now properly generate parameterized links if *web.mountParameters=false*
  • Null pointer exception if did not set federation strategy (issue 316)
  • Gitblit GO allows SSL renegotiation if running on Java 1.6.0_22 or later

changes

  • updated ui with Twitter Bootstrap CSS toolkit
  • repositories list performance by caching repository sizes (issue 323)
  • summary page performance by caching metric calculations (issue 321)

additions

  • authenticated JSON RPC mechanism
  • Gitblit API RSS/JSON RPC library
  • Gitblit Manager (Java/Swing Application) for remote administration of a Gitblit server.
  • per-repository setting to skip size calculation (faster repositories page loading)
  • per-repository setting to skip summary metrics calculation (faster summary page loading)
  • IUserService.setup(IStoredSettings) for custom user service implementations
  • setting to control Gitblit GO context path for proxy setups
  • *combined-md5* password storage option which stores the hash of username+password as the password
  • repository owners are automatically granted access for git, feeds, and zip downloads without explicitly selecting them
  • RSS feeds now include regex substitutions on commit messages for bug trackers, etc

new settings

web.loginMessagegitblit
web.enableRpcServlettrue
web.enableRpcManagementfalse
web.enableRpcAdministrationfalse
server.contextPath/

dependency changes

  • MarkdownPapers 1.2.5
  • Wicket 1.4.19

contributors

  • github/alyandon
  • github/dadalar
  • github/trygvis
  • James Moger
0.6.0
2011-09-27

Gitblit 0.6.0 Released

fixes

  • syndication urls for WAR deployments
  • authentication for zip downloads

additions

  • federation feature to allow gitblit instances (or gitblit federation clients) to pull repositories and, optionally, settings and accounts from other gitblit instances. This is something like [svn-sync](http://svnbook.red-bean.com/en/1.5/svn.ref.svnsync.html) for gitblit.
  • user role *#notfederated* to prevent a user account from being pulled by a federated Gitblit instance

new settings

federation.name
federation.passphrase
federation.allowProposalsfalse
federation.proposalsFolderproposals
federation.defaultFrequency60 mins
federation.sets
mail.*

dependency changes

  • MarkdownPapers 1.1.1
  • Wicket 1.4.18
  • JGit 1.1.0
  • google-gson
  • javamail

contributors

  • James Moger
0.5.2
2011-07-27

Gitblit 0.5.2 Released

fixes

  • active repositories with a HEAD that pointed to an empty branch caused internal errors (issue 310)
  • bare-cloned repositories were listed as (empty) and were not clickable (issue 309)
  • default port for Gitblit GO is now 8443 to be more linux/os x friendly (issue 308)
  • repositories can now be reliably deleted and renamed (issue 306)
  • always show root repository group first, i.e. do not sort root group with other groups
  • tone-down repository group header color

additions

  • users can now change their passwords (issue 297)
  • optionally display repository on-disk size on repositories page
  • forward-slashes ('/', %2F) can be encoded using a custom character to workaround some servlet container default security measures for proxy servers

new settings

web.showRepositorySizestrue
web.forwardSlashCharacter/

dependency changes

  • MarkdownPapers 1.1.0
  • Jetty 7.4.3

contributors

  • James Moger
0.5.1
2011-06-28

Gitblit 0.5.1 Released

changes

  • clarified SSL certificate generation and configuration for both server-side and client-side
  • added some more troubleshooting information to documentation
  • replaced JavaService with Apache Commons Daemon

contributors

  • James Moger
0.5.0
2011-06-26

Gitblit 0.5.0 Released

initial release

contributors

  • James Moger