Commit graph

21 commits

Author SHA1 Message Date
Eric Lippmann
7bb09036fc Fix const visibility 2025-10-21 14:56:41 +02:00
Johannes Meyer
8c13f5bfb0 ProblemsBadge: Don't return a string where only integers are expected
fixes #948
2024-03-22 13:52:20 +01:00
Johannes Meyer
20d9f8b712 Action: Don't attempt to resolve macros without an object
fixes #999
2024-03-22 13:50:45 +01:00
Yonas Habteab
423c9a88e4 Deprecate StateBadge class again 2023-08-29 09:27:11 +02:00
Johannes Meyer
121071c7f2 Revert "Drop classes StateBadge and StateBadges"
This reverts commit 6d36b0c3ed.
2023-07-20 09:36:36 +02:00
Johannes Meyer
6d36b0c3ed Drop classes StateBadge and StateBadges
They're now part of ipl-web
2023-06-15 15:48:46 +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
be7d7c6998 Action: Fix return type declarations 2022-04-12 15:42:55 +02:00
Sukhwinder Dhillon
2a54c586f8 Show hints for problem badges for Hosts and Services in nav bar 2022-02-28 10:26:58 +01:00
Florian Strohmaier
8d75d21e74 IcingadbHost/ServiceAction: Fix CodeSniffer issues 2022-01-12 09:42:58 +01:00
Eric Lippmann
89e742f19f Don't fail if the problems badge is null
createBadge() can return null if there are no problems. However,
the new code that decides whether or not to create a link did not
check it.
2021-11-08 15:14:35 +01:00
Yonas Habteab
f5304591ea ProblemsBadge: Don't throw exception within getTitle() & make return type optional
refs #420
2021-11-08 13:28:57 +01:00
Yonas Habteab
aefd0e1f7d Add PHP 7 argument & return type declarations to all member methods 2021-11-03 16:06:59 +01:00
Ravi Kumar Kempapura Srinivasa
adab8da3dc Add Overview, Problems and History menu when monitoring module is disabled
When monitoring module is disabled instead of showing host and service details in Icinga DB menu, the details needs to be distributed in Overview, Problems and History menus respectively.
This is to imitate the case when only monitoring module is active.
2021-11-03 15:39:30 +01:00
Yonas Habteab
76a4ac1edb Introduce custom Host/Service navigation item actions 2021-10-01 15:30:06 +02:00
Johannes Meyer
dfccb2f125 ProblemsBadge: Render a StateBall in badge links 2021-07-05 17:31:42 +02:00
Johannes Meyer
542df95134 ServiceProblemsBadge: Apply restrictions to the count query 2021-03-09 09:26:19 +01:00
Johannes Meyer
10e81525a0 HostProblemsBadge: Apply restrictions to the count query 2021-03-09 09:26:19 +01:00
Johannes Meyer
5e441c93a0 Add license note to every file 2020-03-13 10:36:24 +01:00
Johannes Meyer
d755e66486 ServiceProblemsBadge: Don't exceed the 120 character line limit 2020-01-20 08:44:16 +01:00
Eric Lippmann
f77a440750 Introduce new renderer for menu host and service problem badges 2019-12-11 21:10:18 +01:00