]> source.dussan.org Git - gitblit.git/log
gitblit.git
10 years ago修正读取默认文件语言识别 135/head
Ting [Tue, 14 Jan 2014 07:57:14 +0000 (15:57 +0800)]
修正读取默认文件语言识别

10 years agoMerge pull request #131 from alfsch/master
James Moger [Fri, 10 Jan 2014 12:58:58 +0000 (04:58 -0800)]
Merge pull request #131 from alfsch/master

 Fix for Issue 356 - LDAP Groupmembers are not displayed until they are signed in once

10 years ago Issue 356 - function updateUserModels also updates the stored teams in 131/head
Alfred Schmid [Thu, 9 Jan 2014 12:42:54 +0000 (13:42 +0100)]
 Issue 356 - function updateUserModels also updates the stored teams in
the UserModel. Now all Teammembers are shown when
realm.ldap.synchronizeUsers.enable is turned on.

10 years agoMerge pull request #130 from asbachb/master
James Moger [Sat, 4 Jan 2014 16:05:28 +0000 (08:05 -0800)]
Merge pull request #130 from asbachb/master

Evaluate X_Forwarded_Context only when X-Forwarded-Context is not set

10 years agoEvaluate X_Forwarded_Context only when X-Forwarded-Context is not set 130/head
Benjamin Asbach [Sat, 4 Jan 2014 15:29:12 +0000 (16:29 +0100)]
Evaluate X_Forwarded_Context only when X-Forwarded-Context is not set

10 years agoTweak info logging in GitblitReceivePack and open variable scope
James Moger [Mon, 9 Dec 2013 22:15:05 +0000 (17:15 -0500)]
Tweak info logging in GitblitReceivePack and open variable scope

Change-Id: I11624daca0694dc1996795b31432274467f09228

10 years agoNew canonical base url setting for repository urls and notifications
James Moger [Sat, 30 Nov 2013 01:06:09 +0000 (20:06 -0500)]
New canonical base url setting for repository urls and notifications

Change-Id: I86a1eb61c2351d1cf3f6b3becf00f2a36d5c8ed6

10 years agoSupport customizing the "from" display name for generated emails
James Moger [Tue, 26 Nov 2013 21:26:44 +0000 (16:26 -0500)]
Support customizing the "from" display name for generated emails

Change-Id: Ibad9e2b1c12a24ad9c671a0d96aafb3365daa529

10 years agoAllow overriding the page title in a page subclass
James Moger [Mon, 9 Dec 2013 22:12:02 +0000 (17:12 -0500)]
Allow overriding the page title in a page subclass

Change-Id: I4bf65f771ab1ba0b0da6838fb07007520dd4b5e1

10 years agoAdd FontAwesome dependency
James Moger [Mon, 9 Dec 2013 22:11:14 +0000 (17:11 -0500)]
Add FontAwesome dependency

Change-Id: I2dc302fea7a7cd21d4569e835ed987748ff8938b

10 years agoFix potential NPE on getting Markdown content
James Moger [Mon, 30 Dec 2013 18:52:26 +0000 (13:52 -0500)]
Fix potential NPE on getting Markdown content

Change-Id: Ie245da271ad1e7c90b1fab46832f9ecc7b5d297a

10 years agoDo not serialize the Logger instance
James Moger [Mon, 30 Dec 2013 18:51:53 +0000 (13:51 -0500)]
Do not serialize the Logger instance

Change-Id: Icbef95e95d05fa8d7dbdc750241252d291083820

10 years agoMerge pull request #129 from alexmob/testrevlog_failure
James Moger [Mon, 23 Dec 2013 15:58:52 +0000 (07:58 -0800)]
Merge pull request #129 from alexmob/testrevlog_failure

Fixed test.

10 years agoFixed test. 129/head
Alex Lewis [Mon, 23 Dec 2013 15:02:18 +0000 (15:02 +0000)]
Fixed test.

testRevlog was expecting 12 commits but getting 19. Looking at the
hello-world repository on github (on which the test executes) the 19
commit count appears to be correct.

10 years agoUpdate to JGit 3.2.0
James Moger [Fri, 20 Dec 2013 17:25:36 +0000 (12:25 -0500)]
Update to JGit 3.2.0

Change-Id: I77475dedfecbdc7ba3c065886a51b7a70b7ece48

10 years agoSync bugtraq support for spec v0.3
James Moger [Mon, 16 Dec 2013 13:59:58 +0000 (08:59 -0500)]
Sync bugtraq support for spec v0.3

Change-Id: I2c24d1201d4c36963a708b178e780c1828707269

10 years agoUse multiple mappings for the git servlet instead of multiple instances
James Moger [Fri, 13 Dec 2013 13:12:47 +0000 (08:12 -0500)]
Use multiple mappings for the git servlet instead of multiple instances

Change-Id: I47adeaac142ca7ea5199a5c4c2164ffd9cc68551

10 years agoFixed regression in /r/ security due to Servlet 2.5 rollback
James Moger [Thu, 12 Dec 2013 13:19:33 +0000 (08:19 -0500)]
Fixed regression in /r/ security due to Servlet 2.5 rollback

Change-Id: Id7e882cf48689ace8910718e0091207f8e8c6912

10 years agoRollback to Servlet 2.5
James Moger [Thu, 12 Dec 2013 04:12:12 +0000 (23:12 -0500)]
Rollback to Servlet 2.5

Combining Dagger and Servlet 3 works really well on stock Tomcat and
Jetty but it is a troublesome combination on JEE containers with their
own ideas on how to instantiate classes.  JBoss AS 7 has been
particularly nasty and it is just simpler to scaleback and stay with
Servlet 2.5 than it is to fight all permuations of containers.

Instead of using constructor DI, the servlets and filters each have an
inject(ObjectGaph) method which is automatically called during
initialization.  Each servlet or filter is responsible for retrieving
the required dependency from the graph.  The Dagger object graph is
created in the context listener and stuffed into the context as an
attribute.

Change-Id: Ib5714584fe73e2a6b9c6fda12af080a43356cbda

10 years agoShow mirror indicator on repository url panel
James Moger [Wed, 11 Dec 2013 19:52:45 +0000 (14:52 -0500)]
Show mirror indicator on repository url panel

Change-Id: I5eb66500cc1ed47f97d4935d42ea4c3ca4cdba14

10 years agoRemove obsolete pageName label
James Moger [Wed, 11 Dec 2013 19:42:15 +0000 (14:42 -0500)]
Remove obsolete pageName label

Change-Id: I2c5df563393de1aa69c3ea0f2cbd5e7b11e3f3dc

10 years agoFix NPE in getting a user's fork if repository caching is disabled
James Moger [Wed, 11 Dec 2013 16:01:37 +0000 (11:01 -0500)]
Fix NPE in getting a user's fork if repository caching is disabled

Change-Id: I10e90f54964daa32d954b47a8a6d54267b215222

10 years agoRemove deprecated methods from User and Team models
James Moger [Wed, 11 Dec 2013 15:58:36 +0000 (10:58 -0500)]
Remove deprecated methods from User and Team models

Change-Id: Ief3231270e55b8e4075de45c70ee24517b05b3fc

10 years agoFix NPE on usermodel account type checking
James Moger [Wed, 11 Dec 2013 15:29:25 +0000 (10:29 -0500)]
Fix NPE on usermodel account type checking

Change-Id: I964381a896e8c8bf8cce5f19a83fd7c33ef5c9bd

10 years agoCentralize cookie creation
James Moger [Wed, 11 Dec 2013 14:08:26 +0000 (09:08 -0500)]
Centralize cookie creation

Change-Id: I1a17416121764f33a8d05a88c80cece0c03ac41d

10 years agoFix external authentication failure
James Moger [Wed, 11 Dec 2013 13:08:37 +0000 (08:08 -0500)]
Fix external authentication failure

Change-Id: I0f415941a4bfd5e63d85c60613cea0c7d10cbb49

10 years agoAllow null authentication provider to manipulate users
James Moger [Tue, 10 Dec 2013 20:15:05 +0000 (15:15 -0500)]
Allow null authentication provider to manipulate users

Change-Id: I07405f2ed915b8f544ac58aca8367301a7d23e38

10 years agoDocumentation
James Moger [Tue, 10 Dec 2013 20:14:31 +0000 (15:14 -0500)]
Documentation

Change-Id: I94c6f1a31de8e067f3be788a2a77ec7b4c3a5ea8

10 years agoMerge pull request #128 from alexmob/issue-350
James Moger [Tue, 10 Dec 2013 20:06:19 +0000 (12:06 -0800)]
Merge pull request #128 from alexmob/issue-350

Fix chart failure when an apostrophe is in a user display name (issue-350)

10 years agoFix LDAP port and bind regressions due to change for issue-343
James Moger [Tue, 10 Dec 2013 19:38:10 +0000 (14:38 -0500)]
Fix LDAP port and bind regressions due to change for issue-343

Change-Id: I76ee581e067a30fb1656c5c62bdf743846f1a767

10 years agoissue-350: Fixes issue when an apostrophe is present in a User's name 128/head
Alex Lewis [Tue, 10 Dec 2013 16:40:10 +0000 (16:40 +0000)]
issue-350: Fixes issue when an apostrophe is present in a User's name

10 years agoRemove @Inject references because they confuse JEE containers
James Moger [Tue, 10 Dec 2013 16:04:46 +0000 (11:04 -0500)]
Remove @Inject references because they confuse JEE containers

Change-Id: I2e4a8e7424e7c62d1e89ca62a91423fdf3e36ac8

10 years agoSupport Markdown image links relative to the repository root (issue-324)
James Moger [Mon, 9 Dec 2013 21:37:20 +0000 (16:37 -0500)]
Support Markdown image links relative to the repository root (issue-324)

Change-Id: I8bad02b26a20636e4fc3d1f0ab0a16f0bacc7bf1

10 years agoSimplify blob loading code
James Moger [Tue, 3 Dec 2013 16:20:28 +0000 (11:20 -0500)]
Simplify blob loading code

Change-Id: I7f8ad8936e620dd06e88d85f6837248eea75a1ec

10 years agoSimplify bare repository bugtraq config loading
James Moger [Tue, 3 Dec 2013 16:19:23 +0000 (11:19 -0500)]
Simplify bare repository bugtraq config loading

Change-Id: I223df72df371ad6e5559f57da16167e56b1e66ad

10 years agoAdd support for per-repository bugtraq configuration
James Moger [Mon, 25 Nov 2013 18:02:20 +0000 (13:02 -0500)]
Add support for per-repository bugtraq configuration

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

10 years agoMerge "Bump bouncycastle version to 1.49"
James Moger [Mon, 2 Dec 2013 20:51:59 +0000 (15:51 -0500)]
Merge "Bump bouncycastle version to 1.49"

10 years agoBump bouncycastle version to 1.49
David Ostrovsky [Mon, 2 Dec 2013 21:26:03 +0000 (22:26 +0100)]
Bump bouncycastle version to 1.49

Change-Id: I0ea81f6c45748af3130721b8f8a7244eac9787fc

10 years agoAdd coloring modes to the blame page (issue-2, pull request #125)
Alex Lewis [Wed, 20 Nov 2013 17:32:27 +0000 (17:32 +0000)]
Add coloring modes to the blame page (issue-2, pull request #125)

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

10 years agoAdded filesystem write permission check (issue-345)
James Moger [Fri, 29 Nov 2013 17:10:53 +0000 (12:10 -0500)]
Added filesystem write permission check (issue-345)

Change-Id: I0a3aced3b8e9887347888c85e469b74fc70931ad

10 years agoInvalidate all cached repository data on "clear cache" (issue-346)
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

10 years agoUpdate to Lucene 4.6.0 (pull request #124)
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

10 years agoRefactor managers and authentication for federation
James Moger [Mon, 25 Nov 2013 15:07:46 +0000 (10:07 -0500)]
Refactor managers and authentication for federation

Change-Id: I5ff18b2768095fb14e7fbece2e756115829abbde

10 years agoChange IGitblit API to be more distinct from IUserService
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

10 years agoFlattened IGitblitManager, GitblitManager, and GitBlit classes
James Moger [Mon, 25 Nov 2013 06:31:53 +0000 (01:31 -0500)]
Flattened IGitblitManager, GitblitManager, and GitBlit classes

Change-Id: Id6deb27306e0034898673bf5d5d76a4ed012ced6

10 years agoServe repositories on /r in addition to /git
James Moger [Mon, 25 Nov 2013 05:12:31 +0000 (00:12 -0500)]
Serve repositories on /r in addition to /git

Change-Id: I3cd332a6509e434d901e1b262600f4c8ce57752b

10 years agoRevised committer verification to require email address
James Moger [Mon, 25 Nov 2013 05:00:41 +0000 (00:00 -0500)]
Revised committer verification to require email address

Change-Id: I5298c93e03099813f5713a4effd87913429aa3dc

10 years agoRefactor user services and separate authentication (issue-281)
James Moger [Mon, 25 Nov 2013 04:18:50 +0000 (23:18 -0500)]
Refactor user services and separate authentication (issue-281)

Change-Id: I336e005e02623fc5e11a4f8b4408bea5465a43fd

10 years agoUpdate unit tests for refactored architecture
James Moger [Mon, 25 Nov 2013 02:28:27 +0000 (21:28 -0500)]
Update unit tests for refactored architecture

Change-Id: I04639db977c515e5e1090ef8f0e1ce858820cb03

10 years agoRenamed Gitblit to GitBlit to not break existing Groovy hooks
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

10 years agoMoved servlets and services to separate packages
James Moger [Thu, 21 Nov 2013 23:32:21 +0000 (18:32 -0500)]
Moved servlets and services to separate packages

Change-Id: I5f0f50f4ae7d332e9f724a2e6f074fa71f646035

10 years agoExtract Federation, Gitblit and Services manager from GitBlit singleton
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

10 years agoExtract ProjectManager from the GitBlit singleton
James Moger [Thu, 21 Nov 2013 03:12:54 +0000 (22:12 -0500)]
Extract ProjectManager from the GitBlit singleton

Change-Id: I93493a473e3d6ea9b2523c1913d6dc323642344d

10 years agoExtract RepositoryManager from the GitBlit singleton
James Moger [Thu, 21 Nov 2013 02:53:34 +0000 (21:53 -0500)]
Extract RepositoryManager from the GitBlit singleton

Change-Id: I265cfaf25e4093ffa5f53f70d8eb1c20d731b7b3

10 years agoExtract SessionManager from GitBlit singleton
James Moger [Thu, 21 Nov 2013 02:19:34 +0000 (21:19 -0500)]
Extract SessionManager from GitBlit singleton

Change-Id: I85c9dfc1413f858dc28d731a0bf653828626e127

10 years agoExtract UserManager from GitBlit singleton
James Moger [Thu, 21 Nov 2013 01:52:11 +0000 (20:52 -0500)]
Extract UserManager from GitBlit singleton

Change-Id: I4885255ed63aa6c4e000c3e5501675440dca3958

10 years agoExtract NotificationManager from GitBlit singleton
James Moger [Wed, 20 Nov 2013 20:26:48 +0000 (15:26 -0500)]
Extract NotificationManager from GitBlit singleton

Change-Id: I40335a1a3966d6c7c55bcdcca5a6dbf2a91a65d7

10 years agoExtract RuntimeManager from GitBlit singleton
James Moger [Wed, 20 Nov 2013 20:26:24 +0000 (15:26 -0500)]
Extract RuntimeManager from GitBlit singleton

Change-Id: I5358389396f816da979ec18a31421c2d2b67b3d9

10 years agoCreate a Gitblit aggregate manager delegate for git upload/receive tasks
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

10 years agoEliminate static singleton calls from user services
James Moger [Tue, 19 Nov 2013 13:01:23 +0000 (08:01 -0500)]
Eliminate static singleton calls from user services

Change-Id: Ieec34483822f033b19d3ff3259d071c9bc091ed1

10 years agoUse Dagger to inject managers into all filters and servlets
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

10 years agoUpdate to Moxie 0.9.1
James Moger [Fri, 29 Nov 2013 15:58:14 +0000 (10:58 -0500)]
Update to Moxie 0.9.1

Change-Id: I8e0479b632af3b5ca809aacf955e4be96822ac2c

11 years agoInstantiate and register all servlets and filters from code (servlet 3)
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

11 years agoUpdate to Jetty 8.1.13 for Servlet 3
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

11 years agoDefine manager interfaces and update all of Gitblit to use managers
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

11 years agoEliminate nearly all direct GitBlit singleton references in Wicket
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

11 years agoRefactor access to home page class
James Moger [Sat, 16 Nov 2013 14:46:55 +0000 (09:46 -0500)]
Refactor access to home page class

Change-Id: Ice5706dc0659a44f54e5bf29ca66580e3be22418

11 years agoAutomatically disable the Git daemon on Express
James Moger [Sat, 16 Nov 2013 14:12:43 +0000 (09:12 -0500)]
Automatically disable the Git daemon on Express

Change-Id: Ide78d4c5db59a734060ce527a59450eed8433c1a

11 years agoAutomatically adjust web.forwardSlash on Tomcat containers
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

11 years agoImprove doc page formatting
James Moger [Mon, 25 Nov 2013 21:34:11 +0000 (16:34 -0500)]
Improve doc page formatting

Change-Id: Icd060aad6c5d72bd02bac8b4098d4b9fe418494b

11 years agoRemove elaborate HEAD determination
James Moger [Tue, 26 Nov 2013 21:05:06 +0000 (16:05 -0500)]
Remove elaborate HEAD determination

Change-Id: I0da34a1da0dc3dcb07a98629c2284184402cb23a

11 years agoRemove artifact setting from manager dialog
James Moger [Tue, 26 Nov 2013 20:58:15 +0000 (15:58 -0500)]
Remove artifact setting from manager dialog

Change-Id: I249a88994961c671a090cc33cd0eb8e506f6513e

11 years agoFix NPE when adding a permission without a registrant (issue-344)
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

11 years agoAdd pull request linking in changelog to generated documentation
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

11 years agoMerge pull request #122 from fzs/ldap-deref-alias
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

11 years agoBind LDAP connection after TLS initialization (issue-343)
Günter Dressel [Thu, 21 Nov 2013 17:13:18 +0000 (18:13 +0100)]
Bind LDAP connection after TLS initialization (issue-343)

11 years agoUpdate Moxie to 0.9.0
James Moger [Tue, 19 Nov 2013 21:12:30 +0000 (16:12 -0500)]
Update Moxie to 0.9.0

Change-Id: Ia4c9536282af6df3d9d462946dec1d8112459242

11 years agoMerge pull request #123 from kxyfyh/new_branch
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.

11 years ago修改中文显示问题及raw默认属性 123/head
kxyfyh [Mon, 18 Nov 2013 13:41:04 +0000 (21:41 +0800)]
修改中文显示问题及raw默认属性

11 years agoImprove pages servlet
James Moger [Fri, 15 Nov 2013 21:43:38 +0000 (16:43 -0500)]
Improve pages servlet

Change-Id: I5239808bc71441022b4b82e9d369866e9600bbfa

11 years agoCSS tweaks
James Moger [Thu, 14 Nov 2013 23:17:12 +0000 (18:17 -0500)]
CSS tweaks

Change-Id: I568ffc2b7dfb59e8a6748aaf3e16993bb2016384

11 years agoDisplay common repository documents as tabs on the docs page
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

11 years agoEliminate the "enumerate documentation" repository setting
James Moger [Thu, 14 Nov 2013 23:10:42 +0000 (18:10 -0500)]
Eliminate the "enumerate documentation" repository setting

Change-Id: I3a7c13b4c626f8b5ea2a63717dfe4249c19eebb4

11 years agoREADME files are not shown on the summary page by default
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

11 years agoTweak pull request ref display
James Moger [Thu, 14 Nov 2013 01:16:59 +0000 (20:16 -0500)]
Tweak pull request ref display

Change-Id: I07d05eb45e40c233facfa3674f9528d2bda4b5d5

11 years agoImplement mirror executor (issue-5)
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

11 years agoRemove docs indicator
James Moger [Wed, 13 Nov 2013 22:47:25 +0000 (17:47 -0500)]
Remove docs indicator

Change-Id: I422696130695cb18d4c1518b0d53265d7247f966

11 years agoAdd markup support for confluence, mediawiki, textile, trac, and twiki
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

11 years agoRefactor markup processing in preparation for supporting other formats
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

11 years agoMerge pull request #121 from lucamilanesio/master
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.

11 years agoAllows the home root link top-left anchor to be customised. 121/head
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.

11 years agoAdd setting to automatically redirect http requests to the https port
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

11 years agoStrip leading / for absolute wiki link paths
James Moger [Fri, 25 Oct 2013 22:12:09 +0000 (18:12 -0400)]
Strip leading / for absolute wiki link paths

Change-Id: Ic475d570a3438916cd952d317338df1756c8be5a

11 years agoDisable the SMARTYPANTS Markdown extension
James Moger [Fri, 25 Oct 2013 21:55:49 +0000 (17:55 -0400)]
Disable the SMARTYPANTS Markdown extension

Change-Id: I3b1c43186d88a30238213983dd702601eb3a6172

11 years agoDocumentation
James Moger [Fri, 25 Oct 2013 19:25:02 +0000 (15:25 -0400)]
Documentation

Change-Id: I717e13d1f852a4adf50b547f4769dd62da2384ce

11 years agoSet Link: <url>; rel="canonical" http header for SEO (issue-304)
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

11 years agoStrip Markdown extension from rendered [[WikiLink]] (issue-324)
James Moger [Fri, 25 Oct 2013 13:24:23 +0000 (09:24 -0400)]
Strip Markdown extension from rendered [[WikiLink]] (issue-324)

Change-Id: I2f695f5d5d72d8c08272981f756334b45398a1f7

11 years agoRespect web.forwardSlashCharacter in intra-Markdown links (issue-324)
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

11 years agoRemove emphasis coloring in markdown div
James Moger [Fri, 25 Oct 2013 12:40:45 +0000 (08:40 -0400)]
Remove emphasis coloring in markdown div

Change-Id: Ie81e94546868a4a16c302ed0b283ac86d3491276

11 years agoSupport for intra-Markdown linking using [[WikiLinks]] syntax (issue-324)
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