Commit Graph

6199 Commits

Author SHA1 Message Date
Johannes Meyer 84a2727523 Eventhistory: Fetch object names using their columns with initial collation
refs #8613
2015-04-09 14:17:27 +02:00
Matthias Jentsch 0312d8d6da Add pie chart and state summary to command forms
refs #8565
2015-04-09 14:01:56 +02:00
Johannes Meyer bc6a086ff8 DataView\Comment: Do not permit `comment_author' to be queried
refs #8163
2015-04-09 13:08:49 +02:00
Johannes Meyer 5372dfb7f1 Fetch a comment's author using `comment_author_name'
refs #8613
2015-04-09 13:07:50 +02:00
Johannes Meyer 21c76010d4 CommentQuery: Add `comment_author_name' as additional query column
refs #8613
2015-04-09 13:06:38 +02:00
Johannes Meyer 8ed1c8eeb6 DataView\Comment: Add `service_host_name' as allowed query column
refs #8613
2015-04-09 12:56:31 +02:00
Johannes Meyer 002b820835 CommentQuery: Provide `service_host' additionally to `service_host_name'
refs #8613
2015-04-09 12:55:57 +02:00
Johannes Meyer 480f5516d6 DataView\Comment: Do not permit querying `host' and `service'
refs #8613
2015-04-09 12:53:28 +02:00
Johannes Meyer cb95f53dba CommentQuery: Fetch and display object names with their initial collation
i.e. `host_name' instead of `comment_host' alias `host'
and `service_description' instead of `comment_service' alias `service'.

refs #8613
2015-04-09 12:49:06 +02:00
Johannes Meyer 1e6f292910 Use `servicegroup_name' instead of `servicegroup' to filter services
refs #8613
2015-04-09 11:43:51 +02:00
Johannes Meyer e5eca97169 Use `hostgroup_name' instead of `hostgroup' to filter hosts and services
refs #8613
2015-04-09 11:43:21 +02:00
Johannes Meyer f7550f55c1 Permit to filter hosts and services by hostgroup_name and servicegroup_name
refs #8613
2015-04-09 11:41:56 +02:00
Matthias Jentsch 878ef05896 Fix "show all downtimes" links
refs #8565
2015-04-09 11:19:13 +02:00
Johannes Meyer 7d984665d6 Use `host_name' to decide whether to show a service's host or not
`host' might match multiple hosts even if no * is being part of the filter.

refs #8613
2015-04-09 11:12:09 +02:00
Johannes Meyer cee189a5fc Adjust command links so that they'll use `service_description'
...instead of `service'

refs #8613
2015-04-09 10:28:34 +02:00
Johannes Meyer b9aee47d1f Adjust command links so that they'll use `host_name' instead of `host'
refs #8613
2015-04-09 10:27:41 +02:00
Matthias Jentsch 06a44119de Fix formatting issue in service multi-view
refs #8565
2015-04-09 09:52:31 +02:00
Johannes Meyer 09ab601942 Require `service_description' instead of `service' to show a particular service
`service' implies that it is possible to provide case-less identifiers which is
*not* possible.

refs #8613
2015-04-08 16:49:52 +02:00
Johannes Meyer b93d18a0fc Require `host_name' instead of `host' to show or list particular objects
`host' implies that it is possible to provide case-less identifiers which is
*not* possible.

refs #8613
2015-04-08 16:25:29 +02:00
Johannes Meyer 13596ec70f ShowController: Remove obsolete use statements 2015-04-08 15:21:16 +02:00
Alexander A. Klimov 20b09d3bda Inherit from Icinga\Web\Controller rather than from Icinga\Web\Controller\ModuleActionController 2015-04-08 15:13:59 +02:00
Johannes Meyer 55e9407371 Use `service' instead of `service_description' when searching for services
refs #8613
2015-04-08 14:57:30 +02:00
Johannes Meyer e94c99e20e Use `host' instead of `host_name' when searching for hosts
refs #8613
2015-04-08 14:57:08 +02:00
Johannes Meyer c56c5655bd Do not permit querying columns with changed collation and a valid alternative
refs #8613
2015-04-08 14:51:04 +02:00
Johannes Meyer 9557585f6a Add an additional column for servicegroup names with unchanged collation
refs #8613
2015-04-08 14:49:18 +02:00
Johannes Meyer c476ee6855 Add an additional column for hostgroup names with unchanged collation
refs #8613
2015-04-08 14:42:57 +02:00
Johannes Meyer 98c76a693e Do not adjust the collation when querying service descriptions
refs #8613
2015-04-08 14:41:13 +02:00
Johannes Meyer b449127680 Do not adjust the collation when querying host names
refs #8613
2015-04-08 14:40:34 +02:00
Eric Lippmann 45d1230b28 Merge branch 'master' into bugfix/significant-whitespaces-8777 2015-04-08 10:19:53 +02:00
Eric Lippmann 09acddb3b7 Fix filter tests not taking whitespaces into account
refs #8777
2015-04-08 10:18:42 +02:00
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