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

Comments

Projects
None yet
1 participant
@icinga-migration
Copy link
Member

commented Jan 30, 2016

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

This comment has been minimized.

Copy link
Member Author

commented Jan 30, 2016

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

This comment has been minimized.

Copy link
Member Author

commented Feb 19, 2016

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

  • Target Version set to 2.2.0
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Feb 25, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.