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 f1a1f41192
.
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 4d2e6d2d87
.
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 f27e8c059d
.
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
Alexander A. Klimov
4d2e6d2d87
Make hooks respect module permissions
...
refs #12396
2016-10-20 18:28:19 +02:00
Alexander A. Klimov
a387f0524f
Add log writer PhpWriter
...
refs #11652
2016-10-19 15:29:51 +02:00
Johannes Meyer
7ed3acbbd8
Module: Check a menu item's permission and don't overwrite its label
...
This allows now totally different values for an item's name and label
and fixes the bug that permissions declared in the configuration.php
were not evaluated for menu items.
fixes #11431
2016-09-26 11:01:26 +02:00
Eric Lippmann
3fdba713ed
Merge branch 'bugfix/handle-recoverable-error-10361'
...
fixes #10361
2016-09-12 08:29:40 +02:00
Eric Lippmann
576640e661
Simplify Version::getGitHead()
...
refs #11664
2016-09-09 14:19:32 +02:00
Alexander A. Klimov
b240e0e6bb
Implement Version::getGitHead()
...
refs #11664
2016-09-01 10:14:14 +02:00
Eric Lippmann
e6ec6e05b2
Rename Preferences to My Account
...
refs #10616
2016-07-21 12:31:10 +02:00
Eric Lippmann
fc5ed3feb1
Bump version to 2.3.4
2016-06-23 14:09:55 +02:00
Eric Lippmann
d4b9b6d303
Bump version to 2.3.3
2016-06-07 15:15:01 +02:00
Eric Lippmann
54b43efb33
Fix exception if module.info contains newlines that are not part of the module's description
...
fixes #11831
2016-06-06 16:21:10 +02:00
Alexander A. Klimov
21e4ba5680
Icinga Web 2.3.2
2016-04-28 14:56:31 +02:00
Eric Lippmann
fdbcc6af8e
Bump version to 2.3.1
2016-04-18 01:10:20 +02:00
Eric Lippmann
773c3cc88e
Bump version to 2.3.0
2016-04-13 16:23:38 +02:00
Eric Lippmann
5b17a145f1
Support multiple TTS integrations in the ticket hook
...
refs #10909
2016-04-06 11:58:01 +02:00
Eric Lippmann
97bedfaa08
lib: Provide ticket pattern class for ticket hooks
...
refs #10909
2016-04-06 11:18:28 +02:00
Markus Frosch
88d973ac39
Restrict access to application log with 'application/log' permission
...
fixes #11279
2016-03-02 20:47:37 +01:00
Marius Hein
845a8b78cf
Bump version
2016-02-29 22:41:58 +01:00
Alexander A. Klimov
923e902957
Web::bootstrap(): set up the request before setting up the session
...
refs #11187
2016-02-27 22:17:01 +01:00
Eric Lippmann
88f4f68f29
Merge branch 'bugfix/move-auth-backend-configuration-to-app-config-10309'
...
fixes #10309
2016-02-27 15:25:11 +01:00
Eric Lippmann
e4a0678df0
Load resources from config automatically instead of throwing an exception
...
fixes #10918
2016-02-26 12:29:30 +01:00
Thomas Gelf
9231746d09
functions.php: failsafe method initialization
...
This avoids collisions for modules not using the fake bootstrap in our
current tests. Can be removed once we fixed that.
2016-02-25 18:07:29 +01:00
Alexander A. Klimov
1bbb7a3118
Manager::detectEnabledModules(): shorten error message
2016-02-25 17:34:03 +01:00
Thomas Gelf
2ec36667eb
Web: change bootstrap order, fixes custom auth
2016-02-18 10:16:22 +01:00
Alexander A. Klimov
a3c7a04826
Menu: rename Configuration/Authorization to Configuration/Authentication
...
refs #10309
2016-02-17 18:56:55 +01:00
Alexander A. Klimov
6c39fb51f8
Menu: move Configuration/Authentication to Configuration/Application/Authentication
...
refs #10309
2016-02-17 18:23:38 +01:00
Thomas Gelf
b63d2ad291
Module: fix multi-instance hook registrations
...
This fixes the problem that registering the same Hook multiple times
with the provideHook shortcut and no class name kept only one
implementation
2016-02-17 10:30:25 +01:00
Alexander A. Klimov
ea9bc6cebd
Conform to coding guidelines
...
refs #11051
2016-02-11 13:29:00 +01:00
Alexander A. Klimov
a5924f2ca8
Don't rely on case sensitive usernames in navigation items stored in INI files
...
refs #11051
2016-02-10 16:22:51 +01:00
Alexander A. Klimov
001c63e376
Don't rely on case sensitive usernames in preferences stored in INI files
...
refs #11051
2016-02-10 16:21:19 +01:00