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
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
32f87284ad
PHP7: Fix MySQL and PostgreSQL PDO extension checks
...
refs #10251
2016-01-28 13:52:31 +01:00
Eric Lippmann
c1f7b2ed2d
PHP7: Fix Zend autoload issues
...
refs #10251
2016-01-27 16:52:32 +01:00
Johannes Meyer
424557f194
StdoutWriter: Rename to StderrWriter
2016-01-21 11:47:11 +01:00
Johannes Meyer
9240d1b4e0
cli: Polish log handling
...
* Reintroduced Command::$isDebugging, now without typo
* Removed @deprecated from Command::$isVerbose
* Changed default log level to WARNING
* Adjusted --verbose and --debug to activate log level INFO and DEBUG, respectively
2016-01-21 11:29:28 +01:00
Johannes Meyer
790d2a3949
Cli: Do not shift --verbose away, commands may still require it
2016-01-19 15:31:05 +01:00
Johannes Meyer
be239b9a22
Cli: Configure logging properly but also offer customisations
2016-01-19 15:07:17 +01:00
Eric Lippmann
353b9da8a5
Bump version to 2.1.2
2015-12-23 14:21:56 +01:00
Eric Lippmann
405b768dc2
Bump version to 2.1.1
2015-12-22 14:50:13 +01:00
Eric Lippmann
720e022bea
Merge branch 'feature/use-_env-variables-with-built-in-php-webserver-10488'
...
resolves #10488
2015-12-21 10:46:05 +01:00
Eric Lippmann
8835552e80
Deprecate Module::registerHook() in favor of Module::provideHook()
...
refs #9685
2015-12-21 10:30:40 +01:00
Alexander A. Klimov
414a78d532
Use getenv() instead of $_SERVER to get ICINGAWEB_CONFIGDIR
...
refs #10488
2015-12-18 13:26:38 +01:00
Alexander A. Klimov
643ee7b108
Menu: use target="_self" instead of data-base-target="_self" in logout link
...
fixes #10330
2015-12-17 18:56:32 +01:00
Alexander A. Klimov
21f7af4b64
Revert "Merge branch 'bugfix/logout-requires-restart-of-browser-10330'"
...
This reverts commit 94f4c670c1
, reversing
changes made to 7d5c15469e
.
refs #10330
2015-12-17 18:50:51 +01:00
Alexander A. Klimov
9e2da07eb7
Menu: use target="_self" instead of data-base-target="_self" in logout link
...
refs #10330
2015-12-17 17:56:13 +01:00
Eric Lippmann
1f467ecfaa
Add theme to the stylesheet if set and ...
...
... revamp interface of LessCompiler and StyleSheet
refs #10705
2015-11-27 16:40:17 +01:00
Eric Lippmann
e7262b7d14
Set up logging in EmbeddedWeb
2015-11-27 16:39:19 +01:00
Eric Lippmann
64bed9867f
lib: Add Web::getThemes()
...
refs #10705
2015-11-26 14:49:49 +01:00
Thomas Gelf
edcc698e1e
Hook: throw exceptions for missing classes
...
We are otherwise not catching the resulting fatal errors right now
2015-11-17 17:04:04 +01:00
Eric Lippmann
fad52e0929
Update version
2015-11-16 15:34:47 +01:00
Thomas Gelf
9156e58329
Web: re-add duplicate ZF plugin loader paths
...
Not sure why we need both of them, my installation works with both,
one or the other. Re-adding the duplicate one as a related issue
has been reported.
refs #10634
2015-11-15 23:34:44 +01:00
Thomas Gelf
4b9607ad35
Module: we want to load from ProvidedHook
...
refs #10613
2015-11-13 17:37:02 +01:00
Thomas Gelf
8fa33cebc7
Hook: normalize names also for all()
2015-11-13 17:37:02 +01:00
Thomas Gelf
380f11d9c2
Module: add new provideHook method
2015-11-13 17:37:02 +01:00
Thomas Gelf
b7189382fb
Module: add getNamespace() method
2015-11-13 17:37:02 +01:00
Thomas Gelf
997c5a0a13
Hook: normalize names
2015-11-13 17:37:02 +01:00
Thomas Gelf
b66e4dfdf2
Module: use Application\Hook instead of Web\Hook
2015-11-13 17:37:02 +01:00
Thomas Gelf
54db2c9afa
Module::registerHook: use class as default key
...
refs #9685
2015-11-13 17:37:02 +01:00
Thomas Gelf
a24bf32c5b
Hook: allow hooks for old modules Web\Hooks
...
refs #10613
2015-11-13 17:37:02 +01:00
Thomas Gelf
52159c2627
Hook: switch base namespace checks
2015-11-13 17:37:02 +01:00
Thomas Gelf
d903f850da
Application\Hook: move existing ones, keep compat
2015-11-13 17:37:02 +01:00
Thomas Gelf
576747f792
Application\Hook is the new Hook loader
2015-11-13 17:37:02 +01:00
Johannes Meyer
5fcd65a05a
Web: Fix that shared child menu entries were not displayed for non-owners
...
fixes #10319
2015-11-13 15:28:39 +01:00
Eric Lippmann
d5fe0c9610
Merge branch 'feature/dope-layout-5543#2'
2015-11-13 15:21:07 +01:00
Thomas Gelf
74f53725e1
ApplicationBootstrap: phpdoc-deprecate
2015-11-13 11:53:14 +01:00
Thomas Gelf
a94662492b
ApplicationBootstrap: wipe setupZendAutoloader()
2015-11-13 11:53:14 +01:00
Thomas Gelf
d0ce9f86d8
Module: less stat calls, less work to do
2015-11-13 11:53:14 +01:00
Thomas Gelf
99a6bc12a9
ApplicationBootstrap: register global app dir
2015-11-13 11:53:14 +01:00
Thomas Gelf
9270ef6d6f
Application\Web: less assistance for class loader
2015-11-13 11:52:13 +01:00
Thomas Gelf
05b7388a18
ClassLoader: completely refactored
2015-11-13 11:52:13 +01:00
Thomas Gelf
a1832e1424
Modules/Manager: did we load all enabled modules?
2015-11-13 11:52:13 +01:00
Thomas Gelf
f9a0e7dec6
Module: provide getApplicationDir()
2015-11-13 11:52:13 +01:00
Thomas Gelf
7a2824e070
ApplicationBootstrap: syntax
2015-11-13 11:51:41 +01:00
Johannes Meyer
60a951a97d
Logger: Add method getLevel()
...
refs #10567
2015-11-11 09:59:28 +01:00
Eric Lippmann
92e3895c94
Revert user menu to its original state
...
refs #5543
2015-11-10 14:05:48 +01:00
Eric Lippmann
e07e16d7a1
lib: Remove UserNavigationItemRenderer
2015-10-22 14:26:53 +02:00
Markus Frosch
7ecbefee79
Handle E_RECOVERABLE_ERROR with our error handler
...
refs #10361
2015-10-14 16:34:22 +02:00
Johannes Meyer
7696172249
Logger: Also use the utility method for non-solitary exception arguments
2015-10-05 12:54:04 +02:00
Eric Lippmann
54bb99a96d
Merge branch 'feature/dope-layout-5543'
...
refs #5543
2015-10-02 11:16:35 +02:00
Eric Lippmann
359dde708c
Prepare 2.0.0 release
2015-10-01 23:39:27 +02:00
Eric Lippmann
e4a42c5cc9
Don't use deprecated functions
2015-10-01 23:19:37 +02:00
Eric Lippmann
3d2521abf0
Merge branch 'master' into feature/dope-layout-5543
2015-10-01 17:42:24 +02:00
Johannes Meyer
c7d5e1456a
Navigation: Allow basic wildcard to share navigation items
2015-10-01 13:56:28 +02:00
Eric Lippmann
cb46af8e9c
Rearrange menu entries
...
refs #5543
2015-10-01 09:01:03 +02:00
Eric Lippmann
231c63b703
Merge branch 'master' into feature/dope-layout-5543
2015-09-30 18:52:52 +02:00
Eric Lippmann
3cd3a7891c
Revert "Rename application/VERSION to application/GITCOMMIT"
...
This reverts commit feb27b8a02
.
2015-09-30 18:37:48 +02:00
Johannes Meyer
142851ede7
Merge branch 'master' into feature/show-icinga-web-2-s-version-in-the-frontend-9247
2015-09-30 15:54:22 +02:00
Johannes Meyer
a2827e0dd9
Web: It's not necessary anymore to set a key column
...
refs #10246
2015-09-30 11:47:22 +02:00
Johannes Meyer
bbd68457ae
Config: Use DIRECTORY_SEPARATOR in static method navigation()
...
refs #10246
2015-09-30 11:41:49 +02:00
Johannes Meyer
633dca6b76
Web: Load the new config files for shared items
...
refs #10246
2015-09-30 11:38:51 +02:00
Johannes Meyer
befbc6cd6a
Config: Add static method navigation()
...
refs #10246
2015-09-30 11:30:38 +02:00
Johannes Meyer
b4bcfa4e08
NavigationController: Register navigation item types differently
...
refs #10246
2015-09-29 17:12:57 +02:00
Bernd Erk
ef16c3c479
CSS: design user logout and preferences
2015-09-28 17:58:23 +02:00
Eric Lippmann
98f1e9028e
Fix user menu CSS classes
...
refs #5543
2015-09-28 16:40:16 +02:00
Eric Lippmann
a408636923
Move logout to new navigation item
...
refs #5543
2015-09-28 15:28:17 +02:00
Eric Lippmann
9dff864b80
Prepare markup for new user menu
...
refs #5543
2015-09-28 14:48:54 +02:00
Johannes Meyer
a55cced039
Merge branch 'master' into feature/custom-menu-items-5600
...
Conflicts:
modules/monitoring/application/views/scripts/list/comments.phtml
modules/monitoring/application/views/scripts/list/downtimes.phtml
2015-09-25 14:12:43 +02:00
Alexander A. Klimov
8dc9928cb3
IniParser::parseIniFile(): return a Config instance
...
refs #10150
2015-09-25 12:04:13 +02:00
Alexander A. Klimov
e2d6089ff3
Make Version::get() failsafe
...
refs #9247
2015-09-24 12:25:02 +02:00
Alexander A. Klimov
feb27b8a02
Rename application/VERSION to application/GITCOMMIT
...
refs #9247
2015-09-24 11:35:18 +02:00
Alexander A. Klimov
3e99adbe63
Version::get(): first try to parse application/VERSION
...
refs #9247
2015-09-24 11:05:21 +02:00
Alexander A. Klimov
cc4a47506f
Fetch version from constant
...
refs #9247
2015-09-24 10:53:33 +02:00
Alexander A. Klimov
7c3b46fefa
Make regex less complicated
2015-09-23 17:48:30 +02:00
Alexander A. Klimov
d6cf6313b9
Split complex if statements
2015-09-23 15:53:10 +02:00
Alexander A. Klimov
abcdc5adb1
Fetch Git commit ID from .git/HEAD if available
...
refs #9247
2015-09-23 15:06:02 +02:00
Alexander A. Klimov
626c3494e4
Config::fromIni(): use IniParser::parseIniFile() instead of parse_ini_file()
...
refs #10150
2015-09-22 14:50:49 +02:00
Johannes Meyer
0ec3610349
Web: Properly load shared menu items
...
refs #5600
2015-09-17 13:40:40 +02:00
Eric Lippmann
f46504554e
lib: Check for mssql extension too in Platform::hasMssqlSupport()
...
refs #9683
2015-09-17 11:48:25 +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
bbadb0b75c
Add support for no-op translations
...
refs #5600
2015-09-16 14:16:40 +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
1d6ad6df21
Merge branch 'master' into feature/custom-menu-items-5600
...
Conflicts:
modules/monitoring/configuration.php
2015-09-15 13:31:30 +02:00
Eric Lippmann
d52bb7d92a
lib: Add Platform::hasLdapSupport() and Platform::hasDatabaseSupport()
...
refs #9683
2015-09-07 16:43:41 +02:00
Eric Lippmann
358f1750fb
lib: Add Platform::hasOciSupport()
...
refs #9683
2015-09-07 16:34:10 +02:00
Eric Lippmann
bba1838c7d
lib: Add Platform::hasOracleSupport()
...
refs #9683
2015-09-07 16:34:10 +02:00
Eric Lippmann
9f3ef5cc8d
lib: Add Platform::hasMssqlSupport()
...
refs #9683
2015-09-07 16:34:04 +02:00
Johannes Meyer
b1e3519353
Add class NavigationController (WIP)
...
refs #5600
2015-09-07 13:55:19 +02:00
Johannes Meyer
27f3a8f152
Web: Add method getSharedNavigation()
...
refs #5600
2015-09-07 13:22:02 +02:00
Eric Lippmann
0f8c28d749
Merge branch 'master' into feature/api-9606
2015-09-07 11:33:44 +02:00