Projects
Kolab:16
kolab-syncroton
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 24
View file
kolab-syncroton.spec
Changed
@@ -36,7 +36,7 @@ %global _ap_sysconfdir %{_sysconfdir}/%{httpd_name} Name: kolab-syncroton -Version: 2.3.14 +Version: 2.3.15 Release: 1%{?dist} Summary: ActiveSync for Kolab Groupware @@ -195,6 +195,9 @@ %attr(0770,%{httpd_user},%{httpd_group}) %{_var}/log/%{name} %changelog +* Fri Feb 1 2019 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 2.3.15-1 +- Release 2.3.15 + * Thu Dec 27 2018 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 2.3.14-1 - Release 2.3.14
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +kolab-syncroton (2.3.15-0~kolab1) unstable; urgency=low + + * Release 2.3.15 + + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Fri, 1 Feb 2019 15:13:40 +0200 + kolab-syncroton (2.3.14-0~kolab1) unstable; urgency=low * Release 2.3.14
View file
kolab-syncroton-2.3.14.tar.gz/lib/kolab_sync.php -> kolab-syncroton-2.3.15.tar.gz/lib/kolab_sync.php
Changed
@@ -46,7 +46,7 @@ public $password; const CHARSET = 'UTF-8'; - const VERSION = "2.3.14"; + const VERSION = "2.3.15"; /** @@ -453,13 +453,16 @@ // write performance stats to logs/console if ($this->config->get('devel_mode') || $this->config->get('performance_stats')) { + // we have to disable per_user_logging to make sure stats end up in the main console log + $this->config->set('per_user_logging', false); + // make sure logged numbers use unified format setlocale(LC_NUMERIC, 'en_US.utf8', 'en_US.UTF-8', 'en_US', 'C'); if (function_exists('memory_get_usage')) - $mem = sprintf('%.1f', memory_get_usage() / 1048576); + $mem = round(memory_get_usage() / 1048576, 1); if (function_exists('memory_get_peak_usage')) - $mem .= '/' . sprintf('%.1f', memory_get_peak_usage() / 1048576); + $mem .= '/' . round(memory_get_peak_usage() / 1048576, 1); $query = $_SERVER['QUERY_STRING']; $log = $query . ($mem ? ($query ? ' ' : '') . "[$mem]" : '');
View file
kolab-syncroton-2.3.14.tar.gz/lib/kolab_sync_backend.php -> kolab-syncroton-2.3.15.tar.gz/lib/kolab_sync_backend.php
Changed
@@ -776,11 +776,18 @@ $folder_id = $this->folder_id($folder, $type); // Folder type - $type = self::type_kolab2activesync($type); - // fix type, if there's no type annotation it's detected as UNKNOWN - // we'll use 'mail' (12) or 'mail.inbox' (2) - if ($type == 1) { - $type = $folder == 'INBOX' ? 2 : 12; + if (strcasecmp($folder, 'INBOX') === 0) { + // INBOX is always inbox, prevent from issues related with a change of + // folder type annotation (it can be initially unset). + $type = 2; + } + else { + $type = self::type_kolab2activesync($type); + + // fix type, if there's no type annotation it's detected as UNKNOWN we'll use 'mail' (12) + if ($type == 1) { + $type = 12; + } } // Syncroton folder data array @@ -825,12 +832,18 @@ return $this->folder_uids[$name] = $uid; } */ - - if ($type === null) { - $type = kolab_storage::folder_type($name); + if (strcasecmp($name, 'INBOX') === 0) { + // INBOX is always inbox, prevent from issues related with a change of + // folder type annotation (it can be initially unset). + $type = 'mail.inbox'; } + else { + if ($type === null) { + $type = kolab_storage::folder_type($name); + } - $type = preg_replace('/\.(confidential|private)$/i', '', $type); + $type = preg_replace('/\.(confidential|private)$/i', '', $type); + } // Add type to folder UID hash, so type change can be detected by Syncroton $uid = $name . '!!' . $type;
View file
kolab-syncroton-2.3.14.tar.gz/lib/kolab_sync_data.php -> kolab-syncroton-2.3.15.tar.gz/lib/kolab_sync_data.php
Changed
@@ -1010,6 +1010,10 @@ $foldername = $this->backend->folder_id2name($folderid, $this->device->deviceid); $folder = $this->getFolderObject($foldername); + // Set User-Agent for saved objects + $app = kolab_sync::get_instance(); + $app->config->set('useragent', $app->app_name . ' ' . kolab_sync::VERSION); + if ($folder && $folder->valid && $folder->save($data)) { if (!empty($tags)) { $this->setKolabTags($data['uid'], $tags); @@ -1037,6 +1041,10 @@ unset($data['categories']); } + // Set User-Agent for saved objects + $app = kolab_sync::get_instance(); + $app->config->set('useragent', $app->app_name . ' ' . kolab_sync::VERSION); + if ($folder && $folder->valid && $folder->save($data)) { if (isset($tags)) { $this->setKolabTags($data['uid'], $tags);
View file
kolab-syncroton.dsc
Changed
@@ -2,7 +2,7 @@ Source: kolab-syncroton Binary: kolab-syncroton Architecture: all -Version: 2.3.14-0~kolab1 +Version: 2.3.15-0~kolab1 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Homepage: http://www.kolab.org/ @@ -12,5 +12,5 @@ Package-List: kolab-syncroton deb utils extra Files: - 00000000000000000000000000000000 0 kolab-syncroton-2.3.14.tar.gz + 00000000000000000000000000000000 0 kolab-syncroton-2.3.15.tar.gz 00000000000000000000000000000000 0 debian.tar.gz
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.