Commit Graph

148 Commits

Author SHA1 Message Date
Thomas Gelf a761bb108b IcingaService: render dedicated host before imports
This fixes issues with object and apply types showing different
behaviour in Icinga 2 when inheriting the very same template.
2016-06-17 11:55:48 +02:00
Thomas Gelf dc3a2ca999 IcingaObject: split object property rendering
Improves readability
2016-06-17 11:44:38 +02:00
Thomas Gelf 5c0ea2c3b0 IcingaObject: be strict on relations 2016-06-16 22:16:55 +02:00
Thomas Gelf 57656f8dd9 IcingaObject: externalize imported object loading 2016-06-16 21:40:22 +02:00
Thomas Gelf b83bfed186 IcingaObject: fix comments for disabled object...
...and switch to multiline comments, they look better in our diffs

fixes #11937
2016-06-13 17:20:44 +02:00
Thomas Gelf 0b92ca922f IcingaObject: render disabled objects as comments
fixes #11922
2016-06-11 00:30:28 +02:00
Thomas Gelf cb825b5b94 IcingaObject: fix resolveProperty in combination...
...with lazy-set properties
2016-05-26 01:35:12 +02:00
Thomas Gelf b3a1d54870 IcingaObject: fix c&p error, variable name 2016-05-20 09:23:48 +02:00
Thomas Gelf 018713a13f IcingaObject: smaller methods for import resolvers 2016-05-20 08:36:07 +02:00
Thomas Gelf 64fbdcfeee IcingaObjectImports: fix null handling 2016-05-20 08:12:46 +02:00
Thomas Gelf 576d62da26 IcingaObject: use resolved zone for apply/tpl 2016-05-10 20:23:45 +02:00
Thomas Gelf 1158409eeb IcingaObject: fix rendering target and tests 2016-05-02 10:23:32 +02:00
Thomas Gelf 8c02b1e6c5 IcingaObject: fix multi-relation rendering order 2016-04-22 11:12:29 +02:00
Thomas Gelf f8ef034358 IcingaObject: add render target helpers 2016-04-19 21:29:03 +02:00
Thomas Gelf e040e84e5b IcingaObject: add isDisabled helper method 2016-04-18 13:17:47 +02:00
Thomas Gelf 46e230c5ad IcingaObject: fix occasional error when showing...
...resolved properties for applied objects
2016-04-11 11:06:54 +02:00
Thomas Gelf 36c4e51aa0 IcingaObject: fix argument retrieval 2016-04-03 21:27:49 +02:00
Thomas Gelf 9cf3569884 IcingaObject: unresolved properties 2016-03-24 13:37:32 +01:00
Thomas Gelf a8ec07237d IcingaObject: provide former assignments for...
...the activity log
2016-03-24 11:40:32 +01:00
Thomas Gelf f8d6af7b3f IcingaObject: make assignments public 2016-03-24 06:49:19 +01:00
Thomas Gelf 33ff0c77e8 IcingaObjectAssignments: complete re-write 2016-03-24 06:46:13 +01:00
Thomas Gelf a49f163ca2 IcingaObject: fix argument setter 2016-03-21 10:35:11 +01:00
Thomas Gelf d7142b307a IcingaObject: clean up legacy methods 2016-03-20 14:51:18 +01:00
Thomas Gelf 3e016311d6 DirectorActivityLog: improve removal logging 2016-03-20 12:02:45 +01:00
Thomas Gelf dda16fd0d0 IcingaObject: introduce isObject helper method 2016-03-20 12:00:03 +01:00
Thomas Gelf 5e3fe5e2df IcingaCommandArguments: refactor large parts 2016-03-18 13:46:06 +01:00
Thomas Gelf 1dbf2e8410 IcingaObject: failsafe helper for related object 2016-03-18 11:43:40 +01:00
Thomas Gelf 8680f04532 IcingaObject: a bunch of timeperiod-related fixes 2016-03-17 23:08:57 +01:00
Thomas Gelf 7546a9db66 IcingaObject: fix unmodified multi rel properties
Former object in activity log used to be buggy in case you removed
all relations of a multi-relation properties
2016-03-17 08:27:11 +01:00
Thomas Gelf b188b9c18d IcingaObject: a couple of small fixes 2016-03-16 21:46:00 +01:00
Thomas Gelf 03a5708a00 IcingaObject: return booleans in plain objects 2016-03-16 21:34:46 +01:00
Thomas Gelf 2b46eff08f IcingaObject: add createByType method 2016-03-16 20:27:26 +01:00
Thomas Gelf 61674546d9 IcingaObject: return a list for multi-related 2016-03-16 19:26:28 +01:00
Thomas Gelf d605bd7b06 IcingaObject: fix full plain for empty multi rel 2016-03-16 15:17:58 +01:00
Thomas Gelf c7bf68a70a IcingaObjectMultiRelations: fix store and render 2016-03-16 13:53:34 +01:00
Thomas Gelf 5861788420 IcingaObjectMultiRelations: new abstraction layer 2016-03-16 13:01:55 +01:00
Thomas Gelf 8b903486d3 IcingaObject: support merge for objects with no CV 2016-03-11 13:56:34 +01:00
Thomas Gelf 507dd176cc IcingaObject: fix lookup loop on lazy loading 2016-03-11 02:41:22 +01:00
Thomas Gelf 7cd2eb415f FormExtensibleSet: fix nested options (e.g. users) 2016-03-09 09:14:13 +01:00
Thomas Gelf 23333f1b77 IcingaObject: unmodified object should be an object 2016-03-08 21:30:12 +01:00
Thomas Gelf 670b932526 IcingaObject: fix lezy-loading issues 2016-03-08 09:21:59 +01:00
Thomas Gelf f2d9e1a544 IcingaObject: fix key handling for unresolved props 2016-03-07 18:10:09 +01:00
Thomas Gelf b3a44bd7dd IcingaObject: fix 'empty' check for relation property 2016-03-07 18:07:36 +01:00
Thomas Gelf aee62754ce IcingaObject: fix resolution of lazy-loaded rels 2016-03-07 17:11:23 +01:00
Thomas Gelf 5350584bec IcingaObject: lazy-load related objects...
...if string name is given

fixes #11301
2016-03-07 02:06:04 +01:00
Thomas Gelf fb43331379 IcingaObject: add getUrlParams helper 2016-03-06 14:20:05 +01:00
Thomas Gelf cafd136232 DirectorObjectForm: get ids when resolving object
This formerly broke some forms
2016-03-06 10:27:37 +01:00
Thomas Gelf b5c09caff6 IcingaObject: support sets in hasBeenModified 2016-03-05 16:13:24 +01:00
Thomas Gelf 3460912fea IcingaObjectImports: fix behaviour, simplify usage 2016-03-05 10:49:37 +01:00
Thomas Gelf 092bb8c3f6 IcingaObjectGroups: simplify setting groups 2016-03-05 10:46:12 +01:00