Définition des constantes READONLY

tags/0.1.7
Daniel Berteaud 13 years ago
parent 7c923688dc
commit 1004b68729
  1. 7
      root/etc/e-smith/templates/usr/share/sogosync/config.php/45Backend60Caldav
  2. 8
      root/etc/e-smith/templates/usr/share/sogosync/config.php/45Backend70Carddav
  3. 5
      smeserver-sogosync.spec

@ -3,10 +3,7 @@
define('CALDAV_PERSONAL', 'personal');
define('CALDAV_URL', 'http://localhost:{$sogod{'TCPPort'}}/SOGo/dav/%u');
{
my $ro = $sogosync{'ReadOnly'} || 'disabled';
$OUT .= " define('CALDAV_READONLY', true);\n"
if ($ro =~ m/^yes|enabled|1$/);
$ro = ($ro =~ m/^yes|enabled|1$/) ? 'true':'false';
$OUT .= " define('CALDAV_READONLY', $ro);\n";
}

@ -1,11 +1,7 @@
define('CARDDAV_PERSONAL', 'personal');
define('CARDDAV_URL', 'http://localhost:{$sogod{'TCPPort'}}/SOGo/dav/%u/Contacts/');
{
my $ro = $sogosync{'ReadOnly'} || 'disabled';
$OUT .= " define('CARDDAV_READONLY', true);\n"
if ($ro =~ m/^yes|enabled|1$/);
$ro = ($ro =~ m/^yes|enabled|1$/) ? 'true':'false';
$OUT .= " define('CARDDAV_READONLY', $ro);\n";
}

@ -1,5 +1,5 @@
Name: smeserver-sogosync
Version: 0.1.6
Version: 0.1.7
Release: 0.beta5%{?dist}
Summary: SME Server integration for sogosync
@ -41,6 +41,9 @@ echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist
rm -rf $RPM_BUILD_ROOT
%changelog
* Sun Jun 10 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.7-1
- Define *_READONLY constant event when set to false
* Sun Jun 10 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.6-1
- Correction des templates

Loading…
Cancel
Save