Projects
Kolab:16
kolab-syncroton
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 56
View file
kolab-syncroton.spec
Changed
@@ -36,7 +36,7 @@ %global _ap_sysconfdir %{_sysconfdir}/%{httpd_name} Name: kolab-syncroton -Version: 2.4.0 +Version: 2.4.1 Release: 1%{?dist} Summary: ActiveSync for Kolab Groupware @@ -193,6 +193,9 @@ %attr(0770,%{httpd_user},%{httpd_group}) %{_var}/log/%{name} %changelog +* Mon Jul 17 2023 Christian Mollekopf <mollekopf@apheleia-it.ch> - 2.4.1-1 +- Release version 2.4.1 + * Wed May 10 2023 Christian Mollekopf <mollekopf@apheleia-it.ch> - 2.4.0-1 - Release version 2.4.0
View file
buildtarball.sh
Changed
@@ -2,7 +2,7 @@ set -e -VERSION=2.4.0 +VERSION=2.4.1 GIT_REF=master NAME=kolab-syncroton-$VERSION
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +kolab-syncroton (2.4.1-0~kolab1) unstable; urgency=low + + * Release version 2.4.1 + + -- Christian Mollekopf <mollekopf@apheleia-it.ch> Mon, 17 July 2023 15:13:40 +0200 + kolab-syncroton (2.4.0-0~kolab1) unstable; urgency=low * Release version 2.4.0
View file
kolab-syncroton-2.4.0.tar.gz/lib/kolab_sync.php -> kolab-syncroton-2.4.1.tar.gz/lib/kolab_sync.php
Changed
@@ -49,7 +49,7 @@ protected $per_user_log_dir; const CHARSET = 'UTF-8'; - const VERSION = "2.4.0"; + const VERSION = "2.4.1"; /**
View file
kolab-syncroton-2.4.0.tar.gz/lib/kolab_sync_backend.php -> kolab-syncroton-2.4.1.tar.gz/lib/kolab_sync_backend.php
Changed
@@ -839,7 +839,9 @@ $type = kolab_storage::folder_type($name); } - $type = preg_replace('/\.(confidential|private)$/i', '', $type); + if ($type != null) { + $type = preg_replace('/\.(confidential|private)$/i', '', $type); + } } // Add type to folder UID hash, so type change can be detected by Syncroton
View file
kolab-syncroton-2.4.0.tar.gz/lib/kolab_sync_data_email.php -> kolab-syncroton-2.4.1.tar.gz/lib/kolab_sync_data_email.php
Changed
@@ -602,30 +602,34 @@ */ public function updateEntry($folderId, $serverId, Syncroton_Model_IEntry $entry) { - $msg = $this->parseMessageId($serverId); - $message = $this->getObject($serverId); + $msg = $this->parseMessageId($serverId); - if (empty($message)) { + if (empty($msg)) { throw new Syncroton_Exception_Status_Sync(Syncroton_Exception_Status_Sync::SYNC_SERVER_ERROR); } - $is_flagged = !empty($message->headers->flags'FLAGGED'); + if (isset($entry->categories)) { + // Read the message headers only when they are needed + $message = $this->getObject($serverId); + + if (empty($message)) { + throw new Syncroton_Exception_Status_Sync(Syncroton_Exception_Status_Sync::SYNC_SERVER_ERROR); + } + } // Read status change if (isset($entry->read)) { // here we update only Read flag - $flag = (((int)$entry->read != 1) ? 'UN' : '') . 'SEEN'; + $flag = !empty($entry->read) ? 'SEEN' : 'UNSEEN'; $this->storage->set_flag($msg'uid', $flag, $msg'foldername'); } // Flag change - if (isset($entry->flag) && (empty($entry->flag) || empty($entry->flag->flagType))) { - if ($is_flagged) { + if (isset($entry->flag)) { + if (empty($entry->flag) || empty($entry->flag->flagType)) { $this->storage->set_flag($msg'uid', 'UNFLAGGED', $msg'foldername'); } - } - else if (!$is_flagged && !empty($entry->flag)) { - if ($entry->flag->flagType && preg_match('/follow\s*up/i', $entry->flag->flagType)) { + else if (preg_match('/follow\s*up/i', $entry->flag->flagType)) { $this->storage->set_flag($msg'uid', 'FLAGGED', $msg'foldername'); } }
View file
kolab-syncroton.dsc
Changed
@@ -2,7 +2,7 @@ Source: kolab-syncroton Binary: kolab-syncroton Architecture: all -Version: 2.4.0-1~kolab1 +Version: 2.4.1-1~kolab1 Maintainer: Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> Uploaders: Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> 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
.