74 Commits

Author SHA1 Message Date
Thomas Gelf
fc7bfe7db9 Datalist: fix snapshot diff
fixes #2791
2023-08-25 17:15:08 +02:00
Thomas Gelf
479d964841 BasketSnapshotFieldResolver: provide fixOptional...
...DatalistReference()
2023-07-30 20:54:39 +02:00
Thomas Gelf
5371b57630 BasketSnapshotFieldResolver: return types 2023-07-30 20:42:59 +02:00
Thomas Gelf
868e0afe80 BasketDiff: return type is stdClass 2023-05-16 11:19:12 +02:00
Thomas Gelf
c3936f63bb BasketSnapshot: remove obsolete flag 2023-03-12 10:45:16 +01:00
Thomas Gelf
25bca75e9b BasketSnapshot: throw for outdated flag 2023-03-12 10:45:16 +01:00
Thomas Gelf
749ab6a356 BasketSnapshotFieldResolver: dedicated exception..
...for invalid baskets, referencing missing fields
2023-03-11 09:34:52 +01:00
Thomas Gelf
045f4ec941 ObjectImporter, BasketDiff: fallback for baskets...
...with UUID, and no matching entry. Will adjust UUIDs for matching objects
2023-03-07 17:52:59 +01:00
Thomas Gelf
5a732170af Basket: support UUIDs
fixes #2716
2023-03-07 15:13:16 +01:00
Thomas Gelf
bec49d1230 library: cleanup, drop import/export methods 2023-03-07 14:29:34 +01:00
Thomas Gelf
c42fc4498a BasketDiff: normalize all base objects 2023-03-07 13:41:18 +01:00
Thomas Gelf
df10d6a924 CompareBasketObject::sortListBy() -> support array 2023-03-07 13:38:40 +01:00
Thomas Gelf
70a822f270 BasketDiff: new implementation
fixes #2715
2023-03-07 12:15:59 +01:00
Thomas Gelf
c24961f209 ObjectImporter: new centralized importer
fixes #2714
2023-03-07 12:11:44 +01:00
Thomas Gelf
b4839f6855 CompareBasketObject: objects should stay objects 2023-03-07 11:54:32 +01:00
Thomas Gelf
1d787ccb47 BasketSnapshotFieldResolver: give UNKNOWN, not NEW
This occurs on field removal too
2023-03-07 11:53:10 +01:00
Thomas Gelf
d3625e807d Basket: drop protectedFormerChosenObjects 2023-03-07 11:51:25 +01:00
Thomas Gelf
f1add44beb Basket: introduce constants 2023-03-07 11:41:14 +01:00
Thomas Gelf
40254714b8 Permissions: refactor, fix monitoring module checks
fixes #2712
2023-02-23 11:51:53 +01:00
Thomas Gelf
ad5dfc8496 BasketSnapshot: simplify error handling
We have no IcingaObject here, they're all stdClass instances
2022-10-25 11:10:05 +02:00
Thomas Gelf
9892039b0e BasketSnapshot: show object-related details...
...in case an error occurs at encoding time

fixes #2646
2022-10-25 10:46:50 +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
Thomas Gelf
b4c05738ae ServiceFinder: optional Auth
Hint: not required on CLI
2022-07-11 10:06:48 +02:00
Thomas Gelf
4a4e540700 ServiceInfo: ship UUID 2022-07-11 10:05:22 +02:00
Thomas Gelf
56f81b91bb Exporter: centralize export logic
fixes #2549
2022-06-24 12:52:35 +02:00
Thomas Gelf
984e931954 BasketSnapshot: support datafield categories
fixes #2256
2022-02-16 23:14:38 +01:00
Thomas Gelf
83c12fefcf SingleServiceInfo: fix URL for single services
This affected clicking "modify" in the monitoring module
2021-09-09 16:25:28 +02:00
Thomas Gelf
7f16d648cc IcingaUser: add basket support
fixes #2328
2021-07-15 19:11:20 +02:00
Thomas Gelf
2538feaf42 ServiceSetServiceInfo: respect deactivation
fixes #2323
2021-06-23 18:25:14 +02:00
Thomas Gelf
ac652f5966 Basket: allow Notification Apply Rules export
fixes #2335
2021-05-28 15:24:18 +02:00
Thomas Gelf
7a9e7d163d ObjectPurgeHelper: remove comments 2021-04-15 08:44:18 +02:00
Thomas Gelf
93222099ad BacketCommand: allow to purge objects on restore
fixes #2201
2021-04-15 08:30:32 +02:00
Thomas Gelf
234e68db31 Lookup: explain various kinds of Services 2021-01-18 17:52:01 +01:00
Thomas Gelf
3325512824 ServiceFinder: new static find() method 2021-01-18 16:03:24 +01:00
Thomas Gelf
6960407825 ServiceInfo: provide requiresOverrides() 2021-01-18 16:03:04 +01:00
Thomas Gelf
e4e96206b4 ServiceFinder: replace HostServiceRedirector 2021-01-16 15:04:29 +01:00
Thomas Gelf
cb6bd03292 CompareBasketObject: fix usort method 2020-11-30 13:30:24 +01:00
Thomas Gelf
a761485b96 CompareBasketObject: new helper for basket diffs
...with lot's of workarounds for foreign baskets

fixes #2223
2020-11-24 04:36:48 +01:00
Thomas Gelf
80f9ea29b5 BasketForm: allow Notification Templates 2020-04-09 14:59:52 +02:00
Thomas Gelf
be8c1101f2 travis: use phpcs 3.5.2 2019-11-28 07:13:22 +01:00
Thomas Gelf
75b78c5ddb BasketSnapshot: do not double-filter
fixes #1854
2019-09-20 00:44:54 +02:00
Thomas Gelf
906f1b3616 BasketSnapshot: ignore missing objects
fixes #1940
2019-09-20 00:26:57 +02:00
Thomas Gelf
cc15cae34a Basket: allow to add external commands and...
...command templates
2019-05-27 17:27:18 +02:00
Thomas Gelf
5839945101 Basket: fix nesting error when modifying baskets 2019-05-27 13:40:27 +02:00
Thomas Gelf
738e4eeaf1 IcingaTimePeriod: support Basket (ExportInterface)
fixes #1735
2019-02-14 22:42:21 +01:00
Thomas Gelf
e961f0eb2a BasketUpload: ignore Datafields, they get special
...treatment
2019-02-14 21:57:10 +01:00
Thomas Gelf
640da36c62 IcingaDependency: allow for basket snapshots
fixes #1739
2019-02-14 21:54:11 +01:00
Thomas Gelf
90b31fc6ca BasketSnapshot: fix upload issue
fixes #1782
2019-02-12 11:28:28 +01:00
Thomas Gelf
6d46a62085 BasketSnapshot.php: cast objects to an array...
...when uploading a basket
2019-01-22 16:59:20 +01:00