Commit graph

13 commits

Author SHA1 Message Date
Ravi Srinivasa
dc4b9cb80f
feat(ui): Add forms, controllers, and REST API handler for custom variable management
Introduce the full UI layer for creating, editing, and assigning custom
variables (DirectorProperties) to Icinga objects:

- CustomvarController: CRUD for global custom variable definitions
- VariablesController: per-object variable assignment
- HostController: host-specific dictionary member management
- SuggestionsController: datalist suggestions with PostgreSQL support
- CustomVariableForm / CustomVariablesForm / DeleteCustomVariableForm:
  forms for managing variables on objects with multipart update support
- DictionaryElements (Dictionary, DictionaryItem, NestedDictionary,
  NestedDictionaryItem): composable form elements for structured types
- ArrayElement, IplBoolean: new reusable form elements
- DatalistEntryValidator: validates datalist-constrained variable values
- ObjectController: fetchNestedDictionaryKeys, multipart reload handling
- IcingaObjectHandler (REST API): expose and accept structured custom
  variables in PUT/POST requests; support PostgreSQL UUID binaries
- ObjectTabs: add Variables tab to all object types
- CSS / JS: styles for item lists, action lists, custom variable forms,
  and host-service deactivation; JS fix for multipart form reloads
- configuration.php: register new routes and the Custom Variables dashlet
2026-06-01 12:32:15 +02:00
raviks789
b18cf4f80d Fix editing of custom variables for multi-selected objects 2025-03-25 15:56:11 +01:00
raviks789
5298c8ee5d IcingaMultiEditForm: Fix editing custom vars with space in their name 2024-11-07 11:21:46 +01:00
Thomas Gelf
9269b054f2 IcingaMultiEditForm: store modifications to branch
...when being in a branch
2022-02-06 19:14:35 +01:00
Thomas Gelf
da909907fd IcingaMultiEditForm: use IcingaObjectFormHook 2019-04-24 11:20:40 +02:00
Thomas Gelf
34a0179103 IcingaMultiEditForm: fix multi-object delete
fixes #677
2017-05-03 12:03:10 +02:00
Thomas Gelf
0de1987389 IcingaMultiEditForm: prepare elements before...
...adding fields

fixes #707
2017-02-17 16:41:41 +01:00
Thomas Gelf
ee0def7d2b Lots of files: make IDE users happy 2016-11-01 18:28:36 +01:00
Thomas Gelf
9414068eee IcingaMultiEditForm: remove superfluous dot 2016-10-20 02:13:19 +00:00
Thomas Gelf
a8c37695a9 IcingaMultiEditForm: translate '' to null 2016-10-14 20:13:35 +00:00
Thomas Gelf
23ef9a707c MultiEdit: make it independent of an object type 2016-10-14 18:32:34 +00:00
Thomas Gelf
6a54e00402 MultiEdit: code cleanup, add custom var support
fixes #12465
fixes #12906
fixes #11614
2016-10-14 17:17:07 +00:00
Thomas Gelf
69237b8ae9 MultiEditForm: first shot, provides imports
refs #12465
2016-10-14 13:46:06 +00:00