Projects
Kolab:16
kolab-syncroton
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 39
View file
kolab-syncroton.spec
Changed
@@ -36,7 +36,7 @@ %global _ap_sysconfdir %{_sysconfdir}/%{httpd_name} Name: kolab-syncroton -Version: 2.3.18 +Version: 2.3.19 Release: 1%{?dist} Summary: ActiveSync for Kolab Groupware @@ -203,6 +203,9 @@ %attr(0770,%{httpd_user},%{httpd_group}) %{_var}/log/%{name} %changelog +* Thu Jan 28 2021 Christian Mollekopf <mollekopf@kolabsys.com> - 2.3.19-1 +- Release version 2.3.19 + * Mon Dec 16 2020 Christian Mollekopf <mollekopf@kolabsys.com> - 2.3.18-1 - Release version 2.3.18
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +kolab-syncroton (2.3.19-0~kolab1) unstable; urgency=low + + * Release version 2.3.19 + + -- Christian Mollekopf <mollekopf@kolabsys.com> Thu, 28 Jan 2021 15:13:40 +0200 + kolab-syncroton (2.3.18-0~kolab2) unstable; urgency=low * Release version 2.3.18
View file
kolab-syncroton-2.3.18.tar.gz/lib/ext/Syncroton/Command/Sync.php -> kolab-syncroton-2.3.19.tar.gz/lib/ext/Syncroton/Command/Sync.php
Changed
@@ -830,6 +830,14 @@ $commands->appendChild($add); + $newContentStates[] = new Syncroton_Model_Content(array( + 'device_id' => $this->_device, + 'folder_id' => $collectionData->folder, + 'contentid' => $serverId, + 'creation_time' => $this->_syncTimeStamp, + 'creation_synckey' => $collectionData->syncState->counter + 1 + )); + $collectionChanges++; } catch (Syncroton_Exception_MemoryExhausted $seme) { // continue to next entry, as there is not enough memory left for the current entry @@ -844,16 +852,11 @@ $this->_logger->warn(__METHOD__ . '::' . __LINE__ . " unable to convert entry to xml: " . $e->getMessage()); if ($this->_logger instanceof Zend_Log) $this->_logger->debug(__METHOD__ . '::' . __LINE__ . " unable to convert entry to xml: " . $e->getTraceAsString()); + // We bump collectionChanges anyways to make sure the windowSize still applies. + $collectionChanges++; } // mark as sent to the client, even the conversion to xml might have failed - $newContentStates[] = new Syncroton_Model_Content(array( - 'device_id' => $this->_device, - 'folder_id' => $collectionData->folder, - 'contentid' => $serverId, - 'creation_time' => $this->_syncTimeStamp, - 'creation_synckey' => $collectionData->syncState->counter + 1 - )); unset($serverModifications['added'][$id]); } @@ -890,6 +893,8 @@ } catch (Exception $e) { if ($this->_logger instanceof Zend_Log) $this->_logger->warn(__METHOD__ . '::' . __LINE__ . " unable to convert entry to xml: " . $e->getMessage()); + // We bump collectionChanges anyways to make sure the windowSize still applies. + $collectionChanges++; } unset($serverModifications['changed'][$id]); @@ -915,6 +920,8 @@ } catch (Exception $e) { if ($this->_logger instanceof Zend_Log) $this->_logger->warn(__METHOD__ . '::' . __LINE__ . " unable to convert entry to xml: " . $e->getMessage()); + // We bump collectionChanges anyways to make sure the windowSize still applies. + $collectionChanges++; } unset($serverModifications['deleted'][$id]);
View file
kolab-syncroton-2.3.18.tar.gz/lib/kolab_sync.php -> kolab-syncroton-2.3.19.tar.gz/lib/kolab_sync.php
Changed
@@ -46,7 +46,7 @@ public $password; const CHARSET = 'UTF-8'; - const VERSION = "2.3.18"; + const VERSION = "2.3.19"; /**
View file
kolab-syncroton-2.3.18.tar.gz/lib/kolab_sync_backend.php -> kolab-syncroton-2.3.19.tar.gz/lib/kolab_sync_backend.php
Changed
@@ -215,7 +215,7 @@ while (count($items) > 0) { array_pop($items); - $parent_name = implode($items, $delim); + $parent_name = implode($delim, $items); $parent_type = $typedata[$parent_name] ?: 'mail'; $parent_id = self::folder_id($parent_name, $parent_type);
View file
kolab-syncroton-2.3.18.tar.gz/lib/kolab_sync_backend_state.php -> kolab-syncroton-2.3.19.tar.gz/lib/kolab_sync_backend_state.php
Changed
@@ -72,7 +72,7 @@ $data = parent::object_to_array($object); if (is_array($object->pendingdata)) { - $data['pendingdata'] = json_encode($object->pendingdata); + $data['pendingdata'] = gzdeflate(json_encode($object->pendingdata)); } return $data; @@ -86,7 +86,10 @@ $object = parent::get_object($data); if ($object->pendingdata) { - $object->pendingdata = json_decode($object->pendingdata, true); + $inflated = gzinflate($object->pendingdata); + // Inflation may fail for backward compatiblity + $data = $inflated ? $inflated : $object->pendingdata; + $object->pendingdata = json_decode($data, true); } return $object;
View file
kolab-syncroton.dsc
Changed
@@ -2,7 +2,7 @@ Source: kolab-syncroton Binary: kolab-syncroton Architecture: all -Version: 2.3.18-0~kolab2 +Version: 2.3.19-0~kolab1 Maintainer: Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> Uploaders: Jeroen van Meeuwen <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.18.tar.gz + 00000000000000000000000000000000 0 kolab-syncroton-2.3.19.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
.