Commit Graph

12181 Commits

Author SHA1 Message Date
Eric Lippmann a1a18feb04 js/storage: Allow to set the storage backend 2019-07-30 08:14:49 +02:00
Markus Frosch c66d206042 Cleanup executable flags on files
Some or scripts, but if so just vendor artifacts
2019-07-30 07:53:54 +02:00
Eric Lippmann a94e8fb211 monitoring: Clone the filter for the grid links
Before, it was impossible to change an existing filter via the filter
editor in the host and service group views because of an exception about
wrong IDs.
The filter editor sets the IDs correctly. But since we're adding the
filter again to another URL, FilterChain::addFilter() overrides the IDs
because it is not working with a clone.
2019-07-29 13:22:55 +02:00
Johannes Meyer d2a2eae600 css: Re-add `margin:0` removed by 9d0ef4cf3 to `.overview-plugin-output` 2019-07-29 12:24:52 +02:00
Johannes Meyer 23590c5e20 js: Remove redundant vendor libraries 2019-07-29 09:52:52 +02:00
Johannes Meyer b6c89bc863
Merge pull request #3870 from Icinga/feature/collapsible-plugin-output-3566
Collapsible plugin output
2019-07-29 09:33:58 +02:00
Johannes Meyer b5f7e84246
Merge pull request #3860 from Icinga/feature/make-overdue-checks-better-visible-3212
Make overdue/unreachable checks better visible
2019-07-29 09:28:33 +02:00
Johannes Meyer f32dac7a70 ServicestatusQuery: Add `latency` to next_update calculation..
..and double the entire result

refs #3212
2019-07-29 09:12:46 +02:00
Johannes Meyer 44f63576d1 HoststatusQuery: Add `latency` to next_update calculation..
..and double the entire result

refs #3212
2019-07-29 09:12:46 +02:00
Johannes Meyer 5ead593fa7 monitoring/list/services: Make overdue/unreachable services better visible
refs #3212
2019-07-29 09:12:46 +02:00
Johannes Meyer 18b933679c monitoring/list/hosts: Make overdue/unreachable hosts better visible
refs #3212
2019-07-29 09:12:46 +02:00
Eric Lippmann 2c11f5307d Fix event detail link for notifications 2019-07-26 16:53:13 +02:00
Johannes Meyer a4848803c8 collapsible.js: Listen on `#layout` for rendered events 2019-07-26 16:23:18 +02:00
Feu Mourek 4760e55786 Fix typo 'overvies' -> 'overviews' (#3876) 2019-07-26 07:49:48 +02:00
Johannes Meyer 91a8bdf786 collapsible.js: Don't collapse until at least twice the visible space is required 2019-07-26 07:36:17 +02:00
Johannes Meyer 74bf1bdc89 notes.phtml: Collapse notes if they exceed 200px 2019-07-26 07:36:17 +02:00
Johannes Meyer 1fd673a034 collapsible.js: Let fade effect look good in containers with .impact 2019-07-26 07:36:17 +02:00
Johannes Meyer 74cb0ef3c9 collapsible.js: Don't enforce `data-visible-rows` for tables and lists 2019-07-26 07:36:17 +02:00
Johannes Meyer 2179518904 storage.js: Properly check if we have any keys left before clearing the storage 2019-07-26 07:36:17 +02:00
Johannes Meyer 226b58ac9d customvars.phtml: Collapse custom variables if they exceed 5 rows
Also collapses customvar values if they're JSON blobs and exceed
5 rows.

refs #3566
2019-07-26 07:36:17 +02:00
Johannes Meyer f42a49d4a9 perfdata.phtml: Collapse perfdata values if they exceed 5 lines
refs #3566
2019-07-25 13:22:43 +02:00
Johannes Meyer b61a952cfd output.phtml: Collapse plugin output if it exceeds 100px
refs #3566
2019-07-25 08:17:41 +02:00
Johannes Meyer cee6eb1ac8
Merge pull request #3867 from Icinga/fix/confusing-downtime-notification-history-2963
Fix confusing downtime notification history
2019-07-23 15:09:39 +02:00
Eric Lippmann aa293f54bd Separate icon and event output in the history views 2019-07-23 14:49:39 +02:00
Eric Lippmann 213e7a3c13 Show new notfication types in the history views 2019-07-23 14:48:00 +02:00
Eric Lippmann 54f9c68887 Show notifications before any other event in the history views 2019-07-23 14:48:00 +02:00
Eric Lippmann f80a61d9e5 Respect notification type of subqueries 2019-07-23 14:48:00 +02:00
Eric Lippmann 1d1fd0b3b2 Use notification_reason for new notification types 2019-07-23 14:48:00 +02:00
Johannes Meyer 9d0ef4cf33 Wrap any markdown output with a `<section>` and remove explicit containers 2019-07-23 14:45:32 +02:00
Johannes Meyer d0fbe0b38b
Merge pull request #3872 from Icinga/feature/restyle-role-form
Restyle role form
2019-07-23 14:00:41 +02:00
Johannes Meyer 5e09cd647a js: Prevent that collapsible buttons submit forms 2019-07-23 13:53:29 +02:00
Johannes Meyer 8310d9c781 roles: Restructure form and utilize class `RolesConfig` 2019-07-23 13:53:29 +02:00
Johannes Meyer 9de9fe8f39 Introduce class RolesConfig 2019-07-23 13:53:29 +02:00
Johannes Meyer 1f0ee9b0d4 IniRepository: Fix wrong documentation for $configs 2019-07-23 13:53:29 +02:00
Florian Strohmaier 31815d1035 CSS: Adjust logo-container to match tab’s height, when sidebar collapsed 2019-07-23 11:36:04 +02:00
Johannes Meyer f1db972cc5 ui.js: Only set tabindex=-1 on elements which are otherwise not focusable 2019-07-22 13:41:52 +02:00
Johannes Meyer 39fbd3e27e monitoring: Re-add missing query columns to event overview
`hostgroup`, `hostgroup_alias`, `servicegroup`, `servicegroup_alias`

fixes #3848
2019-07-18 14:50:35 +02:00
Johannes Meyer 853864aee1
Merge pull request #3833 from Icinga/feature/restore-collapsed-sidebar-on-page-load-3628
navigation.js: Store and load sidebar collapse state from localStorage
2019-07-18 10:00:20 +02:00
Johannes Meyer dd4cfaba50 navigation.js: Store and load sidebar collapse state from localStorage
resolves #3628
2019-07-18 09:43:22 +02:00
Johannes Meyer 40529e76ef
Merge pull request #3858 from Icinga/feature/downtime-schedule-times
Require time output for downtime schedule and end/expire times
2019-07-18 08:47:55 +02:00
Johannes Meyer 8d09279e15
Merge pull request #3837 from Icinga/fix/dont-translate-pane-and-dashlet-names-in-configs-3542
Don't translate pane and dashlet names in configs
2019-07-18 08:45:36 +02:00
Johannes Meyer 40ab96be98 doc: Add upgrading note about the dashboard breaking change
refs #3542
2019-07-18 08:36:26 +02:00
Johannes Meyer fdff949a59 migrate: Introduce class DashboardCommand
refs #3542
2019-07-18 08:33:35 +02:00
Johannes Meyer fcde2a9eea dashboard: Use the non-translated versions of pane and dashlet names for storage
This is a dirty quick fix. And calling it *quick* is already an overstatement.
Of course, it's also a breaking change, as **all** non-english users need to
update their dashboard.ini after this change.

Oh, and don't dare to move this over to the new dashboards!

refs #3542
2019-07-18 08:33:35 +02:00
Johannes Meyer 4fdfb190ad Navigation/DashboardPane: Properly register dashlets as children
refs #3542
2019-07-18 08:33:35 +02:00
Johannes Meyer 37a972cf75 dashboard: Differentiate between `name` and `title`
The former is the original name while title may
be changed by the user. This change is strictly
necessary for the references bug and should also
be introduced when rewriting this mess.

refs #3542
2019-07-18 08:33:35 +02:00
Johannes Meyer 813efde1b6
Merge pull request #3813 from Icinga/update-js-vendor-lib-3784
Update JS vendor libs
2019-07-18 08:08:08 +02:00
Johannes Meyer 3310bbc680 js: Patch vendor library sparkline to ensure compatibility with jQuery v3 2019-07-18 07:57:14 +02:00
Johannes Meyer f8d3f43965 js: Drop vendor library tipsy 2019-07-18 07:57:14 +02:00
Johannes Meyer eac3a106ad Render `<title>` tags for line and bar charts instead of tipsy titles 2019-07-18 07:57:14 +02:00