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
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
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
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
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
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
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
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
Eric Lippmann
2d4ea43a87
monitoring/CSS: Rename pre.pluginoutput to pre.plugin-output
...
refs #5543
2015-09-25 11:41:51 +02:00
Matthias Jentsch
39df25f043
Fix HTML detection in PluginOutput
...
refs #9036
2015-07-08 15:16:32 +02:00
Matthias Jentsch
4f884b1529
Revert "Don't use HTMLPurifier in list views to improve performance"
...
Performance gain turned out to be insignificant. This reverts commit 17bb725f84
.
refs #9036
2015-07-07 10:17:04 +02:00
Matthias Jentsch
17bb725f84
Don't use HTMLPurifier in list views to improve performance
...
refs #9036
2015-07-06 17:14:36 +02:00
Matthias Jentsch
b505101694
Comply to coding guidelines
2015-07-06 15:47:04 +02:00
Matthias Jentsch
7bda4ce42b
Do not escape certain HTML markup for plugin output
...
Use specialized escape functions for plugin output that allow certain HTML formatting to be allowed.
refs #9036
2015-07-06 15:36:43 +02:00
Matthias Jentsch
9d2f0be24c
Identify perfdata containing html markup properly
...
refs #9036
2015-07-06 14:43:32 +02:00
Johannes Meyer
f11ea04557
Revert "Require `host_name' instead of `host' to show or list particular objects"
...
This reverts commit b93d18a0fc
.
2015-04-20 16:11:22 +02:00
Johannes Meyer
b93d18a0fc
Require `host_name' instead of `host' to show or list particular objects
...
`host' implies that it is possible to provide case-less identifiers which is
*not* possible.
refs #8613
2015-04-08 16:25:29 +02:00
Thomas Gelf
5bf89da6d7
PluginOutput: simplify code, add tab support
...
refs #8366
2015-02-09 15:38:43 +01:00
Eric Lippmann
6bae2e0a53
Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL
2015-02-04 10:52:27 +01:00
Eric Lippmann
5b4fab0750
Add license header
...
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc
Revert "Add license header"
...
This reverts commit 338d067aba
.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba
Add license header
...
fixes #7788
2015-02-03 15:51:04 +01:00
Thomas Gelf
da47c7fc7e
Merge remote-tracking branch 'origin/master' into feature/redesign-7144
2014-11-14 21:32:57 +01:00
Eric Lippmann
1f77ef069d
Use HTMLPurifier from the include path
...
refs #6165
refs #6166
2014-11-13 23:49:32 +01:00
Bernd Erk
548058650a
Fixed Plugin output and box-border
2014-11-06 15:49:26 +01:00
Johannes Meyer
3105c2059e
Remove license headers from all files
...
refs #6309
2014-07-15 13:43:52 +02:00
Thomas Gelf
c592236258
vendorlibs: library/vendor to libary/IcingaVendor
...
This doesn't make it much better but allows to build a package
libicinga-vendor-php placing those files to /usr/share/php/IcingaVendor
or similar.
refs #4075
2014-06-05 00:10:49 +00:00
Thomas Gelf
d93c060e6a
Upgrade htmlpurifier to 4.6.0
...
refs #6165
2014-05-09 10:41:20 +00:00
Thomas Gelf
63caf15494
Improve output styling, still inline
2014-03-08 08:29:39 +00:00
Thomas Gelf
0e50547a01
Perfdata and PluginOutput helpers, output slightly changed
2014-03-04 12:54:23 +00:00
Eric Lippmann
a5908c9553
CS: Replace multiple empty lines with one
...
find application/ library/Icinga/ test/ modules/ -name *.php | xargs sed -i '/^$/N;/^\n$/D'
2013-09-04 18:36:10 +02:00
Eric Lippmann
35fd9fd391
CS: Remove whitespaces at end of line
...
find application/ library/ test/ modules/ -name *.php | xargs sed -i 's/\s\+$//'
2013-09-04 18:27:16 +02:00