Commit Graph

226 Commits

Author SHA1 Message Date
Johannes Meyer 4aab354b7f PluginOutput: Adjust html detection regex again 2020-05-13 17:16:22 +02:00
Johannes Meyer ab99d25cb5 PluginOutput: Relax html restrictions 2019-09-12 10:50:17 +02:00
Johannes Meyer 226b58ac9d customvars.phtml: Collapse custom variables if they exceed 5 rows
Also collapses customvar values if they're JSON blobs and exceed
5 rows.

refs #3566
2019-07-26 07:36:17 +02:00
Johannes Meyer f42a49d4a9 perfdata.phtml: Collapse perfdata values if they exceed 5 lines
refs #3566
2019-07-25 13:22:43 +02:00
Johannes Meyer f8d3f43965 js: Drop vendor library tipsy 2019-07-18 07:57:14 +02:00
Johannes Meyer 924a580297 Customvar: Transform only real newlines to `<br>`
fixes #3636
2019-04-16 10:10:46 +02:00
Alexander A. Klimov fff07144c3 Preserve <br>s in plugin output
refs #3662
2019-04-11 14:16:10 +02:00
Johannes Meyer 19231038a7 PluginOutput: Don't escape html entities twice
fixes #3707
2019-03-05 13:27:27 +01:00
Eric Lippmann cd19625895 Use zero-width space instead of a real space char
refs #3562
2018-11-15 14:54:49 +01:00
Eric Lippmann becd7d0504 Introduce monitoring/PluginOutputHook
refs #3257
2018-07-16 14:19:28 +02:00
Carsten Koebke 55072ac840 Render multiline in custom variables correct
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-07-04 15:28:38 +02:00
Markus Frosch b0ecbe079f PluginOutput: Fix text splicing for status tags in HTML output
Trailing text was lost in processing.

Also add tests to check this behavior plus some basics.

fixes #3382
2018-03-07 15:59:14 +01:00
Johannes Meyer e8fa99f913 PluginOutput: Use new PluginOutputPurifier helper instead 2018-01-19 16:16:35 +01:00
Johannes Meyer 0610718930 PluginOutput: Allow ordered and unordered lists in html output
refs #2846
2018-01-17 13:02:11 +01:00
Johannes Meyer dff6c16bf8 PluginOutput: Properly handle whitespace for html output
refs #2846
2018-01-17 13:02:11 +01:00
cstegm bb794d6993 Detect UP and DOWN in plugin output to colorize output
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-11-10 11:33:52 +01:00
Johannes Meyer 181e2ef05c Swag: Fix swag (aka a whole bunch of code style issues..) 2017-01-27 14:48:59 +01:00
Florian Strohmaier 9bff4dd83b Enable horizontal scrolling for perfdata table
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>

fixes #11766
2016-12-08 10:40:22 +01:00
Eric Lippmann a6bbc68bcb Highlight state in HTML plugin output too
fixes #12223
2016-12-08 10:40:22 +01:00
Eric Lippmann 17398fc513 Drop zero width space charater insertion
word-break: break-word is sufficient.

fixes #12774
2016-11-23 11:05:39 +01:00
Eric Lippmann 429405be0c Fix inconsistent host and service flags
fixes #13243
2016-11-21 10:26:35 +01:00
Eric Lippmann 313cb3233d Allow colspan for th in plugin output
refs #12125
2016-11-03 16:25:29 +01:00
Bernhard Friedreich 647e404c8f Allow table header in pluginoutput
resolves #12125

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2016-11-03 16:25:25 +01:00
Eric Lippmann 4b0e90cf23 Disable zero width spaces for the moment
refs #12774
2016-10-11 15:20:20 +02:00
Eric Lippmann 733696864e Wrap zero width space in hidden span
This should fix copy and paste issues but still help browsers to nicely break lines in plugin output.

refs #12134
2016-07-21 10:56:32 +02:00
Eric Lippmann 1de446fa3d Merge branch 'bugfix/html-links-in-plugin-output-don-t-behave-as-expected-11267'
fixes #11267
2016-06-03 15:33:16 +02:00
Eric Lippmann 6cf8c2ec93 Merge branch 'bugfix/zero-width-space-characters-may-destroy-links-in-plugin-output-11796'
fixes #11796
fxies #11737
2016-06-02 17:57:33 +02:00
Alexander A. Klimov f75925b550 PluginOutput: preserve <a target="_blank">
refs #11267
2016-06-02 12:40:18 +02:00
Alexander A. Klimov 7cfdbfccdb PluginOutput: fix links only if there is any HTML
refs #11796
2016-05-20 14:07:01 +02:00
Alexander A. Klimov ac96d16af0 PluginOutput: add doc
refs #11796
2016-05-20 14:07:00 +02:00
Alexander A. Klimov 10d2b9c51d Don't destroy links by adding zero width space characters to plugin output
refs #11796
2016-05-20 14:07:00 +02:00
Alexander A. Klimov c94228308a PluginOutput: preserve character after comma
refs #11728
2016-05-19 11:37:12 +02:00
Eric Lippmann b783b0c44c monitoring: Use icon view helper instead for icon images
fixes #11299
2016-04-11 10:41:22 +02:00
Eric Lippmann e23672e483 Merge branch 'bugfix/word-break-in-plugin-output-10820'
refs #10820
2016-04-11 10:00:20 +02:00
Eric Lippmann dc0359f5b2 Fix icon_image size and provide a CSS class for theming
fixes #11032
2016-02-27 21:57:02 +01:00
Eric Lippmann 1f7a4a170f Add zero width space characters to plugin output where appropriate
This helps browsers to break lines if the plugin output is missing whitespaces.
Alternatively we could set word-break: break-all but that may produce ugly results.

refs #10820
2016-02-27 18:00:50 +01:00
Alexander A. Klimov 4751df692d Allow style classes in plugin output
resolves #11062
2016-02-25 17:09:39 +01:00
Eric Lippmann f032a670f0 Merge branch 'feature/render-links-in-acknowledgements-comments-and-downtimes-10654'
resolves #10654
2016-02-25 11:31:13 +01:00
Alexander A. Klimov bd02e5468c PluginOutput helper: use a regex to detect HTML in plugin output
fixes #10366
2016-02-17 11:49:23 +01:00
Alexander A. Klimov b0932d2413 Implement escapeComment helper
refs #10654
2016-02-15 16:26:52 +01:00
Alexander A. Klimov 474803fee4 Change all license headers to only reflect a file's year of creation
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann 7fd575080e PHP7: Rename String to StringHelper
refs #10251
2016-01-27 16:46:55 +01:00
Eric Lippmann bc187d91c5 monitoring: Make inline pie charts accessible 2016-01-22 13:33:22 +01:00
Eric Lippmann b49cefa45d monitoring: Highlight state in plugin output in the detail area
refs #10670
2015-12-21 12:25:24 +01:00
Eric Lippmann c88d034877 monitoring: Fix HTMLPurifier includes
fixes #10338
2015-11-26 11:16:21 +01:00
Eric Lippmann 2b0cb344da monitoring: Fix performance data table markup, #2
refs #5543
2015-11-11 15:20:24 +01:00
Eric Lippmann dbec2741f9 monitoring: Fix performance data table markup
refs #5543
2015-11-11 15:13:54 +01:00
Eric Lippmann 818105bc45 monitoring: Reduce header size for multiple selected services
refs #5543
2015-11-10 13:21:54 +01:00
Thomas Gelf f2bc3368e7 pluginOutput: make use of new styles 2015-11-06 01:56:17 +01:00
Eric Lippmann 62f58048e9 monitoring: Use blockquote for plugin output
refs #5543
2015-11-04 14:34:01 +01:00