summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/git
Commit message (Collapse)AuthorAgeFilesLines
* Remove @Inject references because they confuse JEE containersJames Moger2013-12-101-2/+0
| | | | Change-Id: I2e4a8e7424e7c62d1e89ca62a91423fdf3e36ac8
* Refactor managers and authentication for federationJames Moger2013-11-291-2/+2
| | | | Change-Id: I5ff18b2768095fb14e7fbece2e756115829abbde
* Flattened IGitblitManager, GitblitManager, and GitBlit classesJames Moger2013-11-294-12/+12
| | | | Change-Id: Id6deb27306e0034898673bf5d5d76a4ed012ced6
* Serve repositories on /r in addition to /gitJames Moger2013-11-291-2/+0
| | | | Change-Id: I3cd332a6509e434d901e1b262600f4c8ce57752b
* Revised committer verification to require email addressJames Moger2013-11-291-12/+8
| | | | Change-Id: I5298c93e03099813f5713a4effd87913429aa3dc
* Refactor user services and separate authentication (issue-281)James Moger2013-11-291-5/+5
| | | | Change-Id: I336e005e02623fc5e11a4f8b4408bea5465a43fd
* Update unit tests for refactored architectureJames Moger2013-11-291-1/+1
| | | | Change-Id: I04639db977c515e5e1090ef8f0e1ce858820cb03
* Renamed Gitblit to GitBlit to not break existing Groovy hooksJames Moger2013-11-295-14/+14
| | | | Change-Id: Id5286ed1b9d7e92644cacf857096e6dd273c8f05
* Create a Gitblit aggregate manager delegate for git upload/receive tasksJames Moger2013-11-295-84/+38
| | | | Change-Id: I2c4a5ddf051f228c0bd949c6cd4fd44c3da81d26
* Use Dagger to inject managers into all filters and servletsJames Moger2013-11-296-63/+102
| | | | Change-Id: I9bb2cc0cbfac9841b13bed15a474fefb24355cd4
* Instantiate and register all servlets and filters from code (servlet 3)James Moger2013-11-261-0/+3
| | | | Change-Id: I6009e8e157232feab40ec275547a59e2cea23950
* Define manager interfaces and update all of Gitblit to use managersJames Moger2013-11-265-12/+39
| | | | | | | | | | | | | | | | | | | | | | | | | These manager interfaces define how the GitBlit singleton will eventually be split into smaller component managers. The Wicket app and all servlets have been updated to request the needed managers. There are _very_ few method signature changes - although there are a handful. This is a surgical sharding of responsibility based on a proof of concept refactor. Instead of random references to GittBlit.self() there are now precise references to the manager interface required to accomplish some task. Some tasks may require references to multiple managers. The code is now littered with calls to GitBlit.getManager(class) and those familiar with the code-base will no doubt notice the duplication of methods from IUserService in IUserManager and the addition of implementation methods in the GitBlit context class. When the GitBlit class is broken apart and the existing external authentication user service classes are refactored to AuthenticationService classes, this will again simplify and flatten. But in order to safely and cleanly modularize the stable code-base we will have to live with a little duplication for a short while. Change-Id: I7314ec8acaab2dcc6092785ed4434cc09fdbbe16
* Implement mirror executor (issue-5)James Moger2013-11-131-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | The mirror executor will fetch ref updates for repository mirrors. This feature is disabled by default and can be enabled by setting git.enableMirroring=true. The period between update checks is configurable, but it is global. An individual rpeository may not set it's own update schedule. Requirements: 1. you must manually clone the repository using native git git clone --mirror git://somewhere.com/myrepo.git 2. the "origin" remote must be the mirror source 3. the "origin" repository must be accessible without authentication OR the credentials must be embedded in the origin url (not recommended) Notes: 1. "origin" SSH urls are untested and not likely to work 2. mirrors cloned while Gitblit is running are likely to require clearing the gitblit cache (link on the repositories page of an administrator account) 3. Gitblit will automatically repair any invalid fetch refspecs with a "//" sequence. Change-Id: I4bbe3fb2df106366ae4c2313596d0fab0dfcac46
* Remove upload pack ref filteringJames Moger2013-10-251-43/+0
| | | | Change-Id: I7ffcbf00e70eea68803eb6c046d5ddca55503b8b
* Improve message logging in the receive packJames Moger2013-10-011-3/+11
| | | | Change-Id: I93dcdc72bfae0e0fac9a0f4872537a43bbd73d36
* Trim trailing whitespace and organize importsJames Moger2013-09-307-30/+33
| | | | Change-Id: I9f91138b20219be6e3c4b28251487df262bff6cc
* Change default access restriction to PUSHJames Moger2013-09-271-1/+1
| | | | Change-Id: I74b3f9fedd77294c53648f8eaa730d4a84917555
* Added setting to globally disable anonymous pushes in the receive packJames Moger2013-09-271-2/+2
| | | | Change-Id: I3460c9c0eeb32503d58325fd09793a0cd40aa2c4
* Merge receive processing into one classJames Moger2013-09-274-102/+332
| | | | Change-Id: I603d4524914e94ec8e02c3689b65465b42c23dd7
* Reset dashboard and activity commit cache on branch REWIND or DELETEJames Moger2013-07-161-0/+17
|
* Fixed committer verification with merge commits (issue-264)James Moger2013-07-021-3/+21
|
* Fixed GitDaemon stop for unit testsJames Moger2013-07-021-3/+5
|
* Reflogs, Digests, and DashboardsJames Moger2013-06-181-2/+2
| | | | | | Renamed pushlog to reflog to better match it's current and future purpose. Split PushesPanel into ReflogPanel and DigestsPanel. Overhauled project pages and gave them a coherent purpose from the dashboard.
* Do not advertise refs/gitblit/* refs to non-admin accountsJames Moger2013-06-181-5/+14
|
* Improve NPE handling for hook script enumeration (issue-253)James Moger2013-06-111-2/+7
|
* Overhauled navigation and flattened lookJames Moger2013-05-191-0/+1
|
* Implemented application menus for repository url panelJames Moger2013-05-091-0/+14
|
* Revised Git Daemon to improve thread stopping and to eliminate repository ↵James Moger2013-05-036-47/+616
| | | | name hack
* Added Git Daemon supportJames Moger2013-04-036-0/+737