Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #11062] Allow style classes in plugin output #2263

Closed
icinga-migration opened this issue Jan 30, 2016 · 3 comments
Closed

[dev.icinga.com #11062] Allow style classes in plugin output #2263

icinga-migration opened this issue Jan 30, 2016 · 3 comments
Labels
area/monitoring Affects the monitoring module enhancement New feature or improvement
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/11062

Created by phenomic on 2016-01-30 14:40:26 +00:00

Assignee: (none)
Status: Resolved (closed on 2016-02-25 16:10:04 +00:00)
Target Version: 2.2.0
Last Update: 2016-02-25 16:10:04 +00:00 (in Redmine)


Some of our custom checks return html-tables with coloured cells within their plugin output.
It is not possible with icingaweb2 by now because

is not allowed

/usr/share/icingaweb2/modules/monitoring/application/views/helpers/PluginOutput.php $config->set('HTML.Allowed', 'p,br,b,a[href],i,table,tr,td[colspan],div[class]');

Please add class option for

as well `$config->set('HTML.Allowed', 'p,br,b,a[href],i,table,tr,td[colspan|class],div[class]');`

Attachments

Changesets

2016-02-25 16:09:39 +00:00 by aklimov 4751df6

Allow style classes in plugin output

resolves #11062
@icinga-migration
Copy link
Author

Updated by phenomic on 2016-01-30 20:03:17 +00:00

  • File added 0001-Plugin-Output-containing-coloured-cells-of-html-Tabl.patch

Some of our custom checks return html-tables with coloured cells within their plugin output.
It is not possible with icingaweb2 by now because

is not allowed
/usr/share/icingaweb2/modules/monitoring/application/views/helpers/PluginOutput.php
$config->set('HTML.Allowed', 'p,br,b,a[href],i,table,tr,td[colspan],div[class]');

Please add class option for

as well
$config->set('HTML.Allowed', 'p,br,b,a[href],i,table,tr,td[colspan|class],div[class]');

@icinga-migration
Copy link
Author

Updated by elippmann on 2016-02-19 15:32:14 +00:00

  • Target Version set to 2.2.0

@icinga-migration
Copy link
Author

Updated by aklimov on 2016-02-25 16:10:04 +00:00

  • Status changed from New to Resolved
  • Done % changed from 0 to 100

Applied in changeset 4751df6.

@icinga-migration icinga-migration added enhancement New feature or improvement area/monitoring Affects the monitoring module labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.2.0 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/monitoring Affects the monitoring module enhancement New feature or improvement
Projects
None yet
Development

No branches or pull requests

1 participant