Commit Graph

4489 Commits

Author SHA1 Message Date
Johannes Meyer b403918cc1 Raise version to 2.12.2 2024-11-13 09:59:05 +01:00
Johannes Meyer eea50d7d6b CustomVarTable: Let the user subgroups fully collapse
resolves #5256
2024-11-04 16:50:24 +01:00
Johannes Meyer 8f1eaf0c7b CustomVarRendererHook: Log an exception's message and location
fixes #5258
2024-11-04 16:23:52 +01:00
moreamazingnick bc47867f20
Fix PluginOutputHookImplementation gets called twice #5271 (#5272) 2024-10-08 09:25:02 +02:00
Sukhwinder Dhillon 41a92e9d87 Css: Do not allow `:hover` to affect the `.active` list elements 2024-08-07 16:29:40 +02:00
Johannes Meyer 781b97fc41
removed gendered language (#5169) 2024-08-07 14:40:32 +02:00
Johannes Meyer f8c08dbfec DeleteDowntimesCommandForm: Ignore 404's
fixes #5183
2024-08-07 13:56:08 +02:00
Johannes Meyer e1479b4a6a list/history: Use intl's default locale to format time and date 2024-08-07 13:16:51 +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
Johannes Meyer b23cbd796f Raise version to 2.12.1 2023-11-15 12:22:46 +01:00
Johannes Meyer 21d631ad7e Raise version to 2.12.0 2023-09-21 16:35:31 +02:00
Yonas Habteab ac369f9156 X509\Sni: Clear backend instances before performing actual DB queries 2023-09-18 13:58:22 +02:00
raviks789 91ad755759 Remove redundant gravatar in contact detail
The gravatar for contacts was never correctly rendered in the detailed page. Hence it will be
completely removed.
2023-09-07 13:38:02 +02:00
Johannes Meyer 648cdd7ef4 Fix incorrect message for invalid states 2023-09-07 09:37:51 +02:00
raviks789 33a5f765b9 Use `style` element to create css class for dynamic inline style
The `style` element with `nonce` attribute is used to create css classes for
inline styles that are not static. This prevents Content-Security-Policy violations.
2023-08-28 16:40:33 +02:00
raviks789 459f4198c3 Replace static inline styles with css class
The static inline styles are replaced with css class to avoid Content-Security-Policy violations.
2023-08-28 16:30:12 +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 e3ce1c4b2d (Hosts/Services)Controller: Cannot check `ObjectList` instance with `! empty()` 2023-08-23 10:53:15 +02:00
Sukhwinder Dhillon 6f04c54f3c ListController::createTabs(): Add missing return statement 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 8d55385e38 HealthController: Add return statement in new line because `render()` returns nothing 2023-08-23 10:53:14 +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
Sukhwinder Dhillon 7cd89490cc (EventOverview/StateHistory)Form: Method `getValue()` expects only one param 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon 4341a32c1f ProcessCheckResultCommandForm: Fix `Variable '$object' is probably undefined` 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon 3db461ed62 ListController: Fix method name case 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 4bece296e5 `MonitoringFlags`: Import class `MonitoredObject` 2023-08-23 10:53:13 +02:00
raviks789 a780d9790b Declare property `$view` for helpers in monitoring modules
The property `$view` with type `Icinga\Web\View` is declared for helpers in `modules/monitoring/application/views/helpers`
directory.
2023-08-23 10:53:13 +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