745 Commits

Author SHA1 Message Date
raviks789
7e8888fb77
HostController: Load custom variables from all the ancestors 2025-07-10 14:06:10 +02:00
raviks789
4cf76cd961
PropertyController: Show fields in property form for array or dictionary correctly 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
ffebd047af
PropertyController: Allow adding nested fields 2025-07-10 14:06:09 +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
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
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
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
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
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
André Nähring
1835661850 Add hasBasketSupport for TimePeriods 2024-11-07 13:16:38 +01:00
Eric Lippmann
00985429c5 Fix PSR-12 violations 2024-10-22 14:31:14 +02:00
Sukhwinder Dhillon
d879186f0e Fix wrong method param types and add var type hints 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
28d8f0e7d1 ImportsourceController: Remove unnecessary inline js for collapse 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
708b4dbe8f Remove unnecessary inline style 2024-01-19 15:17:41 +01:00
Sukhwinder Dhillon
d30a56a385 Fix phpcs issues 2024-01-16 09:51:47 +01:00
Sukhwinder Dhillon
d26a619577 ServiceController: Use given properties to get host/service name 2024-01-16 09:51:47 +01:00
Sukhwinder Dhillon
8a489bcc46 HostController: Move ServiceFinder::getRedirectionUrl() method code to findserviceAction()
- This helps to detect backend easily, and was only called in this method anyway.
- Add and use helping method getServicesReadOnlyPermission()
-
2024-01-16 09:51:47 +01:00
Sukhwinder Dhillon
4e6528e862 ServiceController: Remove redudant if condition 2024-01-16 09:51:47 +01:00
Sukhwinder Dhillon
db7181c29e Backend: Remove unnecessary calls to isAvailable() 2024-01-16 09:51:47 +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
Tobias Tiederle
1c6090193d add support for icingadb as only icingaweb2 data backend 2023-12-04 10:12:54 +01:00
Thomas Gelf
48db90c7df ObjectsTable: require Auth
fixes #2808
2023-10-11 12:24:36 +02:00
raviks789
9e332b4022 Remove limit count for service set directly added to the host 2023-09-21 14:37:03 +02:00
Thomas Gelf
5298243d94 SyncruleController: fix typo
fixes #2613
2023-08-25 11:00:39 +02:00
EmTeedee
6b7bff80de ${var} deprecated in favor of {$var}
See: https://www.php.net/manual/en/migration82.deprecated.php#migration82.deprecated.core.dollar-brace-interpolation
2023-07-19 10:44:40 +02:00
Thomas Gelf
8e60e0aab9 HostController: relax assertion 2023-06-13 17:39:15 +02:00
Thomas Gelf
62bff81fac BasketUploadForm: allow uploading snapshots...
...for existing Baskets

fixes #1952
2023-03-12 10:45:09 +01:00
Thomas Gelf
5a732170af Basket: support UUIDs
fixes #2716
2023-03-07 15:13:16 +01:00
Thomas Gelf
70a822f270 BasketDiff: new implementation
fixes #2715
2023-03-07 12:15:59 +01:00
Thomas Gelf
bbf85f052b app, lib: formatting, syntax 2023-02-23 12:00:20 +01:00
Thomas Gelf
40254714b8 Permissions: refactor, fix monitoring module checks
fixes #2712
2023-02-23 11:51:53 +01:00
Thomas Gelf
2a37db1115 BranchController: ensure object type is set first
fixes #2142
fixes #2634
2022-11-03 07:25:39 +01:00
Thomas Gelf
01a80c2da8 SelfServiceController: check for null values
fixes #2614
2022-10-27 11:53:54 +02:00
raviks789
26e76c611e Reset Limit count and offset for $table in HostController::servicesAction
The limit in ObjectsTable::prepareQuery() limits the number of services shown in HostController::servicesAction.
But this limit is required for pagination in ServicesController. Hence, reset the limit when this query is used
in HostController::servicesAction().
2022-10-04 15:33:29 +02:00
Thomas Gelf
c56b190469 ServicesetController: allow branch access 2022-09-20 12:54:28 +02:00
Thomas Gelf
25f961a4c8 HostController: allow to add Sets 2022-09-20 12:50:37 +02:00
Thomas Gelf
4e1cc13320 ServiceController: enableStaticObjectLoader earlier 2022-09-20 12:16:20 +02:00
Thomas Gelf
f301be425c HostController: pass branch to forms 2022-09-20 12:16:00 +02:00
Thomas Gelf
3c7c7bc61a ServicesetController: stringify uuid once 2022-09-05 12:23:13 +02:00
Thomas Gelf
0f2045c8f6 SyncruleController: fix preview logic 2022-08-31 14:45:28 +02:00