]>
source.dussan.org Git - gitblit.git/log
James Moger [Fri, 29 Nov 2013 17:02:58 +0000 (12:02 -0500)]
Invalidate all cached repository data on "clear cache" (issue-346)
Change-Id: I14404e38bbc6f5827c430849baf3c13f4df2c6ef
James Moger [Tue, 26 Nov 2013 02:43:44 +0000 (21:43 -0500)]
Update to Lucene 4.6.0 (pull request #124)
Change-Id: I21b0daf0550dcc2f12f1712e7b7cf519358a7a1d
James Moger [Mon, 25 Nov 2013 15:07:46 +0000 (10:07 -0500)]
Refactor managers and authentication for federation
Change-Id: I5ff18b2768095fb14e7fbece2e756115829abbde
James Moger [Mon, 25 Nov 2013 14:12:47 +0000 (09:12 -0500)]
Change IGitblit API to be more distinct from IUserService
Change-Id: I8fb38fb6a3dae74ad7a12b045b054373b9b02518
James Moger [Mon, 25 Nov 2013 06:31:53 +0000 (01:31 -0500)]
Flattened IGitblitManager, GitblitManager, and GitBlit classes
Change-Id: Id6deb27306e0034898673bf5d5d76a4ed012ced6
James Moger [Mon, 25 Nov 2013 05:12:31 +0000 (00:12 -0500)]
Serve repositories on /r in addition to /git
Change-Id: I3cd332a6509e434d901e1b262600f4c8ce57752b
James Moger [Mon, 25 Nov 2013 05:00:41 +0000 (00:00 -0500)]
Revised committer verification to require email address
Change-Id: I5298c93e03099813f5713a4effd87913429aa3dc
James Moger [Mon, 25 Nov 2013 04:18:50 +0000 (23:18 -0500)]
Refactor user services and separate authentication (issue-281)
Change-Id: I336e005e02623fc5e11a4f8b4408bea5465a43fd
James Moger [Mon, 25 Nov 2013 02:28:27 +0000 (21:28 -0500)]
Update unit tests for refactored architecture
Change-Id: I04639db977c515e5e1090ef8f0e1ce858820cb03
James Moger [Mon, 25 Nov 2013 02:31:14 +0000 (21:31 -0500)]
Renamed Gitblit to GitBlit to not break existing Groovy hooks
Change-Id: Id5286ed1b9d7e92644cacf857096e6dd273c8f05
James Moger [Thu, 21 Nov 2013 23:32:21 +0000 (18:32 -0500)]
Moved servlets and services to separate packages
Change-Id: I5f0f50f4ae7d332e9f724a2e6f074fa71f646035
James Moger [Thu, 21 Nov 2013 22:26:04 +0000 (17:26 -0500)]
Extract Federation, Gitblit and Services manager from GitBlit singleton
Change-Id: I2b2f361a868c8eedf4b6df5939e7dfac2d5f92a9
James Moger [Thu, 21 Nov 2013 03:12:54 +0000 (22:12 -0500)]
Extract ProjectManager from the GitBlit singleton
Change-Id: I93493a473e3d6ea9b2523c1913d6dc323642344d
James Moger [Thu, 21 Nov 2013 02:53:34 +0000 (21:53 -0500)]
Extract RepositoryManager from the GitBlit singleton
Change-Id: I265cfaf25e4093ffa5f53f70d8eb1c20d731b7b3
James Moger [Thu, 21 Nov 2013 02:19:34 +0000 (21:19 -0500)]
Extract SessionManager from GitBlit singleton
Change-Id: I85c9dfc1413f858dc28d731a0bf653828626e127
James Moger [Thu, 21 Nov 2013 01:52:11 +0000 (20:52 -0500)]
Extract UserManager from GitBlit singleton
Change-Id: I4885255ed63aa6c4e000c3e5501675440dca3958
James Moger [Wed, 20 Nov 2013 20:26:48 +0000 (15:26 -0500)]
Extract NotificationManager from GitBlit singleton
Change-Id: I40335a1a3966d6c7c55bcdcca5a6dbf2a91a65d7
James Moger [Wed, 20 Nov 2013 20:26:24 +0000 (15:26 -0500)]
Extract RuntimeManager from GitBlit singleton
Change-Id: I5358389396f816da979ec18a31421c2d2b67b3d9
James Moger [Tue, 19 Nov 2013 21:11:29 +0000 (16:11 -0500)]
Create a Gitblit aggregate manager delegate for git upload/receive tasks
Change-Id: I2c4a5ddf051f228c0bd949c6cd4fd44c3da81d26
James Moger [Tue, 19 Nov 2013 13:01:23 +0000 (08:01 -0500)]
Eliminate static singleton calls from user services
Change-Id: Ieec34483822f033b19d3ff3259d071c9bc091ed1
James Moger [Tue, 19 Nov 2013 03:31:37 +0000 (22:31 -0500)]
Use Dagger to inject managers into all filters and servlets
Change-Id: I9bb2cc0cbfac9841b13bed15a474fefb24355cd4
James Moger [Fri, 29 Nov 2013 15:58:14 +0000 (10:58 -0500)]
Update to Moxie 0.9.1
Change-Id: I8e0479b632af3b5ca809aacf955e4be96822ac2c
James Moger [Mon, 18 Nov 2013 22:38:34 +0000 (17:38 -0500)]
Instantiate and register all servlets and filters from code (servlet 3)
Change-Id: I6009e8e157232feab40ec275547a59e2cea23950
James Moger [Sat, 16 Nov 2013 13:49:20 +0000 (08:49 -0500)]
Update to Jetty 8.1.13 for Servlet 3
Change-Id: If3f30af2ed250968e65cde58bd413213f4d384b1
James Moger [Sun, 17 Nov 2013 21:15:24 +0000 (16:15 -0500)]
Define manager interfaces and update all of Gitblit to use managers
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
James Moger [Sat, 16 Nov 2013 16:42:06 +0000 (11:42 -0500)]
Eliminate nearly all direct GitBlit singleton references in Wicket
This is the first step towards modularization and injection. All
direct references to the GitBlit singleton within the Wicket pages
and panels have been replaced to proxy methods in the GitBlitWebApp
singleton. There are still two Wicket classes which rely on the
GitBlit singleton; those require manual instantiation (servlet 3).
Change-Id: I0cdbbcf87959d590c446c99abb09c07c87c737bc
James Moger [Sat, 16 Nov 2013 14:46:55 +0000 (09:46 -0500)]
Refactor access to home page class
Change-Id: Ice5706dc0659a44f54e5bf29ca66580e3be22418
James Moger [Sat, 16 Nov 2013 14:12:43 +0000 (09:12 -0500)]
Automatically disable the Git daemon on Express
Change-Id: Ide78d4c5db59a734060ce527a59450eed8433c1a
James Moger [Sat, 16 Nov 2013 14:12:10 +0000 (09:12 -0500)]
Automatically adjust web.forwardSlash on Tomcat containers
One issue that frequently arises in the discussion group and the bug
tracker is how Tomcat automatically re-encodes %2f as '/' which breaks
url parameters with %2f. After documenting this in half a dozen places
it still comes up. Clearly I haven't done enough.
Gitblit will now act on, instead of just report, an improperly configured
web.forwardSlash character on Tomcat containers. This will make Gitblit
"just work" for more users and will make the world a better place.
Change-Id: I344428804070a2d6082022cf6b80e2a3d83cea84
James Moger [Mon, 25 Nov 2013 21:34:11 +0000 (16:34 -0500)]
Improve doc page formatting
Change-Id: Icd060aad6c5d72bd02bac8b4098d4b9fe418494b
James Moger [Tue, 26 Nov 2013 21:05:06 +0000 (16:05 -0500)]
Remove elaborate HEAD determination
Change-Id: I0da34a1da0dc3dcb07a98629c2284184402cb23a
James Moger [Tue, 26 Nov 2013 20:58:15 +0000 (15:58 -0500)]
Remove artifact setting from manager dialog
Change-Id: I249a88994961c671a090cc33cd0eb8e506f6513e
James Moger [Tue, 26 Nov 2013 13:47:57 +0000 (08:47 -0500)]
Fix NPE when adding a permission without a registrant (issue-344)
Change-Id: Id6bf070a43072a61a0034bd2d971fc819c9b03e3
James Moger [Fri, 22 Nov 2013 15:36:05 +0000 (10:36 -0500)]
Add pull request linking in changelog to generated documentation
Change-Id: I06dbc0fdad93c042d783c97378429856bd9111bf
Florian Zschocke [Fri, 22 Nov 2013 15:09:05 +0000 (10:09 -0500)]
Merge pull request #122 from fzs/ldap-deref-alias
Currently the LDAP user service will not dereference aliases when
searching for groups. This patch enables dereferencing aliases for the
group search. This is benefitial if groups are defined in the DIT in a
common place but only certain ones shall play a role in Gitblit. These
can now be linked under a group that can be provided as search base for
groups, without having to recreate the existing groups under the search
base.
In addition, the new doSearch() method implemented in this patch also
limits the attributes returned for the group search to the "cn"
attribute, which is the only one used. That prevents returning all the
members of the result groups, which can be a lot.
Change-Id: I29e1560390810304386dcea5ca40aaf78601b3a9
Günter Dressel [Thu, 21 Nov 2013 17:13:18 +0000 (18:13 +0100)]
Bind LDAP connection after TLS initialization (issue-343)
James Moger [Tue, 19 Nov 2013 21:12:30 +0000 (16:12 -0500)]
Update Moxie to 0.9.0
Change-Id: Ia4c9536282af6df3d9d462946dec1d8112459242
James Moger [Tue, 19 Nov 2013 15:15:53 +0000 (07:15 -0800)]
Merge pull request #123 from kxyfyh/new_branch
Disable submodule raw links in commit & commitdiff page. UTF-8 page encoding.
kxyfyh [Mon, 18 Nov 2013 13:41:04 +0000 (21:41 +0800)]
修改中文显示问题及raw默认属性
James Moger [Fri, 15 Nov 2013 21:43:38 +0000 (16:43 -0500)]
Improve pages servlet
Change-Id: I5239808bc71441022b4b82e9d369866e9600bbfa
James Moger [Thu, 14 Nov 2013 23:17:12 +0000 (18:17 -0500)]
CSS tweaks
Change-Id: I568ffc2b7dfb59e8a6748aaf3e16993bb2016384
James Moger [Thu, 14 Nov 2013 23:16:57 +0000 (18:16 -0500)]
Display common repository documents as tabs on the docs page
Change-Id: I6935fa45598da847936748b474a3da47e94efaac
James Moger [Thu, 14 Nov 2013 23:10:42 +0000 (18:10 -0500)]
Eliminate the "enumerate documentation" repository setting
Change-Id: I3a7c13b4c626f8b5ea2a63717dfe4249c19eebb4
James Moger [Thu, 14 Nov 2013 22:53:35 +0000 (17:53 -0500)]
README files are not shown on the summary page by default
Change-Id: I421a6b8f8c8eaa5d34b7629858de76fc96458cd3
James Moger [Thu, 14 Nov 2013 01:16:59 +0000 (20:16 -0500)]
Tweak pull request ref display
Change-Id: I07d05eb45e40c233facfa3674f9528d2bda4b5d5
James Moger [Wed, 13 Nov 2013 22:56:50 +0000 (17:56 -0500)]
Implement mirror executor (issue-5)
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
James Moger [Wed, 13 Nov 2013 22:47:25 +0000 (17:47 -0500)]
Remove docs indicator
Change-Id: I422696130695cb18d4c1518b0d53265d7247f966
James Moger [Tue, 12 Nov 2013 21:17:17 +0000 (16:17 -0500)]
Add markup support for confluence, mediawiki, textile, trac, and twiki
Change-Id: I82ef161c6b6956c7b83cd4a1c37627beac6ea75b
James Moger [Tue, 12 Nov 2013 13:04:40 +0000 (08:04 -0500)]
Refactor markup processing in preparation for supporting other formats
Change-Id: I0eb217064abc4f4b0f6bfbbc21302c470cc2f9c6
James Moger [Fri, 8 Nov 2013 16:02:51 +0000 (08:02 -0800)]
Merge pull request #121 from lucamilanesio/master
Allows the home root link top-left anchor to be customised.
Luca Milanesio [Fri, 8 Nov 2013 15:51:51 +0000 (15:51 +0000)]
Allows the home root link top-left anchor to be customised.
A new property web.rootLink has been introduced to
customise the link underlying the top-left logo in GitBlit.
When undefined the older behaviour is to link to the
GitBlit home page.
James Moger [Sun, 27 Oct 2013 15:05:11 +0000 (11:05 -0400)]
Add setting to automatically redirect http requests to the https port
Change-Id: I33966b8292434c10ffd623838d09527aaebaca5f
James Moger [Fri, 25 Oct 2013 22:12:09 +0000 (18:12 -0400)]
Strip leading / for absolute wiki link paths
Change-Id: Ic475d570a3438916cd952d317338df1756c8be5a
James Moger [Fri, 25 Oct 2013 21:55:49 +0000 (17:55 -0400)]
Disable the SMARTYPANTS Markdown extension
Change-Id: I3b1c43186d88a30238213983dd702601eb3a6172
James Moger [Fri, 25 Oct 2013 19:25:02 +0000 (15:25 -0400)]
Documentation
Change-Id: I717e13d1f852a4adf50b547f4769dd62da2384ce
James Moger [Fri, 25 Oct 2013 16:18:23 +0000 (12:18 -0400)]
Set Link: <url>; rel="canonical" http header for SEO (issue-304)
Change-Id: Ie023b5fc58bf988e9064700918a79718aaa6c94b
James Moger [Fri, 25 Oct 2013 13:24:23 +0000 (09:24 -0400)]
Strip Markdown extension from rendered [[WikiLink]] (issue-324)
Change-Id: I2f695f5d5d72d8c08272981f756334b45398a1f7
James Moger [Fri, 25 Oct 2013 12:56:23 +0000 (08:56 -0400)]
Respect web.forwardSlashCharacter in intra-Markdown links (issue-324)
Change-Id: I27482c223a3daa0d10f37e88cd80481c6e1eb4b0
James Moger [Fri, 25 Oct 2013 12:40:45 +0000 (08:40 -0400)]
Remove emphasis coloring in markdown div
Change-Id: Ie81e94546868a4a16c302ed0b283ac86d3491276
James Moger [Fri, 25 Oct 2013 03:44:11 +0000 (23:44 -0400)]
Support for intra-Markdown linking using [[WikiLinks]] syntax (issue-324)
All WikiLinks must be specified relative to the root of the repository.
The displayed link text is stripped to just the document name. Spaces in
the document name are replaced with '-' characters; this is consistent with
wiki syntax and Github.
Change-Id: Id3fb1b5441352d9bacc4993a5b85882db113693b
James Moger [Fri, 25 Oct 2013 03:36:28 +0000 (23:36 -0400)]
Determine best commit id for the commit and use that in links
Change-Id: I2c0f5dbb479c06402645cbb92e4845eed29d6726
James Moger [Thu, 24 Oct 2013 19:44:44 +0000 (15:44 -0400)]
Remove "show readme" flag in favor of automatic detection
Automatic detection also will now also display a plain text "readme"
or "readme.txt" file.
Change-Id: Id6be729bdc469e7a5cfd1f4144df340a6b93475e
James Moger [Thu, 24 Oct 2013 18:59:29 +0000 (14:59 -0400)]
Remove upload pack ref filtering
Change-Id: I7ffcbf00e70eea68803eb6c046d5ddca55503b8b
James Moger [Thu, 24 Oct 2013 12:13:21 +0000 (05:13 -0700)]
Merge pull request #120 from simonharrer/compare-strings-with-equals-method
Use equals to compare strings instead of ==
James Moger [Thu, 24 Oct 2013 12:12:03 +0000 (05:12 -0700)]
Merge pull request #119 from simonharrer/fix-locale-test-run-bug
Change locale to english for ByteFormatTest to run successful on systems...
Simon Harrer [Thu, 24 Oct 2013 09:50:04 +0000 (11:50 +0200)]
Use equals to compare strings instead of ==
Simon Harrer [Wed, 23 Oct 2013 09:25:37 +0000 (11:25 +0200)]
Change locale to english for ByteFormatTest to run successful on systems with german locale
James Moger [Fri, 18 Oct 2013 21:46:22 +0000 (17:46 -0400)]
Replaced MarkdownPapers with pegdown
Change-Id: I11eb50ba1ef0bef8ac47bf6f7b17e0f79ecd3f2d
James Moger [Wed, 16 Oct 2013 17:14:30 +0000 (13:14 -0400)]
Fix Markdown document enumeraton
James Moger [Wed, 16 Oct 2013 13:29:42 +0000 (09:29 -0400)]
Fix raw page binary content type when running behind reverse proxy
Change-Id: I9f613114b2bb4c1dacae6e67c7673149a0476cf1
James Moger [Wed, 16 Oct 2013 12:43:46 +0000 (08:43 -0400)]
Add raw link to commit, commitdiff, and compare pages (issue-319)
Change-Id: Ifc878cb59fe66674e6dfdc6d233fa26be1f4d605
James Moger [Wed, 16 Oct 2013 12:42:12 +0000 (08:42 -0400)]
Update to JGit 3.1.0
Change-Id: I94d4f6146c79541bf8a36e4c3dca1842e46cddd5
James Moger [Tue, 15 Oct 2013 13:43:09 +0000 (09:43 -0400)]
Fix error on generating activity page when there is no activity
James Moger [Tue, 15 Oct 2013 12:13:04 +0000 (05:13 -0700)]
Merge pull request #118 from Mrbytes/master
Translation esES updated
mrbytes [Sat, 12 Oct 2013 08:37:45 +0000 (10:37 +0200)]
Translation esES updated
- Fixes syntax
- Better translation
James Moger [Wed, 2 Oct 2013 21:13:29 +0000 (17:13 -0400)]
Updated to Jetty 7.6.13
James Moger [Wed, 2 Oct 2013 21:12:18 +0000 (17:12 -0400)]
Switch web.xml baseFolder from context-param to env-entry
Change-Id: Id18077126e984a767725cf9e8d8eb531a14e1713
James Moger [Tue, 1 Oct 2013 21:26:43 +0000 (17:26 -0400)]
Remove unused issues test repository from test suite
Change-Id: Ib63aeefdffa5f747d76bc221a722bc6c2e5f58c4
James Moger [Tue, 1 Oct 2013 21:26:05 +0000 (17:26 -0400)]
Fix incorrect mappings for some iconic classes
Change-Id: Ieeb7159768453a17b01b8e2a59289b256c6c3492
James Moger [Tue, 1 Oct 2013 21:25:29 +0000 (17:25 -0400)]
Tweak diffstat css
Change-Id: I0f6551bb7ca2f9b8908e95359b375c23daeab380
James Moger [Tue, 1 Oct 2013 21:24:42 +0000 (17:24 -0400)]
Check for refs/ not refs/heads/ when updating a ref
Change-Id: I19f9507fdb859902a6df96f1960433a91378e400
James Moger [Tue, 1 Oct 2013 21:22:50 +0000 (17:22 -0400)]
Improve message logging in the receive pack
Change-Id: I93dcdc72bfae0e0fac9a0f4872537a43bbd73d36
James Moger [Mon, 30 Sep 2013 20:32:12 +0000 (16:32 -0400)]
Remove remaining TicGit tickets references
Change-Id: I431659cf1d57a8d9bffb065fa47e1296e7f8c838
James Moger [Mon, 30 Sep 2013 20:22:15 +0000 (16:22 -0400)]
Remove trailing whitespace from unit tests
Change-Id: I172bd4d493eee1013ec542ab97f1be29040f816d
James Moger [Mon, 30 Sep 2013 13:30:04 +0000 (09:30 -0400)]
Trim trailing whitespace and organize imports
Change-Id: I9f91138b20219be6e3c4b28251487df262bff6cc
James Moger [Mon, 30 Sep 2013 13:04:23 +0000 (09:04 -0400)]
Revise date label creation for optional css class
Change-Id: Ia244aedb37067c138343a9094bf489a367a4464d
James Moger [Mon, 30 Sep 2013 12:10:24 +0000 (08:10 -0400)]
Add recursive delete function to FileUtils
Change-Id: Ie177a9e5e9f88ea35bb8f9fe0b6c9af7ce92a280
James Moger [Mon, 30 Sep 2013 12:07:56 +0000 (08:07 -0400)]
Remove issue artifacts from classes missed in previous purge
Change-Id: Ie0b7d1e11d634577e943c8e4dbab080b0078f1b4
James Moger [Mon, 30 Sep 2013 11:59:42 +0000 (07:59 -0400)]
Change diffstat character to improve look and layout
Change-Id: I7a70b04e9b8e49a78d98e0842aeda3f6d8e3ce28
James Moger [Sat, 28 Sep 2013 00:25:06 +0000 (20:25 -0400)]
Add normalized diffstats to the commit, commitdiff, and compare pages
Change-Id: I8f26746a611e9ab955efe8b2597cc81db48fb085
James Moger [Fri, 27 Sep 2013 18:28:27 +0000 (14:28 -0400)]
Fix width calculation in branch graph when there are 0 or 1 commits
Change-Id: I68ed7e4db32fa69a13979b544e80edf3212555cd
James Moger [Fri, 27 Sep 2013 18:27:15 +0000 (14:27 -0400)]
Change default access restriction to PUSH
Change-Id: I74b3f9fedd77294c53648f8eaa730d4a84917555
James Moger [Fri, 27 Sep 2013 17:44:28 +0000 (13:44 -0400)]
Added setting to globally disable anonymous pushes in the receive pack
Change-Id: I3460c9c0eeb32503d58325fd09793a0cd40aa2c4
James Moger [Fri, 27 Sep 2013 13:21:23 +0000 (09:21 -0400)]
Merge receive processing into one class
Change-Id: I603d4524914e94ec8e02c3689b65465b42c23dd7
James Moger [Fri, 27 Sep 2013 13:20:14 +0000 (09:20 -0400)]
Remove unused class
James Moger [Fri, 27 Sep 2013 12:02:33 +0000 (08:02 -0400)]
Do not log passwords on failed authentication attempts (issue-316)
James Moger [Mon, 23 Sep 2013 15:36:27 +0000 (11:36 -0400)]
Synchronize critical ConfigUserService methods
James Moger [Mon, 23 Sep 2013 14:55:19 +0000 (10:55 -0400)]
Eliminate redundant read() and use accessor instead of direct cache access
James Moger [Mon, 23 Sep 2013 14:53:27 +0000 (10:53 -0400)]
Fix potential NPE in cookie retrieval
James Moger [Mon, 23 Sep 2013 14:02:07 +0000 (10:02 -0400)]
Return cloned usermodel on cookie authentication