Commit Graph

5465 Commits

Author SHA1 Message Date
Eric Lippmann de8fe109e2
Release 1.11.3 (#2942) 2024-12-12 13:20:10 +01:00
raviks789 2b55c80cba Release 1.11.3 2024-12-12 13:16:47 +01:00
Eric Lippmann 32a644fad8
IcingaHostForm: Fix crashing of form for invalid check command (#2941)
fixes #2854
2024-12-12 13:16:38 +01:00
raviks789 8161a769fe IcingaHostForm: Fix crashing of form for invalid check command 2024-12-12 13:11:51 +01:00
Eric Lippmann e37f802cf9
ImportRowModifierForm: Fix removal of filter expression (#2939)
fixes #2922, #2864
2024-12-12 10:54:40 +01:00
raviks789 f4692d7ab4 ImportRowModifierForm: Fix removal of filter expression 2024-12-12 10:45:23 +01:00
Eric Lippmann d205415f1b
Fix pgsql binary resource handling for uuids (#2938)
fixes #2934
2024-12-12 09:53:08 +01:00
raviks789 175de1ae84 Fix pgsql binary resource handling for uuids 2024-12-12 09:46:00 +01:00
Eric Lippmann 89ebf71d88
PropertyTableSortForm: Don't use ipl`s CSRF counter measure (#2937)
It's incompatible with gipfl`s…

fixes #2935
2024-12-12 09:44:59 +01:00
Johannes Meyer cdd3fea9d2 PropertyTableSortForm: Don't use ipl`s CSRF counter measure
It's incompatible with gipfl`s…

fixes #2935
2024-12-04 13:28:42 +01:00
Eric Lippmann 4032d49553
Release 1.11.2 (#2933) 2024-11-19 21:12:35 +01:00
Eric Lippmann c1d5334fc8 Add changelog for version `1.11.2` 2024-11-19 16:22:19 +01:00
Eric Lippmann 79e84c074a Raise version to `1.11.2` 2024-11-19 15:41:56 +01:00
Eric Lippmann bd21650332 Raise `incubator` dependency version to `0.22.0` 2024-11-19 15:38:59 +01:00
Eric Lippmann 6dc0bb2596
Allow cloning of service sets in branches (#2896)
fixes #2890 

Blocked by #2895
2024-11-19 15:07:07 +01:00
raviks789 6c766dff43 Allow cloning service sets in Director Branches 2024-11-19 13:34:14 +01:00
Eric Lippmann d56ca2c235
Enrich custom variable lists in monitoring and icingadb details (#2445)
resolves #2239

requires https://github.com/Icinga/icingaweb2/pull/4614 or
https://github.com/Icinga/icingadb-web/pull/467
2024-11-19 13:33:55 +01:00
raviks789 dbacfa21c0 Icingadb/CustomVarRenderer: Add error handling 2024-11-19 13:15:34 +01:00
raviks789 0e744630d7 Monitoring/CustomVarRenderer: Add error handling 2024-11-19 13:15:34 +01:00
raviks789 b954336170 Icingadb/CustomVarRenderer: Look for the service in all of its types
It can be a directly created service or an applied service or an inherited service or service applied through service set.
2024-11-19 13:15:34 +01:00
raviks789 743997cb57 Monitoring/CustomVarRenderer: Look for the service in all of its types
The service could be directly created, or applied through an apply rule or could be an inherited service or a service applied through service set.
2024-11-19 13:15:34 +01:00
raviks789 c78979b24a Icingadb/CustomVarRenderer: Render labels of key and value as HtmlElements 2024-11-19 13:15:34 +01:00
raviks789 b7ea8aada6 Monitoring/CustomVarRenderer: Cast data field setting value data_list_id to integer for postgres database 2024-11-19 13:15:34 +01:00
raviks789 1d98492429 Monitoring/CustomVarRenderer: Support rendering dictionary values 2024-11-19 13:15:34 +01:00
raviks789 b082db707e Icingadb/CustomVarRenderer: Support rendering of dictionary values 2024-11-19 13:15:34 +01:00
raviks789 9e1646091c Icingadb/CustomVarRenderer: Cast data field setting value data_list_id to integer for postgres database 2024-11-19 13:15:34 +01:00
Johannes Meyer 9919b65fc5 DirectorDatafield: Properly cache category in `getCategory()`
Makes `getCategoryName()` work.
2024-11-19 13:15:34 +01:00
Johannes Meyer bf591093d8 Provide implementation for hook `Icingadb/CustomVarRenderer` 2024-11-19 13:15:34 +01:00
Johannes Meyer ca0b8ebc4e Provide implementation for hook `Monitoring/CustomVarRenderer` 2024-11-19 13:15:34 +01:00
Johannes Meyer 431468366c Introduce implementation for hook `Icingadb/CustomVarRenderer` 2024-11-19 13:15:34 +01:00
Johannes Meyer c20b477df8 Introduce implementation for hook `Monitoring/CustomVarRenderer` 2024-11-19 13:15:34 +01:00
Sukhwinder Dhillon 2d48843d87 Phpstan: Separate workflow 2024-11-19 09:57:31 +01:00
Eric Lippmann ef7f53cc8f
fixes #2393 clusterzone check is not a plugincheck (#2502) 2024-11-07 15:49:58 +01:00
moreamazingnick fd7babe81e fixes #2393 clusterzone check is not a plugincheck 2024-11-07 15:28:51 +01:00
Eric Lippmann 5daa3a85ed
Add hasBasketSupport for TimePeriods (#2543)
This adds the missing "hasBasketSupport" for TimePeriodController which
allows to add the TimePeriod to specific baskets.
2024-11-07 15:24:45 +01:00
André Nähring 1835661850 Add hasBasketSupport for TimePeriods 2024-11-07 13:16:38 +01:00
Eric Lippmann 853efc8c6d
Fix CSRF validation for sorting in property tables (#2893) 2024-11-07 13:15:52 +01:00
raviks789 7fd1468229 Fix CSRF validation for sorting in property tables 2024-11-07 12:57:40 +01:00
Eric Lippmann 030740942e
IcingaCloneObjectForm: Fix cloning of hosts in director branches (#2898)
The cloned host must also have services and service sets that are under
the original host.
2024-11-07 12:57:02 +01:00
raviks789 9d186638cd IcingaCloneObjectForm: Fix cloning of hots in director branches
The cloned host must also have services and service sets that are under the original host.
2024-11-07 11:32:36 +01:00
Eric Lippmann d9b3b23de6
IcingaMultiEditForm: Fix editing custom vars with space in their name (#2900) 2024-11-07 11:32:18 +01:00
raviks789 5298c8ee5d IcingaMultiEditForm: Fix editing custom vars with space in their name 2024-11-07 11:21:46 +01:00
Eric Lippmann 39c823c655
Basket::setObjects: Reset `$chosenObjects` property only if the given objects is empty (#2902) 2024-11-07 11:21:15 +01:00
raviks789 6be8cd49af Basket::setObjects: Reset `$chosenObjects` property only if the given objects is empty 2024-11-07 11:14:36 +01:00
Eric Lippmann 058bc4a776
PropertyModifierGetHostByName: Fix inet_pton unrecognized address error (#2903) 2024-11-07 11:14:15 +01:00
raviks789 6c7918033d PropertyModifierGetHostByName: Fix `inet_pton` unrecognized address error 2024-11-07 11:02:21 +01:00
Eric Lippmann aaf51452be
ObjectImporter: Retransform sync job settings `apply_changes` from boolean to 'y' or 'n' (#2904)
Sync jobs restored from a basket snapshot with `apply_changes` settings
set to `Yes`, runs without applying any changes to the objects affected
by the sync rule. This happens as the value of the setting is exported
as a boolean but is not retransformed back to `y` or `n` while
importing.


fixes ref/IP/53326
2024-11-07 11:02:03 +01:00
raviks789 44a8bbb70e ObjectImporter: Retransform sync job settings `apply_changes` from boolean to 'y' or 'n' 2024-11-07 10:39:40 +01:00
Eric Lippmann 2d332a2a16
Fix sync rule preview in case of boolean properties (#2905)
Sync rules created for import sources, importing objects with boolean
properties, throws `SQLSTATE` error as shown in the screenshot below.

![Sync Preview SQL State
error](https://github.com/user-attachments/assets/7c1f27f1-0c98-4945-8599-1e60ea5c9574)

The reason for this is because the preview creates temporary branched
objects by importing the objects' properties to check for the
modifications. And the boolean properties, were not transformed to `y`
or `n` (which is the supported datatype for boolean (`ENUM('y','n')`) to
store in the database) before the temporary object is created.

fixes ref/IP/53248
2024-11-07 10:39:14 +01:00
raviks789 409962251b Fix sync rule preview in case of boolean properties 2024-11-07 10:24:19 +01:00