diff -urN smeserver-manager-0.1.4.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27SManagerProxyPass smeserver-manager-0.1.4/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27SManagerProxyPass --- smeserver-manager-0.1.4.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27SManagerProxyPass 2021-06-21 13:25:10.000000000 +0400 +++ smeserver-manager-0.1.4/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27SManagerProxyPass 2021-10-10 20:58:43.000000000 +0400 @@ -35,11 +35,11 @@ } elsif (($haveSSL eq 'yes') && ($port eq $sslPort) && ($adminAccess eq 'public')) { - # $OUT .= " allow from $localAccess $externalSSLAccess\n"; - $OUT .= "# access public in conf db\n"; + $OUT .= "# public access requested in conf db\n"; $OUT .= " allow from all\n"; } else { - $OUT .= " allow from $localAccess\n"; + $OUT .= "# private access by default\n"; + $OUT .= " allow from $localAccess $externalSSLAccess\n"; } $OUT .= " \n"; } diff -urN smeserver-manager-0.1.4.old/root/usr/share/smanager/lib/SrvMngr.pm smeserver-manager-0.1.4/root/usr/share/smanager/lib/SrvMngr.pm --- smeserver-manager-0.1.4.old/root/usr/share/smanager/lib/SrvMngr.pm 2021-06-21 14:22:26.000000000 +0400 +++ smeserver-manager-0.1.4/root/usr/share/smanager/lib/SrvMngr.pm 2021-10-10 21:31:38.501000000 +0400 @@ -184,7 +184,8 @@ $self->plugin('Mojolicious::Plugin::CSRFDefender' => { onetime => 1, error_status => 400, - error_template => 'csrf_400' + error_content => 'Error: CSRF token is invalid or outdated' + #error_template => 'csrf_400' }) if ( $self->mode eq 'production' ); $self->plugin('SrvMngr::Plugin::I18N' => {namespace => 'SrvMngr::I18N', default => 'en'}); diff -urN smeserver-manager-0.1.4.old/root/usr/share/smanager/themes/default/templates/partials/_iba_list.html.ep smeserver-manager-0.1.4/root/usr/share/smanager/themes/default/templates/partials/_iba_list.html.ep --- smeserver-manager-0.1.4.old/root/usr/share/smanager/themes/default/templates/partials/_iba_list.html.ep 2021-06-21 13:25:10.000000000 +0400 +++ smeserver-manager-0.1.4/root/usr/share/smanager/themes/default/templates/partials/_iba_list.html.ep 2021-10-10 21:38:31.058000000 +0400 @@ -34,7 +34,7 @@ %=l 'ACTION' - % foreach my $ibay (sort @$ibays) + % foreach my $ibay (@$ibays) % { % my $modifiable = $ibay->prop('Modifiable') || 'yes'; % my $passwordable = $ibay->prop('Passwordable') || 'yes'; diff -urN smeserver-manager-0.1.4.old/root/usr/share/smanager/themes/default/templates/partials/_prt_list.html.ep smeserver-manager-0.1.4/root/usr/share/smanager/themes/default/templates/partials/_prt_list.html.ep --- smeserver-manager-0.1.4.old/root/usr/share/smanager/themes/default/templates/partials/_prt_list.html.ep 2021-06-21 13:25:10.000000000 +0400 +++ smeserver-manager-0.1.4/root/usr/share/smanager/themes/default/templates/partials/_prt_list.html.ep 2021-10-10 21:40:31.076000000 +0400 @@ -42,7 +42,7 @@ %=l 'ACTION' - % foreach my $printer (sort @$printerDrivers) + % foreach my $printer (@$printerDrivers) % { % my $address = ($printer->prop('Location') eq 'remote') % ? $printer->prop('Address') : 'N/A'; diff -urN smeserver-manager-0.1.4.old/root/usr/share/smanager/themes/default/templates/partials/_quo_list.html.ep smeserver-manager-0.1.4/root/usr/share/smanager/themes/default/templates/partials/_quo_list.html.ep --- smeserver-manager-0.1.4.old/root/usr/share/smanager/themes/default/templates/partials/_quo_list.html.ep 2021-06-21 13:25:10.000000000 +0400 +++ smeserver-manager-0.1.4/root/usr/share/smanager/themes/default/templates/partials/_quo_list.html.ep 2021-10-10 21:41:35.065000000 +0400 @@ -40,7 +40,7 @@ - % foreach my $user (sort @$userAccounts) + % foreach my $user (@$userAccounts) % { % my $uid = getpwnam($user->key); % unless ($uid) { diff -urN smeserver-manager-0.1.4.old/root/usr/share/smanager/themes/default/templates/partials/_usr_list.html.ep smeserver-manager-0.1.4/root/usr/share/smanager/themes/default/templates/partials/_usr_list.html.ep --- smeserver-manager-0.1.4.old/root/usr/share/smanager/themes/default/templates/partials/_usr_list.html.ep 2020-11-19 11:53:26.000000000 +0400 +++ smeserver-manager-0.1.4/root/usr/share/smanager/themes/default/templates/partials/_usr_list.html.ep 2021-10-10 21:41:54.003000000 +0400 @@ -40,7 +40,7 @@ - % foreach my $user (sort @$users) { + % foreach my $user (@$users) { % my $username = $user->key(); % my $first = $user->prop('FirstName');