James Moger
2013-09-06 5dd8057b49803a7c1b84112418dcfca7b256fce0
Remove incomplete and deprecated TicGit feature

Change-Id: Idb7de272589e086da9b2b3a241dcd082c1c8f27b
6 files deleted
6 files modified
479 ■■■■■ changed files
src/main/java/com/gitblit/utils/TicgitUtils.java 148 ●●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/wicket/GitBlitWebApp.java 6 ●●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/wicket/pages/RepositoryPage.java 4 ●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/wicket/pages/TicketPage.html 39 ●●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/wicket/pages/TicketPage.java 86 ●●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/wicket/pages/TicketsPage.html 24 ●●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/wicket/pages/TicketsPage.java 72 ●●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/wicket/panels/ProjectRepositoryPanel.html 3 ●●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/wicket/panels/ProjectRepositoryPanel.java 2 ●●●●● patch | view | raw | blame | history
src/site/features.mkd 5 ●●●●● patch | view | raw | blame | history
src/test/java/com/gitblit/tests/GitBlitSuite.java 3 ●●●● patch | view | raw | blame | history
src/test/java/com/gitblit/tests/TicgitUtilsTest.java 87 ●●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/utils/TicgitUtils.java
File was deleted
src/main/java/com/gitblit/wicket/GitBlitWebApp.java
@@ -63,8 +63,6 @@
import com.gitblit.wicket.pages.SummaryPage;
import com.gitblit.wicket.pages.TagPage;
import com.gitblit.wicket.pages.TagsPage;
import com.gitblit.wicket.pages.TicketPage;
import com.gitblit.wicket.pages.TicketsPage;
import com.gitblit.wicket.pages.TreePage;
import com.gitblit.wicket.pages.UserPage;
import com.gitblit.wicket.pages.UsersPage;
@@ -122,10 +120,6 @@
        mount("/blame", BlamePage.class, "r", "h", "f");
        mount("/users", UsersPage.class);
        mount("/logout", LogoutPage.class);
        // setup ticket urls
        mount("/tickets", TicketsPage.class, "r");
        mount("/ticket", TicketPage.class, "r", "f");
        // setup the markdown urls
        mount("/docs", DocsPage.class, "r");
src/main/java/com/gitblit/wicket/pages/RepositoryPage.java
@@ -63,7 +63,6 @@
import com.gitblit.utils.JGitUtils;
import com.gitblit.utils.RefLogUtils;
import com.gitblit.utils.StringUtils;
import com.gitblit.utils.TicgitUtils;
import com.gitblit.wicket.CacheControl;
import com.gitblit.wicket.GitBlitWebSession;
import com.gitblit.wicket.PageRegistration;
@@ -205,9 +204,6 @@
        // conditional links
        // per-repository extra page links
        if (model.useTickets && TicgitUtils.getTicketsBranch(r) != null) {
            pages.put("tickets", new PageRegistration("gb.tickets", TicketsPage.class, params, true));
        }
        if (model.showReadme || model.useDocs) {
            pages.put("docs", new PageRegistration("gb.docs", DocsPage.class, params, true));
        }
src/main/java/com/gitblit/wicket/pages/TicketPage.html
File was deleted
src/main/java/com/gitblit/wicket/pages/TicketPage.java
File was deleted
src/main/java/com/gitblit/wicket/pages/TicketsPage.html
File was deleted
src/main/java/com/gitblit/wicket/pages/TicketsPage.java
File was deleted
src/main/java/com/gitblit/wicket/panels/ProjectRepositoryPanel.html
@@ -42,9 +42,6 @@
                    <img class="inlineIcon" wicket:id="frozenIcon" />
                    <img class="inlineIcon" wicket:id="federatedIcon" />
                                
                    <a style="text-decoration: none;" wicket:id="tickets" wicket:message="title:gb.tickets">
                        <img style="border:0px;vertical-align:middle;" src="bug_16x16.png"></img>
                    </a>
                    <a style="text-decoration: none;" wicket:id="docs" wicket:message="title:gb.docs">
                        <img style="border:0px;vertical-align:middle;" src="book_16x16.png"></img>
                    </a>
src/main/java/com/gitblit/wicket/panels/ProjectRepositoryPanel.java
@@ -41,7 +41,6 @@
import com.gitblit.wicket.pages.EditRepositoryPage;
import com.gitblit.wicket.pages.LogPage;
import com.gitblit.wicket.pages.SummaryPage;
import com.gitblit.wicket.pages.TicketsPage;
import com.gitblit.wicket.pages.TreePage;
public class ProjectRepositoryPanel extends BasePanel {
@@ -89,7 +88,6 @@
            add(WicketUtils.newClearPixel("sparkleshareIcon").setVisible(false));
        }
        add(new BookmarkablePageLink<Void>("tickets", TicketsPage.class, pp).setVisible(entry.useTickets));
        add(new BookmarkablePageLink<Void>("docs", DocsPage.class, pp).setVisible(entry.useDocs));
        if (entry.isFrozen) {
src/site/features.mkd
@@ -55,9 +55,8 @@
- Syntax highlighting for popular source code types
- Customizable regular expression substitution for commit messages (i.e. bug or code review link integration)
- Single text file for users configuration
- Optional utility pages
    - ![docs](book_16x16.png) Docs page which enumerates all Markdown files within a repository
    - ![tickets](bug_16x16.png) **readonly and deprecated** Ticgit ticket pages *(based on last MIT release bf57b032 2009-01-27)*
- Optional Docs page which enumerates all Markdown files within a repository
2009-01-27)*
- Translations
    - English
    - Japanese
src/test/java/com/gitblit/tests/GitBlitSuite.java
@@ -57,7 +57,7 @@
        StringUtilsTest.class, Base64Test.class, JsonUtilsTest.class, ByteFormatTest.class,
        ObjectCacheTest.class, PermissionsTest.class, UserServiceTest.class, LdapUserServiceTest.class,
        MarkdownUtilsTest.class, JGitUtilsTest.class, SyndicationUtilsTest.class,
        DiffUtilsTest.class, MetricUtilsTest.class, TicgitUtilsTest.class, X509UtilsTest.class,
        DiffUtilsTest.class, MetricUtilsTest.class, X509UtilsTest.class,
        GitBlitTest.class, FederationTests.class, RpcTests.class, GitServletTest.class, GitDaemonTest.class,
        GroovyScriptTest.class, LuceneExecutorTest.class, IssuesTest.class, RepositoryModelTest.class,
        FanoutServiceTest.class, Issue0259Test.class, Issue0271Test.class, HtpasswdUserServiceTest.class,
@@ -123,6 +123,7 @@
        
        // Start a Gitblit instance
        Executors.newSingleThreadExecutor().execute(new Runnable() {
            @Override
            public void run() {
                GitBlitServer.main("--httpPort", "" + port, "--httpsPort", "0", "--shutdownPort",
                        "" + shutdownPort, "--gitPort", "" + gitPort, "--repositoriesFolder",
src/test/java/com/gitblit/tests/TicgitUtilsTest.java
File was deleted