1810 Commits

Author SHA1 Message Date
Johannes Meyer
781b97fc41
removed gendered language (#5169) 2024-08-07 14:40:32 +02:00
Sukhwinder Dhillon
d6ceb9ad11 Macro: Fix typo and simplify the code 2024-08-07 11:47:13 +02:00
Sukhwinder Dhillon
41787d91bf Macro: Don't break ui if undefined macro given
$object can be an instance of stdClass and cannot call getName(). The name must then be retrieved manually.
2024-08-07 11:47:13 +02:00
Robin Kraft
dba77bce57
add canceled downtimes to the history, if they were started (#5184)
fixes https://github.com/Icinga/icingaweb2/issues/5176
2024-04-05 16:23:56 +02:00
alyxbb
5c94bf7bae
removed gendered languaged 2024-01-08 23:55:09 +00:00
Yonas Habteab
ac369f9156 X509\Sni: Clear backend instances before performing actual DB queries 2023-09-18 13:58:22 +02:00
Johannes Meyer
648cdd7ef4 Fix incorrect message for invalid states 2023-09-07 09:37:51 +02:00
Sukhwinder Dhillon
ffe84507f9 Host/Servie::getDataView(): Fix return class name case 2023-08-23 10:53:15 +02:00
Sukhwinder Dhillon
2fa9aaedb0 (Host/Service)status: Fix class name case 2023-08-23 10:53:15 +02:00
Sukhwinder Dhillon
17c2a19e28 ObjectList: Pass the correct value to unset()
- $featureStatus is an associative array
2023-08-23 10:53:15 +02:00
Sukhwinder Dhillon
ee9d139a3a PhpDoc: Fix incorrect @param and @return type hints 2023-08-23 10:53:15 +02:00
Sukhwinder Dhillon
63556849c9 HostnotificationQuery: Fix Variable '$$concattedContacts' is probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
7adc25ba38 TimeRange: Fix class name case 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
0901e841a3 PerfData: Fix method name case 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
92c647e883 CustomVarRendererHook: Remove unused param $object 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
84589f8833 BackendStep: Fix Variable '$$resourceTitle, $resourceHtml' is probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
c1bdec65f4 ServicenotificationQuery: Fix Variable '$$concattedContacts' is probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
9f3a9a006e IdoQuery: Fix method name case and var name type 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
edb9500805 EventgridQuery: Remove duplicate array entry 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
be060edd9f AllcontactsQuery: Add $baseQuery explicitly as non-dynamic property 2023-08-23 10:53:14 +02:00
raviks789
e0f02c1d62 CustomVarTable: Import Closure
The property `$hookApplier` is of type `Closure`, hence it has been imported.
2023-08-23 10:53:14 +02:00
raviks789
d22d2fb1e0 HoststatussummaryQuery: Fix name case for HoststatusQuery 2023-08-23 10:53:13 +02:00
raviks789
b481a771d0 ServicestatussummaryQuery: Fix name case for ServicestatusQuery 2023-08-23 10:53:13 +02:00
raviks789
caede2aaa9 MonitoringBackend: Import interface QueryInterface
The return type of `modules/monitoring/library/Monitoring/Backend/MonitoringBackend::query()` is `Icinga\Data\QueryInterface`.
Hence this interface is imported in `MonitoringBackend::class`.
2023-08-23 10:53:13 +02:00
raviks789
a68e0595ff CommandTransport: Fix return type for method createTransport()
`Icinga\Module\Monitoring\Command\Transport\CommandTransport::createTransport()` also returns `Icinga\Module\Monitoring\Command\Transport\ApiCommandTransport::class`.
Hence it is added to the method's return type in PHPDoc.
2023-08-23 10:53:13 +02:00
raviks789
d7518388d8 RemoteCommandFile: Define parameter $resource as nullable for method setResource() 2023-08-23 10:53:13 +02:00
raviks789
3d61fe6bf2 MonitoringWizard: Fix type for parameter $page of method setupPage()
The `$page` parameter for `Icinga\Module\Monitoring\MonitoringWizard::setupPage()` can also be
`Icinga\Module\Setup\Forms\RequirementsPage` or `Icinga\Module\Setup\Forms\SummaryPage`.
2023-08-23 10:53:13 +02:00
raviks789
1b1182d9b9 Macro: Import generic class stdClass
Generic empty class `stdClass` is imported as it is one of the return type for `Macro::resolveMacro()`
2023-08-23 10:53:13 +02:00
raviks789
8b6f9fbfed ObjectList: Fix return type for getScheduledDowntimes() 2023-08-23 10:53:13 +02:00
raviks789
30c26f16fe ObjectList: Include \Icinga\Data\Filter\FilterChain as return type in getFilter() 2023-08-23 10:53:13 +02:00
raviks789
b813e0badb Perfdata: Fix return type for method convert() 2023-08-23 10:53:13 +02:00
raviks789
8fe428f987 CustomVarTable: Cast $wrapper to ipl\Html\HtmlDocument using inline @var in renderGroup() 2023-08-23 10:53:13 +02:00
raviks789
00f367c7d6 MonitoredObjectController: Access MonitoredObject::fetchEventhistory() with correct name case 2023-08-23 10:53:13 +02:00
Sukhwinder Dhillon
72d155c57d Remove not in use class Plugin.php 2023-08-23 10:53:13 +02:00
Gianluca Piccolo
db9888b1f1 Fixes #5020 2023-06-22 15:11:39 +02:00
Thomas Gelf
463cc748bf MonitoringBadgeNavigationItemRenderer: do not fail
...on wildcard filter
2023-06-22 15:07:47 +02:00
Sukhwinder Dhillon
ea1e5f9245 TimeLine: Always parse int to validateTime()
Php < 8.1 converts fetched time(stamp) to string. This must always be an int.
2023-06-22 15:05:10 +02:00
raviks789
bff47213ee Show warning health state badges
The warning state badges should be shown when notifications or active host/service checks are disabled.
2022-10-10 10:00:06 +02:00
Johannes Meyer
dae7bf4657 Macro: Log the object where a macro is not found
fixes #3759
2022-10-10 09:58:39 +02:00
Johannes Meyer
4b60f87021 IdoQuery: Correct doc of method requireColumn() 2022-07-05 09:55:32 +02:00
Johannes Meyer
e5ec9a36f7 monitoring: Fix conversion rules for timestamps in various queries 2022-07-05 09:55:32 +02:00
Johannes Meyer
3d159fe434 TimeRange: Accept strings in method validateTime() 2022-06-30 08:41:47 +02:00
Johannes Meyer
ec27f77861 DataView: Relax filter validation again
There are way too much missing columns in data views all
over the place. I dont' see a justification to fix them
as it's only now this "issue" occurs. It's easier to
revert this change here.

fixes #4797
2022-06-14 15:32:21 +02:00
Sukhwinder Dhillon
4ab79a6758 DataView: Remove not in use method applyUrlFilter() 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
3b04a0489e Replace class Backend use with MonitoringBackend and remove class Backend 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
0db42b32e6 Remove not in use class Icinga\Module\Monitoring\Environment.php 2022-06-14 14:24:30 +02:00
Johannes Meyer
46a21d9709 Drop method DbQuery::whereToSql()
It's been used by `DbQuery::renderFilter()` rather
exclusively. So if removing one, both need to go.
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
be1ff03dd3 MonitoredObject: Remove deprecated methods matches() and fromParams() 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
60756afa34 Replace MonitoringBackend::createBackend() with MonitoringBackend::instance() 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
49bea36345 MonitoringBackend: Remove deprecated method createBackedn() 2022-06-14 14:24:30 +02:00