raviks789
188fa7aa35
Temporary patch to distinguish instantiable and non instantaible dictionary
...
Check if the dictionary custom variable is instantiable or not before rendering it
to Icinga Config
2025-08-14 16:51:22 +02:00
raviks789
cf33c9dea5
IcingaObjectHandler: Upadte/create the object first and then set the custom properties
2025-08-14 12:43:57 +02:00
raviks789
dfffb224dd
Check for existence of custom variable in the object before storing it
2025-07-10 14:06:10 +02:00
raviks789
7d5b8983a7
Fix: Save array values in dictionary as array instead of comma separated string
2025-07-10 14:06:10 +02:00
raviks789
393a1c9247
CustomVariables: Use operator '+=' instead of '=' if the variable is a dictionary
2025-07-10 14:06:10 +02:00
raviks789
c67f529041
Handle boolean field in object custom properties
2025-07-10 14:06:09 +02:00
raviks789
565102e63d
Fix: substr deprecation error
2025-07-10 14:06:09 +02:00
raviks789
6d666de23c
Render the host dictionary items as variable in apply-for-rule
2025-07-10 14:06:09 +02:00
raviks789
02a1a882c3
Rename 'config' to 'value' for items array/dictionary in apply-for-rule
2025-07-10 14:06:06 +02:00
raviks789
a2e250845c
CustomVariableString: Render variables explicitily if the name is in between $ symbols
2025-05-23 14:09:14 +02:00
raviks789
e0aa1f62fd
IcingaService: Do not attach config
to custom variables for apply for rule
2025-05-22 13:00:53 +02:00
raviks789
dad61abe7b
Show inherited values in placeholder
2025-05-22 13:00:51 +02:00
raviks789
f2702f8737
Make custom properties removable from hosts
2025-05-14 17:29:13 +02:00
raviks789
63047ec393
Add and edit custom variables in the same tab
2025-05-14 17:29:13 +02:00
raviks789
ba4a74376e
DirectorObjectForm: Do not show custom variables for hosts
2025-05-14 17:29:13 +02:00
raviks789
559660c3bc
Remove unnecessary files
2025-05-14 17:29:13 +02:00
raviks789
7f6f275f08
DirectorObjectForm: Reset changes
2025-05-14 17:29:13 +02:00
raviks789
4b8c2c447c
WIP: Add delete functionaltiy to ObjectPropertyForm
2025-05-14 17:29:13 +02:00
raviks789
4c4297ea54
Apply for rule: Configurable for both dictionaries and arrays
2025-05-14 17:29:13 +02:00
raviks789
335bcef8da
Edit host vars using REST api
2025-05-14 17:29:13 +02:00
raviks789
5527d096e4
WIP: ipl form for custom properties
2025-05-14 17:29:11 +02:00
raviks789
e708496868
WIP: Add items to instantiable dictionary
2025-05-12 09:47:49 +02:00
raviks789
92790d2ede
WIP: Instantiable dictionary support
2025-05-12 09:47:49 +02:00
raviks789
e4b78b9361
WIP: Alternative custom property support
2025-05-12 09:47:49 +02:00
Ravi Kumar Kempapura Srinivasa
a99a998540
Merge commit from fork
...
Apply relevant restrictions on REST url endpoints
2025-03-26 11:19:54 +01:00
raviks789
4c283a24c8
Fix: Support data type change of columns ts_last_attempt
and ts_last_error
from timestamp to bigint
2025-03-25 16:03:30 +01:00
raviks789
b18cf4f80d
Fix editing of custom variables for multi-selected objects
2025-03-25 15:56:11 +01:00
raviks789
42a47d6139
CustomVarRenderer: Fix illegal offset error if the value is an array
2025-03-25 15:53:09 +01:00
raviks789
778b25873c
CustomVarRenderer: Fix custom var renderer for apply-for-rules
2025-03-25 15:49:30 +01:00
raviks789
3fcb20178f
Apply correct restrictions to REST url endpoints
...
The following url end points should apply relevant restrictions to filter out objects and show correct HTTP status code:
- icingaweb2/director/service, if the host name is left out of the query (Example: icingaweb2/director/service?name=service-name)
- icingaweb2/directore/notification
- icingaweb2/director/serviceset
- icingaweb2/director/scheduled-downtime
2025-01-24 12:21:41 +01:00
raviks789
175de1ae84
Fix pgsql binary resource handling for uuids
2024-12-12 09:46:00 +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
raviks789
6c766dff43
Allow cloning service sets in Director Branches
2024-11-19 13:34:14 +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
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
moreamazingnick
fd7babe81e
fixes #2393 clusterzone check is not a plugincheck
2024-11-07 15:28:51 +01:00
raviks789
7fd1468229
Fix CSRF validation for sorting in property tables
2024-11-07 12:57:40 +01:00
raviks789
6be8cd49af
Basket::setObjects: Reset $chosenObjects
property only if the given objects is empty
2024-11-07 11:14:36 +01:00
raviks789
6c7918033d
PropertyModifierGetHostByName: Fix inet_pton
unrecognized address error
2024-11-07 11:02:21 +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