]> source.dussan.org Git - gitblit.git/log
gitblit.git
8 years agoSet "can admin" permission on LDAP users and teams correctly 1152/head merged--fixAdminRoleLDAP
Florian Zschocke [Fri, 18 Nov 2016 19:26:06 +0000 (20:26 +0100)]
Set "can admin" permission on LDAP users and teams correctly

The canAdmin permission is set on a LDAP user, when the user is listed
in `realm.ldap.admins` or is a member of a team listed in `realm.ldap.admins`.
This leads to inconsistent and surprising behaviour on the EditUser page
when clicking the "can admin" checkbox. Also, the "can admin" checkbox
is disabled, but not checked, for teams that are listed as admin teams.

The new behaviour implemented in this patch makes users and teams from
LDAP match local ones. That means:
* LDAP teams that are listed in `realm.ldap.admins` get the canAdmin
  property set if teams are maintained in LDAP.
* LDAP users that are listed in `realm.ldap.admins` get the canAdmin
  property set if teams are maintained in LDAP.
* LDAP users do not get the canAdmin property set, if they are only a
  member of a team listed in `realm.ldap.admins`.
* The `supportsRoleChanges` method for users and teams of the
  `LdapAuthProvider` unconditially returns false if teams are
  maintained in LDAP, not only for users and teams listed in
  `realm.ldap.admins`.
* Therefore, for all LDAP users and teams the "can admin" checkbox
  is always disabled if teams are maintained in LDAP.

8 years agoUpdate documentation for LDAP binding in default.properties. 1149/head merged--fixLDAPbinding
Florian Zschocke [Mon, 14 Nov 2016 19:18:07 +0000 (20:18 +0100)]
Update documentation for LDAP binding in default.properties.

Extend the comments for some realm.ldap.* properties to better explain
use cases and requirements.

8 years agoClean up `LdapAuthProvider` to properly cover different LDAP search scenarios.
Florian Zschocke [Fri, 11 Nov 2016 18:22:17 +0000 (19:22 +0100)]
Clean up `LdapAuthProvider` to properly cover different LDAP search scenarios.

Gitblit allows in its configuration to set a "manager" user (and password) which can be used
to search for the entry of a user wanting to log in. If they are both not set, an anonymous search
is attempted. In the description below, when I say "...as manager", it is either as manager or
anonymous.
So far the behaviour of Gitblit, with respect to binding to and searching in LDAP,
has been the following when a user logs in:

**bind as manager**
**search for the user**
_bind as the user_
_search for the teams_

I'll call this code flow A.

Later an additional configuration option had been added: `realm.ldap.bindpattern`.
(PR gitblit/gitblit#162) It was meant to allow for not using a manager nor anonymous binds,
by searching the directory as the user logging in.
This is done in code flow B:

**bind as manager**
_bind as user_
_search for user_
_search for teams_

Both A and B are flawed, I think. In A, it looks like a mistake to me that the binding stays with the
user after authentication. The problem that this causes is, that in LDAP server configurations
where normal users are not allowed to read groups, the team information cannot be retrieved.
I tried but failed to understand how B is supposed to work. There will always be a bind request
as either anonymous or the manager DN when the LDAP connection is created. If neither is
possible, the authentication process will fail and the user cannot log in.

When synchronizing users and teams from LDAP, the following code flow is exercised:

F:
**bind as manager**
**search for users**
**search for teams**

This patch fixes both code flows by introducing a new flow.

C:
**bind as manager**
**search for user**
_bind as user to authenticate_
**bind as manager**
**search for teams**

And it changes code flow B to the following code flow D:

_bind as user_
_search for user_
_search for teams_

With code flows A, C, D and F the following usage (and authentication) scenarios are covered.
They are described from the view of a Gitblit administrator's intent and his LDAP setup.

* Users and team should be snychronized with LDAP
This means anonymous or a fixed account must be able to read users and groups.
=> covered by C and F

As the above allows for authentication and is required for synchronisation, all the others below
do not cover synchronization.

* No anonymous binding allowed and no special manager binding required
This means that users must be able to read user an group entries.
=> covered by D

* The user DN needs to be searched, e.g. because they are not all under the same parent DN.
This means that anonymous or a fixed account must be able to read users.
-- anonymous or the "manager" account can also read groups
=> covered by C
-- anonymous or the "manager" account cannot read groups but a user can
=> covered by A

I therefore believe that the new code will cover all common use cases. The implementation
either directly binds as the user, when `bindpattern` is not empty, or it binds anonymous or
against the manger DN to search for the user DN entry.

If it directly bound against the user DN, the user is already authenticated. It will then only check
that the user DN it found in the search is identical to the one it is currently bound against. If it
was bound against a manager DN (or anonymously) it will bind against the found user DN to
authenticate the user logging in, and will then rebind against the manager DN.

When searching for groups in LDAP, if the search fails with a result code other than SUCCESS,
the implementation will bind against the user DN, if it isn't already bound against it. It will then
repeat the search for groups under the user authorization. This is to keep backwards
compatible with the original behaviour A, in order to not break cases where the LDAP setup
would deny a manager account to search for groups but allow it for normal users.

To achieve this the implementation introduces an internal `LdapConnection` class that wraps
the connection and keeps bind state, so that a rebind as a user is possible.
This also fixes a resource leak where the connection was not closed in case that the initial bind
as the manager account did not succeed.

This commit would fix gitblit/gitblit#920

8 years agoExtend LDAP tests to use LDAP servers with access restrictions.
Florian Zschocke [Wed, 9 Nov 2016 21:04:00 +0000 (22:04 +0100)]
Extend LDAP tests to use LDAP servers with access restrictions.

Add access restrictions to the LDAP test server instances.
New modes used a test parameters are ANONYMOUS, DS_MANAGER and USR_MANAGER.
ANONYMOUS can bind anonymously and access users and groups.
In DS_MANAGER the server requires authentication and will only allow
the DIRECTORY_MANAGER user to search for users and groups.
In USR_MANAGER only the user can search groups, the USER_MANAGER, which
is used to bind in this mode, can not.

A third server instance is created because I did fear side effects should
the tests be run in parallel, had I tried to configure the access
restriction in Before.

8 years agoExtend LDAP authentication tests to use different modes.
Florian Zschocke [Sun, 6 Nov 2016 17:09:32 +0000 (18:09 +0100)]
Extend LDAP authentication tests to use different modes.

Instantiate two LDAP servers, one that allows anonymous access, and
one that requires authentication for all operations.
The JUnit test is parameterized to run all tests with both instances.
It uses different settings for each mode.

8 years agoPrepare 1.8.0 release v1.8.0
James Moger [Wed, 22 Jun 2016 18:50:46 +0000 (14:50 -0400)]
Prepare 1.8.0 release

8 years agoUpdate documentation for 1.8.0 release
James Moger [Wed, 22 Jun 2016 18:45:55 +0000 (14:45 -0400)]
Update documentation for 1.8.0 release

8 years agoMerge pull request #1087 from mereth/issues/964-session-loss-redirects-to-start-page
Paul Martin [Sun, 19 Jun 2016 13:08:19 +0000 (14:08 +0100)]
Merge pull request #1087 from mereth/issues/964-session-loss-redirects-to-start-page

Fixes #964 - add missing redirect after restoring user in new session

8 years agoMerge pull request #1055 from gitblit/1048-TicketReferences
Paul Martin [Sat, 18 Jun 2016 20:29:25 +0000 (21:29 +0100)]
Merge pull request #1055 from gitblit/1048-TicketReferences

Ticket Reference handling #1048

8 years agoTicketReference Testing #1048 1055/head
Paul Martin [Sat, 18 Jun 2016 20:27:05 +0000 (21:27 +0100)]
TicketReference Testing #1048

+ Multiple commits in a single push

8 years agoadd missing redirect after restoring user in new session 1087/head
mereth [Tue, 14 Jun 2016 22:49:38 +0000 (00:49 +0200)]
add missing redirect after restoring user in new session

8 years agoMerge pull request #1084 from metasim/youtrack-hook
James Moger [Mon, 13 Jun 2016 18:18:11 +0000 (14:18 -0400)]
Merge pull request #1084 from metasim/youtrack-hook

Initial implementation of a JetBrains YouTrack hook for GitBlit.

8 years agoMerge pull request #1086 from dsteinkopf/master
James Moger [Mon, 13 Jun 2016 18:14:06 +0000 (14:14 -0400)]
Merge pull request #1086 from dsteinkopf/master

fix baseURL handling in HttpUtils, fixes #1083

8 years agofix baseURL handling in HttpUtils, fixes #1083 1086/head
Dirk Steinkopf [Sun, 12 Jun 2016 17:27:39 +0000 (19:27 +0200)]
fix baseURL handling in HttpUtils, fixes #1083

8 years agoInitial implementation of a JetBrains YouTrack hook for GitBlit. 1084/head
Simeon H.K. Fitch [Sat, 4 Jun 2016 00:40:37 +0000 (20:40 -0400)]
Initial implementation of a JetBrains YouTrack hook for GitBlit.

8 years agoMerge pull request #1073 from gitblit/1062-DocEditorUpdates
Paul Martin [Sat, 30 Apr 2016 08:19:14 +0000 (09:19 +0100)]
Merge pull request #1073 from gitblit/1062-DocEditorUpdates

Fixes #1062 - Upgraded to Prosemirror 0.6.1

8 years agoFixes #1062 - Upgraded to Prosemirror 0.6.1 1073/head
Paul Martin [Fri, 29 Apr 2016 21:39:46 +0000 (22:39 +0100)]
Fixes #1062 - Upgraded to Prosemirror 0.6.1

8 years agoMerge pull request #1070 from gitblit/1061-filestoreSortByDate
Paul Martin [Thu, 28 Apr 2016 19:43:17 +0000 (20:43 +0100)]
Merge pull request #1070 from gitblit/1061-filestoreSortByDate

Fixes #1061 - Most recent first on filestore page

8 years agoFixes #1061 - Most recent first on filestore page 1070/head
Paul Martin [Wed, 27 Apr 2016 23:53:42 +0000 (00:53 +0100)]
Fixes #1061 - Most recent first on filestore page

8 years agoTicket Reference handling #1048
Paul Martin [Wed, 27 Apr 2016 22:58:06 +0000 (23:58 +0100)]
Ticket Reference handling #1048

+ Supports referencing:
  + Tickets from other tickets via comments
  + Tickets from commits on any branch
+ Common TicketLink class used for both commits and tickets
  + TicketLink is temporary and persisted to ticket as a Reference
+ Support deletion of ticket references
  + Rebasing patchsets/branches will generate new references
  + Deleting old patchsets/branches will remove the relevant references
+ Substantial testing of use cases
  + With and without patchsets, deleting, amending
  + BranchTicketService used during testing to allow end-to-end ref testing
+ Relocated common git helper functions to JGitUtils

8 years agoUse getInteger not getFilesize, fixes #1049
James Moger [Wed, 20 Apr 2016 14:06:09 +0000 (10:06 -0400)]
Use getInteger not getFilesize, fixes #1049

8 years agoMerge pull request #1047 from yyjdelete/patch-1
Paul Martin [Sat, 16 Apr 2016 19:17:12 +0000 (20:17 +0100)]
Merge pull request #1047 from yyjdelete/patch-1

Use utf-8 for Javadoc

8 years agoMerge pull request #1060 from gitblit/966-Searching-Always-Over-All-Repositories
Paul Martin [Sat, 16 Apr 2016 18:46:30 +0000 (19:46 +0100)]
Merge pull request #1060 from gitblit/966-Searching-Always-Over-All-Repositories

fixes #966 to prevent always searching all repos

8 years agofixes #966 to prevent always searching all repos 1060/head
Paul Martin [Sat, 16 Apr 2016 15:41:45 +0000 (16:41 +0100)]
fixes #966 to prevent always searching all repos

8 years agoMerge pull request #1046 from gitblit/1028-FilterAndPagingForFilestorePage
Paul Martin [Mon, 11 Apr 2016 18:59:46 +0000 (19:59 +0100)]
Merge pull request #1046 from gitblit/1028-FilterAndPagingForFilestorePage

Fixes #1028 - FilestorePage now pages and filters

8 years agoSpecify encoding of javadoc to "utf-8" 1047/head
SilverFox [Fri, 8 Apr 2016 05:18:59 +0000 (13:18 +0800)]
Specify encoding of javadoc to "utf-8"

That will fix build of javadoc in Windows zh-cn (and maybe some other locale).
Unknown why javac works well.

8 years agoFixes #1028 - FilestorePage now pages and filters 1046/head
Paul Martin [Thu, 7 Apr 2016 23:01:14 +0000 (00:01 +0100)]
Fixes #1028 - FilestorePage now pages and filters

8 years agoMerge pull request #1039 from gitblit/962-Patchset-Revision-Delete
Paul Martin [Wed, 6 Apr 2016 18:49:09 +0000 (19:49 +0100)]
Merge pull request #1039 from gitblit/962-Patchset-Revision-Delete

Fix for #962 - Delete patchset ability

8 years agoFix for #962 - Delete patchset ability 1039/head
Paul Martin [Sun, 3 Apr 2016 19:30:22 +0000 (20:30 +0100)]
Fix for #962 - Delete patchset ability

8 years agoMerge pull request #1044 from gitblit/1042-IntrusiveFilestoreLozenge
Paul Martin [Wed, 6 Apr 2016 18:32:33 +0000 (19:32 +0100)]
Merge pull request #1044 from gitblit/1042-IntrusiveFilestoreLozenge

Fix for #1042 - Filestore items now shown as icons

8 years agoFix for #1042 - Filestore items now shown as icons 1044/head
Paul Martin [Wed, 6 Apr 2016 07:27:20 +0000 (08:27 +0100)]
Fix for #1042 - Filestore items now shown as icons

8 years agoMerge pull request #1045 from gitblit/882-HonourAllowNewTicketSetting
Paul Martin [Wed, 6 Apr 2016 18:28:09 +0000 (19:28 +0100)]
Merge pull request #1045 from gitblit/882-HonourAllowNewTicketSetting

Fixes #882 Honour allow new ticket setting

8 years agoFixes #882 Honour allow new ticket setting 1045/head
Paul Martin [Wed, 6 Apr 2016 18:25:19 +0000 (19:25 +0100)]
Fixes #882 Honour allow new ticket setting

8 years agoMerge pull request #1040 from gitblit/1037-EnforcePermissionsForTickets
Paul Martin [Tue, 5 Apr 2016 17:48:07 +0000 (18:48 +0100)]
Merge pull request #1040 from gitblit/1037-EnforcePermissionsForTickets

Fix for #1037 myTickets now honours permissions

8 years agoFix for #1037 myTickets now honours permissions 1040/head
Paul Martin [Mon, 4 Apr 2016 22:05:39 +0000 (23:05 +0100)]
Fix for #1037 myTickets now honours permissions

8 years agoMerge pull request #1035 from gitblit/1034-RepositoryPageLifecycle
Paul Martin [Fri, 1 Apr 2016 18:02:37 +0000 (19:02 +0100)]
Merge pull request #1035 from gitblit/1034-RepositoryPageLifecycle

Fix for #1034 Ticket Page Error

8 years agoFix for #1034 Ticket Page Error 1035/head
Paul Martin [Thu, 31 Mar 2016 07:47:56 +0000 (08:47 +0100)]
Fix for #1034 Ticket Page Error

8 years agoMerge pull request #1022 from gitblit/974-in-browser-doc-editor
Paul Martin [Mon, 28 Mar 2016 14:27:31 +0000 (15:27 +0100)]
Merge pull request #1022 from gitblit/974-in-browser-doc-editor

Support for editing documents in the browser #974

8 years agoFriendly URL for EditFile Page #974 1022/head
Paul Martin [Sun, 27 Mar 2016 16:05:38 +0000 (17:05 +0100)]
Friendly URL for EditFile Page #974

+ Prevent Edit of old doc version

8 years agoDisable edit links in read only mode #974
Paul Martin [Mon, 14 Mar 2016 22:50:03 +0000 (22:50 +0000)]
Disable edit links in read only mode #974

8 years agoUpdating ProseMirror to 0.4.0
Paul Martin [Wed, 24 Feb 2016 23:05:13 +0000 (23:05 +0000)]
Updating ProseMirror to 0.4.0

8 years agoDocument edit capability via ProseMirror submodule #974
Paul Martin [Mon, 11 Jan 2016 12:25:06 +0000 (12:25 +0000)]
Document edit capability via ProseMirror submodule #974

+ New docEdit page with links from docPage and docList
+ Bespoke menu system with full screen edit mode
+ npm required for building client side scripts
+ Ant script added for BuildUI which performs npm commands
+ Update font-awesome to 4.5.0
+ Factor out to JGitUtils common code in BranchTicketService for EditFilePage
+ getTreeEntries
+ commitIndex
+ Merge capability for document editing

8 years agoMerge pull request #1032 from gitblit/1031-FixForRepositoryPage
Paul Martin [Sun, 27 Mar 2016 15:46:26 +0000 (16:46 +0100)]
Merge pull request #1032 from gitblit/1031-FixForRepositoryPage

Fix for #1031 to display error message

8 years agoFix for #1031 to display error message 1032/head
Paul Martin [Sat, 26 Mar 2016 15:05:51 +0000 (15:05 +0000)]
Fix for #1031 to display error message

8 years agoMerge pull request #1027 from gitblit/1018-Filestore-downloads-filename
Paul Martin [Wed, 23 Mar 2016 20:33:25 +0000 (20:33 +0000)]
Merge pull request #1027 from gitblit/1018-Filestore-downloads-filename

Links to filestore items now download file with correct filename and extension

8 years agoFix for #1018 and #1025 browser LFS links 1027/head
Paul Martin [Mon, 21 Mar 2016 17:41:19 +0000 (17:41 +0000)]
Fix for #1018 and #1025 browser LFS links

+ View and Raw both download the actual file
+ Blame will show the metafile

8 years agoMerge pull request #988 from gitblit/976-raw-download-filestore-item
James Moger [Mon, 25 Jan 2016 16:55:58 +0000 (11:55 -0500)]
Merge pull request #988 from gitblit/976-raw-download-filestore-item

Fix for #976 - Filestore links via browser

8 years agoMerge pull request #1004 from RedShift1/ticket-#998-document-DH-keysize
James Moger [Sun, 17 Jan 2016 22:31:14 +0000 (17:31 -0500)]
Merge pull request #1004 from RedShift1/ticket-#998-document-DH-keysize

Ticket #998 document dh keysize

8 years agoTypo in setup_transport_http.mkd 1004/head
Glenn Matthys [Sun, 17 Jan 2016 22:15:53 +0000 (23:15 +0100)]
Typo in setup_transport_http.mkd

8 years agoDescribe how DH key bitlength can be influenced
Glenn Matthys [Sun, 17 Jan 2016 22:15:38 +0000 (23:15 +0100)]
Describe how DH key bitlength can be influenced

8 years agoMerge pull request #1003 from RedShift1/ticket-#997-doc-char-encoding
James Moger [Sun, 17 Jan 2016 22:13:13 +0000 (17:13 -0500)]
Merge pull request #1003 from RedShift1/ticket-#997-doc-char-encoding

Fix char encoding in setup_proxy.mkd

8 years agoFix char encoding in setup_proxy.mkd 1003/head
Glenn Matthys [Sun, 17 Jan 2016 21:50:31 +0000 (22:50 +0100)]
Fix char encoding in setup_proxy.mkd

8 years agoMerge pull request #990 from dbywalec/authenthication-of-federation-user
James Moger [Sat, 16 Jan 2016 23:23:46 +0000 (18:23 -0500)]
Merge pull request #990 from dbywalec/authenthication-of-federation-user

Fix authentication failure warning log messages for FEDERATION_USER

8 years agoMerge pull request #991 from dbywalec/authentication-of-already-authenticated-user
James Moger [Sat, 16 Jan 2016 23:14:53 +0000 (18:14 -0500)]
Merge pull request #991 from dbywalec/authentication-of-already-authenticated-user

Lower log level of servlet authenticate when request is already authenticated

8 years agoMerge pull request #994 from KeDevServices/master
James Moger [Sat, 16 Jan 2016 23:10:19 +0000 (18:10 -0500)]
Merge pull request #994 from KeDevServices/master

Fix for #993 LIST_BRANCHES without admin

8 years agoFix for #993 LIST_BRANCHES without admin 994/head
Boris Stumm [Wed, 6 Jan 2016 12:51:19 +0000 (13:51 +0100)]
Fix for #993 LIST_BRANCHES without admin

Replaced the canAccess() method in RpcFilter with !adminRequest,
that should solve the problem.

8 years agoLower log level of servlet authenticate when request is already authenticated 991/head
Dariusz Bywalec [Mon, 4 Jan 2016 10:41:12 +0000 (11:41 +0100)]
Lower log level of servlet authenticate when request is already authenticated

When calling a servlet which has already been authenticated, the server would produce
a lot of superfluous log entries, e.g:

Called servlet authenticate when request is already authenticated.

The log level for this log entry has been lowered down to DEBUG.

8 years agoFix authentication failure warning log messages for FEDERATION_USER 990/head
Dariusz Bywalec [Mon, 4 Jan 2016 10:32:58 +0000 (11:32 +0100)]
Fix authentication failure warning log messages for FEDERATION_USER

The AuthenticationManager did not encounter for FEDERATION_USER and would unnecessarily
generate a lot of failure warning log messages, e.g:

Failed login attempt for $gitblit, invalid credentials from XXX.XX.XX.XX

A simple condition will prematurely return null bypassing the regular authentication path
and immediately make the authentication be routed via FederationManager.

8 years agoFix for #976 - Filestore links via browser 988/head
Paul Martin [Fri, 25 Dec 2015 22:35:11 +0000 (22:35 +0000)]
Fix for #976 - Filestore links via browser

+ GitLFS client support
+ FilestoreModel now parses meta file
+ Read meta heading from cache if available
+ Authentication based on accept headers for browser view filestore login
+ PathModel & PathChangeModel now understands filestore items
+ Zip & Rar downloads contain include filestore items
+ Filestore servlet returns LFS JSON error only if accepted by client
+ DiffStat now knows repository to allow identification of filestore items
+ Filestore items identified and returned via view, raw & blob links on
blame, commitDiff, commit and Tree pages

8 years agoMerge pull request #986 from rgroux/jenkins-groovy-all-proto
James Moger [Wed, 23 Dec 2015 13:43:39 +0000 (08:43 -0500)]
Merge pull request #986 from rgroux/jenkins-groovy-all-proto

Change Jenkins groovy script for any protocol (git/http/ssh)

8 years agoChange Jenkins groovy script for any protocol (git/http/ssh) 986/head
rgroux [Wed, 16 Dec 2015 12:37:45 +0000 (13:37 +0100)]
Change Jenkins groovy script for any protocol (git/http/ssh)

groovy.jenkinsGitbaseurl in gitblit.properties or web.xml can
override the http default protocol

8 years agoMerge pull request #980 from mrjoel/mrjoel-httpheaders
James Moger [Thu, 10 Dec 2015 14:55:23 +0000 (09:55 -0500)]
Merge pull request #980 from mrjoel/mrjoel-httpheaders

Refactor authentication for servlet HTTP header handler

8 years agoMerge pull request #981 from mrjoel/mrjoel-loguseraccess
James Moger [Thu, 10 Dec 2015 14:34:38 +0000 (09:34 -0500)]
Merge pull request #981 from mrjoel/mrjoel-loguseraccess

Log username with access logging

8 years agoMerge pull request #982 from gitblit/978-milestone-date-selector
James Moger [Thu, 10 Dec 2015 14:33:30 +0000 (09:33 -0500)]
Merge pull request #982 from gitblit/978-milestone-date-selector

fix for #978 - HTML5 date input support

8 years agoMerge pull request #983 from mrjoel/mrjoel-dotfiledetection
James Moger [Thu, 10 Dec 2015 00:36:39 +0000 (19:36 -0500)]
Merge pull request #983 from mrjoel/mrjoel-dotfiledetection

revise logic for forcing dotfile to text

8 years agorevise logic for forcing dotfile to text 983/head
Joel Johnson [Wed, 9 Dec 2015 22:58:33 +0000 (15:58 -0700)]
revise logic for forcing dotfile to text

8 years agofix for #978 - HTML5 date input support 982/head
Paul Martin [Wed, 9 Dec 2015 17:58:15 +0000 (17:58 +0000)]
fix for #978 - HTML5 date input support

+ JS patch/hack to coerce legacy wicket into talking to a HTML5 input type
+ JS script to hide inline help on date format when using HTML5 date picker
  + Date picker shown in user locale and standard does not support custom
  format.
  + Always sent in ISO8601 format

8 years agolog authenticated username 981/head
Joel Johnson [Fri, 19 Jun 2015 21:43:12 +0000 (15:43 -0600)]
log authenticated username

8 years agoremove external account type in lieu of specific type 980/head
Joel Johnson [Tue, 7 Jul 2015 22:31:39 +0000 (16:31 -0600)]
remove external account type in lieu of specific type

This was unused and causing provider lookup to fail in
AuthenticationManager.findProvider() by changing it out
from underneath. As a result, the supportXChanges methods
weren't being reported correctly.

8 years agoadd site documentation for HTTP header authentication
Joel Johnson [Mon, 29 Jun 2015 21:08:25 +0000 (15:08 -0600)]
add site documentation for HTTP header authentication

8 years agoimplement an HTTP header AuthenticationProvider
Joel Johnson [Fri, 12 Jun 2015 20:31:07 +0000 (14:31 -0600)]
implement an HTTP header AuthenticationProvider

8 years agoMerge pull request #979 from pingunaut/master
James Moger [Tue, 8 Dec 2015 14:32:56 +0000 (09:32 -0500)]
Merge pull request #979 from pingunaut/master

Remove empty catch blocks to stop swallowing exceptions. #498

8 years agoRemove empty catch blocks to stop swallowing exceptions. #498 979/head
Martin Spielmann [Tue, 8 Dec 2015 13:30:11 +0000 (14:30 +0100)]
Remove empty catch blocks to stop swallowing exceptions. #498

8 years agoMerge pull request #973 from paulsputer/967-Filestore-Help
James Moger [Tue, 8 Dec 2015 12:58:21 +0000 (07:58 -0500)]
Merge pull request #973 from paulsputer/967-Filestore-Help

fix for #967 filestore menu and help

8 years agofix for #967 filestore menu for all users 973/head
Paul Martin [Mon, 7 Dec 2015 23:09:26 +0000 (23:09 +0000)]
fix for #967 filestore menu for all users

+ Filestore listing filtered by user view permissions
+ Configuration help for filestore relocated to website files
+ Added migration example

8 years agoMerge pull request #969 from paulsputer/968-GitLFS-Extract-URI-From-Repository
James Moger [Fri, 4 Dec 2015 00:57:05 +0000 (19:57 -0500)]
Merge pull request #969 from paulsputer/968-GitLFS-Extract-URI-From-Repository

fix for #968 extracting repository from URI

8 years agofix for #968 extracting repository from URI 969/head
Paul Martin [Thu, 3 Dec 2015 16:45:12 +0000 (16:45 +0000)]
fix for #968 extracting repository from URI

+ Allows using lfs when `server.contextPath = /git`

8 years agoHandle possible NPE when extracting WAR resources into a new directory
James Moger [Wed, 25 Nov 2015 13:50:10 +0000 (08:50 -0500)]
Handle possible NPE when extracting WAR resources into a new directory

9 years agoFix 2 possible NullPointer occurences
marco [Sat, 17 Oct 2015 11:48:03 +0000 (13:48 +0200)]
Fix 2 possible NullPointer occurences

9 years agoRaw servlet now assumes text/plain for dot files
James Moger [Mon, 23 Nov 2015 18:48:25 +0000 (13:48 -0500)]
Raw servlet now assumes text/plain for dot files

9 years agoSimplify build and contribution process back to master/trunk development
James Moger [Mon, 23 Nov 2015 18:33:50 +0000 (13:33 -0500)]
Simplify build and contribution process back to master/trunk development

9 years agoMatch longest repository path towards the shortest pr-950
paladox [Mon, 23 Nov 2015 17:58:38 +0000 (17:58 +0000)]
Match longest repository path towards the shortest pr-950

This was originally from https://github.com/gitblit/gitblit/pull/950 but seems to have been reverted when develop branch was merged with master.

9 years agoReset build identifiers for next point release cycle
James Moger [Mon, 23 Nov 2015 14:32:33 +0000 (09:32 -0500)]
Reset build identifiers for next point release cycle

9 years agoPrepare 1.7.1 release v1.7.1
James Moger [Mon, 23 Nov 2015 14:14:17 +0000 (09:14 -0500)]
Prepare 1.7.1 release

9 years agoDocumentation
James Moger [Mon, 23 Nov 2015 14:12:27 +0000 (09:12 -0500)]
Documentation

9 years agoFix failure to start WAR variants
James Moger [Mon, 23 Nov 2015 14:05:29 +0000 (09:05 -0500)]
Fix failure to start WAR variants

9 years agoReset build identifiers for next point release cycle
James Moger [Sun, 22 Nov 2015 19:53:36 +0000 (14:53 -0500)]
Reset build identifiers for next point release cycle

9 years agoPrepare 1.7.0 release v1.7.0
James Moger [Sun, 22 Nov 2015 19:39:30 +0000 (14:39 -0500)]
Prepare 1.7.0 release

9 years agoMerge branch 'develop'
James Moger [Sun, 22 Nov 2015 19:37:16 +0000 (14:37 -0500)]
Merge branch 'develop'

9 years agoCreate filestore directory on startup
James Moger [Thu, 19 Nov 2015 22:55:38 +0000 (17:55 -0500)]
Create filestore directory on startup

9 years agoDocumentation
James Moger [Wed, 18 Nov 2015 15:06:12 +0000 (10:06 -0500)]
Documentation

9 years agoCatch some potential NPEs
James Moger [Wed, 18 Nov 2015 14:19:23 +0000 (09:19 -0500)]
Catch some potential NPEs

9 years agoRequire admin permissions to view the filestore page
James Moger [Wed, 18 Nov 2015 14:15:50 +0000 (09:15 -0500)]
Require admin permissions to view the filestore page

9 years agoUpdate to JGit 4.1.1
James Moger [Wed, 18 Nov 2015 14:06:12 +0000 (09:06 -0500)]
Update to JGit 4.1.1

9 years agoDocumentation
James Moger [Wed, 18 Nov 2015 14:05:48 +0000 (09:05 -0500)]
Documentation

9 years agoDo not display fork button if target repo already exists (fixes #944)
James Moger [Tue, 10 Nov 2015 13:58:35 +0000 (08:58 -0500)]
Do not display fork button if target repo already exists (fixes #944)

9 years agoDeclare top and bottom page links on reflog page (fixes #761)
James Moger [Tue, 10 Nov 2015 13:22:18 +0000 (08:22 -0500)]
Declare top and bottom page links on reflog page (fixes #761)

9 years agoMerge pull request #947 from paulsputer/LogUpdateForAllAuthentication
James Moger [Mon, 26 Oct 2015 19:09:25 +0000 (15:09 -0400)]
Merge pull request #947 from paulsputer/LogUpdateForAllAuthentication

Log update for Fail2Ban usage

9 years agoLog update for Fail2Ban usage 947/head
Paul Martin [Sun, 25 Oct 2015 16:12:32 +0000 (16:12 +0000)]
Log update for Fail2Ban usage

+ Adds standard logging for all authentication providers
+ Updates help page to use default GitBlit SSH port

9 years agoMerge pull request #921 from paulsputer/git-lfs-support
James Moger [Sat, 10 Oct 2015 12:13:12 +0000 (08:13 -0400)]
Merge pull request #921 from paulsputer/git-lfs-support

Initial Git-LFS support