dependabot[bot]
d434a3da40
Bump peter-evans/repository-dispatch from 1 to 3
...
Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch ) from 1 to 3.
- [Release notes](https://github.com/peter-evans/repository-dispatch/releases )
- [Commits](https://github.com/peter-evans/repository-dispatch/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: peter-evans/repository-dispatch
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-22 14:01:39 +00:00
dependabot[bot]
91147304a9
Bump actions/checkout from 3 to 4 ( #2928 )
2024-10-22 14:00:43 +00:00
dependabot[bot]
087439d0df
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-22 13:51:32 +00:00
Eric Lippmann
21aaa77efb
Enable Dependabot for GitHub Actions ( #2927 )
2024-10-22 15:50:03 +02:00
Eric Lippmann
f21f12528e
Enable Dependabot for GitHub Actions
2024-10-22 15:48:24 +02:00
Eric Lippmann
4ed60f527b
Fix PhpStan complaining about arithmetic operations between string and int ( #2926 )
2024-10-22 15:46:19 +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
48ad72f9c2
Use PSR-12
for phpcs
2024-10-22 14:23:16 +02:00
Eric Lippmann
28261d8a7f
Fix PhpStan complaining about arithmetic operations between string and int
2024-10-22 14:19:55 +02:00
raviks789
853b6ceb84
Make unique constraints consistent across databases
2024-08-15 09:21:07 +02:00
raviks789
428a49f433
Remove gipfl/format
package dependency
...
refs: #2847
2024-02-08 15:59:13 +01:00
Johannes Meyer
994030260a
Prepare version 1.11.1
2024-02-07 14:02:02 +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
Johannes Meyer
6351df68ea
Support the rendering of service custom variable in Dependencies form ( #2298 )
...
Earlier the director did not support the rendering of service custom
variables for Parent Service in Dependencies form. Here, this issue is
fixed.
fixes #2289
2024-02-07 12:48:22 +01: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
Johannes Meyer
c65369602f
Phpstan: Fix deprecated function param types ( #2858 )
2024-02-05 16:17:32 +01:00
Sukhwinder Dhillon
9cccd9067e
phpstan: Scan all available modules
2024-02-05 16:05:24 +01:00
Sukhwinder Dhillon
bcdb8911f9
Update phpstan-baseline
2024-02-05 16:05:24 +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
deddcde0dd
phpstan: Relax unmatched ignore errors for certain messages
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
Johannes Meyer
35c6086db3
Support Content-Security-Policy ( #2857 )
...
resolves #2845
2024-01-25 10:44:48 +01:00
Sukhwinder Dhillon
28d8f0e7d1
ImportsourceController: Remove unnecessary inline js for collapse
2024-01-19 15:17:41 +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
72f44c326f
Remove unnecessary and unused code
2024-01-19 15:17:41 +01:00
Sukhwinder Dhillon
708b4dbe8f
Remove unnecessary inline 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
Johannes Meyer
0493f93a74
Fix form field suggestions ( #2840 )
...
Other available fields should be suggested when no check command has
been chosen for service template.
fixes #2826 , #2815
2024-01-16 16:56:46 +01:00
raviks789
80d566f42d
PHPStan: Exclude static analysis of tests
2024-01-16 15:30:05 +01:00
raviks789
a0fba398a1
Set up mockery library for php unit test
2024-01-16 15:30:05 +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
0ff6c8ee62
FormFieldSuggestionTest: Add tests for nullable command argument
2024-01-16 12:38:19 +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
Johannes Meyer
6851778863
add support for icingadb as only icingaweb2 data backend ( #2635 )
2024-01-16 11:16:08 +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
Sukhwinder Dhillon
2461724271
IcingadbBackend: Drop icingadb restriction check and only check for director restrictions
...
Monitoring does the same.
2024-01-16 09:51:47 +01:00
Sukhwinder Dhillon
147170e58a
phpstan: Add icingadb module
2024-01-16 09:51:47 +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
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
f52d05de31
IcingadbBackend: Apply director restrictions properly
2024-01-16 09:51:47 +01:00