Commit Graph

2126 Commits

Author SHA1 Message Date
Thomas Gelf 2f2b898a01 ObjectsTableService: also show services on Host...
...templates as being valid

fixes #1091
2017-08-22 16:31:43 +02:00
Thomas Gelf ab69e1c55f DirectorObjectForm: improve error handling
Template resolving has been changed, adjust error handling accordingly
2017-08-22 10:13:37 +02:00
Thomas Gelf 8154d433d4 ActionController: initialize ipl translator
fixes #1076
2017-08-22 00:13:41 +02:00
Thomas Gelf 07834361d0 Sync: try to get deferred group membership...
...resolver straight

fixes #1038
2017-08-22 00:05:08 +02:00
Thomas Gelf 10391cab8e ExtensibleSetElement: implement optgroups
fixes #1037
2017-08-21 22:54:38 +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 fc9425ee89 TemplateTree: only use 'unstored' logic when...
...imports have been modified

fixes #1088
2017-08-21 21:53:47 +02:00
Thomas Gelf 179054b239 Sync: better IDE hints 2017-08-21 21:53:19 +02:00
Thomas Gelf a092c5d79e IcingaObjectImports: fix check for modifications
refs #1062
2017-08-21 21:36:21 +02:00
Thomas Gelf 8402f58610 DirectorObjectForm: work with string imports 2017-08-21 21:35:11 +02:00
Thomas Gelf b55541097e QuickForm: helper for exception message text 2017-08-21 21:00:41 +02:00
Thomas Gelf f00473777e TemplateTree: make sure we are ready, even when...
...our very first object is unstored
2017-08-21 20:58:58 +02:00
Thomas Gelf 6ba0e8e924 IcingaObject: give unstored import names 2017-08-21 20:33:00 +02:00
Thomas Gelf 089197d2c5 TemplateTree: fix resolving commands
They allow to inherit from non-templates and need special treatment

refs #1084
2017-08-21 15:47:21 +02:00
Thomas Gelf 7b2e13f9c1 DirectorObjectForm, TemplateTree: more fixes...
...related to inheritance and fields
2017-08-21 15:15:06 +02:00
Thomas Gelf 45111ac622 DirectorObjectForm: fix issue with pre-set imports 2017-08-21 14:49:13 +02:00
Thomas Gelf 67c22a51eb TemplateTree: allow to fetch ancestors...
...for unstored objects
2017-08-21 14:48:08 +02:00
Thomas Gelf 2a836ee884 ObjectController: fix "click on same tab"...
...when creating an object switched context
2017-08-21 13:20:47 +02:00
Thomas Gelf 24173de3ca RestApi/ticket: shut down after sending ticket
fixes #1079
2017-08-21 11:27:09 +02:00
Thomas Gelf 5b6897cc9e DataTypeDirectorObject: sort by display name
Plus some formatting.

fixes #840
2017-08-21 11:12:24 +02:00
Thomas Gelf ac8114f32c ObjectsController: hard-code 'host' filter for...
...services through the REST API
2017-08-21 09:50:08 +02:00
Thomas Gelf 7ecc3dc068 ObjectController: do not shift imports...
...as they are also needed later on
2017-08-21 09:07:20 +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 8bc26ccb97 TemplateTree: do not fail on unstored object 2017-08-21 08:09:01 +02:00
Thomas Gelf b2984ba79d TemplateTree: allow to resolve from within the...
...onStore() hook, when the object is ready but does not define itself as
being loaded from DB
2017-08-20 17:05:51 +02:00
Thomas Gelf 4f38a39e14 DbObject: better IDE hint 2017-08-20 16:04:46 +02:00
Thomas Gelf 0f3f2f05df PropertymodifierTable: allow to manually switch...
...execution order (priority)
2017-08-20 16:03:49 +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 41aa86188f DbObjectWithSettings: no return value for __unset 2017-08-20 15:33:43 +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 3dce2a5d06 SyncpropertyTable: allow to search and sort
fixes #1085
2017-08-19 23:07:25 +02:00
Thomas Gelf 4d9d029156 ImportSourceDetails: fix rendering 2017-08-18 21:52:14 +02:00
Thomas Gelf 480573cba0 PropertyModifierSubstring: allow to skip length 2017-08-18 21:50:20 +02:00
Thomas Gelf ffb0177a16 ImportsourceHookTable: use PlainObjectRenderer 2017-08-18 21:48:28 +02:00
Thomas Gelf 00e0f9574d ObjectsTableService: shorten line 2017-08-18 17:02:19 +02:00
Thomas Gelf ad6dceae99 show/actitivitylog: move to config/activity 2017-08-18 16:55:10 +02:00
Thomas Gelf b21ba5dc54 IcingaHost: add helper methods for Sets, Services 2017-08-18 16:42:56 +02:00
Thomas Gelf 2bf1b3f429 RepositoryByObjectHelper: throw a nice exception
...when no Db is given
2017-08-18 16:42:21 +02:00
Thomas Gelf c51642a673 TemplateTree: also fetch command objects...
...when being used as parent
2017-08-18 16:41:45 +02:00
Thomas Gelf fa3042c39f Boolean: keep value when validating
Might fix weird issues related to booleans
2017-08-18 16:15:30 +02:00
Thomas Gelf bd157b865b ObjectController: allow to clone external objects
fixes #854
2017-08-18 16:13:09 +02:00
Thomas Gelf b8d3487350 ExtensibleSetElement: move "add" option out of...
...tab order
2017-08-18 10:49:42 +02:00
Thomas Gelf bbcdf22466 ImportSource: better IDE hints 2017-08-18 10:48:58 +02:00
Thomas Gelf 78ab1fa120 ObjectTabs: cosmetics 2017-08-17 00:01:56 +02:00
Thomas Gelf 75181ea7a2 ObjectController: refactor some base actions...
...and provide new helpers
2017-08-16 23:53:37 +02:00
Thomas Gelf 23249dcf7d HostController: refactor all involved tables...
...for single services and sets
2017-08-16 23:27:13 +02:00
Thomas Gelf 04a78f734a config: refactor controller, tables, get rid...
...of view scripts, add new Widget helper classes
2017-08-16 19:11:30 +02:00
Thomas Gelf b016b1954b GeneratedConfigFileTable: move and refactor 2017-08-16 17:59:09 +02:00
Thomas Gelf 785802cbd6 DbHelper: fix some methods 2017-08-16 17:33:02 +02:00
Thomas Gelf 531b54391a ServiceSetHosts, ImportrunTable: move and refactor 2017-08-16 16:12:30 +02:00
Thomas Gelf a4abe398ac ActionController: add new helpers, remove obsolete
...ones
2017-08-16 15:30:46 +02:00
Thomas Gelf 573e38ce33 IcingaTimePeriodRangeTable: move and refactor 2017-08-16 15:26:31 +02:00
Thomas Gelf d5ccb1edb5 Importrun, imported rows: move and refactor...
...table and refactor the controller
2017-08-16 14:55:34 +02:00
Thomas Gelf 23d599053e JobDetails: move logic to dedicated class...
...plus code cleanup
2017-08-16 14:01:43 +02:00
Thomas Gelf f65275bda7 DirectorObjectForm: use new inheritance helpers 2017-08-16 13:56:04 +02:00
Thomas Gelf a4e6d3251a PropertymodifierTable: move and refactor 2017-08-16 12:32:53 +02:00
Thomas Gelf 578446d79c ImportSourceDetails: new dedicated class, plus..
...a missing new controller class
2017-08-16 12:01:25 +02:00
Thomas Gelf a943b0c70f ImportSourceHook: use new static factory 2017-08-16 11:18:13 +02:00
Thomas Gelf 6f3d07f729 ImportsourceHookTable: move and refactor based...
...on SimpleQueryBasedTable
2017-08-16 11:15:39 +02:00
Thomas Gelf 9f70f84423 ImportsourceTabs: new dedicated class for tabs 2017-08-16 10:50:33 +02:00
Thomas Gelf 5311f37708 Syncrule/Importsource: add dedicated controllers 2017-08-16 09:43:05 +02:00
Thomas Gelf e5f7633d1e Automation: move and refactor related tables 2017-08-16 09:23:45 +02:00
Thomas Gelf 408ff7639c IcingaObjectsHandler: new REST API handler for...
...list of objects
2017-08-16 08:17:31 +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 93cb271554 IcingaObjectHandler: delegate REST API 2017-08-16 08:08:08 +02:00
Thomas Gelf a7b796466f ObjectsController: fix set-related permissions 2017-08-15 02:51:59 +02:00
Thomas Gelf 7dde47dbca AgentWizard: just a newline 2017-08-14 15:14:57 +02:00
Thomas Gelf 681f2de05a ObjectPreview: move rendering logic to a...
...dedicated class
2017-08-14 12:40:02 +02:00
Thomas Gelf f24b82821f SelfService: move logic to a dedicated class 2017-08-14 12:22:28 +02:00
Thomas Gelf 52045b799a RestApi: add new RequestHandler 2017-08-14 10:51:26 +02:00
Thomas Gelf a495a6ca39 IcingaObjectImports: use new repository for lookup 2017-08-13 23:18:54 +02:00
Thomas Gelf 6c02d9c09a PrefetchCache: remove now obsolete code 2017-08-13 20:51:13 +02:00
Thomas Gelf e5305cb049 IcingaObjectDatafieldTable: move and base on new
...SimpleQueryBased table
2017-08-13 13:38:35 +02:00
Thomas Gelf 38ebf2dd2d IcingaObjectFieldLoader: use new repository-based
...inheritance helper methods
2017-08-13 12:05:03 +02:00
Thomas Gelf 3b394900c9 IcingaAppliedServiceTable: fix row rendering 2017-08-12 11:51:08 +02:00
Thomas Gelf 7668ac5202 ChoicesTable: more code cleanup 2017-08-12 11:26:42 +02:00
Thomas Gelf eb433ad03e GroupMemberTable: code cleanup 2017-08-12 11:26:08 +02:00
Thomas Gelf 241bad7d81 TemplateTree: allow lookup for single objects too 2017-08-12 11:07:34 +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 e683c99a1b IcingaTemplateRepository: new template lookup...
...strategy, trying to separate concerns
2017-08-11 17:10:31 +02:00
Thomas Gelf 7815e450b7 ObjectsTableService: show Service objects without
...Host and highlight them as errors
2017-08-11 12:02:53 +02:00
Thomas Gelf 13f33a842b IcingaTemplateResolver: improve benchmark message 2017-08-11 10:07:36 +02:00
Thomas Gelf 696390968d ObjectTabs, Dashboard: fix small permission issues
...and show only tabs pointing to Dashboards with (allowed) Dashlets
2017-08-07 11:00:59 +02:00
Thomas Gelf 2acc6a2c07 ServiceObjectDashlet: show even if permissions...
...are only granted for sets and not for services
2017-08-07 09:55:01 +02:00
Thomas Gelf 7fd94fb5bd Jobs, Kickstart: raise limits, try to work...
...around GC bugs

refs #1056
2017-08-04 11:31:43 +02:00
Thomas Gelf 806bca2555 StartupLogRenderer: alias for Util class
Should help to work around PHP bugs in some older versions

fixes #1057
2017-08-04 11:13:28 +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 b7579e184c ObjectsController: try to control output buffering
...for REST API. Base requests on queries from new table objects
2017-08-02 15:54:03 +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 1d683f972d TemplateTree: add possibility to resolve objects 2017-07-31 20:57:41 +02:00
Thomas Gelf 118dddf93a Caches: add Benchmark, some IDE hints for CVar 2017-07-31 16:12:56 +02:00
Thomas Gelf 92cbdb7db6 ActionController: remove obsolete code 2017-08-02 16:59:56 +02:00
Thomas Gelf 6436ba74af ObjectController: move REST API code to method 2017-08-02 16:59:56 +02:00
Thomas Gelf 5ccb94dfbd Objects: dedicated tab for external commands 2017-07-31 10:37:08 +02:00
Thomas Gelf 7028a64c1b Dashboard: add missing Dashlets 2017-07-31 10:01:58 +02:00
Thomas Gelf e1d766f112 ServiceController: improve ObjectTabs handling 2017-07-29 00:13:20 +02:00
Thomas Gelf 81a7914fdb ObjectController: code cleanup 2017-07-29 00:12:34 +02:00