raviks789
7d5b8983a7
Fix: Save array values in dictionary as array instead of comma separated string
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
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
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
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
7fd1468229
Fix CSRF validation for sorting in property tables
2024-11-07 12:57:40 +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
428a49f433
Remove gipfl/format
package dependency
...
refs: #2847
2024-02-08 15:59:13 +01:00
raviks789
e48ddd2f35
Restore services of service set on restoring service set
...
All the services which were under the service set when it was deleted must be restored when it is restored from activity log.
2024-02-07 13:40:33 +01:00
Sukhwinder Dhillon
d879186f0e
Fix wrong method param types and add var type hints
2024-02-05 16:05:24 +01:00
Sukhwinder Dhillon
cc3bfd5437
BranchHelper: Define method return types
2024-02-05 16:05:24 +01:00
Sukhwinder Dhillon
bb8076a09d
var_export()
expects #param 2 to be bool
2024-02-05 16:05:23 +01:00
Sukhwinder Dhillon
9f58dcf8d9
phpstan: Strict check function/class
name-case and fix violations
2024-02-05 16:05:23 +01:00
Sukhwinder Dhillon
be6447874c
Remove not in use class ReadOnlyFormAvpTable
2024-01-19 15:17:41 +01:00
Sukhwinder Dhillon
c25a66b484
Avoid inline css style
2024-01-19 15:17:41 +01:00
Sukhwinder Dhillon
4ef7f5664a
ActionController::backend(): Add condition to check which backend should be used
...
- If both are available
2024-01-16 09:51:47 +01:00
Sukhwinder Dhillon
956cce84cb
Cleanup code
...
- Remove superfluous methods/usages
- Simplify the code
2024-01-16 09:51:44 +01:00
Sukhwinder Dhillon
604667ca65
Relocate Backend classes
2024-01-15 16:25:02 +01:00
Sukhwinder Dhillon
9baa3c4341
Remove redudant class MonitorBackendMonitoring
and adjuct code accordigly
...
- Use class `Monitoring` instead
- Remove not in use methods from `MonitorBackend` interface and from classes that implements this interface
- Add param types and return type hint to methods
2024-01-15 16:24:27 +01:00
Sukhwinder Dhillon
89134e0366
Remove obsolate class Backend
and its usages
...
- Create the backend directly in ActionController::backend()
- Simplify the code
2024-01-15 16:24:25 +01:00
Tobias Tiederle
1c6090193d
add support for icingadb as only icingaweb2 data backend
2023-12-04 10:12:54 +01:00
Thomas Gelf
fb1a23fb01
ObjectsTableSetMembers: fix uuid in link
2023-10-12 19:56:25 +02:00
Thomas Gelf
7267953e13
TemplateUsageTable: pass auth to constructor
2023-10-12 08:45:12 +02:00
Thomas Gelf
a2abbd326b
TemplateController: pass auth
2023-10-12 08:43:58 +02:00
Thomas Gelf
48db90c7df
ObjectsTable: require Auth
...
fixes #2808
2023-10-11 12:24:36 +02:00
raviks789
76509bb7c8
IcingaServiceSetServiceTable: Change table alias for director branches
2023-09-22 13:44:09 +02:00
raviks789
ca855c6ee7
TemplateUsageTable: Fix indrect object count
...
fixes #2806
2023-09-22 13:16:33 +02:00
Thomas Gelf
7c2a3f254b
ObjectSetTable: fix on pgsql
2023-09-21 16:02:07 +02:00
raviks789
63a3e6a1ec
Fix editing of multi-selected services with same name
...
Since the object names function as keys for the multi-selected objects array, this becomes a problem when
multiple services as the same name. Hence for the services the array keys must be a combination of service name
and the host name to which the service is related.
2023-09-21 14:59:42 +02:00
raviks789
dcd36877ea
Make TemplateUsageTable
s and other tables compatible with director branches
...
`TemplateUsageTable`, `ApplyRulesTable`, `ObjectsTableSetmembers` and `TemplatesTable` are
made compatible with `director branches`.
2023-09-21 14:57:30 +02:00
raviks789
3c7082cabc
Modify IcingaObjectFilterHelper::filterByTemplate
for director branches
...
Icinga objects must be filterable based on templates when a director branch is active.
2023-09-21 14:57:30 +02:00
raviks789
e6f7d82c09
Add a imports
column to the objects
...
The host or service objects require retrieve the imports column. This
makes it possible to filter them based on templates when a director
branch is active.
2023-09-21 14:57:30 +02:00
Ravi Kumar Kempapura Srinivasa
939f805378
Add setmembers
summyary line to TemplateUsageTable
...
`'setmembers' => $this->getSummaryLine('object', 'o.service_set_id IS NOT NULL AND o.host_id IS NOT NULL'),` is added to TemplateUsageTable
and `objects` is set to ` $this->getSummaryLine('object', 'o.service_set_id IS NULL')`. Subsequently, ObjectTableSetMembers
is added which is used in `setmembersAction` in `TemplateController`. `ObjectTableSetMembers` uses service set name or service name
as search columns.
2023-09-21 14:57:30 +02:00