Commit Graph

3156 Commits

Author SHA1 Message Date
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
Thomas Gelf d7fc818118 css: fix checkbox on Chrome 2017-07-14 13:21:42 +02:00
Thomas Gelf cb1804111f Controllers: whitespace fixes 2017-07-14 13:21:42 +02:00
Thomas Gelf a85c812fce Menu: link to new ServicesDashboard 2017-07-14 13:21:42 +02:00
Thomas Gelf b753341e64 ServicesDashboard: add a bunch of new Dashlets...
...and related tables
2017-07-14 13:21:42 +02:00
Thomas Gelf f71b897689 css: make new ipl-based ActionBar links blue 2017-07-14 13:21:42 +02:00
Thomas Gelf 69406d631c ServicesOnHosts: add a new table 2017-07-14 13:21:42 +02:00
Thomas Gelf d877949e60 Services/ObjectsController: rough integration...
...for multiselect on services
2017-07-14 13:21:42 +02:00
Thomas Gelf 200d00d092 SimpleController: new base controller based on ipl 2017-07-14 13:21:42 +02:00
Thomas Gelf 788676b298 IcingaAddServiceToMultipleHostsForm: select...
...multiple hosts and add a service

fixes #894
2017-07-14 13:21:42 +02:00
Thomas Gelf 47bfb2d31d IcingaObjectImports: add meaningful error...
...would have saved me some troubleshooting time
2017-07-14 13:21:42 +02:00
Michael Friedrich 4d240976a3 Merge pull request #965 from Icinga/feature/github-issue-template
Add GitHub issue template
2017-06-13 20:01:12 +02:00
Michael Friedrich d17103a5ba Add GitHub issue template
Once merged this will be shown on `new issue`. HTML comments
won't be rendered, but help the user to understand what exactly
should be put into the sections.
2017-06-09 14:07:44 +02:00
Markus Frosch fa61805df2 QuickTable: Fix enforced filters for non-FilterAnd filters
We need to use the result of andFilter() as the new Filter.

The filter gets replaced by FilterAnd($oldFilter, $enforcedFilter) here.
2017-06-02 14:59:26 +02:00
Thomas Gelf 1c028801bc .travis.yml: use phpcs 2.x to keep 5.3 supported 2017-05-24 15:15:27 +02:00
Thomas Gelf 7496c1aac6 inspect/object: escape PlainObjectRenderer
fixes #942
2017-05-19 11:54:19 +02:00
Thomas Gelf b320bce5af css: Remove custom header spacings
fixes #923
2017-05-03 13:13:00 +02:00
Thomas Gelf 34a0179103 IcingaMultiEditForm: fix multi-object delete
fixes #677
2017-05-03 12:03:10 +02:00