Commit graph

14 commits

Author SHA1 Message Date
Johannes Meyer
5e982dad40
Merge commit from fork
* Auth: Add method `assertColumnRestrictions`

* ObjectSuggestions: Do not suggest protected variables

`assertColumnRestrictions` does not allow to use them
anymore, hence we should not suggest them in searches
as well to not to let the user run into an error by
accepting a suggestion. Though, when fetching values
as well, we still have to obfuscate, otherwise protected
vars won't show up in details anymore.

* Introduce Icinga\Module\Icingadb\Common\Model

Must be used as base for all models, to ensure
column restrictions are asserted on filters.

* Utilize `Icinga\Module\Icingadb\Common\Model` where applicable
2025-10-16 08:42:51 +02: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
Sukhwinder Dhillon
0e38493d5c Models: Fix method name case 2023-09-05 14:26:43 +02:00
Johannes Meyer
c3ae7d523b More column label enhancements 2022-07-14 15:44:28 +02:00
Johannes Meyer
10577631b3 Enhance column labels 2022-07-11 17:31:53 +02:00
Johannes Meyer
47332faffa Model: Rename getMetaData into getColumnDefinitions 2022-06-09 13:24:41 +02:00
Eric Lippmann
d0d9a5edc0 Drop Binary behavior
Now part of ipl-orm.
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
Noah Hilverling
ea6532e0c3 Implement schema command_id prefix change
Icinga DB PR: https://github.com/Icinga/icingadb/pull/385

Co-authored-by: Eric Lippmann <eric.lippmann@icinga.com>
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2021-11-12 09:35:07 +01:00
Johannes Meyer
72386601fa Implement getMetaData() in all important models 2021-03-08 12:08:38 +01:00
Johannes Meyer
5e441c93a0 Add license note to every file 2020-03-13 10:36:24 +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/CheckcommandArgument.php (Browse further)