Commit graph

10 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
f8114151a3 RedundancyGroupState: Add missing column definitions 2025-03-03 14:00:05 +01:00
Johannes Meyer
1eb1e72b6d
Hide unreachable parents in root problems (#1073) 2025-01-15 15:01:49 +01:00
raviks789
46577ff26b Add column environment_id to the models related to the dependency feature 2025-01-14 11:43:12 +01:00
Johannes Meyer
30269efbe2 ui: Change visualization of redundancy group states
They can now be unreachable, thus get the same icon as others.
The state then isn't about reachability anymore, so it's just
critical or ok.
2024-12-17 17:53:02 +01:00
Johannes Meyer
29ada79e96 db: Add is_reachable to RedundancyGroupState 2024-12-17 17:51:11 +01:00
raviks789
7aecb99023
RedundancyGroupState: change state texts to 'unreachable' or 'reachable'
The state text is only necessary to add css rules for state-balls and not be used to show the
state text of the group.
2024-10-31 09:46:52 +01:00
Sukhwinder Dhillon
134e45d6f8 RedundancyGroupState: Add method getStateText() 2024-10-08 16:30:04 +02:00
raviks789
6c61f306ac RedundancyGroupState: Add last_state_change column 2024-10-08 16:30:04 +02:00
Johannes Meyer
09fc7da265 db: Add model for table redundancy_group_state 2024-10-08 16:30:04 +02:00