Commit Graph

9740 Commits

Author SHA1 Message Date
Eric Lippmann cce6af9243 Don't load inaccessible themes
refs #10705
2015-12-07 13:51:30 +01:00
Eric Lippmann bf0b673640 Fix section for themes config in StyleSheet
refs #10705
2015-12-07 12:37:34 +01:00
Eric Lippmann 3a22168b64 Handle no-cache control in JavaScript and StyleSheet, not in FileCache 2015-11-27 16:51:19 +01:00
Eric Lippmann bac09fd125 Fix void method result used in JavaScript 2015-11-27 16:48:38 +01:00
Eric Lippmann b6b5caace3 Remove unused actions from the StaticController 2015-11-27 16:43:04 +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 59b540cc12 lib: Implement cookie handling in Response
Cookies set via Response::setCookie() or Response::getCookies()::add() will be automatically sent to client.
2015-11-27 15:51:38 +01:00
Eric Lippmann 2a0d3412d1 lib: Add CookieSet for maintaining a set of cookies 2015-11-27 15:50:29 +01:00
Eric Lippmann 8fb9d94f46 lib: Allow to control reload CSS header in Response
Whenever the theme is switched, client side script code has to be instructed to reload CSS.

refs #10705
2015-11-27 15:44:40 +01:00
Eric Lippmann 5d4a628e2d Provide cookie implementation 2015-11-27 15:42:18 +01:00
Eric Lippmann 958f8e5baf Allow to choose a theme via preferences when there are themes
refs #10705
2015-11-27 15:42:18 +01:00
Eric Lippmann 271b5f9d5c Move cookie support detection to a helper class
Icinga\Web\Cookie will become a real cookie implementation.
2015-11-27 15:42:18 +01:00
Eric Lippmann de10171580 Show theming options in the application configuration
refs #10705
2015-11-26 15:52:45 +01:00
Eric Lippmann f9c10ab500 Add configuration form for theming options
refs #10705
2015-11-26 15:52:15 +01:00
Eric Lippmann 74820de9ea Fix doc blocks in LoggingConfigForm 2015-11-26 15:40:14 +01:00
Eric Lippmann f3630bb58f Fix doc blocks in ApplicationConfigForm 2015-11-26 15:40:14 +01:00
Eric Lippmann 6065e21e3a Remove ConfigForm::getValues() overrides where subform values are extracted manually 2015-11-26 15:40:10 +01:00
Eric Lippmann 395201eee9 lib: Automatically flatten subform values in ConfigForm::getValues()
Zend returns values from subforms grouped by their names and we have several places where we manually extract them. ConfigForm::getValues() does this automatically now.
2015-11-26 15:40:06 +01:00
Eric Lippmann 64bed9867f lib: Add Web::getThemes()
refs #10705
2015-11-26 14:49:49 +01:00
Eric Lippmann e3c1734d1a doc: Use Util/DirectoryIterator 2015-11-24 16:10:45 +01:00
Eric Lippmann 076784f2c9 lib: Add util DirectoryIterator
refs #10705
2015-11-24 15:54:16 +01:00
Eric Lippmann 5c3089ae85 lib: Fix String::endsWith() complexity 2015-11-24 15:53:13 +01:00
Eric Lippmann 742542d52e lib: Remove unused permissions in the RoleForm 2015-11-23 13:13:54 +01:00
Eric Lippmann 43e0d037bf Add blockquote to the style guide 2015-11-23 11:38:13 +01:00
Eric Lippmann 93428f682e CSS: Color the search icon when focused 2015-11-23 11:37:37 +01:00
Eric Lippmann ff500f4a0f CSS: Fix placeholder color in FF 2015-11-23 11:36:59 +01:00
Johannes Meyer 7c6471da86 Action: Return the new url if it has been resolved
This was already part of the 2.0 release, but was working however. Got
revealed by a restructuring commit a few weeks ago.

fixes #10702
2015-11-23 10:34:46 +01:00
Eric Lippmann 6725d6fa9d Merge branch 'bugfix/Fix-DashboardController-code-9003' 2015-11-23 10:21:13 +01:00
Thomas Gelf cae5c4769d Revert "Document WebCommand::serveAction()"
This reverts commit 6d56a57b7e.

Sorry for doing so, but we have to fix this without breaking
compatibility.
2015-11-20 19:55:24 +01:00
Thomas Gelf 3ded331bd1 Revert "WebCommand::serveAction(): make arguments non-positional"
This reverts commit d101e852ce.

Sorry for doing so, but we have to fix this without breaking
compatibility.
2015-11-20 19:45:15 +01:00
Alexander A. Klimov 6d56a57b7e Document WebCommand::serveAction()
resolves #10681
2015-11-20 18:39:38 +01:00
Alexander A. Klimov d101e852ce WebCommand::serveAction(): make arguments non-positional
resolves #10682
2015-11-20 18:27:12 +01:00
Alexander A. Klimov 15154308d1 WebCommand::serveAction(): rename parameter $basedir to $documentRoot
resolves #10683
2015-11-20 18:05:42 +01:00
Eric Lippmann 5b898d5f3b JS: Don't activate a menu item if only a part of the current URL matches
Else, navigating to user -> preferences -> navigation activates configuration -> shared navigation for example.
2015-11-20 09:39:53 +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 52c3e5d8dd Reset page when setting a new limit 2015-11-17 16:46:01 +01:00
Eric Lippmann 9dfaa93617 Fix german translation for Groups 2015-11-17 16:46:01 +01:00
Thomas Gelf 94690f4fda Cli\Screen: fix tput for rows (it's lines) 2015-11-16 18:50:48 +01:00
Eric Lippmann 747efdd3fa RPM: Only require Zend db adapters for RedHat derivates
refs #10328
2015-11-16 16:42:33 +01:00
Eric Lippmann 00b931ea40 Fix table header in the about page 2015-11-16 15:42:35 +01:00
Eric Lippmann 23da8e95a6 Add upgrading note 2015-11-16 15:38:10 +01:00
Eric Lippmann fad52e0929 Update version 2015-11-16 15:34:47 +01:00
Eric Lippmann 6b2a928fd7 Don't re-generate but save session every minute 2015-11-16 15:34:26 +01:00
Eric Lippmann 96466241c2 Fix img helper not setting icon class 2015-11-16 15:27:59 +01:00
Eric Lippmann 96674cd895 Don't translate service and services to german 2015-11-16 15:16:13 +01:00
Eric Lippmann a9628a55cf Update german monitoring translation 2015-11-16 15:11:42 +01:00
Cornelius Wachinger c764a0a319 Update german monitoring translation 2015-11-16 14:50:36 +01:00
Yuri Konotopov e606d8eaca Update Russian translation
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-11-16 14:40:18 +01:00
Eric Lippmann ba62753285 monitoring: Fix exception if the comment of an acknowledgement is missing
refs #10505
2015-11-16 14:35:48 +01:00