Commit Graph

10125 Commits

Author SHA1 Message Date
Johannes Meyer 0d1d3c3b8f DbRepository: Handle columns of type Zend_Db_Expr 2015-12-04 08:22:48 +01:00
Johannes Meyer e7399c312f SortBox: Add support for sort defaults provided by the controller action 2015-12-04 07:44:55 +01:00
Johannes Meyer c57d1212eb de_DE: Fix login button label
fixes #10771
2015-12-04 07:35:50 +01:00
Johannes Meyer 4f5afb5ee2 SortBox: Fix "algorithm" to detect the opposite sort direction 2015-12-03 17:15:57 +01:00
Johannes Meyer 3d60e60842 SortBox: Fix too strict sort param check
One was able to produce invalid SQL or other
errors by adding "sort=" as parameter.
2015-12-03 15:17:09 +01:00
Johannes Meyer 43848989ae RepositoryQuery: Add method __toString() 2015-12-03 13:54:48 +01:00
Johannes Meyer acf732e760 RepositoryQuery: Add method __clone() 2015-12-03 13:54:38 +01:00
Johannes Meyer 5be48fc923 DbQuery: Do not call Zend_Db_Select::columns() unless it's necessary
This makes it possible to just use a DbQuery as "union container" without
ever calling from() on it.
2015-12-03 13:53:34 +01:00
Johannes Meyer 28cd9681c8 DbQuery: Add method union() 2015-12-03 13:50:01 +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
Johannes Meyer 9587c363f6 LdapConnection: Do not explicitly emit the bind password in the log 2015-11-27 08:13:35 +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
Davide Demuru 24eab867e5 Add Italian translation for the setup module
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-11-26 12:33:14 +01:00
Pieter Lexis d2e802ed19 Correct spelling of acknowledgment
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-11-26 12:29:17 +01:00
Eric Lippmann 6e618300ec Guard the FileCache if the systemd private tmp directory for the web server has been removed
refs #10123
2015-11-26 12:13:02 +01:00
Eric Lippmann 045e4a99b5 Guard FileCache against an existing but not writeable runtime path
fixes #10123
2015-11-26 12:02:55 +01:00
Eric Lippmann 6f7e0890d8 git: Ignore dompdf font cache 2015-11-26 11:17:32 +01:00
Eric Lippmann c88d034877 monitoring: Fix HTMLPurifier includes
fixes #10338
2015-11-26 11:16:21 +01:00
Eric Lippmann 65207af136 RPM: Fix HTMLPurifier packaging
refs #10166
2015-11-26 11:15:46 +01:00
Eric Lippmann 46363ace49 Fix HTMLPurifier packaging in our source tree
fixes #10166
2015-11-26 11:15:29 +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
Johannes Meyer 916c417666 LdapUserGroupBackend: Avoid inspecting a group with no members
fixes #10659
2015-11-24 09:45:49 +01:00
Eric Lippmann 614d7fc30d Add search_icinga_blue icon
Thanks mzac ;)
2015-11-23 16:36:24 +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