Commit graph

73 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
Sukhwinder Dhillon
dd744395c7 Keep compatibility with Icinga DB mysql v6 & pgsql v4 2025-01-14 13:13:25 +01:00
Johannes Meyer
ffd51260d7 Keep compatibility with Icinga DB v5 2024-12-18 16:27:06 +01:00
raviks789
e22bd1bde8
Show root problem list for objects with problem and are part of dependency 2024-10-31 09:46:49 +01: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
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
ca192ac3a2 host|service: Add missing details to pdf exports 2022-03-03 09:16:16 +01:00
Johannes Meyer
682b343761 service/history: Don't join host.service unnecessarily
fixes #480
2022-02-24 13:28:34 +01:00
Yonas Habteab
208c1b1445 Fix service detail history filter
Co-authored-by: Eric Lippmann <eric.lippmann@icinga.com>
2021-11-12 13:02:32 +01:00
Johannes Meyer
49835c330b service/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
3b8752556f Introduce class ServiceMetaInfo and use it in ServiceController 2021-09-03 11:53:43 +02:00
Sukhwinder Dhillon
39a501c2f7 Make object header unclickable in detail view 2021-09-02 09:41:05 +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
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
Florian Strohmaier
1d1992891a
Add icon image support (#225) 2021-08-20 15:43:12 +02:00
Johannes Meyer
a589fc3da4 ServiceController: 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
4f06fa3c84 Allow to show technical service 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
4d480fcce0 Cleanup some unused stuff 2021-04-29 15:19:04 +02:00
Johannes Meyer
989fbfe487 Apply our own restrictions instead of monitoring/filter/objects 2021-03-09 09:26:19 +01:00
Johannes Meyer
e4e30991d0 ServiceController: Join relation flapping in history action 2020-05-04 12:42:10 +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
Johannes Meyer
0db37fd75e services/history: Fix duplicate history entries
ce0ec14 was wrong, only the operator had to be removed.
2020-03-04 07:54:28 +01:00
Johannes Meyer
ce0ec14d8c service/history: Only filter history entries by service id 2020-03-03 09:02:14 +01:00
Johannes Meyer
d3dec9b85b
Merge pull request #21 from Icinga/fix/inefficient-history-joins
Fix inefficient history joins
2020-03-02 10:17:13 +01:00
Johannes Meyer
ec89fe0024 Don't join service.host[.state] in history queries 2020-02-07 15:49:21 +01:00
Johannes Meyer
e32323e1d1 Assemble object details in concrete classes for hosts/services 2020-02-06 15:39:06 +01:00
Johannes Meyer
e4fb4d5fcb ServiceController: Use the correct history route to load more 2020-01-31 15:37:00 +01:00