diff --git a/clog b/clog new file mode 100644 index 0000000..f3b17f2 --- /dev/null +++ b/clog @@ -0,0 +1,3 @@ +* Wed Apr 09 2025 Brian Read 11.0.0-75.sme +- Move review configuration to behind login [SME: 12984] +- Fix crash in port forwarding [SME: 12985] diff --git a/root/usr/share/smanager/lib/SrvMngr/Controller/Portforwarding.pm b/root/usr/share/smanager/lib/SrvMngr/Controller/Portforwarding.pm index 9e7dfe4..56c804f 100644 --- a/root/usr/share/smanager/lib/SrvMngr/Controller/Portforwarding.pm +++ b/root/usr/share/smanager/lib/SrvMngr/Controller/Portforwarding.pm @@ -215,6 +215,7 @@ sub add_portforward { sub get_destination_host { my $q = shift; + $cdb = esmith::ConfigDB->open || die "Can't open configuration database: $!\n"; my $dhost = $q->param("dhost"); my $localip = $cdb->get_prop('InternalInterface', 'IPAddress'); my $external_ip = $cdb->get_prop('ExternalInterface', 'IPAddress') || $localip; @@ -361,6 +362,7 @@ sub isValidPort() { sub validate_destination_host { my $c = shift; + $cdb = esmith::ConfigDB->open || die "Can't open configuration database: $!\n"; my $dhost = $c->param('dhost'); $dhost =~ s/^\s+|\s+$//g; my $localip = $cdb->get_prop('InternalInterface', 'IPAddress'); diff --git a/root/usr/share/smanager/lib/SrvMngr/Controller/Review.pm b/root/usr/share/smanager/lib/SrvMngr/Controller/Review.pm index 89a2df0..aec8dda 100644 --- a/root/usr/share/smanager/lib/SrvMngr/Controller/Review.pm +++ b/root/usr/share/smanager/lib/SrvMngr/Controller/Review.pm @@ -1,16 +1,11 @@ package SrvMngr::Controller::Review; #---------------------------------------------------------------------- -# heading : Support +# heading : Investigation # description : Review configuration -# navigation : 000 500 -# menu : N +# navigation : 6000 6800 # routes : end #---------------------------------------------------------------------- -# heading-o : Configuration -# description-o : Review configuration -# navigation-o : 6000 6800 -#---------------------------------------------------------------------- use strict; use warnings; use Mojo::Base 'Mojolicious::Controller'; @@ -313,4 +308,4 @@ sub get_public_ip_address } -1; +1; \ No newline at end of file diff --git a/smeserver-manager.spec b/smeserver-manager.spec index 4c0d73c..54081b1 100644 --- a/smeserver-manager.spec +++ b/smeserver-manager.spec @@ -2,7 +2,7 @@ Summary: Sme server navigation module : manager 2 %define name smeserver-manager Name: %{name} %define version 11.0.0 -%define release 74 +%define release 75 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -143,6 +143,10 @@ true %defattr(-,root,root) %changelog +* Wed Apr 09 2025 Brian Read 11.0.0-75.sme +- Move review configuration to behind login [SME: 12984] +- Fix crash in port forwarding [SME: 12985] + * Wed Mar 26 2025 Brian Read 11.0.0-74.sme - Fix error message and success message format in Local Networking panel [SME: 12969]