Commit graph

85 commits

Author SHA1 Message Date
Sukhwinder Dhillon
752aca7eb5 Controllers: Use paginationControl::getEmptyStateMessage() to set list's message 2025-05-08 14:19:13 +02:00
Sukhwinder Dhillon
3e49d8980b (Host|Service)Controller: Reset the query offset
This change was missing in the https://github.com/Icinga/icingadb-web/pull/734
2025-05-08 12:45:38 +02:00
Johannes Meyer
b66d69a19f Host|ServiceController: Restore missing params…
…in the history load more url

fixes #1144
2025-03-28 16:51:47 +01:00
Sukhwinder Dhillon
b4e6f32f41 Let the Object(List|Grid|Table) call setDetailUrl() and setMultiselectUrl()
- Make all the calls in one place
2025-03-28 16:13:17 +01:00
Sukhwinder Dhillon
183d5ee7ba Introduce HistoryRenderer
- Remove now obsolete ItemList classes
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
36ce426bbe Introduce Host/Service Renderer
- Use these renderers in ObjectHeader and ObjectList class
- Remove now superfluous Host/ServiceList and ListItem classes
- DetailsAction: Change visibility of url setter to public (These are called in controller now)
2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
9f30f53ee6 Generalize DependencyNodeList and rename it to ObjectList 2025-03-28 16:13:16 +01:00
Sukhwinder Dhillon
667fd2fe5b (Host/Service)Controller: Add missing onlyWithCustomVarSources() call 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
ebdb48a3f5 (Host/Service)Controller: Add separated (searchEditor/complete)Action for parent & children tab 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
3602d5ab65 (Host/Service)Controller: Change method name and fix syntax 2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
41601abff7 (Host|Service)Controller: Sort parents children tab list by default to severity
- Disable the default sorting for the `$hasDependencyNode` and UnreachableParent's `$rootQuery`, as sort is not required here
and triggers an error, because the sort columns are not retrieved.
2025-01-22 13:44:32 +01:00
Sukhwinder Dhillon
6aa32fa9f8 (Host|Service)Controller: Use Translation trait method 2025-01-22 13:44:32 +01:00
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