* Thu Aug 07 2025 Brian Read <brianr@koozali.org> 11.0.0-112.sme

- Fix sprintf fail in viewlogfiles when % in log line [SME: 13099]
- Fix reboot/shutdown failure - reported by Massimo  - fixed by JC [SME: 13097]
This commit is contained in:
2025-08-07 16:33:12 +01:00
parent a3fda90a85
commit 6475521528
3 changed files with 14 additions and 10 deletions

View File

@@ -211,8 +211,8 @@ sub showlogFile {
$_ = timestamp2local($_); $_ = timestamp2local($_);
$_ = HTML::Entities::encode_entities($_); $_ = HTML::Entities::encode_entities($_);
($log_datas{highlightpattern} && /$log_datas{highlightpattern}/) ($log_datas{highlightpattern} && /$log_datas{highlightpattern}/)
? $out .= sprintf("<b>$_</b>") ? $out .= "<b>$_</b>"
: $out .= sprintf("$_"); : $out .= "$_";
} ## end while (<LOGFILE>) } ## end while (<LOGFILE>)
$out .= sprintf("</PRE>"); $out .= sprintf("</PRE>");

View File

@@ -34,7 +34,7 @@
% end % end
%= hidden_field 'debug' => '1' %= hidden_field 'debug' => '0'
</div> </div>
%end %end

View File

@@ -1,8 +1,8 @@
Summary: Sme server navigation module : manager 2 Summary: Sme Server Configuration : Manager 2
%define name smeserver-manager %define name smeserver-manager
Name: %{name} Name: %{name}
%define version 11.0.0 %define version 11.0.0
%define release 111 %define release 112
Version: %{version} Version: %{version}
Release: %{release}%{?dist} Release: %{release}%{?dist}
License: GPL License: GPL
@@ -17,7 +17,7 @@ BuildRequires: smeserver-devtools
#BuildRequires: perl >= 0:5.016 #BuildRequires: perl >= 0:5.016
#BuildRequires: perl(Test::More) #BuildRequires: perl(Test::More)
#BuildRequires: perl(Test::Mojo) #BuildRequires: perl(Test::Mojo)
#BuildRequires: perl(Mojolicious) >= 7.56 #BuildRequires: perl(Mojolicious) >= 9.39
#BuildRequires: perl(Mojolicious::Plugin::I18N) >= 1.6 #BuildRequires: perl(Mojolicious::Plugin::I18N) >= 1.6
#BuildRequires: perl(Net::Netmask) >= 1.9 #BuildRequires: perl(Net::Netmask) >= 1.9
#</Build tests> #</Build tests>
@@ -146,8 +146,12 @@ true
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Thu Aug 07 2025 Brian Read <brianr@koozali.org> 11.0.0-112.sme
- Fix sprintf fail in viewlogfiles when % in log line [SME: 13099]
- Fix reboot/shutdown failure - reported by Massimo - fixed by JC [SME: 13097]
* Mon Jul 28 2025 Brian Read <brianr@koozali.org> 11.0.0-111.sme * Mon Jul 28 2025 Brian Read <brianr@koozali.org> 11.0.0-111.sme
- Add password strength details to passowrd panels [SME: 13081] - Add password strength details to password panels [SME: 13081]
* Sat Jul 26 2025 Brian Read <brianr@koozali.org> 11.0.0-110.sme * Sat Jul 26 2025 Brian Read <brianr@koozali.org> 11.0.0-110.sme
- Get cifs workstation backup restore to show backup sets [SME: 12645] - Get cifs workstation backup restore to show backup sets [SME: 12645]