From 6ef8d7cd37dcf8b742f23d461266ea7e94f0312d Mon Sep 17 00:00:00 2001 From: James Moger Date: Sun, 19 May 2013 19:41:32 -0400 Subject: Overhauled navigation and flattened look --- src/main/java/com/gitblit/wicket/AuthorizationStrategy.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/main/java/com/gitblit/wicket/AuthorizationStrategy.java') diff --git a/src/main/java/com/gitblit/wicket/AuthorizationStrategy.java b/src/main/java/com/gitblit/wicket/AuthorizationStrategy.java index 765d8608..e36a50e8 100644 --- a/src/main/java/com/gitblit/wicket/AuthorizationStrategy.java +++ b/src/main/java/com/gitblit/wicket/AuthorizationStrategy.java @@ -24,7 +24,6 @@ import com.gitblit.GitBlit; import com.gitblit.Keys; import com.gitblit.models.UserModel; import com.gitblit.wicket.pages.BasePage; -import com.gitblit.wicket.pages.RepositoriesPage; public class AuthorizationStrategy extends AbstractPageAuthorizationStrategy implements IUnauthorizedComponentInstantiationListener { @@ -35,8 +34,8 @@ public class AuthorizationStrategy extends AbstractPageAuthorizationStrategy imp @SuppressWarnings({ "unchecked", "rawtypes" }) @Override protected boolean isPageAuthorized(Class pageClass) { - if (RepositoriesPage.class.equals(pageClass)) { - // allow all requests to get to the RepositoriesPage with its inline + if (GitBlitWebApp.HOME_PAGE_CLASS.equals(pageClass)) { + // allow all requests to get to the HomePage with its inline // authentication form return true; } @@ -80,7 +79,7 @@ public class AuthorizationStrategy extends AbstractPageAuthorizationStrategy imp public void onUnauthorizedInstantiation(Component component) { if (component instanceof BasePage) { - throw new RestartResponseException(RepositoriesPage.class); + throw new RestartResponseException(GitBlitWebApp.HOME_PAGE_CLASS); } } } -- cgit v1.2.3 d-command-to-cleanup-preview'>add-command-to-cleanup-preview Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/dist
Commit message (Expand)AuthorAgeFilesLines
* chore(assets): Recompile assetsnextcloud-command2023-10-123-3/+4
* chore(assets): Recompile assetsnextcloud-command2023-10-104-6/+6
* Fixed mixed translations in sharing detailsfenn-cs2023-10-102-3/+3
* enh(a11y): Add label to share note textboxChristopher Ng2023-10-096-9/+9
* Merge pull request #40747 from nextcloud/manual/backport/stable27/40629F. E Noel Nfebe2023-10-092-3/+3
|\
| * Correct check for enabled expiration datefenn-cs2023-10-096-9/+9
| * Updates to sharing flowfenn-cs2023-10-096-9/+9
* | Merge pull request #40718 from nextcloud/backport/40428/stable27Arthur Schiwon2023-10-094-6/+6
|\ \
| * | chore: compile assetsChristopher Ng2023-09-294-6/+6
* | | Merge pull request #40757 from nextcloud/encode-uri-trashbin-delete-2Arthur Schiwon2023-10-092-3/+3
|\ \ \ | |_|/ |/| |
| * | fix: encode uri for trashbin deleteDaniel Kesselberg2023-10-032-3/+3
| |/
* / fix(files): Show correct quota size (file size base 2)Ferdinand Thiessen2023-10-062-3/+3
|/
* Merge pull request #40642 from nextcloud/fix/noid/stable27-encode-uri-trashbi...Daniel2023-09-282-3/+3
|\
| * fix: encode uri for trashbin deleteDaniel Kesselberg2023-09-262-3/+3
* | chore(assets): Recompile assetsnextcloud-command2023-09-262-3/+3
* | chore: Compile assetsFerdinand Thiessen2023-09-244-6/+6
|/
* chore: Update `@nextcloud/dialogs` to 4.2.1Ferdinand Thiessen2023-09-234-6/+6
* Auto set password for new email sharesfenn-cs2023-09-216-9/+9
* Consider share type for enforced share expiry datesfenn-cs2023-09-202-3/+3
* Merge pull request #40520 from nextcloud/fix/guest-pages-contentinfo-stable27Richard Steinmetz2023-09-202-3/+3
|\
| * fix: content info footer on guest pagesRichard Steinmetz2023-09-202-3/+3
* | Properly align all sharing-entry typesfenn-cs2023-09-202-3/+3
|/
* Consider link shares in removeShare method in SharingTabfenn-cs2023-09-182-3/+3
* Correctly switch/revert from custom to bundled permsfenn-cs2023-09-152-3/+3
* Bump @nc/dialogs to 4.2.0Louis Chemineau2023-09-144-6/+6
* Fix invite guest for new sharing flowfenn-cs2023-09-142-3/+3
* Hide additional content when share details is openLouis Chemineau2023-09-142-3/+3
* Ellipsize user status in sharing entryfenn-cs2023-09-142-3/+3
* Display user status by the side in sharing flowfenn-cs2023-09-14