Commit Graph

315 Commits

Author SHA1 Message Date
Markus Frosch b3bd671d90 ObjectController: Fix phpcs lint 2019-03-19 15:43:20 +01:00
Markus Frosch de8654fc74 ObjectController: Fix back link for clone action with services 2019-03-19 15:29:08 +01:00
Thomas Gelf bd16756913 TemplateTree: new loop detection
fixes #1631
2019-02-13 21:43:37 +01:00
Thomas Gelf 92c05f49a3 ActivityLogTable: filter by host if given
In future we'll have better filtering possibilities, for now this scans all
rows with a matching service name in the table

fixes #1613
2019-01-11 12:24:29 +01:00
Markus Frosch 91a62ffbee phpcs: Fix ObjectsController 2018-11-27 11:00:14 +01:00
Thomas Gelf ec11dea8a9 Basket: allow to download for non-primary Instance 2018-11-15 12:50:33 +01:00
Thomas Gelf 280ed4430e TemplateController: link non-template commands
fixes #1544
2018-10-30 19:08:18 +01:00
Thomas Gelf a09bd4df95 TemplatesTable: allow to filter by usage
fixes #1339
2018-10-30 17:55:50 +01:00
Thomas Gelf dce9770dcd ObjectController: fix adding single Host Templates
...to a Configuration Basket
2018-10-30 16:41:49 +01:00
Thomas Gelf bff93725eb ObjectController: fix "add to basket" for Sets 2018-10-25 08:38:24 +02:00
Thomas Gelf ef0499918f Services: fix multiselection for templates 2018-10-25 08:26:09 +02:00
Thomas Gelf f871e0bd7d basket: cleanup, fix/finish custom selection
fixes #1630
2018-10-15 15:04:14 +02:00
Thomas Gelf 5d113b3833 BasketController: allow to download JSON via Web 2018-10-15 15:03:57 +02:00
Thomas Gelf 35acda4865 ObjectController: fix usage link 2018-10-15 15:03:47 +02:00
Thomas Gelf e853dc40fc ObjectController: hard exit after REST API response
fixes #1314
2018-09-05 22:29:19 +02:00
Thomas Gelf 488aad6f4e DirectorDb: fix overridden variable, has no effect
...at least not yet, it would have once access to Director DBs can be restricted
2018-09-04 11:08:37 +02:00
Thomas Gelf 14a3039f65 controllers, libs: less noise from exceptions 2018-08-08 10:07:39 +02:00
Thomas Gelf 06b6356de1 Dashboard: show DB selection only for setups...
...with multiple DBs
2018-06-23 11:17:56 +02:00
Thomas Gelf 9069a7f916 Objects, FormLoader: exceptions, exceptions 2018-06-14 14:08:04 +02:00
Thomas Gelf 810e873566 Objects: throw not found 2018-06-14 08:59:48 +02:00
Thomas Gelf 3d1ccf17a3 ActionController: add exception to phpdoc 2018-06-14 08:41:43 +02:00
Thomas Gelf 75268479ca RestApi: cleanup, exceptions, phpdoc 2018-06-14 08:33:11 +02:00
Thomas Gelf df4c3b925c ObjectsController: add missing loadForm
fixes #1518
2018-06-12 20:20:25 +02:00
Thomas Gelf d2cfa20385 DirectorDb: push missing changes 2018-06-08 00:07:14 +02:00
Thomas Gelf 885f76715a ActionController: cleanup 2018-06-07 23:37:28 +02:00
Thomas Gelf 955695682d Use BaseHtmlElement and more 2018-05-05 01:11:55 +02:00
Thomas Gelf 4f8c60bb46 various: cleanup, sop using deprecated methods 2018-05-05 00:24:49 +02:00
Thomas Gelf 99ddb9266b Commands: show usage over templates and objects
fixes #335
2018-05-04 18:02:05 +02:00
Thomas Gelf cd2de241dd Commands: allow to filter by usage
fixes #1480
2018-05-04 11:03:42 +02:00
Thomas Gelf 2f68489cac DirectorDb: do not fail when unconfigured and...
...not use by Controllers
2018-03-28 17:55:57 +02:00
Thomas Gelf 56c5ac0846 DirectorDb: ConfigurationError has been missing 2018-03-28 17:52:21 +02:00
Markus Frosch efc36fdbb8 ObjectController: Don't let DeploymentLink break the interface on errors
This can happen whenever the deployment related config of Zones,
Endpoints or ApiUsers is incomplete or missing.

This should not break forms needed to fix the problem.
2017-11-15 12:04:12 +01:00
Thomas Gelf 0e10545175 ServiceSet: allow controlled/restricted access
fixes #1235
2017-10-12 16:54:31 +02:00
Thomas Gelf fb72a6e293 ObjectsController: allow admins to download JSON
fixes #1226
2017-10-11 10:55:20 +02:00
Thomas Gelf bab0ebc6c1 AdditionalTableActions: add showsql to the GUI
fixes #1227
2017-10-11 10:51:43 +02:00
Thomas Gelf 76ac1e104e configuration.php: add director/showsql permission
fixes #1225
2017-10-10 17:33:33 +02:00
Thomas Gelf d1e116a5a1 ipl: rename to dipl
fixes #1217
2017-10-09 15:23:27 +02:00
Thomas Gelf 4caf3fce51 ActionController: allow for fluent use of...
...assertOneOfPermissions
2017-10-07 17:25:18 +02:00
Thomas Gelf e45962c1b9 various: shorten long line, spacing, readability 2017-09-28 11:02:13 +02:00
Marc DeTrano 708edfdebc Updates: clean code for whitespace/standards...
...issues as reported by Travis. Add requirement for parent and child host
fields when setting up a Dependency Object (these fields are not necessarily
needed for Templates or Apply Rules). Renamed new table field to
'parent_service_by_name'... which is a bit more descriptive or what that
field is intended for.
2017-09-28 11:01:27 +02:00
Marc DeTrano 6bea1eff41 Implement Icinga Dependency Configuration. 2017-09-28 11:01:27 +02:00
Thomas Gelf e950bb3395 Objects: ship templates via REST API
fixes #1185
2017-09-18 10:23:36 +02:00
Thomas Gelf f74cb93533 ActionController: handle view=compact
fixes #1133
2017-09-03 09:35:09 +02:00
Thomas Gelf 9fbc523ffd ConfigController: explicitly forbid all REST API
...calls to methods not being exported.

fixes #1113
2017-08-25 12:33:36 +02:00
Thomas Gelf 1815ef1521 RestApi: fix response codes
fixes #1092
2017-08-22 16:47:57 +02:00
Thomas Gelf 8154d433d4 ActionController: initialize ipl translator
fixes #1076
2017-08-22 00:13:41 +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 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 bd157b865b ObjectController: allow to clone external objects
fixes #854
2017-08-18 16:13:09 +02:00
Thomas Gelf 75181ea7a2 ObjectController: refactor some base actions...
...and provide new helpers
2017-08-16 23:53:37 +02:00
Thomas Gelf a4abe398ac ActionController: add new helpers, remove obsolete
...ones
2017-08-16 15:30:46 +02:00
Thomas Gelf 408ff7639c IcingaObjectsHandler: new REST API handler for...
...list of objects
2017-08-16 08:17:31 +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 681f2de05a ObjectPreview: move rendering logic to a...
...dedicated class
2017-08-14 12:40:02 +02:00
Thomas Gelf 52045b799a RestApi: add new RequestHandler 2017-08-14 10:51:26 +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 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 81a7914fdb ObjectController: code cleanup 2017-07-29 00:12:34 +02:00
Thomas Gelf 5ca7740285 Various: cosmetics, hints, more links 2017-07-28 23:07:48 +02:00
Thomas Gelf 99ab56e6f9 ObjectController: link back to template usage 2017-07-28 22:56:51 +02:00
Thomas Gelf a0a12ce3d1 TemplateControllers: throw away custom code...
...and bring all logic to the base class, fix all links

fixes #1044
2017-07-28 22:56:03 +02:00
Thomas Gelf b2736e1776 ObjectForms: fix weird issues with 'add' forms 2017-07-28 18:46:11 +02:00
Thomas Gelf 8276f19ab7 ObjectsController: add missing autorefresh 2017-07-28 09:56:17 +02:00
Thomas Gelf 313c8168ba Dashboard, templates: timeperiod, not timePeriod
fixes #1036
2017-07-27 12:12:12 +02:00
Thomas Gelf dac5dbdcc0 TemplateUsage: make code generic, do no longer...
...require concrete implementations

fixes #1028
fixes #1032
2017-07-27 11:34:12 +02:00
Thomas Gelf 39a1aa38b4 ObjectsController: add missing 'add' link for sets 2017-07-25 14:47:35 +02:00
Thomas Gelf fadbde5e9b HostForm: take over logic from base form, clean up 2017-07-25 10:18:07 +02:00
Thomas Gelf b675d37b6f CloneObject: use modern loading 2017-07-25 10:16:15 +02:00
Thomas Gelf 32be68b671 SimpleController: obsolete, removed 2017-07-24 09:19:54 +02:00
Thomas Gelf 9d60bceb0c Controller/Extension: remove obsolete QuickSearch 2017-07-24 08:49:55 +02:00
Thomas Gelf 374c328a5b ObjectsController: fix redirect after deleting...
...multiple hosts or services
2017-07-21 13:32:38 +02:00
Thomas Gelf 27e38b566d ObjectsController: allow child classes to...
...fiddle with our table
2017-07-20 22:29:23 +02:00
Thomas Gelf cda6970594 ipl: Components are now Widgets 2017-07-20 10:19:32 +02:00
Thomas Gelf 68324d9b52 Controllers: formatting 2017-07-20 09:53:31 +02:00
Thomas Gelf 1ba276cf15 DeploymentLinkForm: introduce new form 2017-07-20 09:24:42 +02:00
Thomas Gelf 5d01c1d843 ObjectController: use new DeploymentForm, tables 2017-07-20 08:31:53 +02:00
Thomas Gelf 95e7b2bf0a ObjectController: permissions are plural 2017-07-14 13:21:42 +02:00
Thomas Gelf fe822c3e31 ObjectsController: it's apply, not apply_rule 2017-07-14 13:21:42 +02:00
Thomas Gelf ee582b7106 ObjectsController: fix 'add' link for apply rules 2017-07-14 13:21:42 +02:00
Thomas Gelf 1c4d6598c0 Notifications: allow access to apply rules with...
...director/notifications permission

fixes #1015
2017-07-14 13:21:42 +02:00
Bernd Arnold 7e2b8ce97b Object: fix typos
throught -> through

Since every sentence ends with a dot here, I've also added a dot for the last
sentence.

fixes #990
2017-07-14 13:21:42 +02:00
Thomas Gelf 3eb3d82f44 Apply/TemplatesTable: allow to restrict by name
refs #898
2017-07-14 13:21:42 +02:00
Thomas Gelf 0c7e3eee41 Data: controller, table, form - ipl adjustments 2017-07-14 13:21:42 +02:00
Thomas Gelf 58accea801 GroupMemberTable: show group members
fixes #994
2017-07-14 13:21:42 +02:00
Thomas Gelf 29abb6c6e7 ObjectController: fix issue with Apply tabs 2017-07-14 13:21:42 +02:00
Thomas Gelf 475c84de1e RestApi: allow to override permission check 2017-07-14 13:21:42 +02:00
Thomas Gelf 120a7532a1 ObjectController: fix history and fields 2017-07-14 13:21:42 +02:00
Thomas Gelf ceebe08ecd TemplateChoice: work without form loader 2017-07-14 13:21:42 +02:00
Thomas Gelf f2abd3541e ObjectController: phpcs, formattinObjectController: phpcs, formattingg 2017-07-14 13:21:42 +02:00
Thomas Gelf cea78db5af ServiceSetTables: implement ValidHtml 2017-07-14 13:21:42 +02:00
Thomas Gelf 0cf6676c3c Host/Service/ObjectController: use more ipl 2017-07-14 13:21:42 +02:00
Thomas Gelf 6c943e4d06 ObjectsController: remove obsolete "global" types 2017-07-14 13:21:42 +02:00
Thomas Gelf 74dfbcaa67 ActionController: treat different viewRenderers 2017-07-14 13:21:42 +02:00
Thomas Gelf 8f1ae6fc94 RestApi: remove useless code
This is handled in the controller
2017-07-14 13:21:42 +02:00
Thomas Gelf 1739b950a8 ObjectController: hendly duplicate key errors
fixes #977
2017-07-14 13:21:42 +02:00
Thomas Gelf 6597cd2027 ObjectController: adjust to fit new base controller 2017-07-14 13:21:42 +02:00