Commit Graph

5456 Commits

Author SHA1 Message Date
raviks789 28e9555dc1
Fix: Show services added for existing service sets while on director branch 2024-12-11 15:08:32 +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
Eric Lippmann 340e3d550f
IcingaObjectMultiRelations: Set property `modified` to false when loaded from DB (#2907) 2024-11-07 10:24:04 +01:00
raviks789 c3fd4118d9 IcingaObjectMultiRelations: Set property `modified` to false when loaded from DB 2024-11-07 09:45:13 +01:00
Eric Lippmann aa1df8d772
DirectorDatalist: Match column types to join tables in postgres by explicit type casting (#2916) 2024-11-07 09:44:49 +01:00
raviks789 6291179bcc DirectorDatalist: Match column types to join tables in postgres by explicit type casting 2024-11-07 09:41:27 +01:00
Eric Lippmann 2f888ba135
Fix typo in SNMP Data Fields example documentation (#2931) 2024-11-07 09:27:10 +01:00
Sam Banks 75acfad6fb Fixing typo 2024-11-06 14:03:37 +13:00
Eric Lippmann 0287012739
ImportSourceRestApi: Fix strlen deprecation (#2891)
fix #2889
2024-10-23 13:17:45 +02:00
raviks789 d946b0d316
ImportSourceRestApi: Fix strlen deprecation 2024-10-22 16:47:06 +02:00
dependabot[bot] a6da978ec9
Bump peter-evans/repository-dispatch from 1 to 3 (#2929) 2024-10-22 14:05:05 +00:00