840 Commits

Author SHA1 Message Date
Markus Frosch
123a0b8196 Platform: Correct detecting MSSQL Support
PDO Implementation of zf1 builds on module mssql OR pdo_dblib, while dblib is preferred.

Newer implementations would support pdo_sqlsrv, but that is not available with ZF1.
2018-03-27 11:35:26 +02:00
Alexander A. Klimov
4477f33b31 Fix interference between two similar namespaces 2018-03-01 14:01:57 +01:00
Alexander A. Klimov
8e9d385a18 Unify the look of fatal and non-fatal errors
refs #2216
2018-02-07 10:45:20 +01:00
Eric Lippmann
56d28a6c14 Prepare release version 2.5.1 2018-01-22 13:47:41 +01:00
lippserd
c18038f166
Merge pull request #3261 from Icinga/bugfix/icingacli-no-setup-module-2705
Make icingacli working without the setup module
2018-01-17 11:58:50 +01:00
Alexander A. Klimov
8cbd506459 Make icingacli working without the setup module
This enables users to install only the icingacli package

refs #2705
2018-01-16 12:21:42 +01:00
lippserd
c1497cf1c5
Merge pull request #3143 from Icinga/bugfix/inactive-module-config-tabs-2977
Hide inactive modules' config tabs
2018-01-16 09:18:49 +01:00
Alexander A. Klimov
a5e75554ad Don't require module.less
refs #3149
2017-12-15 11:58:54 +01:00
Eric Lippmann
e376b137c7 Prepare release version 2.5.0 2017-11-27 16:18:13 +01:00
lippserd
5aa83ea0d9
Merge pull request #3114 from Icinga/feature/support-phar-3113
Modules, Bootstrap: play nice with PHARs
2017-11-27 09:15:34 +01:00
Alexander A. Klimov
6cdad7c5c1 Hide inactive modules' config tabs
refs #2977
2017-11-24 13:40:03 +01:00
Eric Lippmann
8ffa110901 Web: Add icons and descriptions for second level menu items 2017-11-21 22:55:45 +01:00
Thomas Gelf
6e382093f4 Modules, Bootstrap: play nice with PHARs
fixes #3113
2017-11-21 14:15:41 +01:00
Alexander A. Klimov
cea52a1b4b Implement ApplicationBootstrap::getStorageDir()
refs #2582
2017-11-16 20:26:49 +01:00
Eric Lippmann
af64ca8fc8 Fix that disabled stack straces via user prefs had no effect
Web::setupFrontController() took the user object into account when checking for disabled stacktraces.
But we changed our bootstrap order some time ago so we did not have a user in this method anymore.
Now, Web::setupUser() checks for disabled stacktaces in the user prefs instead.

refs #2595
2017-11-15 17:22:54 +01:00
Alexander A. Klimov
cbfbb3a162 Handle enabled, but deleted modules properly
refs #2811
2017-11-08 09:48:58 +01:00
Eric Lippmann
3790fd0819 Bump version to 2.4.2
(cherry picked from commit 13e86b63202833b3721e2c4e13f827914c5de21f)
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-09-28 14:24:00 +02:00
lippserd
e276dfc517 Merge pull request #2951 from Icinga/bugfix/monitored-object-detailview-extension-style-2949
Style monitored objects' detailview extensions as expected
2017-09-22 09:21:31 +02:00
Alexander A. Klimov
c2ee3bef06 DetailviewExtensionHook: provide the concrete implementation's module
refs #2949
2017-09-20 14:49:08 +02:00
Uwe Ebel
39838f1606 Add database resource type IBM for DB2
It uses the pdo_ibm driver and Zend Adapter Zend_Db_Adapter_Pdo_Ibm.

Signed-off-by: Markus Frosch <markus.frosch@icinga.com>
2017-09-19 14:32:09 +02:00
lippserd
0e5313d4d1 Merge pull request #2740 from Icinga/feature/emit-log-messages-in-the-webserver-s-log-11652
Emit log messages to the web server log
2017-09-08 15:43:31 +02:00
Alexander A. Klimov
b2ab99fd71 Add log writer PhpWriter
refs #11652
2017-09-08 15:39:31 +02:00
Johannes Meyer
3190b7dea3 Revert "Web: Allow to configure whether we'll consider Accept-Language or not"
This reverts commit 87505aff7ce63c83072e7ea4d7415d72d4281ddd.
2017-09-08 12:56:09 +02:00
Johannes Meyer
87505aff7c Web: Allow to configure whether we'll consider Accept-Language or not 2017-09-08 11:55:15 +02:00
Markus Frosch
7da7c0f6c7 Config: Fix cached loading of module config
Since the module copied the array to a local variable, the loaded
Config object never got saved to self::$modules
2017-08-11 08:35:34 +02:00
Eric Lippmann
50971ea8e2 Merge pull request #2725 from Icinga/bugfix/browser-timezone-detection-2716
TimezoneDetect: support also negative timezone offsets
2017-06-02 09:32:59 +02:00
Eric Lippmann
68842f00d8 Fix version 2017-05-03 15:12:07 +02:00
Alexander A. Klimov
1e58e15ac7 Test TimezoneDetect
refs #2716
2017-02-10 15:42:02 +01:00
Johannes Meyer
181e2ef05c Swag: Fix swag (aka a whole bunch of code style issues..) 2017-01-27 14:48:59 +01:00
Eric Lippmann
01daa38eae Fix module permissions for hooks
refs #2686
2017-01-17 14:56:13 +01:00
Eric Lippmann
326574ba54 Fix deprecation notes for Module::registerHook() 2017-01-17 12:30:14 +01:00
Thomas Gelf
361bfc5081 Hook: allow all on CLI
fixes #13691
2016-12-19 21:14:32 +01:00
Eric Lippmann
ff71a395d2 Update version to 2.4.0 2016-12-13 12:34:12 +01:00
Eric Lippmann
4eb61c2bcf Revert breaking change in Auth::isAuthenticated()
refs #12580
fixes #13281
2016-12-06 12:41:22 +01:00
Eric Lippmann
39c7451664 Implement announcements
refs #11198
2016-11-29 15:24:34 +01:00
Eric Lippmann
39a5b3f64a Refuse to enable modules prefixed w/ icingaweb2-module-
fixes #10870
2016-11-16 16:21:35 +01:00
Eric Lippmann
1cdef234a1 Revert "Module: Drop deprecated method registerHook and arg $key of method provideHook"
This reverts commit f1a1f411922f993e53780f5b5f3b17fc425814b1.

It makes absolutely sense to remove depcreated code, but this removal introduces too many problems while not being really necessary.
Some of our modules and modules written by others still rely on the deprecated code. A upgrade of Icinga Web 2 would break many running systems out there.
Before removing this code we should upgrade our modules and notify the authors of other modules about the deprecation.
Further, we should maintain something like a deprecation info file because nobody reads @deprecated tags.
All of the above will not protect us from systems where modules aren't up to date. We also have to implement a mechanism where it is still possible to disable faulty modules.
2016-11-16 16:17:42 +01:00
Johannes Meyer
7d98025d7d Merge branch 'bugfix/hooks-don-t-respect-module-permissions-12396'
fixes #12396
2016-11-14 09:46:08 +01:00
Johannes Meyer
f1a1f41192 Module: Drop deprecated method registerHook and arg $key of method provideHook 2016-11-11 16:15:59 +01:00
Johannes Meyer
5bce7dc9b8 Hook: Check a user's module permission before providing it's hook instances
refs #12396
2016-11-11 16:15:16 +01:00
Alexander A. Klimov
1cd2cfbdc9 Revert "Make hooks respect module permissions"
This reverts commit 4d2e6d2d8709da9168af824c36458dd5857b08a8.
2016-11-11 11:14:23 +01:00
Alexander A. Klimov
14363e52f4 Revert "Merge branch 'feature/emit-log-messages-in-the-webserver-s-log-11652'"
This reverts commit f27e8c059d1d34925e4ecd33fb7aa70004abbbc3.

refs #11652
2016-11-09 11:48:17 +01:00
Eric Lippmann
2b060d9bd4 Challenge API requests only if the controller requires auth
fixes #12580
2016-11-07 10:40:38 +01:00
Alexander A. Klimov
f27e8c059d Merge branch 'feature/emit-log-messages-in-the-webserver-s-log-11652'
resolves #11652
2016-11-04 17:15:06 +01:00
Alexander A. Klimov
a85d259b0a PhpWriter: replace newlines in the message only if PHP logs to Syslog
refs #11652
2016-11-03 14:06:02 +01:00
Alexander A. Klimov
8952434393 PhpWriter: prefix messages with the app name as in Syslog
refs #11652
2016-11-03 12:35:40 +01:00
Alexander A. Klimov
a24999ff7f PhpWriter: throw an exception on logging failure
refs #11652
2016-11-03 12:16:48 +01:00
Alexander A. Klimov
ca8e4ea924 Conform to code style guidelines
refs #11652
2016-11-03 12:01:03 +01:00
Alexander A. Klimov
00af3d61b7 LoggingConfigForm: provide less Syslog facilities
refs #11214
2016-10-24 10:43:27 +02:00
Alexander A. Klimov
52e6293b96 Allow to configure the Syslog facility
refs #11214
2016-10-21 17:09:22 +02:00