Commit Graph

648 Commits

Author SHA1 Message Date
Thomas Gelf 5450a00c78 IcingaService: handle use_agent=n by explicitly...
...rendering command_endpoint = null

fixes #921
fixes #1013
2017-08-25 08:50:38 +02:00
Thomas Gelf f55a672d48 IcingaObject: accept 'disable' on merge()
fixes #1104
2017-08-24 16:35:09 +02:00
Thomas Gelf 15c26b97db IcingaObject: fix "origins" names when showing...
...inherited properties

fixes #1093
2017-08-22 17:47:27 +02:00
Thomas Gelf 69607ada3c SyncRule: switch priority order, migrate DB
fixes #1077
2017-08-22 17:10:49 +02:00
Thomas Gelf 2109d138d5 IcingaTimeperiodRangeForm: delete through the...
IcingaTimePeriod and it's Ranges

fixes #1089
2017-08-21 22:41:37 +02:00
Thomas Gelf a092c5d79e IcingaObjectImports: fix check for modifications
refs #1062
2017-08-21 21:36:21 +02:00
Thomas Gelf 6ba0e8e924 IcingaObject: give unstored import names 2017-08-21 20:33:00 +02:00
Thomas Gelf 0bd2a328ed GroupMembershipResolver: do not fill objects...
...cache when not being told so. Also, fix query order/operator to ensure an
AND is being used.
2017-08-21 08:12:04 +02:00
Thomas Gelf 9adeb65f0c GroupMembershipResolver: support calls from onStore 2017-08-21 08:10:47 +02:00
Thomas Gelf 70b3e966da ImportSource: flip fetch order to stay close to...
...former one
2017-08-20 16:02:47 +02:00
Thomas Gelf 1999de2707 ImportRowModifier: fix class instantiation 2017-08-20 15:17:22 +02:00
Thomas Gelf 3c4d4de633 ImportRowModifier: also use PriorityColumn helper 2017-08-20 15:14:37 +02:00
Thomas Gelf 4c7b940705 PriorityColumn: add new object extension, use...
...it for SyncProperty
2017-08-20 15:04:06 +02:00
Thomas Gelf b21ba5dc54 IcingaHost: add helper methods for Sets, Services 2017-08-18 16:42:56 +02:00
Thomas Gelf bbcdf22466 ImportSource: better IDE hints 2017-08-18 10:48:58 +02:00
Thomas Gelf b364165110 IcingaObject: fix plain export with chosen...
...properties, use new template resolving repository everywhere
2017-08-16 08:11:08 +02:00
Thomas Gelf a495a6ca39 IcingaObjectImports: use new repository for lookup 2017-08-13 23:18:54 +02:00
Thomas Gelf 1356733332 IcingaHost: make sure that an Endpoint has a...
...Db connection
2017-08-11 17:15:08 +02:00
Thomas Gelf 13f33a842b IcingaTemplateResolver: improve benchmark message 2017-08-11 10:07:36 +02:00
Thomas Gelf 496be4fbc8 Sync: respect 'replace' policy on vars...
...with rule policy being set to 'merge'

fixes #864
2017-08-03 10:51:13 +02:00
Thomas Gelf 59d6291fcf PrefetchCache, IcingaObject: speed up import list
...greatly improves REST API performance
2017-08-01 12:48:29 +02:00
Thomas Gelf 118dddf93a Caches: add Benchmark, some IDE hints for CVar 2017-07-31 16:12:56 +02:00
Thomas Gelf b2736e1776 ObjectForms: fix weird issues with 'add' forms 2017-07-28 18:46:11 +02:00
Thomas Gelf d92492d5a1 DirectorActivityLog: use IP when unauthenticated
This applies mostly to self service API
2017-07-21 12:06:36 +02:00
Thomas Gelf cca4092151 Deployment: move logic to dedicated classes
Extended DirectorDeploymentLog, new DeploymentInfo class
2017-07-20 08:22:31 +02:00
Thomas Gelf 29d93512e6 Objects/Icinga(Host|Service): fix typo 2017-07-18 13:36:05 +02:00
Thomas Gelf ea02d0b23c ImportRowModifier: add missing property 2017-07-14 14:56:22 +02:00
Thomas Gelf 2cdba2aa65 Import and Sync: add description fields
fixes #1018
2017-07-14 14:27:05 +02:00
Thomas Gelf 05d8e5bb00 Datalist: Allow to restrict entries by role
fixes #1012
2017-07-14 13:21:42 +02:00
Thomas Gelf 2ca7f26b49 SelfService: fix booleans, add new options
refs #486
2017-07-14 13:21:42 +02:00
Thomas Gelf 4a0e8df2f2 Host,Service: add check_timeout property
fixes #546
2017-07-14 13:21:42 +02:00
Thomas Gelf 27a51ac34c SelfService: implement powershell-parameters
fixes #486
2017-07-14 13:21:42 +02:00
Thomas Gelf 8a8540bc3e IcingaHost: generate API keys 2017-07-14 13:21:42 +02:00
Thomas Gelf 0ec5ec8197 TemplateChoice: delegate storing members to...
...the object, use a single form
2017-07-14 13:21:42 +02:00
Thomas Gelf 126dd29ecc IcingaObject: work around a resolver issue 2017-07-14 13:21:42 +02:00
Thomas Gelf 6aab867682 GroupMembershipResolver: ignore unstored objects
Currently affects tests only
2017-07-14 13:21:42 +02:00
Thomas Gelf 67d802d39a Host,Service: hide choice property 2017-07-14 13:21:42 +02:00
Thomas Gelf a9a2295c8a IcingaObject, Host/Service: add supportsChoices() 2017-07-14 13:21:42 +02:00
Thomas Gelf 2f79920a18 TemplateChoice: small fixes, forms 2017-07-14 13:21:42 +02:00
Thomas Gelf 0b89c222eb IcingaTemplateChoice: take over code generating...
...the choice form element
2017-07-14 13:21:42 +02:00
Thomas Gelf f7cbe4a3be IcingaHost: reference to choices 2017-07-14 13:21:42 +02:00
Thomas Gelf 68a22590a8 IcingaTemplateResolver: just a newline 2017-07-14 13:21:42 +02:00
Thomas Gelf cef947e6fc IcingaTemplateChoice: new base object, host/service 2017-07-14 13:21:42 +02:00
Thomas Gelf 4f3f4e7f52 IcingaTemplateResolver: implement a reverse index 2017-07-14 13:21:42 +02:00
Thomas Gelf ac815b14b6 GroupMembershipResolver: fix SQL table alias 2017-07-14 13:21:42 +02:00
Thomas Gelf 18c0ce3c4f IcingaObject: allow to prefetch related object...
...types
2017-07-14 13:21:42 +02:00
Thomas Gelf 875627ead7 ObjectApplyMatches: refactor host-only code
refs #897
2017-07-14 13:21:42 +02:00
Thomas Gelf 526492580c GroupMembershipResolver: refactor from HostGroup
This is now a more generic implementation and can serve multiple object types

refs #897
2017-07-14 13:21:42 +02:00
Thomas Gelf aa3a8987ba HostGroupMembershipResolver: handle single groups
Formerly this worked only with apply rules, now this also respects single host/
group assignments.

fixes #832
2017-07-14 13:21:42 +02:00
Thomas Gelf 5ae7997f9d Sync: tune membership resolver
Also fixes error on host creation

refs #832
2017-07-14 13:21:42 +02:00