7897 Commits

Author SHA1 Message Date
Eric Lippmann
e58c0a8e42 monitoring: Apply restriction on contact groups before calling filterQuery which also handles format
refs #9965
2015-08-21 11:18:30 +02:00
Eric Lippmann
959cff4d10 monitoring: Apply restriction on contacts before calling filterQuery which also handles format
refs #9965
2015-08-21 11:17:44 +02:00
Eric Lippmann
d463a86304 monitoring: Apply restriction on notifications before calling filterQuery which also handles format
refs #9965
2015-08-21 11:16:53 +02:00
Eric Lippmann
5d325f3182 monitoring: Apply restriction on downtimes before calling filterQuery which also handles format
refs #9965
2015-08-21 11:16:02 +02:00
Eric Lippmann
4aa0af5dca monitoring: Apply restriction on services before calling filterQuery which also handles format
refs #9965
2015-08-21 11:15:32 +02:00
Eric Lippmann
67bbc3ed6a monitoring: Apply restriction on hosts before calling filterQuery which also handles format
refs #9965
2015-08-21 11:14:43 +02:00
Eric Lippmann
fc28088dc0 monitoring: Remove deprecated method ListController::applyRestriction() 2015-08-21 11:09:54 +02:00
Matthias Jentsch
44271471e3 Allow declarative definitions of badge renderers and improve interface
Allow the data backend, columns and generated tooltips to be defined in the configuration instead of providing subclasses for every new configuration. Provide an abstract BadgeMenuItemRenderer that allows creating Badges with less boilerplate.

fixes #9694
2015-08-20 18:16:33 +02:00
Matthias Jentsch
41d68f6a74 Fix delete comments and downtimes button
Fix faulty target names and add additional error checking in case the target DOM Element is not present.

fixes #9330
2015-08-19 16:36:47 +02:00
Matthias Jentsch
9e40f5f2c7 Remove option to skip certificate validation to prevent insecure configurations
Skipping certificate validation will allow MITM on every single request and not give any real security over just running unencrypted queries. On top of that, there is no way to configure this behavior from within PHP except of setting environment variables, which is really hacky and has side effects on other requests.

fixes #9607
2015-08-19 16:20:33 +02:00
Johannes Meyer
23f0686936 Merge branch 'feature/validate-pgsql-version-9460'
resolves #9460
2015-08-19 14:45:10 +02:00
Johannes Meyer
b7a389601d IdoResourcePage: Validate the version of a PostgreSQL server
refs #9460
2015-08-19 14:42:18 +02:00
Johannes Meyer
9282e1bce2 Merge branch 'master' into feature/validate-pgsql-version-9460 2015-08-19 14:04:37 +02:00
Johannes Meyer
63e639caf0 Handle module identification directly in the ActionController
Fixes some issues with more complex customisations in a
module's controller.
Obsoletes: 93f8297344cfdb2037f4646dc84046fbea851946
2015-08-19 13:39:46 +02:00
Johannes Meyer
036da072c5 Revert "ActionController: Give modules a chance to dynamically require auth"
This reverts commit 93f8297344cfdb2037f4646dc84046fbea851946.
2015-08-19 13:39:46 +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
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
Johannes Meyer
b7ee867239 DbResourcePage: Validate the version of a PostgreSQL server
refs #9460
2015-08-18 16:20:25 +02:00
Johannes Meyer
e7cfc25b04 DbTool: Add method getServerVersion()
refs #9460
2015-08-18 16:19:01 +02:00
Johannes Meyer
41ebb49c58 DbTool: Add method isConnected()
refs #9460
2015-08-18 16:18:25 +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
Johannes Meyer
a0fce449a9 Wizard: Fix that the sidebar and default header is shown 2015-08-18 14:56:25 +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
Johannes Meyer
a6fb3d59f8 js: Disable text selection for multiselect tables only 2015-08-17 16:06:23 +02:00
Johannes Meyer
0ac2a8898a Merge branch 'feature/provide-a-complete-list-of-filter-columns-9029'
resolves #9029
2015-08-17 15:41:54 +02:00
Johannes Meyer
e5f249270a Merge branch 'master' into feature/provide-a-complete-list-of-filter-columns-9029 2015-08-17 15:41:40 +02:00
Johannes Meyer
8b8fb6379d DataView: Provide default labels for non-labelled filter columns
refs #9029
2015-08-17 15:06:52 +02:00
Johannes Meyer
84ac316cde IdoQuery: Allow check if a column is case insensitive compared
refs #9029
2015-08-17 15:05:44 +02:00
Johannes Meyer
b061161979 DataView\Statussummary: Adjust how to handle filter columns
refs #9029
2015-08-17 14:07:07 +02:00
Johannes Meyer
e20f78bba9 DataView\Servicestatussummary: Adjust how to handle filter columns
refs #9029
2015-08-17 14:06:58 +02:00
Johannes Meyer
fe9c7a613c DataView\Servicestatus: Adjust how to handle filter columns
refs #9029
2015-08-17 14:06:48 +02:00
Johannes Meyer
f0488dddf4 DataView\Servicegroupsummary: Adjust how to handle filter columns
refs #9029
2015-08-17 14:06:36 +02:00
Johannes Meyer
92cece92ab DataView\Servicegroup: Adjust how to handle filter columns
refs #9029
2015-08-17 14:06:26 +02:00
Johannes Meyer
833e177666 DataView\Servicedowntime: Adjust how to handle filter columns
refs #9029
2015-08-17 14:06:14 +02:00
Johannes Meyer
66d5513517 DataView\Servicecomment: Adjust how to handle filter columns
refs #9029
2015-08-17 14:06:05 +02:00
Johannes Meyer
5d2c389220 DataView\Notification: Adjust how to handle filter columns
refs #9029
2015-08-17 14:05:56 +02:00
Johannes Meyer
ebbc2686c8 DataView\Hoststatussummary: Adjust how to handle filter columns
refs #9029
2015-08-17 14:05:49 +02:00
Johannes Meyer
25acebab77 DataView\Hostgroupsummary: Adjust how to handle filter columns
refs #9029
2015-08-17 14:05:37 +02:00