From d97e52ef501a72fcf16aee02d7e79c91d123dfe6 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 24 Aug 2012 13:32:44 -0400 Subject: [PATCH] Implemented custom request handling for (un)authenticated sessions to workaround Wicket bugs --- docs/04_releases.mkd | 40 ++++++++++++++++++++++++++++++++-------- 1 files changed, 32 insertions(+), 8 deletions(-) diff --git a/docs/04_releases.mkd b/docs/04_releases.mkd index e94d8c1..21b47ba 100644 --- a/docs/04_releases.mkd +++ b/docs/04_releases.mkd @@ -11,12 +11,18 @@ #### fixes -- Support StartTLS in LdapUserService (Steffen Gebert, issue 122) -- Do not index blobs in submodules (issue 119) +- 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 123) +- Eliminated an unnecessary reopsitory enumeration call on the root page which should result in faster page loads (issue 103) +- Gitblit could not delete a Lucene index in a working copy on index upgrade +- Do not index submodule links (issue 119) - Restore original user or team object on failure to update (issue 118) - Fixes to relative path determination in repository search algorithm for symlinks (issue 116) - Fix to GitServlet to allow pushing to symlinked repositories (issue 116) -- Repository URL uses `X-Forwarded-Proto` and `X-Forwarded-Port`, if available, for reverse proxy configurations (issue 115) +- Repository URL now uses `X-Forwarded-Proto` and `X-Forwarded-Port`, if available, for reverse proxy configurations (issue 115) - Output real RAW content, not simulated RAW content (issue 114) - Fixed Lucene charset encoding bug when reindexing a repository (issue 112) - Fixed search box linking to Lucene page for nested repository on Tomcat (issue 111) @@ -25,9 +31,19 @@ #### additions -- Added a repository setting to control authorization as AUTHENTICATED or NAMED. -NAMED is the original behavior for authorizing against a list of permitted users or permitted teams. -AUTHENTICATED allows restricted access for any authenticated user. +- Identified repository list is now cached by default to reduce disk io and to improve performance (issue 103) + **New:** *git.cacheRepositoryList=true* +- Preliminary bare repository submodule support + **New:** *git.submoduleUrlPatterns=* + - *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 117) +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) **New:** *git.defaultAuthorizationControl=NAMED* - Added setting to control how deep Gitblit will recurse into *git.repositoriesFolder* looking for repositories (issue 103) @@ -36,10 +52,20 @@ **New:** *git.searchExclusions=* - Blob page now supports displaying images (issue 6) - Non-image binary files can now be downloaded using the RAW link +- Support StartTLS in LdapUserService (Steffen Gebert, issue 122) +- Added Korean translation #### 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 + +<hr/> + +### Older Releases **1.0.0** *released 2012-07-14* @@ -103,8 +129,6 @@ - added Ivy 2.2.0 <hr/> - -### Older Releases **0.9.3** *released 2012-04-11* -- Gitblit v1.9.1