summaryrefslogtreecommitdiffstats
path: root/src/main/java/WEB-INF
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-05-02 21:44:07 -0400
committerJames Moger <james.moger@gitblit.com>2013-05-02 21:44:18 -0400
commitb7502e5c0666154c7378469fd769b3aeb242e949 (patch)
treeb364c36e8d196b4d46ce989ac9776f000e106db9 /src/main/java/WEB-INF
parent264ba908941414ea5e750524b2472f7ad0670563 (diff)
downloadgitblit-b7502e5c0666154c7378469fd769b3aeb242e949.tar.gz
gitblit-b7502e5c0666154c7378469fd769b3aeb242e949.zip
Added SparkleShare invite url panel
This will probably be merged into a refined, single multi-protocol url panel.
Diffstat (limited to 'src/main/java/WEB-INF')
-rw-r--r--src/main/java/WEB-INF/web.xml18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/main/java/WEB-INF/web.xml b/src/main/java/WEB-INF/web.xml
index 5ee5ed23..573305c4 100644
--- a/src/main/java/WEB-INF/web.xml
+++ b/src/main/java/WEB-INF/web.xml
@@ -53,7 +53,21 @@
<servlet-name>GitServlet</servlet-name>
<url-pattern>/git/*</url-pattern>
</servlet-mapping>
+
+ <!-- SparkleShare Invite Servlet
+ <url-pattern> MUST match:
+ * com.gitblit.Constants.SPARKLESHARE_INVITE_PATH
+ * Wicket Filter ignorePaths parameter -->
+ <servlet>
+ <servlet-name>SparkleShareInviteServlet</servlet-name>
+ <servlet-class>com.gitblit.SparkleShareInviteServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>SparkleShareInviteServlet</servlet-name>
+ <url-pattern>/sparkleshare/*</url-pattern>
+ </servlet-mapping>
+
<!-- Syndication Servlet
<url-pattern> MUST match:
@@ -244,6 +258,8 @@
* GitFilter <url-pattern>
* GitServlet <url-pattern>
* com.gitblit.Constants.GIT_PATH
+ * SparkleshareInviteServlet <url-pattern>
+ * com.gitblit.Constants.SPARKLESHARE_INVITE_PATH
* Zipfilter <url-pattern>
* ZipServlet <url-pattern>
* com.gitblit.Constants.ZIP_PATH
@@ -253,7 +269,7 @@
* PagesFilter <url-pattern>
* PagesServlet <url-pattern>
* com.gitblit.Constants.PAGES_PATH -->
- <param-value>git/,feed/,zip/,federation/,rpc/,pages/,robots.txt</param-value>
+ <param-value>git/,feed/,zip/,federation/,rpc/,pages/,robots.txt,sparkleshare/</param-value>
</init-param>
</filter>
<filter-mapping>