14 Commits

Author SHA1 Message Date
EmTeedee
6b7bff80de ${var} deprecated in favor of {$var}
See: https://www.php.net/manual/en/migration82.deprecated.php#migration82.deprecated.core.dollar-brace-interpolation
2023-07-19 10:44:40 +02:00
Thomas Gelf
100bc4b777 library: php8-related cleanup 2021-12-06 23:03:06 +01:00
Thomas Gelf
66de47b10b DbObjectTypeRegistry: move logic from IcingaObject 2021-08-04 13:18:30 +02:00
Thomas Gelf
c709c00fbd ObjectApplyMatches: fetch allied host groups
fixes #2313
2021-04-14 09:03:35 +02:00
Markus Frosch
4037e22709 Implement AssignFilterHelper to improve apply/assign matching
* is set / is not set - fixes #1483 fixes #1387
* case-insensitive matching when using wildcards '*'
  like match() in Icinga 2
2019-05-06 14:19:29 +02:00
Gregory Hargreaves
c7eb34af97 Fixed Bug in ObjectApplyMatches, hard-coded object length broke filter matching for all but hosts 2018-10-22 09:42:33 +02:00
Thomas Gelf
c119c47864 ObjectApplyMatches: resolve imports/templates
fixes #1676
2018-10-15 15:03:41 +02:00
Markus Frosch
b49d050cec HostGroupMembershipResolver: Address issues with static group assignments
* Fixing static resolving in general
* Avoiding a problem where apply were matched when assign_filter is an
  empty string (empty FilterAnd)

fixes #1574
2018-09-17 14:37:18 +02:00
Markus Frosch
76d0ed22e7 legacy/ObjectApplyMatches: Fix fetchFlatObjectsByType using object
Instead of flat variables.
2018-09-05 11:41:49 +02:00
Thomas Gelf
2045f98016 IcingaServiceForm: allow to define apply rules...
...based on templates.

fixes #1359
2018-05-28 15:50:18 +02:00
Markus Frosch
c2fcd407cc ObjectApplyMatches: Prepare filters only once
So that it can be re-used on multiple objects during sync.
2018-04-27 16:05:39 +02:00
Thomas Gelf
996918aafa MemoryLimit: dedicated class, tests
fixes #1220
2017-10-10 14:35:32 +02:00
Thomas Gelf
5388520551 FieldLoader: fix 'show based on filter' for...
...CustomVariables of type Array

fixes #983
2017-10-07 17:14:54 +02:00
Thomas Gelf
875627ead7 ObjectApplyMatches: refactor host-only code
refs #897
2017-07-14 13:21:42 +02:00