Commit graph

19 commits

Author SHA1 Message Date
Johannes Meyer
0148f4f510 db: Use an alias for *_customvar through tables
fixes #1162
2025-07-14 15:47:45 +02:00
Johannes Meyer
018d45f629 Transform custom variable filters as late as possible
fixes #865
2024-03-22 15:04:32 +01:00
Johannes Meyer
66877a6ed0 Model: Fix @property annotations 2024-03-14 11:52:09 +01:00
Sukhwinder Dhillon
89c0bb0686 Models: Add property type hints so that phpstan can scan correctly 2024-03-13 16:34:21 +01:00
Yonas Habteab
0f380c8411 Don't use customvar values from customvar table other than for empty array & dictionary 2023-10-13 09:02:01 +02:00
Johannes Meyer
bd7df38894 CustomvarFlat: Properly handle index definitions 2023-07-05 14:05:53 +02:00
Johannes Meyer
af40c8a5bc Determine custom var source paths of nested array correctly 2023-07-05 14:05:53 +02:00
Yonas Habteab
66e05f9be7 Unflatten empty customvars of type array & dict correctly 2023-07-05 13:51:05 +02:00
Johannes Meyer
8e512152c9 CustomvarFlat: Fix that variable names with dots are interpreted as paths
fixes #757
2023-05-30 14:50:38 +02:00
Johannes Meyer
462af082d7 Introduce Icinga\Module\Icingadb\Model\Vars 2022-06-09 15:16:34 +02:00
Eric Lippmann
d0d9a5edc0 Drop Binary behavior
Now part of ipl-orm.
2022-05-24 16:04:23 +02:00
Eric Lippmann
aeaf1be5bc Process FlattenedObjectVars behavior last
FlattenedObjectvars returns an incompatible type for a subsequent
behavior:

https://github.com/Icinga/ipl-orm/issues/45
2022-05-24 16:04:23 +02:00
Eric Lippmann
c859ec3a0d Add Binary behavior for binary columns 2022-05-24 16:04:23 +02:00
Yonas Habteab
aefd0e1f7d Add PHP 7 argument & return type declarations to all member methods 2021-11-03 16:06:59 +01:00
Johannes Meyer
c1a289b23b ObjectDetail: Fetch vars from customvar_flat instead of customvar
This is a preparation for the custom variable restrictions
as they're supposed to be applied on the query.
2021-03-11 16:37:37 +01:00
Johannes Meyer
5e441c93a0 Add license note to every file 2020-03-13 10:36:24 +01:00
Johannes Meyer
cac4fd2908 Model: Adjust BelongsToMany::setThrough() usages
So they'll use `BelongsToMany::through()` now
2019-11-19 14:22:17 +01:00
Eric Lippmann
77b4930098 Rename to Icingadb 2019-11-05 01:07:30 +01:00
Eric Lippmann
10f58fb4a0 Rename library/Eagle to library/Icingadb 2019-11-05 01:06:28 +01:00
Renamed from library/Eagle/Model/CustomvarFlat.php (Browse further)