Commit Graph

153 Commits

Author SHA1 Message Date
Johannes Meyer a72d24a672 config/module(dis|en)able: Explicitly reload the window
Redirecting to `left#!right` by HTTP doesn't work
and is the wrong solution anyway.
2021-07-07 09:41:48 +02:00
Johannes Meyer 439218869b Only reload JS/CSS if really required when en-/disabling a module 2021-06-16 14:56:36 +02:00
Johannes Meyer 95e20d443c config/module(enable|disable): Perform a HTTP redirect upon success
An HTTP redirect will cause a full reload. If our cache works,
CSS and JS is automatically refreshed.
2021-04-12 17:02:39 +02:00
Johannes Meyer cc65164a67 Adjust global permissions 2021-02-18 11:11:39 +01:00
Johannes Meyer 32f9ce8b7c config/module: Show library dependencies and unmet ones 2020-11-18 13:21:34 +01:00
Johannes Meyer 05d74dd980 config: Fix missing module name in failing dis-/enable actions 2020-11-18 13:21:33 +01:00
Johannes Meyer 4d6dbcc746 ActionForm: Utilize ConfigFormEventsHook 2019-12-13 16:42:38 +01:00
Johannes Meyer fb48731978 Set a proper title for all controller actions
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer 7ba0466048 config/module(en|dis)able: Utilize a form instead of a link 2018-10-10 09:44:11 +02:00
Alexander A. Klimov 9b6b00ebca /config/resource: sort resources by name 2017-11-23 12:54:18 +01:00
Alexander A. Klimov cbfbb3a162 Handle enabled, but deleted modules properly
refs #2811
2017-11-08 09:48:58 +01:00
Johannes Meyer 2fa854b0a8 ConfigForm: Introduce and utilize method transformEmptyValuesToNull()
This utility method serves as alternative for all previous custom solutions to prevent empty values from being persisted to INI files.

Since the IniWriter now handles NULL correctly, we're able to refrain from using array_filter for this purpose which was the actual cause for the referenced bug.

fixes #13357
2016-12-01 10:55:24 +01:00
Johannes Meyer 82cc96173d ConfigController: Warn the user if he's about to remove referenced resources
refs #9804
2016-11-11 11:01:16 +01:00
Alexander A. Klimov 252ce5d60d Revert "Don't show the link for resource removal if the resource is utilized for configuration"
This reverts commit 7331904851.
2016-11-11 10:59:21 +01:00
Alexander A. Klimov 7331904851 Don't show the link for resource removal if the resource is utilized for configuration
refs #9804
2016-11-03 18:28:44 +01:00
Alexander A. Klimov 5a49c0beed config/module: show Git HEAD commit's ID if available
refs #11664
2016-09-01 10:26:55 +02:00
Alexander A. Klimov 88ff055f39 Combine the lists of user and group backends
refs #10309
2016-02-17 18:43:26 +01:00
Alexander A. Klimov 6c39fb51f8 Menu: move Configuration/Authentication to Configuration/Application/Authentication
refs #10309
2016-02-17 18:23:38 +01:00
Alexander A. Klimov 474803fee4 Change all license headers to only reflect a file's year of creation
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann b6b4d5dca2 Remove unnecessary controls in the module config overview
refs #5543
2015-11-03 12:28:58 +01:00
Eric Lippmann cb46af8e9c Rearrange menu entries
refs #5543
2015-10-01 09:01:03 +02:00
Eric Lippmann 2059a06105 Add tab for new, update and remove user backend
refs #5543
2015-10-01 00:32:16 +02:00
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 27e1611831 Navigation: Change Config/Application tabs
refs #5543
2015-09-29 12:01:29 +02:00
Eric Lippmann 4070f6c75b Merge branch 'master' into feature/namespaced-controllers-5786 2015-08-27 15:05:44 +02:00
Eric Lippmann 43e7bf97ce Optimize imports in the ConfigController 2015-08-27 13:30:43 +02:00
Eric Lippmann 204e6fe940 Remove unused alias in the ConfigController 2015-08-27 13:23:48 +02:00
Eric Lippmann a9e6a4ed5c Add missing aliases in the ConfigController after namespacing
refs #5786
2015-08-27 13:23:12 +02:00
Eric Lippmann e9c73c1810 Namespace the ConfigController
refs #5786
2015-08-27 13:22:49 +02:00
Matthias Jentsch d51ecc3d72 Use better icons for resource and auth views
refs #9908
2015-08-18 11:42:42 +02:00
Matthias Jentsch 3e7cc299ec Fix issue that caused the refresh button to remove side bar
Do not apply base target globally for all toolbar elements, but specifically for those that should remove side-bars.

refs #8623
refs #6436
2015-07-29 17:18:52 +02:00
Eric Lippmann 7cfc78558d Merge branch 'master' into feature/secure-modules-9644
Conflicts:
	library/Icinga/Exception/IcingaException.php
2015-07-28 13:42:02 +02:00
Johannes Meyer 86ad6c48ff Form: Automatically remove query parameters only for GET forms
refs #9421
2015-07-27 08:52:33 +02:00
Eric Lippmann e1357c1386 Require config/modules permission for listing and showing modules
refs #9644
2015-07-24 13:34:47 +02:00
Johannes Meyer 4e3da3a6eb UserBackendConfigForm: Adjust how to process requests...
...and use sub-forms, finally.

refs #9602
2015-07-23 16:18:09 +02:00
Matthias Jentsch 11360f36e4 Fix grammar errors in backend titles 2015-07-15 15:37:59 +02:00
Johannes Meyer d36f90d8cb Navigation: Restructure authentication backend configuration
This moves the configuration tabs for user and group backends into
a dedicated menu entry called "Authentication". All tabs previously
available in this menu entry were moved into their own dedicated
menu entry as well to not to confuse users.

fixes #9398
2015-06-22 13:26:24 +02:00
Johannes Meyer b54bf35402 ConfigController: Do not use forward() but redirectNow()
fixes #9349
2015-06-17 13:43:59 +02:00
Johannes Meyer 7213379cac AuthBackendController: Add final indexAction
Required to automatically redirect to the first permitted list action.

refs #8826
2015-06-02 11:59:04 +02:00
Johannes Meyer cd0c418854 Merge branch 'master' into feature/user-and-group-management-8826 2015-06-02 10:44:13 +02:00
Johannes Meyer ae30a62055 ConfigController: Add tab for the user group backend configuration
refs #8826
2015-06-02 10:23:40 +02:00
Johannes Meyer 2490d0ae67 ConfigController: We're configuring user backends from now on
refs #8826
2015-06-02 09:58:57 +02:00
Johannes Meyer 17e7f1e754 Link the roles configuration with the user and group management
refs #8826
2015-06-01 16:43:11 +02:00
Johannes Meyer 66fd7dfd93 ConfigController: Rename applicationAction to generalAction 2015-06-01 16:35:27 +02:00
Eric Lippmann a304645b14 Add missing return argument when removing a resource fails 2015-05-28 13:17:00 +02:00
Eric Lippmann bd5d6e9661 Add missing return argument when removing an auth backend fails 2015-05-28 13:17:00 +02:00
Eric Lippmann 903b02a134 Translate no permission for configuration error message
refs #6339
2015-05-28 13:16:59 +02:00
Johannes Meyer fbf0ad4339 Drop interface Browsable
We're not required to handle objects of Zend_Paginator in any way, so
creating such as part of a query is not necessary since QueryAdapter
accepts any instance of QueryInterface. (gets enforced in the near future)

refs #8339
2015-05-15 14:37:41 +02:00