Thomas Gelf
63d76abf81
IcingaObject: improve error message
...
Complain about missing object_type, if assign-related properties cannot be
set because of that reason
refs #2142
2022-11-03 00:20:30 +01:00
Thomas Gelf
2196426ff5
IcingaObject: fix default value for preserve
2022-10-07 10:25:23 +02:00
Thomas Gelf
6f0c7aa2a3
IcingaObject: allow to replace with plain object
2022-10-07 10:12:00 +02:00
Thomas Gelf
0cf8c76617
IcingaObject: more details in the error message
2022-09-13 10:20:24 +02:00
Thomas Gelf
f24f8eb287
IcingaObject: more details in comment
2022-07-12 11:28:54 +02:00
Thomas Gelf
922b19397c
IcingaObject: resolve related properties when...
...
...telling an object to be "unmodified"
fixes #2559
2022-07-12 10:02:58 +02:00
Thomas Gelf
eddaf7c9a4
IcingaObject: some cleanup
2022-02-06 11:39:03 +01:00
Thomas Gelf
891b6112aa
IcingaObject: ignore uuid when resolving properties
2022-02-06 11:37:01 +01:00
Thomas Gelf
324cc9ed5b
IcingaObject: do not unset unresolved related...
...
...properties, as long as they do not give us an object with an ID.
This is the case when adding new services to hosts which exist in a
branch only, and will no longer be a problem once our internal caches
work with UUIDs
2022-02-06 11:35:00 +01:00
Thomas Gelf
376344257c
DbObjectStore: inject into DbObject for related...
...
...objects in a branch
2021-12-17 12:51:24 +01:00
Thomas Gelf
6786cc768f
Director: some fixes for PHP v8.1
...
refs #2435
2021-11-24 11:56:18 +01:00
Thomas Gelf
7b4e9b4f91
IcingaObject: fix null check for ranges
...
fixes #2408
2021-10-11 17:45:55 +02:00
Thomas Gelf
57c4dda117
Objects/*, CVs, others: unify setBeingLoadedFromDb
2021-10-05 23:33:30 +02:00
Thomas Gelf
835d01cdec
IcingaObject: disabled = null is not a thing
2021-10-05 23:33:30 +02:00
Thomas Gelf
792ff03a6d
Objects: add uuid column
2021-10-05 23:33:30 +02:00
Thomas Gelf
65bbaa9f98
IcingaObject: custom vars, also load them only...
...
...when we got an id
2021-10-05 23:33:30 +02:00
Thomas Gelf
182d1b519b
IcingaObject: do not load groups when we have...
...
...no id. With branches this is now possible
2021-10-05 23:33:30 +02:00
Thomas Gelf
1a5df745e3
IcingaObject: add some type-hints
2021-10-05 23:33:30 +02:00
Ravi Kumar Kempapura Srinivasa
6289bf065f
Pass $resolved as False for arguments to toPlainObject()
...
IcingaArguments passes the $resolved through to the individual argument in the toPlainObject. There lies the error,
simply pass false - because the argument itself cannot have any parents and therefore cannot be resolved
2021-10-01 10:47:12 +02:00
Thomas Gelf
f0deb11e7f
IcingaObject: no empty vars for unmodified plain
2021-08-16 06:33:34 +02:00
Thomas Gelf
1d5b00a675
IcingaObject: unify DB boolean value converter
...
Hint: fixes booleans for "plain unmodified" objects
2021-08-16 06:33:23 +02:00
Thomas Gelf
77fca39ff3
IcingaObject: getAppliedGroups with id=null
2021-08-16 06:21:50 +02:00
Thomas Gelf
66de47b10b
DbObjectTypeRegistry: move logic from IcingaObject
2021-08-04 13:18:30 +02:00
Sebastian Gumprich
fed74eb33d
IcingaObject: alias scheduled_downtime
...
Fixes an error when trying to create scheduled_downtime via api
fixes #1879
2021-07-12 23:25:42 +02:00
Thomas Gelf
2cff396fe4
DbDataFormatter: new helper class
...
Trying to reduce logic in IcingaObject
2021-05-20 16:21:46 +02:00
Thomas Gelf
7de5b03877
IcingaObject: readability, style
2021-05-20 15:11:12 +02:00
Thomas Gelf
a2016e99c0
IcingaObject: do not load resolved memberships...
...
...for unstored objects
2021-04-15 10:22:45 +02:00
Thomas Gelf
6687524d2f
IcingaObject/Imports: better error message wording
...
fixes #2224
2021-01-11 17:32:59 +01:00
Thomas Gelf
c273a20ce4
KickstartHelper: eventually remove external commands
...
fixes #985
2020-11-30 08:01:53 +01:00
Thomas Gelf
0e0bc3fb5d
various: some little fixes
2019-09-11 22:36:36 +02:00
Thomas Gelf
4413a44d65
IcingaServiceForm: allow to set check_command...
...
...for Service Apply rules, given that admin permissions have been granted.
This also fixes the problem that inherited command names haven't been shown.
fixes #1899
2019-07-08 16:27:44 +02:00
Thomas Gelf
9a21ace300
IcingaObject: scheduled downtime awareness
...
This is not optimal, but that's how it works right now
2019-04-11 02:53:31 +02:00
Thomas Gelf
8046510b1f
ServiceapplyrulesController and related changes
...
fixes #1755
2019-02-15 01:29:43 +01:00
Thomas Gelf
bd16756913
TemplateTree: new loop detection
...
fixes #1631
2019-02-13 21:43:37 +01:00
Thomas Gelf
b644a7c6a7
IcingaObject, ..WithSettings: fix Basket-related..
...
...problems
2018-11-26 00:12:13 +01:00
Thomas Gelf
6b4c47a649
IcingaObject: rendered disabled objects should...
...
...not break comments
fixes #1263
2018-10-30 19:39:44 +01:00
Thomas Gelf
c119c47864
ObjectApplyMatches: resolve imports/templates
...
fixes #1676
2018-10-15 15:03:41 +02:00
Thomas Gelf
a9b2910657
IcingaObject: fix use of unused exception
2018-10-01 12:01:20 +02:00
Camille TRUCHOT
0931c1df91
fix gettype for multiple host selection
2018-10-01 11:58:16 +02:00
Markus Frosch
ce9a8e1b09
IcingaObject: Allow imports to be accessed during onStore()
2018-09-17 14:37:18 +02:00
Markus Frosch
e8c64a422b
legacy/IcingaTimeperiod: Support rendering of excludes
2018-09-13 15:14:41 +02:00
Markus Frosch
a2f7ff03c1
IcingaObject: Fix listed applied Groups to show mixed apply/static
...
In case a group has been statically assigned to other object it would
have been hidden.
This should only affect UI and legacy rendering.
2018-09-11 15:22:30 +02:00
Markus Frosch
d6b9f3137a
legacy/IcingaObject: Render groups only when it is a stored object
...
This broke activity log.
2018-09-05 12:35:40 +02:00
Markus Frosch
ff0553c9dd
legacy/IcingaObject: Render interval properties properly
2018-09-05 12:35:40 +02:00
Markus Frosch
d4d309a704
legacy/IcingaService/ServiceSet: Improve apply rendering
...
This now renders one object per zone with a list of hosts.
2018-09-05 12:35:40 +02:00
Markus Frosch
f1dbeca77c
legacy/IcingaHost: Render assigned hostgroups into host object
2018-09-05 12:35:40 +02:00
Markus Frosch
26e58834f6
IcingaHostForm: Move getAppliedGroups to IcingaObject
2018-09-05 12:35:40 +02:00
Markus Frosch
679539d5dd
IcingaObject: Fix call to RuntimeException
2018-08-10 13:47:15 +02:00
Thomas Gelf
35815e0dad
library: lot's of cleanup
2018-06-19 13:47:19 +02:00
Thomas Gelf
310ae7e623
IcingaService: cleanup, IcingaObject: introduce...
...
...getDefaultZone
2018-06-08 18:36:15 +02:00