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
raviks789
409962251b
Fix sync rule preview in case of boolean properties
2024-11-07 10:24:19 +01:00
raviks789
c3fd4118d9
IcingaObjectMultiRelations: Set property modified
to false when loaded from DB
2024-11-07 09:45:13 +01:00
raviks789
6291179bcc
DirectorDatalist: Match column types to join tables in postgres by explicit type casting
2024-11-07 09:41:27 +01:00
raviks789
d946b0d316
ImportSourceRestApi: Fix strlen deprecation
2024-10-22 16:47:06 +02: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
Eric Lippmann
28261d8a7f
Fix PhpStan complaining about arithmetic operations between string and int
2024-10-22 14:19:55 +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
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
Sukhwinder Dhillon
3fc16910f7
Ini_set()
#param 2 must be string (php < 8.1)
2024-02-05 16:05:24 +01:00
Sukhwinder Dhillon
2acfdecb8d
RestApiClient: Remove curl's return type hint and wrong curl_error() param
...
Php >= 8 returns CurlHandle instead of resource, which confuses phpstan.
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
c9e78ba7d5
IcingaObjectLegacyAssignments: Fix incorrect if condition
2024-02-05 16:05:23 +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
Thomas Gelf
6e57e6dc98
IcingaObjectGroup: no membership refresh w/o assign
...
fixes #2784
2024-01-19 12:29:18 +01:00
raviks789
0ea0a8fd83
Fix zone creation and deletion for tests
2024-01-16 15:27:27 +01:00
Johannes Meyer
58e2a8fca6
Change parent class of BaseTestCase to \Icinga\Test\BaseTestCase
2024-01-16 14:33:49 +01:00
raviks789
c0e870d543
Fix form field suggestions
...
Other available fields should be suggested when no check command has been
chosen for service template.
2024-01-16 12:38:19 +01:00
Sukhwinder Dhillon
a850ff13d7
IcingadbBackend: Remove isAvailable method and property
...
As it is only used internally now, it is no more required
2024-01-16 10:27:10 +01:00