Commit Graph

12309 Commits

Author SHA1 Message Date
Feu Mourek bc4bb6741b Add form-backgrounds colour and apply to toggles and buttons 2019-08-02 12:53:52 +02:00
Feu Mourek 7acdf789e0 Change input background colour to darker shade 2019-08-02 10:54:11 +02:00
Feu Mourek f9a18e1ee6 Fix contrast for form inputs
refs #3892
2019-08-01 13:59:16 +02:00
Johannes Meyer 5a57903f6c forms.less: Fix element error layout 2019-07-30 10:17:57 +02:00
Eric Lippmann 7730058c2c Fix Event Grid PostgreSQL error
PostgreSQL fails with failed to find conversion function from
unknown to text. PostgreSQL won't detect the type of object_type.
Most likely because it's used in a CASE statement and provided by a
subquery:

select case when s.object_type = 'service' then 1 else 0 end from
(select ('service') as object_type) as s;

This commit just removes object_type from the CASE statements because we
don't need them anyway. Recently we've changed the event grid query to
only select hosts or services and not both.
2019-07-30 09:32:59 +02:00
Peter Eckel 718ecd05a7 Fix Icinga 2 version detection
With this commit the version prefix character is treated as optional
which always used to be 'r' or 'v'. But this is gone since Icinga 2
version 2.11.0 RC1.

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2019-07-30 09:32:17 +02:00
Johannes Meyer 00e499024f
Merge pull request #3868 from Icinga/feature/subquery-filter-in-chain
Support subquery filters in filter chains
2019-07-30 09:28:21 +02:00
Eric Lippmann ac08fb2c3b Fix filtered links in the tactical overview
Filter chains require parantheses to work properly.
2019-07-30 09:17:25 +02:00
Eric Lippmann e61cb71c17 Use unique values for combined AND group membership filters 2019-07-30 09:17:25 +02:00
Eric Lippmann 0de923fc5f Support "old" combined group membership filter in subquery filter chains 2019-07-30 09:17:25 +02:00
Eric Lippmann bee5099a08 Fix show all services links in the servicegroup overview
Before, the forced servicegroup_name paramemter may interfere with an
existing servicegroup_name filter.
2019-07-30 09:17:25 +02:00
Eric Lippmann 58e3ae46a7 Fix servicegroup subquery filter in the servicegroup view 2019-07-30 09:17:25 +02:00
Eric Lippmann cc94c12e55 Fix show all hosts/services links in the hostgroup overview
Before, the forced hostgroup_name paramemter may interfere with an
existing hostgroup_name filter.
2019-07-30 09:17:25 +02:00
Eric Lippmann 9a75e101ee Support subquery filters in filter chains
Before, combined membership filters were only possible in filter
expressions, e.g. hostgroup_name=(a&b). Now, also
(hostgroup_name=a&hostgroup_name=b) is supported which makes it easier
to build such filters with the filter editor.
2019-07-30 09:17:25 +02:00
Eric Lippmann b8fb193bdd Add FilterChain::setFilters() 2019-07-30 09:17:25 +02:00
Johannes Meyer a33fda9dd7
Merge pull request #3846 from Icinga/feature/contact-and-contactgroup-filter
Add contact and contactgroup filters
2019-07-30 09:07:55 +02:00
Johannes Meyer ea3a541017
Merge pull request #3801 from Icinga/feature/improve-host-service-distinction-in-lists-3615
Improve host-service distinction in lists
2019-07-30 08:55:03 +02:00
Eric Lippmann bfec423eae Compat: Provide empty LESS mixin .code()
Some 3rd party modules (e.g. vsphere) use this mixin (though we never had it).
With lessphp version 0.5.0 using undefined mixins now throws exceptions.
Since we can't rely that users upgrade those modules first,
we provide the mixin for compatibility here.
2019-07-30 08:31:03 +02:00
Johannes Meyer d13cade0f3
Merge pull request #3871 from Icinga/feature/add-servicegrid-problem-toggle-3793
Servicegrid: Add toggle to show problems only or everything
2019-07-30 08:26:46 +02:00
Johannes Meyer b31dd77812
Merge pull request #3676 from Icinga/feature/form-styling
Improve look of our forms
2019-07-30 08:26:08 +02:00
Johannes Meyer ac03ea67b3
Merge pull request #3880 from Icinga/feature/sidebar-state-per-tab
Maintain sidebar state per tab/window
2019-07-30 08:24:37 +02:00
Johannes Meyer 5849c06314 storage.js: Don't try and allow to register events for non-local backends 2019-07-30 08:17:29 +02:00
Eric Lippmann 62d4e73d5a Use session storage for sidebar state
The sidebar state is now maintained per tab/window because users view
different things in different tabs/windows. E.g. users work with a
specific module constantly clicking through the menu while having
other tabs/windows with some important dashboards open.
When the sidebar is closed in one tab/widnow, it should not close
the sidebar in the other tabs/windows.
2019-07-30 08:14:49 +02:00
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
Johannes Meyer f22d759858 RoleForm: Fully hide a fieldset's content if collapsed 2019-07-29 16:02:48 +02:00
Johannes Meyer eb0d808aec collapsible.js: Enhance height calculations
`data-visible-height` now only covers the actual content height
2019-07-29 16:02:48 +02:00
Johannes Meyer 27cd34dd2d js: Add new jQuery plugin `getData()` 2019-07-29 16:02:48 +02:00
Johannes Meyer 9e3c9bbab7 css: Don't apply .collapsible-control style to custom controls 2019-07-29 16:02:48 +02:00
Florian Strohmaier 1d5cfef78d CSS: Fix input height in filter editor 2019-07-29 14:19:59 +02:00
Eric Lippmann 11097fe75b Make host and service names bold in their detail headers 2019-07-29 14:03:40 +02:00
Eric Lippmann 9221e7894c Make host names bold in the event history 2019-07-29 14:03:40 +02:00
Eric Lippmann dc3147c652 Improve host-service distinction for events 2019-07-29 14:03:40 +02:00
Eric Lippmann f7ed5de8c8 Remove icon from event detail tab 2019-07-29 14:03:40 +02:00
Eric Lippmann 135601c0dc Add tab to contact detail 2019-07-29 14:03:40 +02:00
Eric Lippmann b6a399df1a Make host links bold in the comments view 2019-07-29 14:03:40 +02:00
Eric Lippmann 1f4c970cb3 Fix title attributes in the comment header 2019-07-29 14:03:40 +02:00
Eric Lippmann 5b3cbb0ffe Fix title attributes in the downtime header 2019-07-29 14:03:40 +02:00
Eric Lippmann 5993745a86 Select notification id 2019-07-29 14:03:40 +02:00
Eric Lippmann 227cb2c512 Fix grouping error when selecting the notification id 2019-07-29 14:03:40 +02:00
Eric Lippmann 98388c4346 Link to the event detail from the notifications view 2019-07-29 14:03:40 +02:00
Eric Lippmann 99ff058561 Improve host-service distinction for notifications 2019-07-29 14:03:40 +02:00
Eric Lippmann 0500afb013 Make contact group name bold in the contact groups view 2019-07-29 14:03:40 +02:00
Eric Lippmann 0efe72b429 Make contact name bold in the contacts view 2019-07-29 14:03:40 +02:00
Eric Lippmann 4323c060ce Remove icons from notifications view 2019-07-29 14:03:40 +02:00
Jennifer Mourek 9c3da17f2e Improve host-service distinction for hosts, services, comments and
downtimes
2019-07-29 14:03:37 +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 9cdf37410c ApplicationStateMessages: Fix message layout 2019-07-29 10:19:39 +02:00
Johannes Meyer c884a9b61d forms.less: Add general style for fieldsets 2019-07-29 10:19:39 +02:00