Projects
Kolab:16
kolab-syncroton
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 43
View file
kolab-syncroton.spec
Changed
@@ -36,7 +36,7 @@ %global _ap_sysconfdir %{_sysconfdir}/%{httpd_name} Name: kolab-syncroton -Version: 2.3.21 +Version: 2.3.22 Release: 1%{?dist} Summary: ActiveSync for Kolab Groupware @@ -208,6 +208,9 @@ %attr(0770,%{httpd_user},%{httpd_group}) %{_var}/log/%{name} %changelog +* Fri Feb 04 2022 Jeroen van Meeuwen <vanmeeuwen@apheleia-it.ch> - 2.3.22-1 +- Release version 2.3.22 + * Fri Jul 02 2021 Jeroen van Meeuwen <vanmeeuwen@apheleia-it.ch> - 2.3.21-1 - Release version 2.3.21
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +kolab-syncroton (2.3.22-0~kolab1) unstable; urgency=low + + * Release version 2.3.22 + + -- Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> Fri, 4 Feb 2022 15:13:40 +0200 + kolab-syncroton (2.3.21-0~kolab1) unstable; urgency=low * Release version 2.3.21
View file
kolab-syncroton-2.3.21.tar.gz/composer.json-dist -> kolab-syncroton-2.3.22.tar.gz/composer.json-dist
Changed
@@ -19,7 +19,8 @@ "pear/net_ldap2": "~2.2.0", "pear/net_sieve": "~1.4.0", "kolab/net_ldap3": "dev-master", - "zf1/zend-log": "~1.12.11" + "zf1s/zend-json": "~1.12.20", + "zf1s/zend-log": "~1.12.20" }, "require-dev": { "phpunit/phpunit": "^4.8 || ^5.7 || ^6 || ^7"
View file
kolab-syncroton-2.3.21.tar.gz/lib/kolab_sync.php -> kolab-syncroton-2.3.22.tar.gz/lib/kolab_sync.php
Changed
@@ -46,7 +46,7 @@ public $password; const CHARSET = 'UTF-8'; - const VERSION = "2.3.19"; + const VERSION = "2.3.22"; /** @@ -409,8 +409,34 @@ return; } + $deviceId = null; + if (!empty($_GET['DeviceId'])) { - $dev_dir = $log_dir . DIRECTORY_SEPARATOR . $_GET['DeviceId']; + $deviceId = $_GET['DeviceId']; + } + else if ( + !empty($_SERVER['QUERY_STRING']) + && strpos($_SERVER['QUERY_STRING'], '&') == false + && ($query = base64_decode($_SERVER['QUERY_STRING'])) + && strlen($query) > 8 + ) { + // unpack the first 5 bytes, the last one is a length of the device id + $unpacked = unpack('Cversion/Ccommand/vlocale/Clength', substr($query, 0, 5)); + + // unpack the deviceId, with some input sanity checks + if ( + !empty($unpacked['version']) + && !empty($unpacked['length']) + && $unpacked['version'] >= 121 + && ($length = $unpacked['length']) > 0 && $length <= 32 + ) { + $unpacked = unpack("H" . ($length * 2) . "string", $query, 5); + $deviceId = $unpacked['string']; + } + } + + if (!empty($deviceId)) { + $dev_dir = $log_dir . DIRECTORY_SEPARATOR . $deviceId; if (is_dir($dev_dir) || mkdir($dev_dir, 0770)) { $log_dir = $dev_dir;
View file
kolab-syncroton-2.3.21.tar.gz/lib/kolab_sync_data_calendar.php -> kolab-syncroton-2.3.22.tar.gz/lib/kolab_sync_data_calendar.php
Changed
@@ -308,7 +308,11 @@ $status = isset($attendee['status']) ? $this->attendeeStatusMap[$attendee['status']] : null; if ($this->asversion >= 12) { - $att['attendeeType'] = $type ?: self::ATTENDEE_TYPE_REQUIRED; + if (isset($attendee['cutype']) && strtolower($attendee['cutype']) == 'resource') { + $att['attendeeType'] = self::ATTENDEE_TYPE_RESOURCE; + } else { + $att['attendeeType'] = $type ?: self::ATTENDEE_TYPE_REQUIRED; + } $att['attendeeStatus'] = $status ?: self::ATTENDEE_STATUS_UNKNOWN; } @@ -503,6 +507,10 @@ 'email' => $attendee->email, ); + if (isset($attendee->attendeeType) && $attendee->attendeeType == self::ATTENDEE_TYPE_RESOURCE) { + $_attendee['cutype'] = 'RESOURCE'; + } + if (isset($attendee->attendeeStatus)) { $_attendee['status'] = $attendee->attendeeStatus ? array_search($attendee->attendeeStatus, $this->attendeeStatusMap) : null; if (!$_attendee['status']) {
View file
kolab-syncroton.dsc
Changed
@@ -2,7 +2,7 @@ Source: kolab-syncroton Binary: kolab-syncroton Architecture: all -Version: 2.3.21-0~kolab1 +Version: 2.3.22-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.21.tar.gz + 00000000000000000000000000000000 0 kolab-syncroton-2.3.22.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
.