1699 Commits

Author SHA1 Message Date
raviks789
53a26ccb0f
CustomPropertiesForm: Do not escape the unicode values of custom variables 2025-08-14 13:00:52 +02:00
raviks789
593bf91915
ObjectPropertyForm: Fix custom variable clean up on removal from the host template 2025-08-04 17:12:24 +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
8e6aabe060
PropertyForm: Instantiable array must be only number or string 2025-07-10 14:06:10 +02:00
raviks789
7e8888fb77
HostController: Load custom variables from all the ancestors 2025-07-10 14:06:10 +02:00
raviks789
79de27d64c
CustomPropertiesForm: Correctly save boolean properties in dictionary if false 2025-07-10 14:06:09 +02:00
raviks789
3b7905bc0a
CustomPropertiesForm: Set array element direction to vertical 2025-07-10 14:06:09 +02:00
raviks789
4cf76cd961
PropertyController: Show fields in property form for array or dictionary correctly 2025-07-10 14:06:09 +02:00
raviks789
424db65317
Cleanup object custom variables on removal from template 2025-07-10 14:06:09 +02:00
raviks789
c67f529041
Handle boolean field in object custom properties 2025-07-10 14:06:09 +02:00
raviks789
bff7fdff49
Populate correct value to item_type field 2025-07-10 14:06:09 +02:00
raviks789
3d86d3ec91
Do not allow nested dictionary to have a dictionary field 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
ffebd047af
PropertyController: Allow adding nested fields 2025-07-10 14:06:09 +02:00
raviks789
6e4e8f301e
IcingaServiceForm: Change the nested key suggestions to list 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
20e7ed5858
IcingaServiceForm: Show dictionary's nested keys accessible for apply-for-rule 2025-05-23 14:09:14 +02:00
raviks789
c2b909f245
CustomPropertiesForm: fixes and improvements
Fixes the instantiable dictionary loading in host objects, and adds a duplicate save button to fix the storing of custom properties.
Renaming of variables for better readability.
2025-05-23 14:09:12 +02:00
raviks789
fd25020049
HostController: getObjectCustomProperties returns object properties as array of [property name => property attributes] 2025-05-22 13:00:53 +02:00
raviks789
d5b357ffcb
IcingaServiceForm: Support apply for rule for instantiable dictionary and array 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
115744e6e9
CustomPropertiesForm: Improve dictionary support 2025-05-14 17:29:13 +02:00
raviks789
559660c3bc
Remove unnecessary files 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
06fd00f9c4
WIP: extend from templates to objects 2025-05-14 17:29:13 +02:00
raviks789
d277324633
WIP: Add remove buttons for dictionary items 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
raviks789
11a10be9f8
DeployFormsBug7530: Do not pass null values to strlen
Since PHP 8.0 passing of null to strlen is deprecated and hence must be avoided.
2025-04-23 15:55:31 +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
5f4ad0f827 IcingaAddServiceForm: Check if service templates exist to add services 2025-03-25 16:01:29 +01:00
raviks789
b18cf4f80d Fix editing of custom variables for multi-selected objects 2025-03-25 15:56:11 +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
8161a769fe IcingaHostForm: Fix crashing of form for invalid check command 2024-12-12 13:11:51 +01:00
raviks789
f4692d7ab4 ImportRowModifierForm: Fix removal of filter expression 2024-12-12 10:45:23 +01:00
raviks789
6c766dff43 Allow cloning service sets in Director Branches 2024-11-19 13:34:14 +01:00
André Nähring
1835661850 Add hasBasketSupport for TimePeriods 2024-11-07 13:16:38 +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
raviks789
5298c8ee5d IcingaMultiEditForm: Fix editing custom vars with space in their name 2024-11-07 11:21:46 +01:00
Eric Lippmann
ce64888b81 Fix const visibility 2024-10-22 15:36:03 +02:00
Eric Lippmann
00985429c5 Fix PSR-12 violations 2024-10-22 14:31:14 +02:00
raviks789
48ea3e46f9 IcingaDependencyForm: Make parent host and parent service element values removeable 2024-02-07 11:59:54 +01:00
Ravi Kumar Kempapura Srinivasa
1b74177d6d Support the rendering of service custom variable in Dependencies form 2024-02-07 11:59:52 +01:00
Sukhwinder Dhillon
d879186f0e Fix wrong method param types and add var type hints 2024-02-05 16:05:24 +01:00