* Wed Feb 12 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-11.sme

- fix typo in webmail settings for roundcube [SME: 12743]
This commit is contained in:
Jean-Philippe Pialasse 2025-02-12 21:58:50 -05:00
parent 847d2286d9
commit 359c7cd7ab
2 changed files with 10 additions and 7 deletions

View File

@ -336,20 +336,20 @@ sub change_settings_access
$db->set_prop('php',"status", "enabled" ); $db->set_prop('php',"status", "enabled" );
$db->set_prop('mariadb',"status", "enabled" ); $db->set_prop('mariadb',"status", "enabled" );
$db->set_prop('imp',"status", 'enabled' ); $db->set_prop('imp',"status", 'enabled' );
$cdb->set_prop('roundcube',"status", 'enabled' ); $db->set_prop('roundcube',"status", 'enabled' );
$cdb->set_prop('roundcube',"access", "public" ); $db->set_prop('roundcube',"access", "public" );
} }
elsif ( $webmail eq "localnetworkSSL" || $webmail eq "localnetwork" ) { elsif ( $webmail eq "localnetworkSSL" || $webmail eq "localnetwork" ) {
$db->set_prop('php',"status", "enabled" ); $db->set_prop('php',"status", "enabled" );
$db->set_prop('mariadb',"status", "enabled" ); $db->set_prop('mariadb',"status", "enabled" );
$db->set_prop('imp',"status", 'enabled' ); $db->set_prop('imp',"status", 'enabled' );
$cdb->set_prop('roundcube',"status", 'enabled' ); $db->set_prop('roundcube',"status", 'enabled' );
$cdb->set_prop('roundcube',"access", "private" ); $db->set_prop('roundcube',"access", "private" );
} }
else { else {
$cdb->set_prop('roundcube',"status", 'disabled' ); $db->set_prop('roundcube',"status", 'disabled' );
} }
unless ( system( "/sbin/e-smith/signal-event", "email-update" ) == 0 ) unless ( system( "/sbin/e-smith/signal-event", "email-update" ) == 0 )
@ -555,7 +555,7 @@ sub get_current_webmail_status {
# determine status of webmail # determine status of webmail
my $WebmailStatus = "disabled"; my $WebmailStatus = "disabled";
my $RoundcubeStatus = $cdb->get_prop('roundcube', 'status') || 'disabled'; my $RoundcubeStatus = $db->get_prop('roundcube', 'status') || 'disabled';
my $MysqlStatus = $db->get_prop('mariadb', 'status') || 'disabled'; my $MysqlStatus = $db->get_prop('mariadb', 'status') || 'disabled';

View File

@ -4,7 +4,7 @@ Summary: smeserver server and gateway - email module
%define name smeserver-email %define name smeserver-email
Name: %{name} Name: %{name}
%define version 11.0.0 %define version 11.0.0
%define release 10 %define release 11
Version: %{version} Version: %{version}
Release: %{release}%{?dist} Release: %{release}%{?dist}
License: GPL License: GPL
@ -76,6 +76,9 @@ fi
smeserver server and gateway software - email module. smeserver server and gateway software - email module.
%changelog %changelog
* Wed Feb 12 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-11.sme
- fix typo in webmail settings for roundcube [SME: 12743]
* Wed Jan 08 2025 Brian Read <brianr@koozali.org> 11.0.0-10.sme * Wed Jan 08 2025 Brian Read <brianr@koozali.org> 11.0.0-10.sme
- Update release due to finger trouble [SME: 12863] - Update release due to finger trouble [SME: 12863]