From b28eaf8d4c10a69be073b9a9cba3bed714752e52 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Thu, 27 Feb 2014 18:26:03 +0000 Subject: [PATCH] Support HTTPS with http_secure parameter --- Web-Plugin-Observium/Changes | 4 ++++ .../lib/App/NetdiscoX/Web/Plugin/Observium.pm | 7 +++++++ .../share/views/plugin/observium/device_port_column.tt | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Web-Plugin-Observium/Changes b/Web-Plugin-Observium/Changes index e8f9ea47..3a16a42f 100644 --- a/Web-Plugin-Observium/Changes +++ b/Web-Plugin-Observium/Changes @@ -1,3 +1,7 @@ +2.002000 - 2014-02-27 + + * Support HTTPS with http_secure parameter + 2.001000 - 2013-12-08 * Initial release diff --git a/Web-Plugin-Observium/lib/App/NetdiscoX/Web/Plugin/Observium.pm b/Web-Plugin-Observium/lib/App/NetdiscoX/Web/Plugin/Observium.pm index f05a2a1b..675a76e3 100644 --- a/Web-Plugin-Observium/lib/App/NetdiscoX/Web/Plugin/Observium.pm +++ b/Web-Plugin-Observium/lib/App/NetdiscoX/Web/Plugin/Observium.pm @@ -33,6 +33,7 @@ App::NetdiscoX::Web::Plugin::Observium - Port Traffic Links and Thumbnail Graphs plugin_observium: webhost: "web-server.example.com" open_in_new_window: true + http_secure: true =head1 Description @@ -58,6 +59,12 @@ Value: Boolean. Default: false. If set to true, the hyperlink is configured to open the port's Observium page in a new browser window or tab. +=head2 http_secure + +Value: Boolean. Default: false. + +If set to true, the hyperlink is configured to use HTTPS. + =head1 AUTHOR Oliver Gorwits diff --git a/Web-Plugin-Observium/share/views/plugin/observium/device_port_column.tt b/Web-Plugin-Observium/share/views/plugin/observium/device_port_column.tt index 55ad4dd5..4fe26978 100644 --- a/Web-Plugin-Observium/share/views/plugin/observium/device_port_column.tt +++ b/Web-Plugin-Observium/share/views/plugin/observium/device_port_column.tt @@ -1,4 +1,4 @@ -