Commit Graph

644 Commits

Author SHA1 Message Date
Eric Lippmann b15b04257b Add tab for new resource
refs #5543
2015-10-01 00:10:53 +02:00
Eric Lippmann c2b707697c Add tab for update resource
refs #5543
2015-10-01 00:09:33 +02:00
Eric Lippmann 2bc7e4a5ff Add tab for remove resource
refs #5543
2015-10-01 00:06:37 +02:00
Eric Lippmann 231c63b703 Merge branch 'master' into feature/dope-layout-5543 2015-09-30 18:52:52 +02:00
Johannes Meyer c2ac841871 Make the about page pretty
refs #9247
2015-09-30 17:07:55 +02:00
Johannes Meyer 142851ede7 Merge branch 'master' into feature/show-icinga-web-2-s-version-in-the-frontend-9247 2015-09-30 15:54:22 +02:00
Johannes Meyer 415690134b Add tab extension to add the current container url as new menu entry 2015-09-30 14:47:42 +02:00
Johannes Meyer ddeed579af NavigationController: Fix incorrect sort label
refs #10246
2015-09-30 12:28:40 +02:00
Johannes Meyer 6b31898566 NavigationController: Adjust how to load navigation items
refs #10246
2015-09-30 12:22:48 +02:00
Johannes Meyer befbc6cd6a Config: Add static method navigation()
refs #10246
2015-09-30 11:30:38 +02:00
Johannes Meyer 95d1ce371c Navigation: Add static method getItemTypeConfiguration()
refs #10246
2015-09-30 11:18:15 +02:00
Johannes Meyer 7db05fa043 NavigationController: Consider module types more important in method getConfigPath()
refs #10246
2015-09-30 09:47:26 +02:00
Johannes Meyer 64ba37ad04 NavigationController: Fix add action
refs #10246
2015-09-29 17:23:27 +02:00
Johannes Meyer d2d6815c92 Revert "Introduce controller DashboardsController"
This reverts commit 0d0480afea.
2015-09-29 17:17:47 +02:00
Johannes Meyer dcb4f7f52d Revert "DashboardsController: Add index action"
This reverts commit 2be8835f06.
2015-09-29 17:17:41 +02:00
Johannes Meyer 1c44a3306b NavigationController: Add new parameters to all view script's links
refs #10246
2015-09-29 17:15:57 +02:00
Johannes Meyer 4b76115399 NavigationController: Require parameter type in action edit
refs #10246
2015-09-29 17:15:03 +02:00
Johannes Meyer eb970b1467 NavigationController: Require paramter type in action remove
refs #10246
2015-09-29 17:14:17 +02:00
Johannes Meyer 8d0e57c95e NavigationController: Require parameter type and owner in action unshare
refs #10246
2015-09-29 17:13:45 +02:00
Johannes Meyer b4bcfa4e08 NavigationController: Register navigation item types differently
refs #10246
2015-09-29 17:12:57 +02:00
Johannes Meyer 4921b1a62e NavigationController: Add method getItemLabel()
refs #10246
2015-09-29 17:09:32 +02:00
Johannes Meyer 565704141c NavigationController: Add method getConfigPath()
refs #10246
2015-09-29 17:08:53 +02:00
Johannes Meyer 2be8835f06 DashboardsController: Add index action 2015-09-29 13:45:12 +02:00
Johannes Meyer 0d0480afea Introduce controller DashboardsController 2015-09-29 13:43:56 +02:00
Eric Lippmann 27e1611831 Navigation: Change Config/Application tabs
refs #5543
2015-09-29 12:01:29 +02:00
Johannes Meyer 2f9bd78721 Merge branch 'master' into bugfix/Prettify-page-layout-when-accessing-a-non-existent-route-while-not-being-authenticated-10009 2015-09-28 09:55:07 +02:00
Alexander A. Klimov 8e29fe92a5 Use a login-like layout for error messages displayed to non-authenticated users
refs #10009
2015-09-25 17:40:00 +02:00
Johannes Meyer 086579b254 NavigationController: Rerender the layout when removing menu entries
refs #5600
2015-09-25 10:51:44 +02:00
Johannes Meyer 2952eaefcd NavigationController: Rerender the layout when unsharing menu entries
refs #5600
2015-09-25 10:51:16 +02:00
Alexander A. Klimov 4a85e112d2 Don't link to loaded modules in the about page if the user doesn't have the required permission
refs #9381
2015-09-25 10:45:17 +02:00
Alexander A. Klimov f64db890d2 Show loaded modules in the about page
refs #9381
2015-09-24 19:23:49 +02:00
Johannes Meyer b7ef951e57 NavigationController: Rerender the layout when editing a menu entry
refs #5600
2015-09-24 14:05:57 +02:00
Johannes Meyer c4df7e05be NavigationController: Rerender the layout when adding a menu entry
refs #5600
2015-09-24 14:05:28 +02:00
Johannes Meyer 4d303e7121 NavigationController: Redirect to the shared overview if its the referrer..
..when editing a navigation item.

refs #5600
2015-09-23 14:21:04 +02:00
Alexander A. Klimov cd319f8c7d Let the error page look like the login page when a non-authenticated user requests a non-existent page
refs #10009
2015-09-22 18:25:57 +02:00
Johannes Meyer 57e08e92d4 Do not mark relative urls as absolute
refs #5600
refs #10169
2015-09-22 14:12:08 +02:00
Johannes Meyer 5a494b3088 NavigationController: Show module item types only if accessible by the user
refs #5600
2015-09-21 08:59:36 +02:00
Johannes Meyer 84dfbf0b08 user navigation overview: Provide "owner" as sort column
This is rather a quick&dirty solution than anything proper.. But it basically
works and the only drawback is that ASC or DESC is dependent from the
owner's name...

refs #5600
2015-09-18 15:51:00 +02:00
Johannes Meyer bef5eeda93 NavigationController: Fix action unshare()
refs #5600
2015-09-18 13:24:44 +02:00
Johannes Meyer b39eddf69d navigation overviews: Use "type" as default sort column instead of "name"
As long as we're not splitting the items by type in different views, this
sort column is probably more commonly used..

refs #5600
2015-09-18 08:58:57 +02:00
Johannes Meyer 2cf52df0a8 user navigation overview: Add sort control
refs #5600
2015-09-18 08:53:05 +02:00
Johannes Meyer 6e2d7dca9b shared navigation overview: Add sort control
refs #5600
2015-09-17 15:17:46 +02:00
Johannes Meyer 99502a77e0 shared navigation overview: Display the type of a navigation item
refs #5600
2015-09-16 15:37:56 +02:00
Johannes Meyer 47257d74ff user navigation overview: Display the type of a navigation item
refs #5600
2015-09-16 15:09:56 +02:00
Johannes Meyer 4c1dd2ed36 NavigationController: Provide available item types externally
refs #5600
2015-09-16 15:05:43 +02:00
Johannes Meyer ac3ef393b5 NavigationConfigForm: Write both configurations in a single "operation"
refs #5600
2015-09-16 10:58:57 +02:00
Johannes Meyer d4c0f10b47 NavigationConfigForm: Let the form decide which configuration to manage
refs #5600
2015-09-15 15:57:03 +02:00
Johannes Meyer 1d6ad6df21 Merge branch 'master' into feature/custom-menu-items-5600
Conflicts:
	modules/monitoring/configuration.php
2015-09-15 13:31:30 +02:00
Johannes Meyer 9dbbc51721 NavigationController: Allow the owner to edit/remove a shared item
refs #5600
2015-09-07 16:27:27 +02:00
Johannes Meyer 3dc26e2dbe NavigationController: Implement removeAction()
refs #5600
2015-09-07 16:02:12 +02:00
Johannes Meyer bd32f09407 NavigationController: Implement addAction()
refs #5600
2015-09-07 15:50:26 +02:00
Johannes Meyer 55a961b411 NavigationController: Implement editAction()
refs #5600
2015-09-07 15:43:06 +02:00
Johannes Meyer 6f7059ef9a NavigationController: Implement unshareAction()
refs #5600
2015-09-07 15:21:21 +02:00
Johannes Meyer 04a14a46b6 NavigationController: Implement sharedAction()
refs #5600
2015-09-07 15:04:31 +02:00
Johannes Meyer 8e6fc1580e NavigationController: Implement indexAction()
refs #5600
2015-09-07 15:01:55 +02:00
Johannes Meyer b1e3519353 Add class NavigationController (WIP)
refs #5600
2015-09-07 13:55:19 +02:00
Eric Lippmann 26d1a04e48 api: Use JsonResponse in the ErrorController
refs #9606
2015-09-07 13:37:00 +02:00
Eric Lippmann 0f8c28d749 Merge branch 'master' into feature/api-9606 2015-09-07 11:33:44 +02:00
Johannes Meyer 294f9022f2 Use the new navigation to render the menu
refs #5600
2015-09-04 10:53:01 +02:00
Eric Lippmann e5e64ab654 Static content: Fix check whether an image exists 2015-08-28 13:14:33 +02:00
Eric Lippmann 4070f6c75b Merge branch 'master' into feature/namespaced-controllers-5786 2015-08-27 15:05:44 +02:00
Eric Lippmann 1da39f6e1e Add missing alias to the UsergroupbackendController after namespacing
refs #5786
2015-08-27 14:18:32 +02:00
Eric Lippmann 7550f48a71 Namespace the UsergroupbackendController 2015-08-27 14:18:17 +02:00
Eric Lippmann f1a8cef5c0 Optimize imports in the UsergroupbackendController 2015-08-27 14:17:50 +02:00
Eric Lippmann aae4e5c48d Add missing alias to the UserController after namespacing
refs #5786
2015-08-27 14:17:19 +02:00
Eric Lippmann 2ed3af8f11 Namespace the UserController
refs #5786
2015-08-27 14:16:17 +02:00
Eric Lippmann 142264b784 Optimize imports in the UserController 2015-08-27 14:16:02 +02:00
Eric Lippmann a8e6daa678 Fix some coding standard violations in the StaticController 2015-08-27 14:15:32 +02:00
Eric Lippmann 22b628c084 Fix StaticController::setCacheHeader() not using $maxAge 2015-08-27 14:13:03 +02:00
Eric Lippmann 3dd58a6ca7 Don't use absolute alias in the StaticController 2015-08-27 14:10:30 +02:00
Eric Lippmann 274c0eacef Add PHPDoc to StaticController::stylesheetAction() 2015-08-27 14:09:54 +02:00
Eric Lippmann d638868524 Namespace the StaticController
refs #5786
2015-08-27 14:08:12 +02:00
Eric Lippmann 7e4c602a60 Don't throw exceptions manually in the StaticController 2015-08-27 14:07:46 +02:00
Eric Lippmann 672c679064 Let StaticController extend Controller instead of ActionController 2015-08-27 14:07:00 +02:00
Eric Lippmann fe3c7ec52b Namespace the SearchController
refs #5786
2015-08-27 14:05:32 +02:00
Eric Lippmann 3e6a55bc07 Fix array indent in RoleController::createListTabs() 2015-08-27 14:05:05 +02:00
Eric Lippmann 5c883d902e Don't throw exceptions manually in the RoleController 2015-08-27 14:03:49 +02:00
Eric Lippmann fd8b5ec510 Use UrlParams::getRequired() in RoleController::removeAction() 2015-08-27 13:46:28 +02:00
Eric Lippmann 853d4fd534 Use UrlParams::getRequired() in RoleController::editAction() 2015-08-27 13:44:49 +02:00
Eric Lippmann 6375d1d427 Add missing aliases to the RoleController after namespacing
refs #5786
2015-08-27 13:44:00 +02:00
Eric Lippmann f09c27aa51 Namespace the RoleController
refs #5786
2015-08-27 13:40:44 +02:00
Eric Lippmann 652bdb6e3e Add RoleController renaming TODO
refs #10015
2015-08-27 13:40:06 +02:00
Eric Lippmann 02abe35faa Add PreferenceController renaming TODO
refs #10014
2015-08-27 13:38:19 +02:00
Eric Lippmann 98130ff304 Namespace the PreferenceController 2015-08-27 13:36:33 +02:00
Eric Lippmann 28815a936a Optimize imports in the PreferenceController 2015-08-27 13:35:32 +02:00
Eric Lippmann c974b02d3a Fix PHPDoc of ListController 2015-08-27 13:35:06 +02:00
Eric Lippmann 5f4c104397 Namespace the ListController
refs #5786
2015-08-27 13:34:37 +02:00
Eric Lippmann 01bbce8e64 Namespace the LayoutController 2015-08-27 13:33:36 +02:00
Eric Lippmann 0e7b6d7f44 Optimize imports in the LayoutController 2015-08-27 13:33:17 +02:00
Eric Lippmann af8949dde2 Add TODO in the IndexController: Avoid landing page redirects
refs #9656
2015-08-27 13:32:35 +02:00
Eric Lippmann 46333f82e9 Remove unused alias in the IndexController 2015-08-27 13:31:50 +02:00
Eric Lippmann 7231510080 Namespace the IndexController 2015-08-27 13:31:36 +02:00
Eric Lippmann 43e7bf97ce Optimize imports in the ConfigController 2015-08-27 13:30:43 +02:00
Eric Lippmann 896a01fdf6 Add missing alias in the GroupController after namespacing
refs #5786
2015-08-27 13:29:36 +02:00
Eric Lippmann ce65c25a72 Optimize import in the GroupController 2015-08-27 13:29:06 +02:00
Eric Lippmann cd9c445b82 Namespace the GroupController
refs #5786
2015-08-27 13:28:00 +02:00
Eric Lippmann def92088b2 Remove the FilterController 2015-08-27 13:27:22 +02:00
Eric Lippmann 1419c8a601 Add missing alias in the ErrorController after namespacing
refs #5786
2015-08-27 13:25:46 +02:00
Eric Lippmann 3809ca1b43 Namespace the ErrorController
refs #5786
2015-08-27 13:25:23 +02:00
Eric Lippmann 204e6fe940 Remove unused alias in the ConfigController 2015-08-27 13:23:48 +02:00