Commit graph

85 commits

Author SHA1 Message Date
Johannes Meyer
eff6d7aaa4 ObjectDetail: Don't try to group the user query if it's not there
fixes #892
2023-09-28 10:29:34 +02:00
Yonas Habteab
c85e85496c Transform compat action & notes url macros automatically 2023-09-28 10:29:15 +02:00
Yonas Habteab
705a470a1f Utilize widgets moved to ipl-web 2023-09-08 14:54:47 +02:00
Sukhwinder Dhillon
d2f1a4dbde Add variable type hint to Icinga::app()'s returned object 2023-09-05 14:26:43 +02:00
Sukhwinder Dhillon
bce9c53164 ObjectDetail: Fix Variable '$userQuery' is probably undefined 2023-09-05 14:26:43 +02:00
raviks789
d462a4fae7
Add CopyToClipboard button to copy executed command in Source tab (#758) 2023-06-20 12:04:08 +02:00
Sukhwinder Dhillon
cb5373b49e
Models: Use MillisecondTimestamp instead of Timestamp behavior (#753)
The `Timestamp` behavior returns float values, which the database (pgsql) cannot convert properly.
We already have a `MillisecondTimestamp` behavior, so we should use that.
2023-05-30 16:05:11 +02:00
Johannes Meyer
8e512152c9 CustomvarFlat: Fix that variable names with dots are interpreted as paths
fixes #757
2023-05-30 14:50:38 +02:00
Johannes Meyer
0f9830dbdd ObjectDetail: Fix action and note url retrieval
fixes #640
2022-10-19 16:11:43 +02:00
Johannes Meyer
b0339ffafd ObjectDetail: Still load legacy hooks if monitoring is just disabled
`Module::exists()` checks enabled state -.-

fixes #638
2022-10-13 10:59:58 +02:00
raviks789
1a02cd3051 Provide generic tts integration 2022-10-13 10:59:37 +02:00
raviks789
bb066e20be Replace deprecated hook Icinga\Web\Hook with Icinga\Application\Hook 2022-09-01 08:12:06 +02:00
Johannes Meyer
f853453e2d ObjectDetail: Fix polymorphic call exception 2022-08-17 15:34:03 +02:00
Johannes Meyer
fab35aed00 ObjectDetail: Do not attempt to load monitoring hooks..
..if the module isn't even installed/enabled

fixes #607
2022-08-17 15:09:48 +02:00
Johannes Meyer
3edebe0846 css: Rename .actions class to .object-detail-actions 2022-07-20 10:56:44 +02:00
Yonas Habteab
1795a73a29 Adjust the usage of the changed columns everywhere 2022-06-10 09:23:05 +02:00
Johannes Meyer
24970853df Wrap widget CustomVarTable specifically for collapsible.js
The widget itself isn't collapsible anymore by default.
2022-05-27 15:43:59 +02:00
Johannes Meyer
5b026f8f26 Adjust usages of ipl\Stdlib\Filter::equal() and ::unequal() 2022-05-24 12:02:51 +02:00
Johannes Meyer
964e448561 Don't perform static calls on traits 2022-03-24 14:16:42 +01:00
Johannes Meyer
ca192ac3a2 host|service: Add missing details to pdf exports 2022-03-03 09:16:16 +01:00
Eric Lippmann
b4b6726ccf Fix too extensive host notification recipients
Previously, host notification recipients also included notification
recipients from their services.
2021-11-12 16:34:00 +01:00
Sukhwinder Dhillon
9889a554cc ObjectDetail: Do not return null if module actions are available 2021-11-04 08:45:01 +01:00
Yonas Habteab
aefd0e1f7d Add PHP 7 argument & return type declarations to all member methods 2021-11-03 16:06:59 +01:00
Yonas Habteab
3390d9cbf6 ObjectDetail: Don't use compatObject for Host/Service actions any more 2021-10-01 15:30:06 +02:00
Johannes Meyer
3a2a4f0e32 css: Apply general detail styles with a single class
fixes #290
2021-09-02 12:43:42 +02:00
Johannes Meyer
dc4752df43 ObjectDetail: Catch errors of legacy action hooks 2021-08-31 17:39:12 +02:00
Johannes Meyer
329c1457f1 ObjectDetail: Enable automatic page breaks in PDF exports 2021-08-31 10:27:46 +02:00
Johannes Meyer
d2c92d5d3c Move PerfDataTable to Icinga\Module\Icingadb\Widget\Detail 2021-08-20 17:27:37 +02:00
Johannes Meyer
b3c8d2e711 Move HorizontalKeyValue to ipl\Web\Widget 2021-08-20 17:18:20 +02:00
Johannes Meyer
9e57d7f675 Move MarkdownText to Icinga\Module\Icingadb\Widget 2021-08-20 16:39:29 +02:00
Johannes Meyer
c2f4eb0999 Move DowntimeList to Icinga\Module\Icingadb\Widget\ItemList 2021-08-20 16:10:51 +02:00
Johannes Meyer
62459f352e Use our own plugin output helper 2021-08-20 11:09:58 +02:00
Johannes Meyer
ff8e459a8a ObjectDetail: Load native action hooks 2021-08-20 11:09:58 +02:00
Johannes Meyer
fd07d9d6d7 ObjectDetail: Load web's GrapherHook as well 2021-08-20 11:09:58 +02:00
Johannes Meyer
11359b0c9d ObjectDetail: Load native detail hooks 2021-08-20 11:09:58 +02:00
Sukhwinder Dhillon
2f8bb8bb6c Remove redudant titles 2021-08-05 13:57:43 +02:00
Johannes Meyer
d39b31f097 Drop redundant comment/downtime routes 2021-08-02 16:02:45 +02:00
Johannes Meyer
adf18112f0 Parse normalized perfdata for visualization 2021-07-16 15:32:39 +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
c386579c5e ObjectDetail: Add missing use statements 2021-05-07 14:35:26 +02:00
Johannes Meyer
12fc80a7bd ObjectDetail: Render action and note urls as labels 2021-05-07 14:33:42 +02:00
Johannes Meyer
d96f098e34 Allow to blacklist access to servicegroups 2021-05-03 14:58:08 +02:00
Johannes Meyer
af64a656cb Allow to blacklist access to hostgroups 2021-05-03 14:58:08 +02:00
Johannes Meyer
6094639900 Allow to blacklist access to users and usergroups 2021-05-03 14:58:08 +02:00
Johannes Meyer
964de68862 Don't show host and service links in downtime list items..
..when shown in detail views
2021-04-29 15:19:04 +02:00
Johannes Meyer
c6ed76e39d Don't show host and service links in comment list items..
..when shown in detail views
2021-04-29 15:19:04 +02:00
Florian Strohmaier
351a5f4f35
Re-add perfdata pie charts in list views (#176) 2021-04-22 10:34:32 +02:00
Johannes Meyer
18f009c55f Utilize ipl\Orm\Query::filter() where appropriate 2021-03-19 15:42:15 +01:00
Johannes Meyer
5a808ae6d2 Apply custom variable restrictions when necessary 2021-03-12 11:27:46 +01:00
Johannes Meyer
c1a289b23b ObjectDetail: Fetch vars from customvar_flat instead of customvar
This is a preparation for the custom variable restrictions
as they're supposed to be applied on the query.
2021-03-11 16:37:37 +01:00