| | |
| | | |
| | | // setup the standard gitweb-ish urls |
| | | mount("/repositories", RepositoriesPage.class); |
| | | mount("/overview", OverviewPage.class, "r", "h"); |
| | | mount("/overview", OverviewPage.class, "r"); |
| | | mount("/summary", SummaryPage.class, "r"); |
| | | mount("/reflog", ReflogPage.class, "r", "h"); |
| | | mount("/reflog", ReflogPage.class, "r"); |
| | | mount("/commits", LogPage.class, "r", "h"); |
| | | mount("/log", LogPage.class, "r", "h"); |
| | | mount("/tags", TagsPage.class, "r"); |
| | |
| | | mount("/mytickets", MyTicketsPage.class, "r", "h"); |
| | | |
| | | // setup the markup document urls |
| | | mount("/docs", DocsPage.class, "r"); |
| | | mount("/docs", DocsPage.class, "r", "h"); |
| | | mount("/doc", DocPage.class, "r", "h", "f"); |
| | | |
| | | // federation urls |
| | |
| | | if (!settings.getBoolean(Keys.web.mountParameters, true)) { |
| | | parameters = new String[] {}; |
| | | } |
| | | mount(new GitblitParamUrlCodingStrategy(settings, location, clazz, parameters)); |
| | | mount(new GitblitParamUrlCodingStrategy(settings, xssFilter, location, clazz, parameters)); |
| | | |
| | | // map the mount point to the cache control definition |
| | | if (clazz.isAnnotationPresent(CacheControl.class)) { |