Projects
Kolab:Winterfell
kolab-syncroton
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 34
View file
kolab-syncroton.spec
Changed
@@ -50,6 +50,7 @@ Patch0001: 0001-Remove-activesync_user_debug-also-from-sample-config.patch Patch0002: 0002-Fix-logging-with-per_user_logging-true.patch Patch0003: 0003-Do-not-forget-to-bump-the-version.patch +Patch0004: 0004-Fix-redundant-GETMETADATA-requests-when-listing-fold.patch BuildArch: noarch @@ -101,6 +102,7 @@ %patch0001 -p1 %patch0002 -p1 %patch0003 -p1 +%patch0004 -p1 %build @@ -203,6 +205,9 @@ %attr(0770,%{httpd_user},%{httpd_group}) %{_var}/log/%{name} %changelog +* Fri Feb 2 2018 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 2.3.8-3 +- Fix redundant GETMETADATA requests for mail folders + * Wed Jan 24 2018 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 2.3.8-2 - Fix logging - Fix version number
View file
0004-Fix-redundant-GETMETADATA-requests-when-listing-fold.patch
Added
@@ -0,0 +1,37 @@ +From a0043c23d93dc9404d1117f4ad6e87e58848d311 Mon Sep 17 00:00:00 2001 +From: Aleksander Machniak <machniak@kolabsys.com> +Date: Fri, 26 Jan 2018 13:16:31 +0100 +Subject: [PATCH 4/4] Fix redundant GETMETADATA requests when listing folders + +When listing folders we call GETMETADATA for all folders to get their types, +then for every folder without type set we did another GETMETADATA call. +This is now fixed. +--- + lib/kolab_sync_backend.php | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/kolab_sync_backend.php b/lib/kolab_sync_backend.php +index 315a803..13a4e34 100644 +--- a/lib/kolab_sync_backend.php ++++ b/lib/kolab_sync_backend.php +@@ -176,7 +176,7 @@ class kolab_sync_backend + } + + // Activesync folder identifier (serverId) +- $folder_type = $typedata[$folder]; ++ $folder_type = $typedata[$folder] ?: 'mail'; + $folder_id = self::folder_id($folder, $folder_type); + + $folders_list[$folder_id] = $this->folder_data($folder, $folder_type); +@@ -216,7 +216,7 @@ class kolab_sync_backend + array_pop($items); + + $parent_name = implode($items, $delim); +- $parent_type = $typedata[$parent_name]; ++ $parent_type = $typedata[$parent_name] ?: 'mail'; + $parent_id = self::folder_id($parent_name, $parent_type); + + if (isset($folders[$parent_id])) { +-- +2.14.3 +
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +kolab-syncroton (2.3.8-0~kolab3) unstable; urgency=low + + * Fix redundant GETMETADATA requests for mail folders + + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Fri, Feb 2 2018 15:13:40 +0200 + kolab-syncroton (2.3.8-0~kolab2) unstable; urgency=low * Fix logging
View file
debian.series
Changed
@@ -1,3 +1,4 @@ 0001-Remove-activesync_user_debug-also-from-sample-config.patch -p1 0002-Fix-logging-with-per_user_logging-true.patch -p1 0003-Do-not-forget-to-bump-the-version.patch -p1 +0004-Fix-redundant-GETMETADATA-requests-when-listing-fold.patch -p1
View file
kolab-syncroton.dsc
Changed
@@ -2,7 +2,7 @@ Source: kolab-syncroton Binary: kolab-syncroton Architecture: all -Version: 2.3.8-0~kolab2 +Version: 2.3.8-0~kolab3 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Paul Klos <kolab@klos2day.nl> Homepage: http://www.kolab.org/
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
.