Eric Lippmann
e4a42c5cc9
Don't use deprecated functions
2015-10-01 23:19:37 +02:00
Johannes Meyer
b4bcfa4e08
NavigationController: Register navigation item types differently
...
refs #10246
2015-09-29 17:12:57 +02:00
Johannes Meyer
8c17364780
Late translate a module's menu section labels
...
refs #5600
2015-09-16 14:36:35 +02:00
Johannes Meyer
8b7a1ce28f
Late translate a module's dashboard-pane/dashlet labels
...
refs #5600
2015-09-16 14:29:33 +02:00
Johannes Meyer
0ca6e04a5a
Module: Allow to pass a label for a custom navigation item type
...
refs #5600
2015-09-16 13:51:35 +02:00
Johannes Meyer
ccae7c4d0d
Module: Allow to define a dashboard pane's properties
...
Since dashboards are now alphabetically sorted as well, we need some way
to affect this as the old behaviour was to sort them as they were registered
refs #5600
2015-09-15 13:54:53 +02:00
Johannes Meyer
1be6dc0553
Module.php: Allow modules to provide configurable navigation items
...
refs #5600
2015-09-07 11:06:11 +02:00
Johannes Meyer
95a61e89a9
Module: Fix how dashlets are loaded
...
refs #5600
2015-09-04 15:51:33 +02:00
Johannes Meyer
70a48643c1
Add class DashboardContainer
...
refs #5600
2015-09-04 15:25:19 +02:00
Johannes Meyer
5c2619dcb5
Add class NavigationItemContainer
...
refs #5600
2015-09-04 15:04:29 +02:00
Johannes Meyer
27a6b5bb75
Module: Utilize MenuItemContainer instead of Menu
...
refs #5600
2015-09-04 13:54:53 +02:00
Johannes Meyer
8643fec309
Add class MenuItemContainer
...
resf #5600
2015-09-04 13:54:23 +02:00
Eric Lippmann
c0eb0cbe6a
modules: Tell the dispatcher that the static controller is to be found in the default module
...
refs #5786
2015-08-28 13:13:07 +02:00
Eric Lippmann
4070f6c75b
Merge branch 'master' into feature/namespaced-controllers-5786
2015-08-27 15:05:44 +02:00
Eric Lippmann
5da139943c
lib: Fix type hint for $menuItems in Module
2015-08-20 16:59:02 +02:00
Eric Lippmann
9aa62c9898
lib: Fix type hint for $tabs in Module
2015-08-20 16:58:24 +02:00
Eric Lippmann
800173b19f
lib: Fix type hint for $router in Module
2015-08-20 16:47:17 +02:00
Eric Lippmann
5d8f091209
lib: Don't alias Zend classes in Module
2015-08-20 16:46:31 +02:00
Eric Lippmann
f24449b225
modules: Register controller namesoace in Module::registerWebIntegration()
...
Else we get an exception when loading modules on the CLI because Zend classes are not autoloaded.
refs #5786
2015-08-20 16:24:12 +02:00
Eric Lippmann
3c812e6d2b
Register module controller namespace
...
refs #5786
2015-08-18 13:02:54 +02:00
Johannes Meyer
282aaa6e5b
Load additional static files for modules, really
...
Since we're only processing the config script upon calling
Module::hasJs/Css() if no module.js or module.css exists,
we need to ensure that it's processed when calling
Module::getJS/CssFiles().
refs #9702
2015-08-10 10:00:02 +02:00
Johannes Meyer
712d545f48
Module: Allow to define additional Javascript files
...
refs #9702
2015-08-06 15:10:54 +02:00
Johannes Meyer
51aa22d429
Module: Allow to define additional CSS/LESS files
...
refs #9702
2015-08-06 15:10:33 +02:00
Alexander Fuhr
c3fe14a205
Modules/Manager: Fix that non-existent modules can be disabled
...
fixes #9374
2015-08-04 14:34:30 +02:00
Eric Lippmann
149a974a44
Fix coding style in Module.php
...
refs #9644
2015-07-24 15:06:25 +02:00
Eric Lippmann
519d025de5
Allow to get permissions and restrictions from unloaded modules
...
refs #9644
2015-07-24 14:24:48 +02:00
Eric Lippmann
444fdadf13
Allow to get unloaded modules via Manager::getModule()
...
refs #9644
2015-07-24 14:23:48 +02:00
Eric Lippmann
ec1ddd82b3
Move Module::__construct to the top of the function list
...
refs #9664
2015-07-24 14:19:17 +02:00
Eric Lippmann
5dcc307e87
Add namespace for module permissions to the module manager
...
refs #9644
2015-07-22 14:59:35 +02:00
Johannes Meyer
265725447d
Merge branch 'master' into feature/user-and-group-management-8826
2015-05-22 10:06:31 +02:00
Marius Hein
0002c0be26
Provide default config name for Module::getConfig()
2015-05-21 14:40:52 +02:00
Johannes Meyer
d09ea2845d
Merge branch 'master' into feature/user-and-group-management-8826
2015-04-30 15:20:40 +02:00
Alexander A. Klimov
1daecbbca0
Don't use `false === ...' when `! ...' is enough
2015-04-22 17:04:31 +02:00
Alexander A. Klimov
9393d11c0b
Display an error message when enabled modules cannot be read because /etc/icingaweb2 is not readable
...
resolves #9141
2015-04-22 16:44:00 +02:00
Johannes Meyer
7960e911a6
UserGroupBackend: Add support for custom backends to fetch user groups
...
refs #8826
refs #9122
2015-04-22 09:52:08 +02:00
Johannes Meyer
847c02ed8e
UserBackend: Add support for custom authentication backends
...
refs #8826
refs #8877
2015-04-22 09:28:42 +02:00
Johannes Meyer
33628cbf04
Icinga\Application\Modules\Module: Add missing documentation
2015-04-22 09:06:26 +02:00
Johannes Meyer
8dba5752dc
ModuleManager: Improve error messages when en-/disabling modules
2015-04-20 10:09:33 +02:00
Alexander Klimov
967a2e82dc
Use (only) "@return $this" in fluent interfaces' documentation
2015-04-07 14:24:11 +02:00
Eric Lippmann
c1d5231619
Add priority param to Module::provideSearchUrl()
...
refs #8668
2015-03-12 17:55:29 +01:00
Louis Sautier
083c1a9e6b
Fix some spelling errors in comments and messages
...
fixes #8633
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-03-08 15:32:22 +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
a5514392db
Adjust dashboard, output-format and module tabs
2015-02-23 17:03:11 +01:00
Eric Lippmann
6bae2e0a53
Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL
2015-02-04 10:52:27 +01:00
Eric Lippmann
5b4fab0750
Add license header
...
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc
Revert "Add license header"
...
This reverts commit 338d067aba
.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba
Add license header
...
fixes #7788
2015-02-03 15:51:04 +01:00
Johannes Meyer
f5a651664c
Create the enabledModules directory when necessary only as well
...
refs #8219
2015-01-30 16:16:12 +01:00
Eric Lippmann
b983f1901b
modules: Fix that the forms namespace is not registered when the module does not have any library file
2015-01-14 13:24:31 +01:00
Eric Lippmann
916868a051
Revert "Add support for "core" modules and make the setup module such a module"
...
This reverts commit 8af13f564b
.
The setup module must only be loaded when necessary not always.
2014-12-09 16:28:05 +01:00