summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Centralize cookie creationJames Moger2013-12-117-32/+25
| | | | Change-Id: I1a17416121764f33a8d05a88c80cece0c03ac41d
* Fix external authentication failureJames Moger2013-12-113-17/+26
| | | | Change-Id: I0f415941a4bfd5e63d85c60613cea0c7d10cbb49
* Allow null authentication provider to manipulate usersJames Moger2013-12-101-4/+4
| | | | Change-Id: I07405f2ed915b8f544ac58aca8367301a7d23e38
* Merge pull request #128 from alexmob/issue-350James Moger2013-12-102-2/+2
|\ | | | | Fix chart failure when an apostrophe is in a user display name (issue-350)
| * issue-350: Fixes issue when an apostrophe is present in a User's nameAlex Lewis2013-12-102-2/+2
| |
* | Fix LDAP port and bind regressions due to change for issue-343James Moger2013-12-101-2/+11
| | | | | | | | Change-Id: I76ee581e067a30fb1656c5c62bdf743846f1a767
* | Remove @Inject references because they confuse JEE containersJames Moger2013-12-1019-144/+170
|/ | | | Change-Id: I2e4a8e7424e7c62d1e89ca62a91423fdf3e36ac8
* Support Markdown image links relative to the repository root (issue-324)James Moger2013-12-091-0/+32
| | | | Change-Id: I8bad02b26a20636e4fc3d1f0ab0a16f0bacc7bf1
* Simplify blob loading codeJames Moger2013-12-031-24/+3
| | | | Change-Id: I7f8ad8936e620dd06e88d85f6837248eea75a1ec
* Simplify bare repository bugtraq config loadingJames Moger2013-12-031-36/+12
| | | | Change-Id: I223df72df371ad6e5559f57da16167e56b1e66ad
* Add support for per-repository bugtraq configurationJames Moger2013-12-0315-13/+1076
| | | | | | | | | | | | | | | | | | | Imported the reference implementation contributed by syntevo which is used in their SmartGit product. You may create a bugtraq config section inf your .git/config file OR you may add a .gitbugtraq file to the root of your repository. Example: [bugtraq "issues"] url = http://code.google.com/p/gitblit/issues/detail?id=%BUGID% logRegex = "[Ii]ssue[-#:\\s]{1}\\d+" logRegex1 = "\\d+" [bugtraq "[pullrequests"] url = "https://github.com/gitblit/gitblit/pull/%BUGID%" logRegex = "(?:pull request|pull|pr)\\s*[-#]?([0-9]+)" Change-Id: Iaba305bf4280d08cc4d1abf533c2f1365470a43f
* Add coloring modes to the blame page (issue-2, pull request #125)Alex Lewis2013-12-026-20/+299
| | | | | | | | | Blame output is now colored according to Commit (default), Author or Age. Both Commit and Author output uses random colors whereas Age uses a single color with varying tints applied to indicate the age. White indicates the eldest commit with the tint darkening as the commits get younger. Change-Id: I045458329af4765e91d5829ce3e8d28e21eeb66e
* Added filesystem write permission check (issue-345)James Moger2013-11-294-5/+25
| | | | Change-Id: I0a3aced3b8e9887347888c85e469b74fc70931ad
* Invalidate all cached repository data on "clear cache" (issue-346)James Moger2013-11-292-0/+6
| | | | Change-Id: I14404e38bbc6f5827c430849baf3c13f4df2c6ef
* Update to Lucene 4.6.0 (pull request #124)James Moger2013-11-291-49/+36
| | | | Change-Id: I21b0daf0550dcc2f12f1712e7b7cf519358a7a1d
* Refactor managers and authentication for federationJames Moger2013-11-2914-1041/+1269
| | | | Change-Id: I5ff18b2768095fb14e7fbece2e756115829abbde
* Change IGitblit API to be more distinct from IUserServiceJames Moger2013-11-299-33/+75
| | | | Change-Id: I8fb38fb6a3dae74ad7a12b045b054373b9b02518
* Flattened IGitblitManager, GitblitManager, and GitBlit classesJames Moger2013-11-2914-647/+502
| | | | Change-Id: Id6deb27306e0034898673bf5d5d76a4ed012ced6
* Serve repositories on /r in addition to /gitJames Moger2013-11-298-20/+13
| | | | Change-Id: I3cd332a6509e434d901e1b262600f4c8ce57752b
* Revised committer verification to require email addressJames Moger2013-11-295-44/+25
| | | | Change-Id: I5298c93e03099813f5713a4effd87913429aa3dc
* Refactor user services and separate authentication (issue-281)James Moger2013-11-2960-3531/+2564
| | | | Change-Id: I336e005e02623fc5e11a4f8b4408bea5465a43fd
* Update unit tests for refactored architectureJames Moger2013-11-2912-33/+55
| | | | Change-Id: I04639db977c515e5e1090ef8f0e1ce858820cb03
* Renamed Gitblit to GitBlit to not break existing Groovy hooksJames Moger2013-11-299-35/+53
| | | | Change-Id: Id5286ed1b9d7e92644cacf857096e6dd273c8f05
* Moved servlets and services to separate packagesJames Moger2013-11-2947-104/+192
| | | | Change-Id: I5f0f50f4ae7d332e9f724a2e6f074fa71f646035
* Extract Federation, Gitblit and Services manager from GitBlit singletonJames Moger2013-11-2919-1611/+1820
| | | | Change-Id: I2b2f361a868c8eedf4b6df5939e7dfac2d5f92a9
* Extract ProjectManager from the GitBlit singletonJames Moger2013-11-294-256/+341
| | | | Change-Id: I93493a473e3d6ea9b2523c1913d6dc323642344d
* Extract RepositoryManager from the GitBlit singletonJames Moger2013-11-296-1830/+1786
| | | | Change-Id: I265cfaf25e4093ffa5f53f70d8eb1c20d731b7b3
* Extract SessionManager from GitBlit singletonJames Moger2013-11-294-249/+360
| | | | Change-Id: I85c9dfc1413f858dc28d731a0bf653828626e127
* Extract UserManager from GitBlit singletonJames Moger2013-11-2916-386/+653
| | | | Change-Id: I4885255ed63aa6c4e000c3e5501675440dca3958
* Extract NotificationManager from GitBlit singletonJames Moger2013-11-294-128/+190
| | | | Change-Id: I40335a1a3966d6c7c55bcdcca5a6dbf2a91a65d7
* Extract RuntimeManager from GitBlit singletonJames Moger2013-11-2912-325/+565
| | | | Change-Id: I5358389396f816da979ec18a31421c2d2b67b3d9
* Create a Gitblit aggregate manager delegate for git upload/receive tasksJames Moger2013-11-298-85/+796
| | | | Change-Id: I2c4a5ddf051f228c0bd949c6cd4fd44c3da81d26
* Eliminate static singleton calls from user servicesJames Moger2013-11-2914-41/+170
| | | | Change-Id: Ieec34483822f033b19d3ff3259d071c9bc091ed1
* Use Dagger to inject managers into all filters and servletsJames Moger2013-11-2936-223/+756
| | | | Change-Id: I9bb2cc0cbfac9841b13bed15a474fefb24355cd4
* Instantiate and register all servlets and filters from code (servlet 3)James Moger2013-11-2612-286/+323
| | | | Change-Id: I6009e8e157232feab40ec275547a59e2cea23950
* Update to Jetty 8.1.13 for Servlet 3James Moger2013-11-261-1/+1
| | | | Change-Id: If3f30af2ed250968e65cde58bd413213f4d384b1
* Define manager interfaces and update all of Gitblit to use managersJames Moger2013-11-2697-707/+2146
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Eliminate nearly all direct GitBlit singleton references in WicketJames Moger2013-11-2661-561/+718
| | | | | | | | | | 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
* Refactor access to home page classJames Moger2013-11-264-11/+13
| | | | Change-Id: Ice5706dc0659a44f54e5bf29ca66580e3be22418
* Automatically disable the Git daemon on ExpressJames Moger2013-11-261-0/+4
| | | | Change-Id: Ide78d4c5db59a734060ce527a59450eed8433c1a
* Automatically adjust web.forwardSlash on Tomcat containersJames Moger2013-11-262-47/+25
| | | | | | | | | | | | | 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
* Improve doc page formattingJames Moger2013-11-262-7/+36
| | | | Change-Id: Icd060aad6c5d72bd02bac8b4098d4b9fe418494b
* Remove elaborate HEAD determinationJames Moger2013-11-261-17/+0
| | | | Change-Id: I0da34a1da0dc3dcb07a98629c2284184402cb23a
* Remove artifact setting from manager dialogJames Moger2013-11-261-4/+0
| | | | Change-Id: I249a88994961c671a090cc33cd0eb8e506f6513e
* Fix NPE when adding a permission without a registrant (issue-344)James Moger2013-11-261-0/+3
| | | | Change-Id: Id6bf070a43072a61a0034bd2d971fc819c9b03e3
* Merge pull request #122 from fzs/ldap-deref-aliasFlorian Zschocke2013-11-221-1/+25
| | | | | | | | | | | | | | | | | 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
* Bind LDAP connection after TLS initialization (issue-343)Günter Dressel2013-11-221-30/+27
|
* 修改中文显示问题及raw默认属性kxyfyh2013-11-183-0/+6
|
* Improve pages servletJames Moger2013-11-151-41/+79
| | | | Change-Id: I5239808bc71441022b4b82e9d369866e9600bbfa
* CSS tweaksJames Moger2013-11-143-5/+2
| | | | Change-Id: I568ffc2b7dfb59e8a6748aaf3e16993bb2016384