Commit graph

24 commits

Author SHA1 Message Date
Sukhwinder Dhillon
7866063974 ObjectInspectionDetail: Show host/service templates 2025-06-05 12:33:49 +02:00
Johannes Meyer
1a23a6b3cc IcingaRedis: Use the new singleton instead 2024-12-17 16:33:05 +01:00
Johannes Meyer
e8d43313b9 ObjectInspectionDetail: Render invalid states 2023-10-27 10:17:28 +02:00
Yonas Habteab
705a470a1f Utilize widgets moved to ipl-web 2023-09-08 14:54:47 +02:00
Sukhwinder Dhillon
aaf3a7b9f9 ObjectInspectionDetail: HtmlElement param#3 expects ValidHtml 2023-08-22 12:29:50 +02:00
Sukhwinder Dhillon
1aaa95e859 ObjectInspectionDetail: Render EmptyState message if $command is empty 2023-08-21 16:38:13 +02:00
raviks789
d462a4fae7
Add CopyToClipboard button to copy executed command in Source tab (#758) 2023-06-20 12:04:08 +02:00
Johannes Meyer
39b984b3f9 ObjectInspectionDetail: Handle formatting errors gracefully
fixes #621
2022-08-22 16:18:20 +02:00
Yonas Habteab
9d962a239a Don't strictly check whether hGet returns false
Nowadays hGet returns null instead of false if there is no data available yet.
But since we are performing strict comparison on false, it won`t enter the if branch anymore.
There is another Predis client method we use which is `hmGet`, but as usual it still returns only an array.
2022-08-17 12:56:48 +02:00
Eric Lippmann
d8c5e41586 Rename blacklist to denylist 2022-06-27 13:22:08 +02:00
Johannes Meyer
50db545777 ObjectInspectionDetail: Show raw custom variables 2022-05-27 15:43:59 +02:00
Johannes Meyer
d13e056460 ObjectInspectionDetail: Render previous_soft_state as text 2022-04-01 14:25:26 +02:00
Johannes Meyer
d6d4bd6bb8 ObjectInspectionDetail: Fix incorrect float to string conversion 2021-12-08 14:05:29 +01:00
Johannes Meyer
a235fe4e23 ObjectInspectionDetail: Fix timestamp formatting 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
Johannes Meyer
cb142007c3 Better declare empty values
fixes #349
2021-09-27 11:55:56 +02:00
Johannes Meyer
2b480c881d Make Icinga\Module\Icingadb\Common\IcingaRedis a singleton
This limits the connection attempts and established connections
to a single one. Previously we made as many as we've accessed redis.
2021-09-21 15:30:29 +02:00
Johannes Meyer
3a2a4f0e32 css: Apply general detail styles with a single class
fixes #290
2021-09-02 12:43:42 +02:00
Sukhwinder Dhillon
93d7719fa9 ObjectInspectionDetail::formatTimestamp(): Check for empty() instead of 0 2021-08-20 11:49:23 +02:00
Johannes Meyer
3bf8944316
Use strict ipl-html interfaces (#217)
* Command forms: Use strict interfaces to construct ipl\Html objects

* BaseTableRowItem: Use strict interfaces to create ipl\Html objects

* ObjectInspectionDetail: Use strict interfaces..

..to create ipl\Html objects

* Setup/*Step: Use strict interfaces to create ipl\Html objects

* ObjectSuggestions: Use strict interfaces to create ipl\Html objects

* Widget: Use strict interfaces to create ipl\Html objects

* Widget\Detail: Use strict interfaces to create ipl\Html objects

* Widget\ItemList: Use strict interfaces to create ipl\Html objects

* ServiceLink: Don't return an array
2021-06-22 10:29:25 +02:00
Johannes Meyer
442edeefbe Use icingadb-RC2`s updated redis schema paths 2021-05-31 10:24:11 +02:00
Johannes Meyer
ef725e0d8c ObjectInspectionDetail: Gracefully handle not found redis data 2021-05-11 16:59:39 +02:00
Johannes Meyer
fcbcfc037f ObjectInspectionDetail: Format values human readable 2021-05-11 16:44:19 +02:00
Johannes Meyer
be6b2db78a Introduce class Icinga\Module\Icingadb\Common\ObjectInspectionDetail 2021-05-11 13:24:56 +02:00