Commit Graph

3023 Commits

Author SHA1 Message Date
Thomas Gelf 6f3c76c4f2 IconHelper: add new icons 2017-07-14 13:21:42 +02:00
Thomas Gelf 04e22f5a23 ExtensibleSet: completely refactored based on ipl 2017-07-14 13:21:42 +02:00
Thomas Gelf 6e57baf273 HostsController: remove beta restrictions
The table takes care of this right now
2017-07-14 13:21:42 +02:00
Thomas Gelf 311629bbd1 Web\Table\Objects*: a couple of new tables 2017-07-14 13:21:42 +02:00
Thomas Gelf 70c0f2f21c ServiceSetsDashlet: fix url 2017-07-14 13:21:42 +02:00
Thomas Gelf 43eda94918 TemplateUsageTable: new generic implementation 2017-07-14 13:21:42 +02:00
Thomas Gelf 5cbcf48480 config/files: do not fail without filterEditor 2017-07-14 13:21:42 +02:00
Thomas Gelf c4bf4cb57d ApplyRulesTable: new generic implementation 2017-07-14 13:21:42 +02:00
Thomas Gelf 9384d6cd43 ServiceApplyRulesTable: we are a QueryBasedTable 2017-07-14 13:21:42 +02:00
Thomas Gelf 02c015d163 IndexController: slight fixes, work with new tabs 2017-07-14 13:21:42 +02:00
Thomas Gelf 4590fa1d73 QuickForm: guess what? We are ValidHtml! 2017-07-14 13:21:42 +02:00
Thomas Gelf 1c770b9234 DashboardController: play nicely with ipl 2017-07-14 13:21:42 +02:00
Thomas Gelf b5ce24fa42 TemplateTreeRenderer: introduce a new tree 2017-07-14 13:21:42 +02:00
Thomas Gelf 9c45485b5b Dashlet: base code on ipl\BaseElement 2017-07-14 13:21:42 +02:00
Thomas Gelf 04bbe90adf Dashlet: we are not escaped 2017-07-14 13:21:42 +02:00
Thomas Gelf ac1574c94a RestApi: move also the RestApi to a trait 2017-07-14 13:21:42 +02:00
Thomas Gelf dc6ec2a41d CoreApi: one more trait, for CoreApi functionality 2017-07-14 13:21:42 +02:00
Thomas Gelf e88c13663f DirectorDb: new controller extension 2017-07-14 13:21:42 +02:00
Thomas Gelf 7502706284 QuickSearch: add a trait for tables too 2017-07-14 13:21:42 +02:00
Thomas Gelf 9d3b1d1096 ServiceTemplateUsageTable: new implementation 2017-07-14 13:21:42 +02:00
Thomas Gelf bf5b7dbf32 QuickSearch: implement it as a trait 2017-07-14 13:21:42 +02:00
Thomas Gelf e0589d3560 DbObject: allow to instantiate from Db row...
...even from outside. This breaks some legacy principles, but this class is
going to be separated into multiple components anyways. Also allow to directly
get a specific property
2017-07-14 13:21:42 +02:00
Thomas Gelf fd99b6924e SingleObjectApiHandler: attempt to move REST API
...and it's related logic away from controllers
2017-07-14 13:21:42 +02:00
Thomas Gelf 8fd60b87c0 SimpleController: remove functionality...
...as it is implemented elsewhere
2017-07-14 13:21:42 +02:00
Thomas Gelf 4f2a53dc90 MultiSelect: add table extension trait 2017-07-14 13:21:42 +02:00
Thomas Gelf 49747c4dca IcingaHostTemplateChoiceTable: table for choices
(still need to commit the related migration, sorry)
2017-07-14 13:21:42 +02:00
Thomas Gelf d84a3c68e0 QuickForm: no role and tabindex for fake submit 2017-07-14 13:21:42 +02:00
Thomas Gelf 719bd3646d FormDataFilter: re-introduce suggestions 2017-07-14 13:21:42 +02:00
Thomas Gelf 84b56da899 TemplateTree: independent new implementation 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 51e8af2266 BaseTestCase: be precise on type hint 2017-07-14 13:21:42 +02:00
Thomas Gelf 2ad1c5a183 TemplateTreeTest: intensive tests for new resolver 2017-07-14 13:21:42 +02:00
Thomas Gelf 2038ab28d7 HostsDashboard: introduce a new dashboard 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 0bfd245cb2 ServicetemplateController: helper method
Helps to shorten lines for now
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 0e759fb2f6 Sync: do not fail on non-IcingaObject, fix typo
refs #832
2017-07-14 13:21:42 +02:00
Thomas Gelf b558cc405b BetaHostgroupRestriction: fix permissions, use...
...new resolved table

refs #832
2017-07-14 13:21:42 +02:00
Thomas Gelf 1e1f62f3f4 BenchmarkCommand: add full hg membership resolver
refs #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
Thomas Gelf 3cb38596c0 Dashboard: remove newline for phpcs 2017-07-14 13:21:42 +02:00
Thomas Gelf 45c93b3445 HostGroupMembershipResolver: first implementation
refs #832
2017-07-14 13:21:42 +02:00
Thomas Gelf 46a9b2574b schema: add resolved hostgroup member tables
refs #832
2017-07-14 13:21:42 +02:00
Thomas Gelf 56af88ee3f BetaHostgroupRestriction: fix single-host query 2017-07-14 13:21:42 +02:00
Thomas Gelf 02a3652c86 Restrictriction: add simple hostgroup restrictions
refs #832
2017-07-14 13:21:42 +02:00
Thomas Gelf cde328eeed CoreApi: add checkServiceAndWaitForResult()
Will be moved to icingadb soon, committing this to clean up my stash
2017-07-14 13:21:42 +02:00
Thomas Gelf b5cdd9de4d ServicetemplateController: show template usage
First rough implementation, debug-output only for now

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