Commit Graph

5170 Commits

Author SHA1 Message Date
Thomas Gelf bb567946d2 BranchMerger: no remark with empty comment 2022-02-08 08:58:34 +01:00
Thomas Gelf 8bcc20e004 ActivityLogTable: support remarks
fixes #2471
2022-02-08 08:58:34 +01:00
Thomas Gelf 9611381956 BranchMerger: trigger activity log entry when...
...deleting an object
2022-02-08 08:58:34 +01:00
Lucas Bickel 3590f725eb fix: use bell icon for notifications 2022-02-06 19:34:03 +01:00
Thomas Gelf 961a46a6cc ServiceController: ask DbObjectTypeRegistry 2022-02-06 19:15:09 +01:00
Thomas Gelf 9269b054f2 IcingaMultiEditForm: store modifications to branch
...when being in a branch
2022-02-06 19:14:35 +01:00
Thomas Gelf 43dddc58aa ObjectsController: allow uuid for MultiSelect
fixes #2466
2022-02-06 19:13:47 +01:00
Thomas Gelf 9a2d165583 BranchedObjectHint: 404 when deleted 2022-02-06 19:09:30 +01:00
Thomas Gelf 9bb600c13b ServiceController: drop obsolete method 2022-02-06 15:32:48 +01:00
Thomas Gelf ef360809e6 IcingaServiceForm: set host, not host_id
This allows to create services on hosts which have been created in a branch
2022-02-06 13:49:40 +01:00
Thomas Gelf 269637ce9f IcingaServiceForm: store overrides to branch...
...if set
2022-02-06 13:48:59 +01:00
Thomas Gelf fc6f8740fb ServicesetController: no service access in branch 2022-02-06 13:43:20 +01:00
Thomas Gelf 30f0d85158 UuidLookup: allow multi-key objects
Hint: we do not (yet) support templates in branches, but we need to deal
with related lookups
2022-02-06 13:19:17 +01:00
Thomas Gelf a05300dc24 DbObject: trigger 404 where we get no UUID 2022-02-06 13:18:58 +01:00
Thomas Gelf 4792859657 IcingaServiceForm: do not return void result 2022-02-06 12:32:51 +01:00
Thomas Gelf 21a67e355f IcingaServiceForm: combine duplicate code 2022-02-06 12:31:59 +01:00
Thomas Gelf c296b716de IcingaServiceForm: some cleanup 2022-02-06 12:28:18 +01:00
Thomas Gelf d615ce932c DirectorObjectForm: do not return void 2022-02-06 11:48:03 +01:00
Thomas Gelf 6db30263d0 DirectorObjectForm: allow host (w/o id) in main 2022-02-06 11:47:41 +01:00
Thomas Gelf 2845be7542 DirectorObjectForm: remove unused method 2022-02-06 11:47:23 +01:00
Thomas Gelf 818ee7a01a DirectorObjectForm: don't set vals twice on create 2022-02-06 11:46:22 +01:00
Thomas Gelf b7aa578dee IcingaHost: filter internal properties from enum 2022-02-06 11:41:20 +01:00
Thomas Gelf eddaf7c9a4 IcingaObject: some cleanup 2022-02-06 11:39:03 +01:00
Thomas Gelf 891b6112aa IcingaObject: ignore uuid when resolving properties 2022-02-06 11:37:01 +01:00
Thomas Gelf 324cc9ed5b IcingaObject: do not unset unresolved related...
...properties, as long as they do not give us an object with an ID.
This is the case when adding new services to hosts which exist in a
branch only, and will no longer be a problem once our internal caches
work with UUIDs
2022-02-06 11:35:00 +01:00
Thomas Gelf 351c41cb3c IcingaAddServiceForm: avoid duplicate get() call 2022-02-06 11:30:47 +01:00
Thomas Gelf b6f6b786c5 FiltersWorkAsExpected: test Icinga Web filters...
...for some important cases
2022-02-03 11:03:54 +01:00
raviks789 b04fe28932 Delete newly added Services in Service Set when restoring it from snapshot
The Services which were added into the Service Set after the snapshot was created
must be deleted when the Service Set is being restored from the snapshot.
2022-01-24 15:26:48 +01:00
Johannes Meyer 420dfcbdbf Avoid passing non-string args to `ctype_*()` functions 2022-01-14 11:31:55 +01:00
Thomas Gelf 2712275c45 DeploymentStatus: fix method signature, use getter 2022-01-10 18:44:45 +01:00
Thomas Gelf 31a66b6619 DeploymentStatus: little fix, formatting 2022-01-10 18:20:08 +01:00
Thomas Gelf 251cd309be DeploymentStatus: fix CLI command for PostgreSQL
fixes #2260
2022-01-10 18:18:09 +01:00
Thomas Gelf 0fcbc2783b IcingaServiceSet: load services by UUID
fixes #2454
2022-01-10 13:31:25 +01:00
Thomas Gelf 274c153837 various: PHP8.1-related warnings 2022-01-10 11:44:33 +01:00
Thomas Gelf 2113484b20 IcingaArguments: fix delete 2022-01-09 21:42:39 +01:00
Thomas Gelf 87a16f11fa DbObject: fix Command Argument creation
fixes #2453
2022-01-09 21:36:40 +01:00
Thomas Gelf c487a8b447 ServiceController: refactor loading for related...
...objects

refs #2452
2021-12-23 13:47:29 +01:00
Thomas Gelf 36babe65f7 IcingaServiceSetServiceTable: use host uuid for...
...Set Member related to host
2021-12-23 13:46:37 +01:00
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