3302 Commits

Author SHA1 Message Date
Thomas Gelf
9a2c0162d2 Sync: respect null properties on merge
fixes #2623
2022-10-07 10:16:37 +02:00
Thomas Gelf
82fbd5359e DbObjectStore: sort by array index, not uuid 2022-10-07 10:12:00 +02:00
Thomas Gelf
773a135220 DbObject: grant access to default properties 2022-10-07 10:12:00 +02:00
Thomas Gelf
6f0c7aa2a3 IcingaObject: allow to replace with plain object 2022-10-07 10:12:00 +02:00
Thomas Gelf
f447457c40 Sync: load object w/o branch support the old way
fixes #2618
2022-10-06 13:08:48 +02:00
Thomas Gelf
3c2815d2e9 CoreApi: fix version comparison logic
fixes #2629
2022-10-05 11:14:37 +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
560e0e6520 CustomVariables: do not render deleted ones
fixes #2622
2022-09-30 13:47:05 +02:00
Thomas Gelf
867138abe3 AppliedServiceInfo: fetch UUID object
fixes #2615
2022-09-30 12:15:33 +02:00
Thomas Gelf
b6ed832a03 AppliedServiceSetServiceInfo: provide the UUID
fixes #2619
2022-09-30 11:44:18 +02:00
Ravi Kumar Kempapura Srinivasa
2d5d0db77c DirectorJob: fix restoring from snapshot
fixes #2528
2022-09-30 11:40:02 +02:00
Thomas Gelf
54c838666c Job, Import, Sync: fix restore w/o ID 2022-09-30 11:32:16 +02:00
Thomas Gelf
60bdef6752 Sync: create objects with original key...
...and not with the lower-cased comparison key

fixes #2608
2022-09-22 17:37:26 +02:00
Thomas Gelf
f2eb06ae39 BranchStore: wipe branched tables, not real ones 2022-09-21 11:51:05 +02:00
Thomas Gelf
0cb6e40681 IcingaService: improve error message 2022-09-21 11:50:26 +02:00
Thomas Gelf
ebb08aceae ObjectSetTable: fix for PgSQL when not in branch 2022-09-21 11:00:07 +02:00
Johannes Meyer
3055552728 IcingaObjectQuery: Use $connection->renderFilter instead of whereToSql
`whereToSql` did support timestamp handling in comparison, though this
class couldn't have made use of it since it had to use a query which
overrides the `isTimestamp` function.
2022-09-21 09:04:29 +02:00
Daniel Patrick
04c4bd2559 IcingaCommand: Remove obsolete CLR check 2022-09-21 08:52:51 +02:00
Thomas Gelf
05de5b171b BranchMerger: log change author
fixes #2606
2022-09-21 08:50:45 +02:00
Thomas Gelf
79f8ca26ef Branch: allow access to description
fixes #2604
2022-09-21 07:51:25 +02:00
Thomas Gelf
c91ff3303c ExtensibleSet: short array syntax, readability 2022-09-20 20:28:05 +02:00
Thomas Gelf
47488d138e ObjectSetTable: fix a PostgreSQL issue 2022-09-20 15:27:16 +02:00
Thomas Gelf
b19dd5f62d IcingaServiceSet: use query builder to retrieve...
...services, this is required for branches
2022-09-20 12:55:55 +02:00
Thomas Gelf
59d62d0ff9 ObjectSetTable: branch support 2022-09-20 12:53:00 +02:00
Thomas Gelf
a684929cf5 ObjectController: allow Service Sets in Branches 2022-09-20 12:48:26 +02:00
Thomas Gelf
6f173b8392 ObjectsController: pass branch to table 2022-09-20 12:22:05 +02:00
Thomas Gelf
131d4e27ba TableWithBranchSupport: provide setter 2022-09-20 12:20:44 +02:00
Thomas Gelf
4d2f285c01 IcingaServiceSetServiceTable: branch classes 2022-09-20 12:19:31 +02:00
Thomas Gelf
4d8e3f6db7 ServiceSetQueryBuilder: new query builder 2022-09-20 12:19:21 +02:00
Thomas Gelf
39f53b6cee ObjectController: branch hint on create 2022-09-20 12:06:52 +02:00
Thomas Gelf
2a5909917b BranchSupport, Inspection: allow Sets 2022-09-20 12:05:43 +02:00
Thomas Gelf
1fbb4d93b6 BranchedObjectHint: allow no object (create) 2022-09-20 12:03:46 +02:00
Thomas Gelf
b35b6b84cc TableWithBranchSupport: do not branchify relations 2022-09-20 12:03:00 +02:00
Thomas Gelf
ae0992f196 UuidLookup: host_id VS host in branch 2022-09-20 11:54:10 +02:00
Thomas Gelf
8b1513830c IcingaServiceSet: do not delete Services w/o id 2022-09-20 07:20:29 +02:00
Thomas Gelf
166b862114 PropertyModifierFromLatin1: use iconv 2022-09-19 10:09:52 +02:00
Thomas Gelf
e3e92cdb3a AppliedServiceSetLoader: change method visibility
...for fetchAppliedServiceSets()
2022-09-19 07:41:44 +02:00
Thomas Gelf
410913e512 UuidLookup: fix host/set related fallback 2022-09-15 11:45:32 +02:00
Thomas Gelf
8bfbe2a80f IcingaServiceSet: friendlier error message 2022-09-15 11:44:43 +02:00
Thomas Gelf
9434cf5089 IcingaServiceSet: type hint for IDE 2022-09-15 11:44:24 +02:00
Thomas Gelf
0cf8c76617 IcingaObject: more details in the error message 2022-09-13 10:20:24 +02:00
Thomas Gelf
1df495b41e UuidLookup: fix lookup for cloned branches 2022-09-09 14:30:51 +02:00
Thomas Gelf
dd85c2ee35 Sync: compare keys in a case-insensitive way
fixes #2598
2022-08-31 16:36:31 +02:00
Thomas Gelf
28c149efed IcingaServiceSetServiceTable: refactor link logic 2022-08-31 14:45:28 +02:00
Thomas Gelf
d433631174 TableWithBranchSupport: new trait 2022-08-31 14:45:28 +02:00
Thomas Gelf
98cfcafdcd BranchSupport: introduce new constants 2022-08-31 14:45:28 +02:00
Thomas Gelf
ae45844bac Sync: fix typo, remove useless cast 2022-08-31 14:45:28 +02:00
Thomas Gelf
956708475e BranchSupport: new helper class 2022-08-31 14:45:28 +02:00
Thomas Gelf
b2afca2496 Sync: support branches 2022-08-31 14:45:28 +02:00
Thomas Gelf
1c30412abd DirectorActivityLog, others: constants, cleanup 2022-08-20 20:41:07 +02:00