38 Commits

Author SHA1 Message Date
Johannes Meyer
9919b65fc5 DirectorDatafield: Properly cache category in getCategory()
Makes `getCategoryName()` work.
2024-11-19 13:15:34 +01:00
Eric Lippmann
00985429c5 Fix PSR-12 violations 2024-10-22 14:31:14 +02:00
Thomas Gelf
02d6ebb0af DirectorDatafield: prefer list uuid...
...on basket restore
2023-07-30 20:52:56 +02: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
984e931954 BasketSnapshot: support datafield categories
fixes #2256
2022-02-16 23:14:38 +01:00
Thomas Gelf
302c9b645d DirectorDatafield: fix changed method name
fixes #2278
2021-03-19 13:24:58 +01:00
Thomas Gelf
21a284abbc OverriddenVarsResolver: refine api 2021-01-19 01:47:31 +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
3e98d828e5 OverriddenVarsResolver: externalize lookup logic
This now also takes into account properties overridden on intermediate
Host templates
2019-12-04 12:36:47 +01:00
Valentina Da Rold
2d73aad9d1 Add PHPDoc to getCategory function 2019-10-02 09:47:51 +02:00
Valentina Da Rold
062b290ca8 Add category name to datafield and hooks 2019-10-01 18:15:02 +02:00
Valentina Da Rold
50c477acce Create DirectorDatafieldCategory for DirectorDatafield 2019-10-01 15:33:42 +02:00
Thomas Gelf
0c2e3fe1b1 Basket: fix various little issues
fixes #1691
2018-12-10 17:52:56 +01:00
Thomas Gelf
83dc9dc6c3 BasketSnapshotFieldResolver: deal with fields
Also, this fixes Service Sets
2018-10-15 15:03:57 +02:00
Thomas Gelf
eb789162cb Basket/Datafield: map best candidate, fix bindings 2018-10-15 15:03:57 +02:00
Thomas Gelf
2e37758336 BasketSnapshot: add Datafields to the mix 2018-10-15 15:03:57 +02:00
Thomas Gelf
927591501c Export: first bunch of exportable Director objects
ImportSource, SyncRule, Datafield and more

refs #1409
2018-06-01 18:44:07 +02:00
Thomas Gelf
02dfac1b8b Revert "Export: first bunch of exportable Director objects"
Wrong branch, not yet for the master

This reverts commit 721700c62f305e23130d20926ee1b8bc55bc824c.
2018-05-29 12:40:14 +02:00
Thomas Gelf
721700c62f Export: first bunch of exportable Director objects
ImportSource, SyncRule, Datafield and more

refs #1409
2018-05-29 12:34:18 +02:00
Thomas Gelf
c75b4fc6b0 DirectorDatafield: phpcs -> SpacingBeforeClose 2017-01-19 13:58:07 +01:00
Thomas Gelf
b08be6ecc0 DirectorDatafield: do not fail on missing command
refs #712
refs #731
2017-01-19 13:55:59 +01:00
Thomas Gelf
164b5bd93d Fields: fix inheriting fields from commands
refs #712
refs #731
2017-01-19 13:50:50 +01:00
Thomas Gelf
792e58abae DirectorDatafield: just newlines 2017-01-13 16:39:35 +01:00
Thomas Gelf
f874a79bb4 IcingaObjectFieldLoader: no mandatory field on cmd
fixes #12644
2017-01-13 16:05:34 +01:00
Thomas Gelf
4c1ab4dae6 php: just some comments and cleanup 2016-12-13 18:25:14 +01:00
Thomas Gelf
04f9b360da DirectorDataField: preserve settings in fromDbRow
refs #13259
2016-12-13 17:14:58 +01:00
Thomas Gelf
1acf332f6b DirectorDataField: whether a field is required...
...is a setting
2016-12-07 09:43:16 +01:00
Thomas Gelf
ee0def7d2b Lots of files: make IDE users happy 2016-11-01 18:28:36 +01:00
Thomas Gelf
913c2687b6 IcingaObjectFieldLoader: first implementation
Should already replace all former functionality

refs #12904
2016-10-13 21:25:03 +00:00
Thomas Gelf
f52cd5ea77 DirectorDatafield: simplify usage 2016-09-09 21:32:26 +00:00
Thomas Gelf
625b9373de DirectorDatafield: remove obsolete code 2016-02-17 22:00:29 +01:00
Thomas Gelf
4fd0054a59 DbObjectWithSettings: one more abstraction layer
Would be a candidate for traits, unfortunately we still support PHP 5.3
2016-02-17 21:23:24 +01:00
Thomas Gelf
c5e0a709ad DirectorDatafield: fix unset/delete operation 2015-07-31 16:00:04 +02:00
Thomas Gelf
cbdaf34339 DirectorDatafield, DirectorObjectForm: just lines 2015-07-31 15:48:40 +02:00
Alexander Fuhr
f5e8b5f8f8 DirectorDatafield: Imlement settings handling
refs #9715
2015-07-28 12:03:47 +02:00
Thomas Gelf
644c6beeff DirectorDatafield: introduce new object class...
...and adjust table, form and controller
2015-07-03 13:17:05 +02:00