142 Commits

Author SHA1 Message Date
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 7331904851ec6bbb5d32a40ead3bfed632f10d1e.
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
Johannes Meyer
57d519bca8 ModuleOverview: Ensure dashboard compliance
refs #7876
2015-04-17 16:09:35 +02:00
Eric Lippmann
e36c430bb3 Merge branch 'feature/protected-menu-8720'
resolves #8720
2015-03-13 04:26:19 +01:00
Eric Lippmann
8563d5ed3f PHPDoc: Use @var instead of @type
Becasue of too many kittens PSR-5 backed off of deprecating @var.
So that's the way we go too.
2015-03-12 16:08:47 +01:00
Eric Lippmann
90971f2caf Revert "Merge branch 'feature/organize-headings-7976'"
This reverts commit ea2a17a76c4c4b1a3df13c44016a009694026e00, reversing
changes made to e72de8dfe1456cbb50852d8b7910e0013cab3aaa.

refs #7976
fixes #8647
2015-03-12 16:08:34 +01:00
Eric Lippmann
195fe6f04b Security: Rename system/config/modules to config/modules
Module config permission and application config permission have to be separeted.
Application config related permissions were added beneath config/application and module
related config permissions will be config/modules for now.

refs #8720
2015-03-12 15:45:14 +01:00
Eric Lippmann
f6e9551235 Security: Rename system/config/roles to config/application/roles
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.

refs #8720
2015-03-12 15:45:10 +01:00
Eric Lippmann
08abbda152 Security: Rename system/config/resources to config/application/resources
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.

refs #8720
2015-03-12 15:45:07 +01:00
Eric Lippmann
a4e81c320a Security: Rename system/config/authentication to config/application/authentication
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.

refs #8720
2015-03-12 15:45:04 +01:00
Eric Lippmann
956bc3c07a Security: Rename system/config/application to config/application/general
Module config permission and application config permission have to be separeted.
Application config related permissions will be added beneath config/application and module
related config permissions will be added beneath config/modules.

refs #8720
2015-03-12 15:44:58 +01:00
Johannes Meyer
f45f00b022 Run a module's configuration script only in case it has been registered
fixes #8601
2015-03-06 13:25:04 +01:00
Johannes Meyer
4324385010 Do not load a module twice while enabling it 2015-03-06 13:22:51 +01:00