* Tue Jan 28 2025 Brian Read <brianr@koozali.org> 11.0.0-46.sme

- Adjust conditions for showing "Reconfigure required" to only check UnSavedChanges DB entry [SME: 12891]
- Add indication of developement mode in footer
This commit is contained in:
Brian Read 2025-01-28 14:02:31 +00:00
parent eee68afa2b
commit 0e777fd51a
3 changed files with 14 additions and 8 deletions

View File

@ -43,8 +43,9 @@ sub init_data {
sub reconf_needed { sub reconf_needed {
my $cdb = esmith::ConfigDB->open_ro() or die("can't open Config DB"); my $cdb = esmith::ConfigDB->open_ro() or die("can't open Config DB");
my $unsafe = ($cdb->get('bootstrap-console') and $cdb->get('bootstrap-console')->prop('Run') eq 'yes') || #my $unsafe = ($cdb->get('bootstrap-console') and $cdb->get('bootstrap-console')->prop('Run') eq 'yes') ||
($cdb->get('UnsavedChanges') and $cdb->get('UnsavedChanges')->value eq 'yes') || '0'; # ($cdb->get('UnsavedChanges') and $cdb->get('UnsavedChanges')->value eq 'yes') || '0';
my $unsafe = ($cdb->get('UnsavedChanges') and $cdb->get('UnsavedChanges')->value eq 'yes') || '0';
return $unsafe; return $unsafe;
} }
@ -104,5 +105,4 @@ sub check_adminalias {
} }
1; 1;

View File

@ -4,9 +4,11 @@
<font class="sme-copyright"> <font class="sme-copyright">
% if ( $c->is_logged_in ) { % if ( $c->is_logged_in ) {
SME Server <%= session 'releaseVersion' %>-<%= $c->app->VERSION %> Manager II SME Server <%= session 'releaseVersion' %>-<%= $c->app->VERSION %> Manager II
(Mojo:<%= Mojolicious->VERSION %>) % my $mode;
% if (config->{mode} == 'development'){ $mode = '-dev';} else { $mode = '';}
(Mojo:<%= Mojolicious->VERSION %><%= $mode %>)
% } % }
<br>Copyright 1999-2006 Mitel Corporation<br> <br>Copyright 1999-2006 Mitel Corporation<br>
%= session 'copyRight' %= session 'copyRight'
<br>Copyright (c) 2013-2024 Koozali Foundation Inc.<br> <br>Copyright (c) 2013-2024 Koozali Foundation Inc.<br>
</font> </font>

View File

@ -2,7 +2,7 @@ Summary: Sme server navigation module : 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 45 %define release 46
Version: %{version} Version: %{version}
Release: %{release}%{?dist} Release: %{release}%{?dist}
License: GPL License: GPL
@ -143,6 +143,10 @@ true
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Tue Jan 28 2025 Brian Read <brianr@koozali.org> 11.0.0-46.sme
- Adjust conditions for showing "Reconfigure required" to only check UnSavedChanges DB entry [SME: 12891]
- Add indication of developement mode in footer
* Sat Jan 25 2025 Brian Read <brianr@koozali.org> 11.0.0-45.sme * Sat Jan 25 2025 Brian Read <brianr@koozali.org> 11.0.0-45.sme
- Add some space in the reboot/reconf/shutdown panel [SME: ] - Add some space in the reboot/reconf/shutdown panel [SME: ]
- Add check for 15 characters netbios name in workgroup panel [SME: ] - Add check for 15 characters netbios name in workgroup panel [SME: ]
@ -1363,4 +1367,4 @@ true
* Tue Mar 14 2000 Charlie Brady <charlieb@e-smith.com> * Tue Mar 14 2000 Charlie Brady <charlieb@e-smith.com>
Wed Mar 14 2000 --> Wed Mar 08 2000 or Tue Mar 14 2000 or Wed Mar 15 2000 or .... Wed Mar 14 2000 --> Wed Mar 08 2000 or Tue Mar 14 2000 or Wed Mar 15 2000 or ....
- initial release - initial release