Alexander A. Klimov
2ed1d6c66b
Implement ::getSearchColumns()
...
refs #8241
2015-05-19 17:36:24 +02:00
Alexander A. Klimov
36713fb519
Rename parameter $query of ::filterQuery() to $dataView
...
refs #8241
2015-05-19 17:36:23 +02:00
Alexander A. Klimov
b1b2e3fc21
Revert "Merge branch 'bugfix/Take-display_name-into-account-when-searching-for-host-and-service-names-8241'"
...
This reverts commit 75b004dc42
, reversing
changes made to bd7c7f9636
.
2015-05-19 17:13:46 +02:00
Eric Lippmann
0a8c9ad195
Merge branch 'feature/list-number-of-hosts-in-host-groups-8054'
...
resolves #8054
2015-05-19 15:10:20 +02:00
Johannes Meyer
fb07f0b94c
Merge branch 'master' into feature/user-and-group-management-8826
...
Conflicts:
library/Icinga/Authentication/Backend/LdapUserBackend.php
library/Icinga/Protocol/Ldap/Query.php
2015-05-19 14:14:03 +02:00
Alexander A. Klimov
a2b262eab1
Take display_name into account when searching for host and service names
...
refs #8241
2015-05-19 14:04:23 +02:00
Alexander A. Klimov
85dd496d35
Add parameter $searchColumns to ::filterQuery()
...
refs #8241
2015-05-19 14:01:18 +02:00
Johannes Meyer
4cedfce07f
DataView: Fix that method getOffset() calls parent::hasOffset()
2015-05-19 13:57:20 +02:00
Johannes Meyer
a629adb448
DataView: Remove method paginate()
2015-05-19 13:57:20 +02:00
Eric Lippmann
afe07f4814
Revert "Hostgroups view: reduce "Last Problem" column's width"
...
This reverts commit 8b08473341
.
Common table style is subject of #8935 .
refs #8054
2015-05-19 13:45:20 +02:00
Eric Lippmann
3296522d90
Merge branch 'feature/Allow-to-add-columns-to-monitoring-views-via-URL-4498'
...
resolves #4498
2015-05-19 13:35:04 +02:00
Alexander A. Klimov
d539a0e017
Add PHPDoc to ::addColumns()
...
refs #4498
2015-05-19 10:11:54 +02:00
Johannes Meyer
f305a334d5
DbConnection: Drop param $columnIndex in fetchColumn(), it's unused
2015-05-19 09:48:20 +02:00
Matthias Jentsch
94555d7998
Streamline layout of all multi-views
...
Fix small inconsistencies between layout of downtime, comment, service and host multi-views.
2015-05-18 17:17:30 +02:00
Alexander A. Klimov
0bde465295
Rename ::extraColumns() to ::addColumns()
...
refs #4498
2015-05-18 16:29:33 +02:00
Alexander A. Klimov
52d1cb8c8f
Merge branch 'bugfix/Toggle-FeaturesCommandForm-make-notifications-more-verbose-9023'
...
fixes #9023
2015-05-18 16:09:07 +02:00
Alexander A. Klimov
7caba93a28
Replace `...' w/ `..'
...
refs #9023
2015-05-18 16:07:28 +02:00
Johannes Meyer
0e0341f78a
It's the connection which provides a cursor, not the query
2015-05-18 16:01:58 +02:00
Matthias Jentsch
592d5eadc1
Merge branch 'feature/improve-multi-select-view-8565'
2015-05-18 16:00:52 +02:00
Matthias Jentsch
1f20ba1bc6
Fix state summary base target in multi views
...
refs #8565
2015-05-18 15:48:04 +02:00
Matthias Jentsch
c3129890aa
Improve multi-view tabs
...
Display the current object count next to the tab title, to clarify that those views display a summary of multiple items. Only display the current tab for hosts or services, to avoid confusion.
refs #8565
2015-05-18 15:25:12 +02:00
Alexander A. Klimov
0d48ddcc06
ToggleObjectFeaturesCommandForm::onSuccess(): show a notification for each feature about whether it has been enabled or disabled
...
refs #9023
2015-05-18 15:18:26 +02:00
Johannes Meyer
742dfcaf41
Revert "Fetchable: Add method fetch() which returns an iterator"
...
This reverts commit 7a6837de0e
.
2015-05-18 15:17:22 +02:00
Matthias Jentsch
342a8a39d1
Fix state summary in multi views
...
refs #8565
2015-05-18 14:58:51 +02:00
Alexander A. Klimov
729fb9a4d1
ToggleInstanceFeaturesCommandForm::onSuccess(): notifications: show which feature has been enabled or disabled
...
refs #9023
2015-05-18 14:51:22 +02:00
Matthias Jentsch
e84491d438
Improve multi view layout
...
refs #8565
2015-05-18 14:49:06 +02:00
Alexander A. Klimov
4fbadaea2c
ToggleInstanceFeaturesCommandForm::createElements(): make form labels shorter
...
refs #9023
2015-05-18 14:20:17 +02:00
Marius Hein
f4d25a71c8
Merge branch 'master' into feature/service-actions-9284
2015-05-18 14:07:41 +02:00
Matthias Jentsch
00bbb762a1
Integrate comments and downtimes into MonitoredObjectsController
...
Add option to list all related commends and downtimes into the specific hosts and serivces views.
refs #8565
2015-05-18 14:03:10 +02:00
Johannes Meyer
7a6837de0e
Fetchable: Add method fetch() which returns an iterator
2015-05-18 13:59:16 +02:00
Matthias Jentsch
fe2ee3617b
Remove pie charts from multi-views
...
refs #8565
2015-05-18 13:56:35 +02:00
Alexander A. Klimov
4ff7d7a845
Don't parse $object->check_execution_time w/ regex as it's always a float (or null)
2015-05-18 13:37:38 +02:00
Marius Hein
62d8c441f8
Add ServiceActionsHook
...
refs #9284
2015-05-18 11:45:39 +02:00
Johannes Meyer
524c449649
Merge branch 'master' into feature/user-and-group-management-8826
2015-05-18 11:28:07 +02:00
Alexander A. Klimov
533c980a29
Show only three significant digits in check execution time
...
fixes #8849
2015-05-15 17:32:13 +02:00
Alexander A. Klimov
58434d9743
ToggleInstanceFeaturesCommandForm::onSuccess(): show a notification for each feature about whether it has been enabled or disabled
...
fixes #9023
2015-05-15 17:01:28 +02:00
Alexander Fuhr
2cbcea25cb
Merge branch 'feature/ido-resource-validation-9203'
...
fixes #9214
resolves #9203
2015-05-15 15:59:18 +02:00
Alexander Fuhr
e6ba3d6470
Add descriptive message to custom validations
...
refs #9203
2015-05-15 15:49:57 +02:00
Johannes Meyer
d0cc2ae704
ShowController: Use a default limit of 50 for an object's history listing
...
refs #8337
2015-05-15 15:23:49 +02:00
Johannes Meyer
fbf0ad4339
Drop interface Browsable
...
We're not required to handle objects of Zend_Paginator in any way, so
creating such as part of a query is not necessary since QueryAdapter
accepts any instance of QueryInterface. (gets enforced in the near future)
refs #8339
2015-05-15 14:37:41 +02:00
Johannes Meyer
5faebb4a88
DataView: Implement interface IteratorAggregate
...
I'd like to foreach such.
2015-05-15 14:37:41 +02:00
Johannes Meyer
3770741ba5
DataView: Implement QueryInterface
...
An instance of DataView should implement the full interface, not only
parts of it.
2015-05-15 14:37:41 +02:00
Johannes Meyer
3b7f27f614
Revert "ListController: set up sort control before paginating a query"
...
This reverts commit ca79b020e3
.
2015-05-15 14:37:41 +02:00
Alexander Fuhr
df7b56881f
Add IDO instance validation
...
refs #9203
2015-05-15 13:06:33 +02:00
Alexander A. Klimov
8b08473341
Hostgroups view: reduce "Last Problem" column's width
2015-05-15 12:34:59 +02:00
Alexander A. Klimov
c7d1a7211f
Show host states in host groups
2015-05-15 11:28:16 +02:00
Alexander A. Klimov
386d4db851
Make ascending sort by host or service severity initiatable
...
fixes #9059
2015-05-15 11:19:52 +02:00
Johannes Meyer
149e893ecd
Revert "Make ascending sort by host or service severity initiatable"
...
This reverts commit 7e1f9f6dcc
.
2015-05-15 10:54:30 +02:00
Alexander A. Klimov
e879ba445d
List number of hosts in host groups
...
refs #8054
2015-05-13 18:15:04 +02:00
Alexander A. Klimov
ead0a64244
GroupsummaryQuery: add column `hosts_total'
...
refs #8054
2015-05-13 18:10:18 +02:00
Alexander A. Klimov
7e1f9f6dcc
Make ascending sort by host or service severity initiatable
...
fixes #9059
2015-05-13 17:48:34 +02:00
Alexander A. Klimov
ab2f8e09d6
Calculate states for host group view from host states
...
refs #8860
2015-05-13 16:31:25 +02:00
Alexander A. Klimov
43d8968bd2
GroupsummaryQuery: add columns
...
hosts_up_last_state_change
hosts_pending_last_state_change
hosts_down_last_state_change_handled
hosts_unreachable_last_state_change_handled
hosts_down_last_state_change_unhandled
hosts_unreachable_last_state_change_unhandled
refs #8860
2015-05-13 16:22:47 +02:00
Alexander A. Klimov
ca79b020e3
ListController: set up sort control before paginating a query
2015-05-13 14:33:48 +02:00
Johannes Meyer
aa466ae721
Merge branch 'master' into feature/user-and-group-management-8826
2015-05-13 08:11:59 +02:00
Alexander A. Klimov
9e3d65e4e9
Display performance data metrics with value 0
...
fixes #8744
2015-05-12 17:44:53 +02:00
Alexander A. Klimov
9e4c00506d
Revert "Display performance data metrics with value 0"
...
This reverts commit 3c73f28157
.
2015-05-12 17:22:25 +02:00
Alexander A. Klimov
3c73f28157
Display performance data metrics with value 0
...
fixes #8744
2015-05-12 17:19:20 +02:00
Alexander A. Klimov
7353c0d287
IdoQuery::initializeForPostgres(): cast only valid IP addresses to inet
...
fixes #7165
2015-05-12 16:35:14 +02:00
Johannes Meyer
c91d3e52ac
Merge branch 'master' into feature/user-and-group-management-8826
2015-05-12 15:39:02 +02:00
Alexander A. Klimov
dd58f1466c
Don't apply sort rules in Monitoring_ListController::filterQuery()
...
refs #9220
2015-05-12 10:17:38 +02:00
Johannes Meyer
399bbf0795
AuthenticationStep: Adjust usage of a DbUserBackend's insert capability
...
refs #8826
2015-05-11 16:01:20 +02:00
Matthias Jentsch
6658415b6f
Remove uneeded use statements
2015-05-11 14:40:23 +02:00
Alexander A. Klimov
152c6a8f7f
Merge Monitoring_ListController::hasBetterUrl() into Icinga\Web\Controller::init()
...
refs #9220
2015-05-11 13:36:58 +02:00
Matthias Jentsch
25f397042b
Merge branch 'master' into feature/improve-multi-select-view-8565
...
Conflicts:
modules/monitoring/application/controllers/HostsController.php
modules/monitoring/application/controllers/ServicesController.php
modules/monitoring/application/views/scripts/hosts/show.phtml
modules/monitoring/application/views/scripts/list/hosts.phtml
modules/monitoring/application/views/scripts/partials/host/objects-header.phtml
modules/monitoring/application/views/scripts/partials/service/objects-header.phtml
modules/monitoring/application/views/scripts/services/show.phtml
modules/monitoring/public/css/module.less
public/js/icinga/behavior/tooltip.js
2015-05-11 13:28:43 +02:00
Alexander Fuhr
c3b4ea71d3
Add ido schema and instance availability validation
...
refs #9203
2015-05-11 10:32:34 +02:00
Matthias Jentsch
8c5f2662ea
Fix redirects in downtime multi view
...
refs #8624
2015-05-07 17:33:38 +02:00
Matthias Jentsch
fff2d5c816
Use consistent controller names
...
refs #8624
2015-05-07 17:29:46 +02:00
Matthias Jentsch
83efc3a4a3
Conform to coding guidelines
2015-05-07 17:23:50 +02:00
Matthias Jentsch
c6c78989a5
Fix redirects after deleting a comment
...
refs #8624
2015-05-07 17:02:34 +02:00
Matthias Jentsch
1fa550838d
Coding guidelines and cleanup
2015-05-07 16:37:35 +02:00
Matthias Jentsch
7cf2cb034e
Remove unused and redundant controller actions
...
refs #8624
2015-05-07 16:22:17 +02:00
Matthias Jentsch
ac599e642a
Add submit button label to multi comment form
...
refs #8624
2015-05-07 16:21:34 +02:00
Matthias Jentsch
b314c074cc
Fix downtime and comment form redirects
...
refs #8624
2015-05-07 16:20:59 +02:00
Matthias Jentsch
4463f16f04
Add abbillity to remove multiple comments by id
...
refs #8624
2015-05-07 15:11:54 +02:00
Matthias Jentsch
ffd12e325c
Improve up downtime command form properties
...
Use a flag instead of a enumeration in delete downtime command form, to remove needless boilerplate.
refs #8624
2015-05-07 14:05:16 +02:00
Matthias Jentsch
b35dd4ddfe
Separate forms for deleting single and multiple comments
...
refs #8624
2015-05-07 14:03:09 +02:00
Matthias Jentsch
7c8ff44fd1
Fix comment and downtime list inline forms
...
refs #8903
refs #8902
2015-05-07 10:59:37 +02:00
Matthias Jentsch
11c9cde557
Remove dashboard action from multi view
...
refs #8903
2015-05-07 10:59:36 +02:00
Matthias Jentsch
3187975553
Conform to coding guidelines
2015-05-07 10:59:36 +02:00
Matthias Jentsch
1586275521
Conform to coding guidelines in downtime controller
2015-05-07 10:59:36 +02:00
Matthias Jentsch
e5e3e80300
Conform to coding guidelines
2015-05-07 10:59:36 +02:00
Matthias Jentsch
5477a2f18e
Escape missing variables
...
refs #8903
2015-05-07 10:59:36 +02:00
Matthias Jentsch
e6740c5093
Set link target to next page in all comment views
...
refs #8903
2015-05-07 10:59:36 +02:00
Matthias Jentsch
c71786a624
Remove useless comments
2015-05-07 10:59:36 +02:00
Matthias Jentsch
6ff903c8a9
Remove useless comments
2015-05-07 10:59:36 +02:00
Matthias Jentsch
0c7d8ab481
Add controlle for handling multiple comments
...
refs #8903
2015-05-07 10:59:36 +02:00
Matthias Jentsch
ca839d5123
Display amount of selected rows
...
refs #8903
2015-05-07 10:59:36 +02:00
Matthias Jentsch
cab198eadc
Fix whitespaces and unused comments
2015-05-07 10:59:36 +02:00
Matthias Jentsch
32da02c162
Deduplicate comment views
...
Move comment detail and description into separate partial to reduce code duplication
2015-05-07 10:59:36 +02:00
Matthias Jentsch
dedc175967
Add basic comment detail view
...
refs #8903
2015-05-07 10:59:36 +02:00
Matthias Jentsch
d316b31cbb
Fix downtime removal command in detail view
...
Use removal command for single downtimes in detail view. Move removing single and multiple downtimees into seperate forms.
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch
a46dece136
Provie link to detail view in downtime partial
...
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch
be566746a9
Provide downtime header in remove and remove-all commands
...
Add new show script for downtimes and move downtime headers into partials to deduplicate code.
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch
6ddb004230
Move removal command actions into the downtime controllers
...
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch
b186ce2cac
Handle non-existed downtime ids with exceptions
...
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch
400f351ea5
Improve detail view layout
...
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch
07c5e67304
Display additional downtime info in multiselection detail view
...
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch
a87e1f91d9
Implement detail view for multiple downtimes
...
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch
20b25e656b
Show better error message for unknown downtimes
...
refs #8902
2015-05-07 10:34:06 +02:00