6569 Commits

Author SHA1 Message Date
Eric Lippmann
a185107927 Trim off leading whitespaces from filter values when searching
Because whitespaces may be used when searching for entities using the query string format "column = value" we have to trim off leading whitespaces from filter values.
This loses the possibility for search for entities with leading whitespaces of course.

refs #8777
2015-04-08 10:14:42 +02:00
Eric Lippmann
6e6aabedf2 Don't trim filter expressions
Leading and trailing whitespaces may be significant for comparison.

refs #8777
2015-04-08 09:31:11 +02:00
Johannes Meyer
1835479738 Setup: Fix that the mysql privilege checks are not working in the wizard
Missed to commit this yesterday as part of the fix for #8929

refs #8929
2015-04-08 08:55:08 +02:00
Matthias Jentsch
9ac89edb86 Add filter to summary links
Add the multiselection filter as a base filter to the state summary, to ensure that the summary links only selected services.

refs #8565
2015-04-07 18:00:36 +02:00
Matthias Jentsch
028c3ba08c Fix list-all link in host multi views opened from a service-selection
refs #8565
2015-04-07 17:43:45 +02:00
Matthias Jentsch
eeb5a38b6c Add section for problem hosts and services to multi-view
Add a section to handle all problems, in contrast to the already existing section for handling all unhandled problems.

refs #8565
2015-04-07 17:41:38 +02:00
Matthias Jentsch
46da404452 Add docstrings to ObjectList and coding style 2015-04-07 16:34:20 +02:00
Matthias Jentsch
1c5a091584 Generate filter in host and service lists
refs #8565
2015-04-07 16:29:10 +02:00
Johannes Meyer
2882e2fd5e Setup: Fix that not any privilege checks are working in the wizard
fixes #8929
2015-04-07 16:14:03 +02:00
Johannes Meyer
62bb35a71e Fix that the ldap port does not change when updating the encryption to use
fixes #8958
2015-04-07 15:07:36 +02:00
Johannes Meyer
dc4d1246a9 Fix that the sql port does not change when updating the type of the database
fixes #7491
2015-04-07 15:07:36 +02:00
Johannes Meyer
9596b4fdf7 Form: Make it possible to preserve default values during (auto)submission 2015-04-07 15:07:36 +02:00
Alexander Klimov
967a2e82dc Use (only) "@return $this" in fluent interfaces' documentation 2015-04-07 14:24:11 +02:00
Eric Lippmann
6b63f3d8a2 Merge branch 'feature/require-mandatory-params-8886'
resolves #8886
2015-04-07 13:06:43 +02:00
Eric Lippmann
cdd5da80f0 Use Url::getRelativeUrl() when updating dashlets
fixes #8363
2015-04-07 13:05:12 +02:00
Eric Lippmann
25736cf76e Return HTTP 400 on MissingParameterException
refs #8886
2015-04-07 12:27:19 +02:00
Eric Lippmann
dfd8c91827 Add PHPDoc to ActionController::$params 2015-04-07 12:25:46 +02:00
Eric Lippmann
002e793a53 lib: Add Params::req()
Params::req() should be used for requiring a mandatory CLI parameter.

refs #8886
2015-04-07 12:20:37 +02:00
Eric Lippmann
93b1a35de0 lib: Add UrlParams::req()
UrlParams::req() should be used for requiring a mandatory URL parameter.

refs #8886
2015-04-07 12:17:59 +02:00
Eric Lippmann
0fc5801e5e lib: Add MissingParameterException::getParameter and ::setParameter ...
... for getting/setting the name of the missing parameter which caused the exception.

refs #8886
2015-04-07 12:15:15 +02:00
Alexander Klimov
e32eeb991e Implement Icinga\Web\Widget\SortBox::create() 2015-04-07 11:37:06 +02:00
Alexander Klimov
57ed849cee Icinga\Web\Widget\SortBox::applyRequest(): return $this 2015-04-07 11:26:16 +02:00
Eric Lippmann
4d795494fc Fix MissingParameterException's PHPDoc
refs #8886
2015-04-07 10:48:37 +02:00
Johannes Meyer
aae1d05684 Fetch the log path from the configuration
...instead of using a getter that has been dropped carelessly.

fixes #8972
2015-04-07 10:34:55 +02:00
Johannes Meyer
b0b95ab387 Fix that Icinga\Application\Logger::writesTo* is not functional 2015-04-07 10:31:57 +02:00
Matthias Jentsch
6c0f9cf6f5 Remove comment lists from multi-select views.
refs #8565
2015-04-02 16:51:09 +02:00
Matthias Jentsch
45a0982beb Add new tab to switch between host and service multi-selection
refs #8565
2015-04-02 16:44:05 +02:00
Matthias Jentsch
5619ac960c Add inline pies to host and service back to multi-select views
Add old inline pie code and visualize handled/unhandled state.

refs #8565
2015-04-02 16:25:20 +02:00
Eric Lippmann
9ce9e0270c Fix that LDAP encryption settings have no effect
I renamed the directive for the encryption setting from 'connection' to 'encryption' before releasing Beta3 but
I forgot to change the Connection class accordingly.

fixes #8953
2015-04-02 10:41:25 +02:00
Eric Lippmann
06d9e4113c Fix that sending multiple commands over SSH failed
The config object has to cloned before unsetting the transport because else the
transport is removed for all subsequent calls to CommandTransport::fromConfig().

fixes #8815
2015-04-01 13:53:44 +02:00
Matthias Jentsch
9fbd7822d0 Fix coding guideline violations 2015-03-31 17:41:57 +02:00
Matthias Jentsch
b0b0ae157c Turn prepareStateName into more generic string utility function
refs #8565
2015-03-31 16:45:21 +02:00
Eric Lippmann
5745c1fec4 Fix code style in the Perfdata view helper 2015-03-30 12:12:58 +02:00
Eric Lippmann
09d713be0d Fix PHPDoc of the Perfdata view helper 2015-03-30 12:10:58 +02:00
Eric Lippmann
8c46e5e285 Use View::translate() instead of t() in the Perfdata view helper
refs #7330
2015-03-30 12:08:26 +02:00
Eric Lippmann
83408ee21b Use Controller::translate() instead of mt() in the AlertsummaryController
refs #7330
2015-03-30 12:04:58 +02:00
Eric Lippmann
be53f4f9bc Use Controller::translate() instead of t()/mt() in the ChartController
refs #7330
2015-03-30 12:04:05 +02:00
Eric Lippmann
820862d546 Use Controller::translate() instead of t() in the AlertsummaryController
refs #7330
2015-03-30 11:58:48 +02:00
Eric Lippmann
ab1dc1faa0 Do not translate format strings 2015-03-30 11:28:05 +02:00
Eric Lippmann
0a7e76d190 Fix typo in Perfdata::formatLabel()'s PHPDoc 2015-03-30 11:27:17 +02:00
Matthias Jentsch
26ff265219 Improve search field caption for screen readers
Use unicode ellipsis instead of dots to not confuse screen readers. Screen readers shouldn't read 'dot dot dot' when focusing the search button.
2015-03-19 11:22:56 +01:00
Matthias Jentsch
004301a2ba Merge branch 'feature/warning-links-open-in-new-window-7937'
resolves #7937
2015-03-19 11:06:21 +01:00
Matthias Jentsch
5383999ef7 Add warning to links that open in a new window
Add warning on mouseover / focus as recommended by as recommended by WCAG20 G201

refs #7937
2015-03-19 10:49:28 +01:00
Eric Lippmann
ec60f15f09 Leave note about Upgrading to Icinga Web 2 Beta 3 v2.0.0-beta3 2015-03-13 17:22:49 +01:00
Eric Lippmann
f1cdc8c904 Sort host and service overview by display_name by default
refs #8716
2015-03-13 17:19:56 +01:00
Eric Lippmann
a932f9d7c9 Merge branch 'bugfix/service-sort-by-display_name-8716'
fixes #8716
2015-03-13 17:16:05 +01:00
Eric Lippmann
dbb5aba737 Sort by host_display_name too when sorting by host_severity
refs #8716
2015-03-13 17:14:14 +01:00
Eric Lippmann
03d85ac6ae Sort by service_display_name too when sorting by service_severity
refs #8716
2015-03-13 17:13:52 +01:00
Eric Lippmann
7ddd8d7ad2 Add support for order next to the column to DataView::getSortRules()
refs #8716
2015-03-13 17:12:16 +01:00
Eric Lippmann
949438d753 lib: Add SimpleQuery::splitOrder() ...
... for supporting specifying the sort direction next to the column, e.g.
'service_display_name ASC'

refs #8716
2015-03-13 17:09:32 +01:00