7912 Commits

Author SHA1 Message Date
Eric Lippmann
c8790fad93 Merge branch 'bugfix/service-grid-display_name-9538' into bugfix/service-grid-grouping-postgres-9333
Conflicts:
	library/Icinga/Data/PivotTable.php
	modules/monitoring/application/controllers/ListController.php
2015-08-25 15:51:20 +02:00
Eric Lippmann
c5fe641c43 monitoring: Rewrite service-grid view script
refs #9538
2015-08-25 14:55:02 +02:00
Eric Lippmann
bf7d1ba878 monitoring: Set display names as axis headers for the service grid
refs #9538
2015-08-25 14:54:15 +02:00
Eric Lippmann
1f7c8c712f monitoring: Load colors.less and service-grid.less
refs #9538
2015-08-25 14:53:46 +02:00
Eric Lippmann
83a0e53a46 monitoring: Add service-grid.less
Rewritten CSS for the service grid.

refs #9538
2015-08-25 14:48:32 +02:00
Eric Lippmann
d8c7c216f1 monitoring: Add colors.less
Colors.less includes atomic definitions for background-colors related to different states at the moment. These definitions should be used when coloring backgrounds according to host and service states.

refs #9538
2015-08-25 14:47:16 +02:00
Eric Lippmann
403f7016ca lib: Allow to set axis header columns in the pivot table
PivotTable::toArray() now returns the pivot data and the pivot header.

refs #9538
2015-08-25 14:46:23 +02:00
Eric Lippmann
cc7eab6746 monitoring: Remove CSS for the service grid
Will be rewritten.

refs #9538
2015-08-25 14:44:27 +02:00
Eric Lippmann
cfad85cce1 monitoring: Collect display names as table headers for the service grid
refs #9538
2015-08-24 09:23:46 +02:00
Eric Lippmann
ceaba90872 css: Load mixins.less 2015-08-21 16:45:05 +02:00
Eric Lippmann
4c91d42853 css: add rounded-corners mixin 2015-08-21 16:44:30 +02:00
Eric Lippmann
2760c58162 css: Add mixins.less 2015-08-21 16:40:30 +02:00
Eric Lippmann
b629115ba7 monitoring: Use empty() for is empty check in the servicegrid view script
refs #9538
2015-08-21 11:37:46 +02:00
Eric Lippmann
5ae541db25 monitoring: Drop unnecessary call to array_values in the servicegrid view script
refs #9538
2015-08-21 11:35:30 +02:00
Eric Lippmann
71b89ea51a monitoring: Rename $serviceStates to $services in the servicegrid view script
refs #9538
2015-08-21 11:35:03 +02:00
Eric Lippmann
1ab8fc0012 monitoring: Use View::ellipsis() in the servicegrid view script
refs #9538
2015-08-21 11:32:33 +02:00
Eric Lippmann
9d40013b21 monitoring: Rename $service_description to $serviceDescription in the servicegrid view script
refs #9538
2015-08-21 11:30:18 +02:00
Eric Lippmann
d461270bf8 monitoring: Rename $host_name to $hostName in the servicegrid view script
refs #9538
2015-08-21 11:29:29 +02:00
Eric Lippmann
5da139943c lib: Fix type hint for $menuItems in Module 2015-08-20 16:59:02 +02:00
Eric Lippmann
9aa62c9898 lib: Fix type hint for $tabs in Module 2015-08-20 16:58:24 +02:00
Eric Lippmann
800173b19f lib: Fix type hint for $router in Module 2015-08-20 16:47:17 +02:00
Eric Lippmann
5d8f091209 lib: Don't alias Zend classes in Module 2015-08-20 16:46:31 +02:00
Eric Lippmann
1741a4f10b monitoring: Use display names for the aria-label in the service grid
refs #9538
2015-08-19 12:56:19 +02:00
Eric Lippmann
0c43e4a36b monitoring: Sort by display_names in the service grid
refs #9538
2015-08-19 12:55:55 +02:00
Eric Lippmann
9ea3f73e83 monitoring: Fix query class names not matching the file name 2015-08-19 12:52:38 +02:00
Eric Lippmann
7abc5778ea Fix PHPDoc in the String helper 2015-08-19 12:50:05 +02:00
Johannes Meyer
65806fafbf MonitoredObject: Only select history entries for the respective object
And fix that the default sort order is not applied.

fixes #9963
2015-08-19 11:53:00 +02:00
Eric Lippmann
4ab20b9142 monitoring: Eliminate unncessary GROUP BY clauses in the HoststatusQuery
refs #9956
2015-08-19 11:40:37 +02:00
Eric Lippmann
6e12dd4d78 monitoring: Fix service status grouping when selecting group alias columns
refs #9956
2015-08-19 11:39:51 +02:00
Johannes Meyer
7812f6ddcc DataView: Remove obsolete $filter property 2015-08-19 11:23:40 +02:00
Johannes Meyer
6063eea34f doc: Suggest the correct backend identifier for ActiveDirectory
fixes #9959
2015-08-19 09:23:29 +02:00
Matthias Jentsch
34bf6bb11e Stop refresh on any error unless its an auto-refresh
Links with the same URL may still be user-triggered actions, which should cause the auto-refresh to be stalled. The old implementation assumed that user-triggered requests always have a different URL.

fixes #8975
2015-08-18 16:47:45 +02:00
Matthias Jentsch
0c2afe3c3b Clean up and conform to coding guidelines 2015-08-18 16:47:45 +02:00
Eric Lippmann
18f720d31f monitoring: Eliminate unncessary GROUP BY clauses in the ServicestatusQuery
refs #9956
2015-08-18 16:37:14 +02:00
Eric Lippmann
f5ffa8047c monitoring: Fix handling of collated columns w/ PostgreSQL
fixes #9954
fxies #9955
2015-08-18 16:36:00 +02:00
Alexander Fuhr
038fa29da8 notifications(view): Fix the wrong url for the service row
fixes #9597
2015-08-18 16:06:57 +02:00
Eric Lippmann
d449ff661e monitoring/service grid: Set up the sort control for the pivot table instead of the service status query
refs #9333
2015-08-18 14:23:12 +02:00
Eric Lippmann
1492218962 Fix SortBox not usable w/o SortRules
The SortBox assumes the first avaiable sort column as default column if the given Sortable does not implement the SortRules interface.
When changing the direction of the default sort column, the sort box did not pass the column to Sortable::sort(). Thus the Sortable did not know by which column to sort.
Now the SortBox passes the sort column even if the direction of the default column is changed.

refs #9333
2015-08-18 14:18:48 +02:00
Eric Lippmann
f2f1e12b8e Let PivotTable implement Sortable
refs #9333
2015-08-18 14:17:07 +02:00
Eric Lippmann
d1f9c5ff0d Don't call setUseSubqueryCount() in the PivotTable
The query implementation handles this automatically.

refs #9333
2015-08-18 13:42:06 +02:00
Eric Lippmann
d0f2887367 Fix PHPDoc indents in the PivotTable
refs #9333
2015-08-18 13:35:50 +02:00
Eric Lippmann
0a7a8d377e Remove unnecessary import in the PivotTable
refs #9333
2015-08-18 13:34:14 +02:00
Alexander Fuhr
4848e36f1a IconImage: Fix the icon_image icon nfont usage
fixes #9582
2015-08-18 13:29:18 +02:00
Eric Lippmann
e904c26445 monitoring: Fix fetch function in the BackendAvailabilityMenuItemRenderer
fixes #9942
2015-08-18 13:09:34 +02:00
Eric Lippmann
00e206096d monitoring: Don't rely on Icinga updating the is_currently_running column
From version to version this column seems to be buggy as it's not being updated when stopping Icinga.

refs #9942
2015-08-18 13:08:03 +02:00
Matthias Jentsch
7c7881659d Always replace requests in loader by non-GET requests
Fix issue that caused form submits to be aborted when there's already a pending autosubmit for the same url.

fixes #9024
2015-08-18 11:42:43 +02:00
Matthias Jentsch
2541b0eba4 Restore hover menu on reload
Remember the hovered menu and restore it on each reload.

fixes #8969
2015-08-18 11:42:42 +02:00
Matthias Jentsch
15ec564bc5 Use an easier distinctable "disabled" icon for module state
fixes #9908
2015-08-18 11:42:42 +02:00
Matthias Jentsch
d51ecc3d72 Use better icons for resource and auth views
refs #9908
2015-08-18 11:42:42 +02:00
Johannes Meyer
93f8297344 ActionController: Give modules a chance to dynamically require auth 2015-08-18 11:28:02 +02:00