http://eclipse.org/jetty | http://eclipse.org/jetty | ||||
--------------------------------------------------------------------------- | |||||
Apache Lucene | |||||
--------------------------------------------------------------------------- | |||||
Apache Lucene, released under the | |||||
Apache Software License, Version 2.0. | |||||
http://lucene.apache.org | |||||
--------------------------------------------------------------------------- | |||||
Groovy | |||||
--------------------------------------------------------------------------- | |||||
Groovy, released under the | |||||
Apache Software License, Version 2.0. | |||||
http://groovy.codehaus.org | |||||
--------------------------------------------------------------------------- | --------------------------------------------------------------------------- | ||||
SLF4J | SLF4J | ||||
--------------------------------------------------------------------------- | --------------------------------------------------------------------------- | ||||
Creative Commons CC-BY License. | Creative Commons CC-BY License. | ||||
http://gnome.org | http://gnome.org | ||||
--------------------------------------------------------------------------- | |||||
GLYHPICONS | |||||
--------------------------------------------------------------------------- | |||||
GLPYHICONS, released under the | |||||
Creative Commons CC-BY License. | |||||
http://glyphicons.com | |||||
- Gitweb inspired web UI | - Gitweb inspired web UI | ||||
- Groovy pre- and post- push hook scripts, per-repository or globally for all repositories | - Groovy pre- and post- push hook scripts, per-repository or globally for all repositories | ||||
- Email push notifications *(via sendmail.groovy push script)* | - Email push notifications *(via sendmail.groovy push script)* | ||||
- Lucene indexing of specified repository branches | |||||
- Administrators may create, edit, rename, or delete repositories through the web UI or RPC interface | - Administrators may create, edit, rename, or delete repositories through the web UI or RPC interface | ||||
- Administrators may create, edit, rename, or delete users through the web UI or RPC interface | - Administrators may create, edit, rename, or delete users through the web UI or RPC interface | ||||
- Administrators may create, edit, rename, or delete teams through the web UI or RPC interface | - Administrators may create, edit, rename, or delete teams through the web UI or RPC interface |
Allow from all | Allow from all | ||||
</Proxy> | </Proxy> | ||||
# Turn on Proxy status reporting at /status | |||||
# This should be better protected than: Allow from all | |||||
ProxyStatus On | |||||
<Location /status> | |||||
SetHandler server-status | |||||
Order Deny,Allow | |||||
Allow from all | |||||
</Location> | |||||
# The proxy context path must match the Gitblit context path. | # The proxy context path must match the Gitblit context path. | ||||
# For Gitblit GO, see server.contextPath in gitblit.properties. | # For Gitblit GO, see server.contextPath in gitblit.properties. | ||||
**NOTE:** | **NOTE:** | ||||
Care should be taken when devising your notification scheme as it relates to any VIEW restricted repositories you might have. Setting a global mailing list and activating push notifications for a VIEW restricted repository may send unwanted emails. | Care should be taken when devising your notification scheme as it relates to any VIEW restricted repositories you might have. Setting a global mailing list and activating push notifications for a VIEW restricted repository may send unwanted emails. | ||||
## Lucene Search Integration | |||||
*SINCE 0.9.0* | |||||
Repositories may optionally be indexed using the Lucene search engine. Lucene indexing is an opt-in feature which means that no repositories are automatically indexed. Like anything else, this has benefits and drawbacks. | |||||
You may specify which branches should be indexed per-repository in the *Edit Repository* page. New/empty repositories can not pre-specify indexed branches; you can only specify indexed branches for a repository with commits. Indexes are built and incrementally updated on a 2 minute cycle so you may have to wait a few minutes before your index is built or before your latest pushes get indexed. | |||||
**NOTE:** | |||||
Repositories that specify indexed branches will redirect to the Lucene search page from the search box in the upper right corner of a repository page. Repositories that do not specify any indexed branches will use the traditional commit search. | |||||
The Lucene search offers several advantages over the traditional commit search: | |||||
1. multi-term searches | |||||
2. term-highlighted and syntax-highlighted fragment matches | |||||
3. multi-repository searches | |||||
## Client Setup and Configuration | ## Client Setup and Configuration | ||||
### Https with Self-Signed Certificates | ### Https with Self-Signed Certificates | ||||
You must tell Git/JGit not to verify the self-signed certificate in order to perform any remote Git operations. | You must tell Git/JGit not to verify the self-signed certificate in order to perform any remote Git operations. |
- [google-gson](http://code.google.com/google-gson) (Apache 2.0) | - [google-gson](http://code.google.com/google-gson) (Apache 2.0) | ||||
- [javamail](http://kenai.com/projects/javamail) (CDDL-1.0, BSD, GPL-2.0, GNU-Classpath) | - [javamail](http://kenai.com/projects/javamail) (CDDL-1.0, BSD, GPL-2.0, GNU-Classpath) | ||||
- [Groovy](http://groovy.codehaus.org) (Apache 2.0) | - [Groovy](http://groovy.codehaus.org) (Apache 2.0) | ||||
- [Lucene](http://lucene.apache.org) (Apache 2.0) | |||||
### Other Build Dependencies | ### Other Build Dependencies | ||||
- [Fancybox image viewer](http://fancybox.net) (MIT and GPL dual-licensed) | - [Fancybox image viewer](http://fancybox.net) (MIT and GPL dual-licensed) |
#### changes | #### changes | ||||
- Block pushes to a repository with a working copy (i.e. non-bare repository) (issue-49) | |||||
- Reject pushes to a repository with a working copy (i.e. non-bare repository) (issue-49) | |||||
- Changed default web.datetimestampLongFormat from *EEEE, MMMM d, yyyy h:mm a z* to *EEEE, MMMM d, yyyy HH:mm Z* (issue 50) | - Changed default web.datetimestampLongFormat from *EEEE, MMMM d, yyyy h:mm a z* to *EEEE, MMMM d, yyyy HH:mm Z* (issue 50) | ||||
- Expanded commit age coloring from 2 days to 30 days (issue 57) | - Expanded commit age coloring from 2 days to 30 days (issue 57) | ||||
#### additions | #### additions | ||||
- Added optional Lucene branch indexing (issue 16) | |||||
Repository branches may be optionally indexed by Lucene for improved searching. To use this feature you have to specify which branches to index within the *Edit Repository* page. Indexes are automatically built and incrementally updated on a 2 minute cycle. (i.e you will have to wait 2-3 minutes after specifying a branch to be indexed before the index will be built.)<br/><br/> | |||||
If a repository has Lucene-indexed branches the *search* form on the repository pages will redirect to the root-level Lucene search page. If the repository does not specify any indexed branches then the traditional repository commit search is used. | |||||
- Allow specifying timezone to use for Gitblit which is independent of both the JVM and the system timezone (issue 54) | - Allow specifying timezone to use for Gitblit which is independent of both the JVM and the system timezone (issue 54) | ||||
**New:** *web.timezone =* | **New:** *web.timezone =* | ||||
- Added a built-in AJP connector for integrating Gitblit GO into an Apache mod_proxy setup (issue 59) | - Added a built-in AJP connector for integrating Gitblit GO into an Apache mod_proxy setup (issue 59) |
border: 1px solid #ddd; | border: 1px solid #ddd; | ||||
border-bottom: 0; | border-bottom: 0; | ||||
border-radius: 3px 3px 0 0; | border-radius: 3px 3px 0 0; | ||||
font-weight: bold; | |||||
} | } | ||||
div.commitHeader { | div.commitHeader { |
// The build script extracts this exact line so be careful editing it | // The build script extracts this exact line so be careful editing it | ||||
// and only use A-Z a-z 0-9 .-_ in the string. | // and only use A-Z a-z 0-9 .-_ in the string. | ||||
public static final String JGIT_VERSION = "JGit 1.2.0 (201112221803-r)"; | |||||
public static final String JGIT_VERSION = "JGit 1.3.0 (201202151440-r)"; | |||||
public static final String ADMIN_ROLE = "#admin"; | public static final String ADMIN_ROLE = "#admin"; | ||||