Commit graph

27 commits

Author SHA1 Message Date
Johannes Meyer
648a544bd9 hostgroups: Preserve filters in details 2024-07-19 14:24:14 +02:00
Johannes Meyer
5303abe51c Use css grid instead of table layout for the hostgroup list 2023-06-07 10:53:44 +02:00
Johannes Meyer
ec8a5628dc hostgroup/index: Pass a result set to the host list 2022-06-29 12:40:43 +02:00
Eric Lippmann
6325af60e7 Fix empty host/service group details when restrictions are active
With recent changes in IPL - ORM [1], utilized relations no longer
perform subquery filters, which is fine since the only designed
difference is that columns from utilized relations are not appended to
the select list. However, this change produces empty results here
because the filter should actually be run in a subquery. We called
utilize() here because we modified the base query to apply the group ID
filters. Now that we're using filters that automatically handle
relations, it's safe to remove the utilize() calls.

[1] https://github.com/Icinga/ipl-orm/pull/44
2022-05-24 16:04:23 +02:00
Eric Lippmann
04410a866d Use Query::filter() for applying WHERE conditions 2022-05-24 16:04:22 +02:00
Johannes Meyer
c6db259248 Adjust calls to CompatController::setTitle()
refs https://github.com/Icinga/ipl-web/pull/72
2022-03-16 16:35:34 +01:00
Johannes Meyer
44754948b3 hostgroup: Add missing details to pdf exports 2022-03-03 09:16:55 +01:00
Johannes Meyer
7efb797fbb Utilize VolatileStateResults where applicable 2021-10-08 15:36:36 +02:00
Johannes Meyer
85b9295db9 Don't shift URL params to identify objects in detail views
Parameters used to identify what will be shown need to be
preserved. Just like it's done for filters in lists.

refs #299
refs #312
2021-08-31 13:54:46 +02:00
Johannes Meyer
84f655cb44 HostgroupController: Fetch last_comment already with the main query 2021-08-25 08:52:03 +02:00
Johannes Meyer
507af8b327 HostgroupController: Fetch icon_image relation 2021-08-23 14:27:05 +02:00
Johannes Meyer
00d92dd86b Move HostList to Icinga\Module\Icingadb\Widget\ItemList 2021-08-20 16:14:00 +02:00
Yonas Habteab
9f8935f081 Controller: Increase limit on minimal view mode 2021-08-20 15:43:59 +02:00
Johannes Meyer
af64a656cb Allow to blacklist access to hostgroups 2021-05-03 14:58:08 +02:00
Johannes Meyer
d89a59c071 Make list items in host- and service-group headers non-clickable 2021-04-29 16:59:28 +02:00
Johannes Meyer
18f009c55f Utilize ipl\Orm\Query::filter() where appropriate 2021-03-19 15:42:15 +01:00
Johannes Meyer
989fbfe487 Apply our own restrictions instead of monitoring/filter/objects 2021-03-09 09:26:19 +01:00
Johannes Meyer
6e73d390c2 Replace all usages of Icinga\Data\Filter with ipl\Stdlib\Filter 2021-01-14 12:08:59 +01:00
Johannes Meyer
2e191a6826 Use t() instead of translate() in controllers and forms
There's no `icingadb` domain so why should we ask everytime
for it. `t()` only utilizes the `icinga` domain and that's
what we need.
2020-04-24 15:01:29 +02:00
Johannes Meyer
5e441c93a0 Add license note to every file 2020-03-13 10:36:24 +01:00
Johannes Meyer
4e1bd775f9 HostgroupController: Don't apply id filter using the FilterProcessor
Ids are binary strings which may contain asterisks. These are then
interpreted as wildcard by the filter processor.
2020-03-06 14:47:39 +01:00
Eric Lippmann
e11ab1a229 HostgroupController: Set minimal 2020-01-08 10:00:11 +01:00
Eric Lippmann
d799b3b651 HostgroupController: Keep addControl() calls together 2020-01-08 09:56:22 +01:00
Johannes Meyer
8beb16e18e app: Set autorefresh intervals for some routes 2019-12-11 08:59:30 +01:00
Johannes Meyer
4875c06bb9 Apply monitoring restrictions in all controllers 2019-12-03 09:55:48 +01:00
Eric Lippmann
77b4930098 Rename to Icingadb 2019-11-05 01:07:30 +01:00
Eric Lippmann
ba2bdbfcaa Introduce HostgroupController 2019-11-04 23:30:38 +01:00