Commit Graph

5239 Commits

Author SHA1 Message Date
Thomas Gelf 6675f17e73 AssignFilterHelper: quote slashes
fixes #2731
2023-04-20 11:53:23 +02:00
Thomas Gelf 9f76d7e605 BranchActivity: show related host for services
fixes #2736
2023-04-20 11:47:17 +02:00
Thomas Gelf 35e90f7b60 ExtensibleSet: do not load for loaded objects...
...w/o id (-> branch)

refs #2711
2023-03-17 07:40:32 +01:00
Thomas Gelf 27e7da9354 DirectorDatafieldForm: varname field description
refs #2723
2023-03-15 10:03:06 +01: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 62bff81fac BasketUploadForm: allow uploading snapshots...
...for existing Baskets

fixes #1952
2023-03-12 10:45:09 +01:00
Thomas Gelf 749ab6a356 BasketSnapshotFieldResolver: dedicated exception..
...for invalid baskets, referencing missing fields
2023-03-11 09:34:52 +01:00
Thomas Gelf b55df21c21 DirectorDatafield: cleanup, types 2023-03-08 17:03:10 +01:00
Thomas Gelf 915f57db99 DirectorDatafield: ignore uuid and originalId...
...on diff
2023-03-08 14:16:14 +01:00
Thomas Gelf b7e887b251 schema: add UUIDs for datalist and datafield
fixes #2696
2023-03-07 19:31:55 +01:00
Thomas Gelf 6c611a5db4 DbObject: use original UUID in where
This allows to change a UUID
2023-03-07 18:22:59 +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 7d5d5b38ba Web/Form: fix dark mode for clone forms
fixes #2670
2023-03-07 14:30:56 +01:00
Thomas Gelf bec49d1230 library: cleanup, drop import/export methods 2023-03-07 14:29:34 +01:00
Thomas Gelf c07758b5d9 IcingaServiceSet: virtual services property...
...should be handled. We can now store a set with it's services
2023-03-07 14:03:09 +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 628f24d3d3 SyncRule: alternative setter for properties 2023-03-07 11:49:13 +01:00
Thomas Gelf 5029a30a62 SyncRule: drop obsolete originalId 2023-03-07 11:47:40 +01:00
Thomas Gelf 3893455388 SyncRule: we have a boolean property 2023-03-07 11:45:52 +01:00
Thomas Gelf 637a304f47 IcingaTemplateChoice: fix hasBeenModified...
...this used to be true, once properties have been set
2023-03-07 11:43:41 +01:00
Thomas Gelf f1add44beb Basket: introduce constants 2023-03-07 11:41:14 +01:00
Thomas Gelf 7c8edfd467 Exporter: unserialize JSON-encoded Basket objects
New baskets provide a Dictionary
2023-03-07 11:39:11 +01:00
Thomas Gelf cc211fbdfb Exporter: support booleans for DbObjects 2023-03-07 11:38:47 +01:00
Thomas Gelf 21d913e232 Exporter: services should be an array 2023-03-07 11:20:07 +01:00
Thomas Gelf d6bec9bfe1 IcingaObject: cast interval properties to int
They might be strings when shipped from DB or older Baskets
2023-03-07 11:18:24 +01:00
Thomas Gelf 903f2c825f DbObject: introduce loadOptional
This prevents useless queries (e.g. exists() && load())
2023-03-07 11:17:37 +01:00
Thomas Gelf 2ade848f4d DbObject: provide boolean properties...
...as IcingaObject did, move convertion logic to DbDataFormatter
2023-03-07 11:16:22 +01:00
Thomas Gelf bbf85f052b app, lib: formatting, syntax 2023-02-23 12:00:20 +01:00
Thomas Gelf 40254714b8 Permissions: refactor, fix monitoring module checks
fixes #2712
2023-02-23 11:51:53 +01:00
Thomas Gelf 51a7b68803 PropertyModifierRegexReplace: w/o match allow null
fixes #2705
2023-02-23 11:51:34 +01:00
Thomas Gelf ce10b7e699 IcingaServiceSetServiceTable: link with uuid...
...to services in sets

refs #2710
2023-02-23 11:51:34 +01:00
Thomas Gelf 12aa7e07e2 BranchStore: quote binary values when cloning...
...branches, instead of letting prepared statements deal with this.

refs #2711
2023-02-23 11:51:34 +01:00
Thomas Gelf b3e09978fa UuidLookup: fix for services created in sets...
...where the set exists in the branch only

fixes #2710
2023-02-23 11:51:34 +01:00
Thomas Gelf 4e41e7f2d8 Revert "Monitoring: no monitoring module, no Host/Service"
This reverts commit d905318589.
2023-02-22 11:34:57 +01:00
Thomas Gelf d905318589 Monitoring: no monitoring module, no Host/Service
...and no error

fixes #2533
fixes #2563
2022-12-29 16:30:14 +01:00
Thomas Gelf 881eba7298 IcingaNotification: deal with missing vars 2022-12-28 11:04:13 +01:00
Thomas Gelf ccc3e510a6 BranchSupportHook: typo 2022-12-28 11:02:17 +01:00
Thomas Gelf 0e6a574372 BranchesDashboard: comma hurts older PHP versions 2022-12-22 17:11:50 +01:00
Thomas Gelf 2ecca2aeba TemplateTree: sort by name
fixes #2691
2022-12-20 14:13:32 +01:00
Thomas Gelf e03333b4dc IcingaNotificationForm: fix user groups field...
...detection

refs #462
2022-12-16 15:07:43 +01:00
Thomas Gelf bacea2eeaa schema: branch support for notification user vars
refs #462
2022-12-16 15:02:59 +01:00
Thomas Gelf e63870add2 BranchesDashboard: show main branch hint only...
...to users with a preferred branch
2022-12-16 14:39:37 +01:00