Commit Graph

4932 Commits

Author SHA1 Message Date
Thomas Gelf caccecded6 IcingaHost: ignore warning 2021-12-23 13:46:04 +01:00
Thomas Gelf 2e01e181aa DbObject: exists should return false...
...in case there is no related uuid

refs #2434
2021-12-23 10:30:58 +01:00
Thomas Gelf 1cbb033911 ServiceController: load Set and Host before...
...the service, which get's loaded in the parent class

fixes #2452
fixes #2449
2021-12-23 10:25:59 +01:00
Thomas Gelf 212596a41e ObjectSetTable: drop name from link 2021-12-23 10:07:07 +01:00
Thomas Gelf 7d68f8014b ServicesetController: one more PHP 8.1 warning 2021-12-23 10:06:38 +01:00
Thomas Gelf 673c1c520e DirectorDeploymentLog: do not query empty stage
fixes #2426
2021-12-22 11:46:18 +01:00
Thomas Gelf a86c751c33 Cube, BranchedObject: formatting 2021-12-22 11:45:57 +01:00
Thomas Gelf c7cba433ed DbObject: indentation 2021-12-21 14:18:56 +01:00
Thomas Gelf 68814e0de6 IcingaObjectImports: fix PHP 8.1 notice 2021-12-21 09:01:06 +01:00
Thomas Gelf 27e5e72f41 ObjectsTable: do not apply restrictions to objects
...created in the current config branch
2021-12-17 17:16:50 +01:00
Thomas Gelf f77d5b8d0c HostController: show services for hosts created...
...in a branch
2021-12-17 13:57:18 +01:00
Thomas Gelf e3cae7c20a ObjectsTable: remove outdated/duplicate method 2021-12-17 13:56:37 +01:00
Thomas Gelf 4c24781a11 Merge branch 'fix/load-related-branched-objects' 2021-12-17 12:53:09 +01:00
Thomas Gelf 376344257c DbObjectStore: inject into DbObject for related...
...objects in a branch
2021-12-17 12:51:24 +01:00
Thomas Gelf 56d052a804 HostController: translate untranslated string 2021-12-17 11:47:20 +01:00
Thomas Gelf 6caa02c716 dependencies: remove obsolete 'use' 2021-12-17 11:47:14 +01:00
Thomas Gelf 7f22c12f9f Host/ObjectController: no sets in branches 2021-12-17 08:06:20 +01:00
Thomas Gelf 60104327bf ObjectController: add some branch-related hints 2021-12-14 10:46:52 +01:00
Thomas Gelf b07ee0dd8e TemplatesTable: use uuid for history link 2021-12-14 10:42:48 +01:00
Thomas Gelf 68cf42490f Importsource: some more branch-related hints 2021-12-14 08:36:08 +01:00
Thomas Gelf bfdcafca52 Ranges: common class, fix store/delete issues
This removes duplicate code, fixes some issues introduced with UUIDs and does
some cleanup

fixes #2415
fixes #2442
2021-12-14 08:33:50 +01:00
Thomas Gelf eeaf3a84e3 ActivityLogTable: no text search for action
fixes #2057
2021-12-13 14:47:30 +01:00
Thomas Gelf 27abbb59a0 ObjectsTableService: replace HostServiceTable
This removes duplicate logic and shows services created in config
branches
2021-12-13 14:11:35 +01:00
Thomas Gelf b70b19ad32 Dashlet, Kickstart: fix translatable strings
fixes #2405
2021-12-13 13:36:26 +01:00
Thomas Gelf f35ded85fb ArrayCustomVariablesFilter: check for type (PHP81) 2021-12-13 13:35:16 +01:00
Yonas Habteab ef4068ebde Move css styles from `SelfService` to module.less 2021-12-13 13:09:36 +01:00
apaskowski e657806ee4 IcingaTimePeriod: make description more clear 2021-12-13 08:59:08 +01:00
Thomas Gelf 100bc4b777 library: php8-related cleanup 2021-12-06 23:03:06 +01:00
Thomas Gelf 2f326576d9 module.info: raise dependencies 2021-12-06 22:11:53 +01:00
Thomas Gelf 257537d022 DbUtil: helper for pgsql binary resource handling 2021-12-06 22:11:31 +01:00
Thomas Gelf ff57ec5c77 FormStoredPassword: check for null 2021-12-06 22:10:46 +01:00
Thomas Gelf e27cda645d JobDetails: fix null issue 2021-12-06 21:36:56 +01:00
Thomas Gelf 37db546a0d ObjectsTableHostTemplateChoice: fix method params 2021-12-01 23:50:29 +01:00
Thomas Gelf 215988c3ca library: some hints for PHP 8.1 2021-12-01 23:50:04 +01:00
Thomas Gelf b7c0559212 Merge branch 'fix/serviceset-uuid'
fixes #2417
fixes #2418
2021-12-01 23:48:14 +01:00
Thomas Gelf e23e804421 schema: complete migrations for icinga_service_set 2021-11-30 13:48:05 +01:00
Ravi Kumar Kempapura Srinivasa 388c79e430 Add uuid to service sets. 2021-11-28 11:15:31 +01:00
Thomas Gelf 5fe0a8812c Monitoring permissions for single services only 2021-11-28 11:13:28 +01:00
Thomas Gelf 82656de2c2 Director: some PHP 8.1-related changes 2021-11-28 11:13:08 +01:00
Johannes Meyer ac575858dc schema: Quote keyword `groups` 2021-11-28 11:08:25 +01:00
raviks789 124c4e4c17 Add cube links for objects from Icingadb and register the hook 2021-11-24 14:43:41 +01:00
Thomas Gelf 6786cc768f Director: some fixes for PHP v8.1
refs #2435
2021-11-24 11:56:18 +01:00
Thomas Gelf cb16733420 ServiceController: make sure to set branch and...
...host on Service Form
2021-11-24 11:52:07 +01:00
Markus Frosch 4f959572f2 Add feature to specify a custom endpoint name for a host
- Render Endpoint and Zone with a different name per host
- Add custom variable `_director_custom_endpoint_name` to a host with that name
- Update `command_endpoint` behavior in services to use custom var or hostname
- Includes a feature flag that needs to be enabled
2021-10-21 14:59:52 +02:00
Markus Frosch 8237d84cdb Add feature to specify a custom endpoint name for a host
- Render Endpoint and Zone with a different name per host
- Add custom variable `_director_custom_endpoint_name` to a host with that name
- Update `command_endpoint` behavior in services to use custom var or hostname
- Includes a feature flag that needs to be enabled
2021-10-21 14:59:52 +02:00
Thomas Gelf 3d528dc3af ObjectsTableEndpoint: provide UUID 2021-10-18 17:32:58 +02:00
Thomas Gelf 30c6e50e33 BranchMerger: remove obsolete method call 2021-10-18 13:35:57 +02:00
Thomas Gelf 2d79281583 ApplyRulesTable: use UUIDs
refs #2411
2021-10-18 10:04:28 +02:00
Thomas Gelf ce3ec67eb6 HostServiceBlacklist: fix exception in branches 2021-10-18 07:46:27 +02:00
Thomas Gelf 4916ce3529 SuggestController: apply HostGroup restrictions 2021-10-18 07:46:00 +02:00