Commit graph

75 commits

Author SHA1 Message Date
Sukhwinder Dhillon
b69fb09c90 Don't show parents children tab if icingadb.schema does not support it 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
cda2f4bb05 Add csv/json export support for parents and children tab 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
1ceb351e04 (Host|Service)Controller: Add return type to methods 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
5e436dc57f (Host|Service)Controller: Fix tab activation
- Set the outer tab as active.

Previously, the inner tab was activated in the setTitleTab method, but the outer tab does not know about the state of inner tabs.
So whenever sendMultipartUpdate() -> getActiveTab() was called, the retured value was always null.
2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
d5d36d7233 (Host|Service)Controller: Shift the required param
- Otherwise the searchbar uses it as base filter and apply it on the query
2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
ad8d71b253 (Host|Service)Controller: Add parents and children tab 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
645ae00155 (Host|Service)Controller: Let the init() render the object header 2025-01-22 13:44:32 +01:00
Johannes Meyer
c503f14382 host/services: Make sure severity sort orders the same as anywhere else
fixes #915
2023-10-25 10:30:06 +02:00
Johannes Meyer
3aedccaad5 History: Sort also by type by default 2023-08-11 16:06:33 +02:00
Johannes Meyer
987a0a3416 Don't pass an array to ObjectsCommand::setObjects()
fixes #832
2023-08-10 13:45:56 +02:00
Alexander A. Klimov
b4222228cc ObjectCommand and derivates: handle multiple objects 2023-08-02 12:44:02 +02:00
Sukhwinder Dhillon
2e7d7b9129 CheckStatistics: Show TimePeriod name if available 2023-06-15 15:25:25 +02:00
Eric Lippmann
052c30520d Revert "Adjust usages of ipl\Orm\Query::with()"
This reverts commit d947362c9410911069db60e61c934a879eb8777e.
2022-06-02 14:24:52 +02:00
Johannes Meyer
068377e4c6 Don't require relation state in state summary queries
Lets the models add the relation on their own, using
`utilize()` as the relation is only needed inside
expressions.
2022-06-02 14:24:51 +02:00
Johannes Meyer
a0500c3b67 Adjust usages of ipl\Orm\Query::with() 2022-06-02 14:24:51 +02:00
Eric Lippmann
04410a866d Use Query::filter() for applying WHERE conditions 2022-05-24 16:04:22 +02:00
Johannes Meyer
5b026f8f26 Adjust usages of ipl\Stdlib\Filter::equal() and ::unequal() 2022-05-24 12:02:51 +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
ca192ac3a2 host|service: Add missing details to pdf exports 2022-03-03 09:16:16 +01:00
Yonas Habteab
29ca49303b Fix host detail history filter
Co-authored-by: Eric Lippmann <eric.lippmann@icinga.com>
2021-11-12 13:02:32 +01:00
Yonas Habteab
b25a323a53 Fix Column 'host_id' in where clause is ambiguous
service_state now also has the host_id column, so we need to
qualify host_id with a table name in the WHERE condition.

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2021-11-10 15:58:42 +01:00
Johannes Meyer
9544564a3b host/history: Don't fetch newer entries than what is shown 2021-11-08 17:33:16 +01:00
Yonas Habteab
aefd0e1f7d Add PHP 7 argument & return type declarations to all member methods 2021-11-03 16:06:59 +01:00
Johannes Meyer
7efb797fbb Utilize VolatileStateResults where applicable 2021-10-08 15:36:36 +02:00
Johannes Meyer
a3f1c73f79 CommandActions: Make required methods abstract 2021-10-08 15:10:44 +02:00
Yonas Habteab
ac13e104bc Render two different state ball sizes for soft & hard state changes in object header & history 2021-10-01 17:31:52 +02:00
Yonas Habteab
d29fdcc6c0 Fix view mode shows less items when using vertical pagination 2021-09-21 15:54:15 +02:00
Sukhwinder Dhillon
39a501c2f7 Make object header unclickable in detail view 2021-09-02 09:41:05 +02:00
Sukhwinder Dhillon
4c28d63545 HostController: Add sortControl to services tab of host detail 2021-09-01 12:30:48 +02:00
Sukhwinder Dhillon
564d0b6d8c HostsController: Add missing query column 2021-09-01 08:59:29 +02:00
Yonas Habteab
fc43aec80d Support ViewModeSwitcher & sortControl in Host/Service history 2021-08-31 14:24:51 +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
Yonas Habteab
87ca6df925 Fix uncaught argument count error 2021-08-24 10:56:10 +02:00
Sukhwinder Dhillon
7fe9b33ee8 Remove showMore from contoller and create it through HistoryList class 2021-08-23 12:00:27 +02:00
Johannes Meyer
d827699b50 Move ServiceList to Icinga\Module\Icingadb\Widget\ItemList 2021-08-20 16:27:06 +02:00
Johannes Meyer
00d92dd86b Move HostList to Icinga\Module\Icingadb\Widget\ItemList 2021-08-20 16:14:00 +02:00
Florian Strohmaier
1d1992891a
Add icon image support (#225) 2021-08-20 15:43:12 +02:00
Johannes Meyer
0add288730 HostController: Load additional tabs 2021-08-20 11:09:58 +02:00
Johannes Meyer
d39b31f097 Drop redundant comment/downtime routes 2021-08-02 16:02:45 +02:00
Johannes Meyer
6217d67b64 host/index: Utilize widget HostMetaInfo 2021-05-12 12:59:35 +02:00
Johannes Meyer
f24ebd50da Allow to show technical host details 2021-05-11 13:32:26 +02:00
Johannes Meyer
76c7c04a26 Make list items in host and service headers non-clickable 2021-04-29 15:19:04 +02:00
Johannes Meyer
64f13209a1 Make host and service names in headers non-clickable 2021-04-29 15:19:04 +02:00
Johannes Meyer
7ab9ae4f71 host/index: Apply restrictions to the service statistics widget 2021-03-09 09:26:19 +01:00
Johannes Meyer
989fbfe487 Apply our own restrictions instead of monitoring/filter/objects 2021-03-09 09:26:19 +01:00
Johannes Meyer
b348088b61 HostController: Join relation flapping in history action 2020-05-04 12:41:49 +02: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
dba06b2eab Add missing/refactor existing localization markings 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
31c980c1fb Join acknowledgement entries in history views
refs #27
2020-03-10 08:18:28 +01:00