From f5fa7958b07d0e585542b712b13f7ad9b47a8be9 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 23 Dec 2011 08:28:15 -0500 Subject: [PATCH] Improved logging of GitblitUserService --- docs/04_releases.mkd | 96 +++++++++++++++++++++++++++++++++++++----------- 1 files changed, 74 insertions(+), 22 deletions(-) diff --git a/docs/04_releases.mkd b/docs/04_releases.mkd index d71e5b1..ea8ff72 100644 --- a/docs/04_releases.mkd +++ b/docs/04_releases.mkd @@ -1,29 +1,81 @@ ## Release History ### Current Release -**%VERSION%** ([go](http://code.google.com/p/gitblit/downloads/detail?name=%GO%)|[war](http://code.google.com/p/gitblit/downloads/detail?name=%WAR%)|[fedclient](http://code.google.com/p/gitblit/downloads/detail?name=%FEDCLIENT%)|[manager](http://code.google.com/p/gitblit/downloads/detail?name=%MANAGER%)) based on [%JGIT%][jgit] *released %BUILDDATE%* +**%VERSION%** ([go](http://code.google.com/p/gitblit/downloads/detail?name=%GO%) | [war](http://code.google.com/p/gitblit/downloads/detail?name=%WAR%) | [express](http://code.google.com/p/gitblit/downloads/detail?name=%EXPRESS%) | [fedclient](http://code.google.com/p/gitblit/downloads/detail?name=%FEDCLIENT%) | [manager](http://code.google.com/p/gitblit/downloads/detail?name=%MANAGER%) | [api](http://code.google.com/p/gitblit/downloads/detail?name=%API%)) based on [%JGIT%][jgit] *released %BUILDDATE%* -- improved: updated ui with Twitter's Bootstrap CSS toolkit - **New:** *web.loginMessage = gitblit* -- added: authenticated JSON RPC mechanism - **New:** *web.enableRpcServlet = true* - **New:** *web.enableRpcAdministration = false* -- added: reusable JSON RPC client class -- added: Gitblit Manager (Java/Swing Application) for remote administration of a Gitblit server. -- fixed: 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.** -- fixed: Gitblit now runs on Servlet 3.0 webservers (e.g. Tomcat 7, Jetty 8) -- fixed: Set the RSS content type for Firefox 4 (issue 22) -- fixed: Null pointer exception if did not set federation strategy (issue 20) -- fixed: Gitblit GO allows SSL renegotiation if running on Java 1.6.0_22 or later -- added: IUserService.setup(IStoredSettings) for custom user service implementations -- added: setting to control Gitblit GO context path for proxy setups - **New:** *server.contextPath = /* -- updated: MarkdownPapers 1.2.3 +- updated: Gitblit GO is now monolithic like the WAR build. (issue 30) +This change helps adoption of GO in environments without an internet connection or with a restricted connection. +- added: Groovy 1.8.4 and a push hook script mechanism. Hook scripts can be set per-repository or globally for all repositories. +Unfortunately this adds another 6 MB to the 8MB Gitblit package, but it allows for a *very* powerful, flexible, platform-independent hook script mechanism. + **New:** *groovy.scriptsFolder = groovy* + **New:** *groovy.preReceiveScripts =* + **New:** *groovy.postReceiveScripts =* +- added: *sendmail.groovy* for optional email notifications on push +- added: New key for mailing lists. This is used in conjunction with the *sendmail.groovy* hook script. + **New:** *mail.mailingLists =* +- added: 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 insulate customized behavior from new IUserService API and changes in model classes. +- added: 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 and will open the door for more advanced Gitblit features. For upgrading installations, a `users.conf` file will automatically be created for you from your existing `users.properties` file on your first launch of Gitblit. You will have to manually set *realm.userService=users.conf* to switch to the new user service. +The original `users.properties` file and it's corresponding implementation are **deprecated**. + **New:** *realm.userService = users.conf* +- added: Teams for specifying user-repository access in bulk +- added: Gitblit Express bundle to get started running Gitblit on RedHat's OpenShift cloud +- added: optional Gravatar integration + **New:** *web.allowGravatar = true* +- added: multi-repository activity page. this is a timeline of commit activity over the last N days for one or more repositories. + **New:** *web.activityDuration = 14* + **New:** *web.timeFormat = HH:mm* + **New:** *web.datestampLongFormat = EEEE, MMMM d, yyyy* +- fixed: several a bugs in FileUserService related to cleaning up old repository permissions on a rename or delete +- added: optional flash-based 1-step *copy to clipboard* of the primary repository url +- added: javascript-based 3-step (click, ctrl+c, enter) *copy to clipboard* of the primary repository url + **New:** *web.allowFlashCopyToClipboard = true* +- added: Name, regex, set, and team filtering of the repositories list and the activity page via url parameters (issue 27) + Here are some url examples: + localhost/gb?r=myrepo.git *(specific repository)* + localhost/gb?x=my *(regex matching. encoding may be an issue. YMMV)* + localhost/gb?set=animal,mineral *(animal and mineral federation sets)* + localhost/qb/activity?team=qa,qa2 *(qa and qa2 teams)* +- improved: empty repositories now link to a new *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 31) +- improved: 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 ### Older Releases -**0.6.0** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.6.0.zip)|[war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.6.0.war)|[fedclient](http://code.google.com/p/gitblit/downloads/detail?name=fedclient-0.6.0.zip)) based on [JGit 1.1.0 (201109151100-r)][jgit] *released 2011-09-27* +**0.7.0** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.7.0.zip) | [war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.7.0.war) | [fedclient](http://code.google.com/p/gitblit/downloads/detail?name=fedclient-0.7.0.zip) | [manager](http://code.google.com/p/gitblit/downloads/detail?name=manager-0.7.0.zip) | [api](http://code.google.com/p/gitblit/downloads/detail?name=gbapi-0.7.0.zip)) based on [JGit 1.1.0 (201109151100-r)][jgit] *released 2011-11-11* + +- **security**: fixed security hole when cloning clone-restricted repository with TortoiseGit (issue 28) +- improved: updated ui with Twitter's Bootstrap CSS toolkit + **New:** *web.loginMessage = gitblit* +- improved: repositories list performance by caching repository sizes (issue 27) +- improved: summary page performance by caching metric calculations (issue 25) +- added: authenticated JSON RPC mechanism + **New:** *web.enableRpcServlet = true* + **New:** *web.enableRpcManagement = false* + **New:** *web.enableRpcAdministration = false* +- added: Gitblit API RSS/JSON RPC library +- added: Gitblit Manager (Java/Swing Application) for remote administration of a Gitblit server. +- added: per-repository setting to skip size calculation (faster repositories page loading) +- added: per-repository setting to skip summary metrics calculation (faster summary page loading) +- added: IUserService.setup(IStoredSettings) for custom user service implementations +- added: setting to control Gitblit GO context path for proxy setups *(Github/trygvis)* + **New:** *server.contextPath = /* +- added: *combined-md5* password storage option which stores the hash of username+password as the password *(Github/alyandon)* +- added: repository owners are automatically granted access for git, feeds, and zip downloads without explicitly selecting them *(Github/dadalar)* +- added: RSS feeds now include regex substitutions on commit messages for bug trackers, etc +- fixed: 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.** +- fixed: collision on rename for repositories and users +- fixed: Gitblit can now browse the Linux kernel repository (issue 25) +- fixed: Gitblit now runs on Servlet 3.0 webservers (e.g. Tomcat 7, Jetty 8) (issue 23) +- fixed: Set the RSS content type of syndication feeds for Firefox 4 (issue 22) +- fixed: RSS feeds are now properly encoded to UTF-8 +- fixed: RSS feeds now properly generate parameterized links if *web.mountParameters=false* +- fixed: Null pointer exception if did not set federation strategy (issue 20) +- fixed: Gitblit GO allows SSL renegotiation if running on Java 1.6.0_22 or later +- updated: MarkdownPapers 1.2.5 +- updated: Wicket 1.4.19 + +**0.6.0** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.6.0.zip) | [war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.6.0.war) | [fedclient](http://code.google.com/p/gitblit/downloads/detail?name=fedclient-0.6.0.zip)) based on [JGit 1.1.0 (201109151100-r)][jgit] *released 2011-09-27* - added: 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. **New:** *federation.name =* @@ -42,7 +94,7 @@ - fixed: syndication urls for WAR deployments - fixed: authentication for zip downloads -**0.5.2** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.2.zip)|[war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.2.war)) based on [JGit 1.0.0 (201106090707-r)][jgit] *released 2011-07-27* +**0.5.2** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.2.zip) | [war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.2.war)) based on [JGit 1.0.0 (201106090707-r)][jgit] *released 2011-07-27* - fixed: active repositories with a HEAD that pointed to an empty branch caused internal errors (issue 14) - fixed: bare-cloned repositories were listed as (empty) and were not clickable (issue 13) @@ -58,13 +110,13 @@ - updated: MarkdownPapers 1.1.0 - updated: Jetty 7.4.3 -**0.5.1** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.1.zip)|[war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.1.war)) based on [JGit 1.0.0 (201106090707-r)][jgit] *released 2011-06-28* +**0.5.1** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.1.zip) | [war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.1.war)) based on [JGit 1.0.0 (201106090707-r)][jgit] *released 2011-06-28* - 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 -**0.5.0** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.0.zip)|[war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.0.war)) based on [JGit 1.0.0 (201106090707-r)][jgit] *released 2011-06-26* +**0.5.0** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.0.zip) | [war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.0.war)) based on [JGit 1.0.0 (201106090707-r)][jgit] *released 2011-06-26* - initial release -- Gitblit v1.9.1