Projects
Kolab:16:Testing:Candidate
kolab-syncroton
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 28
View file
kolab-syncroton.spec
Changed
@@ -37,7 +37,7 @@ %global upstream_version 2.4.2 Name: kolab-syncroton -Version: 2.4.2.4 +Version: 2.4.2.5 Release: 1%{?dist} Summary: ActiveSync for Kolab Groupware
View file
debian.changelog
Changed
@@ -1,4 +1,4 @@ -kolab-syncroton (2.4.2.4-0~kolab1) unstable; urgency=low +kolab-syncroton (2.4.2.5-0~kolab1) unstable; urgency=low * Release version 2.4.2
View file
kolab-syncroton-2.4.2.tar.gz/lib/kolab_sync_data_email.php
Changed
@@ -406,9 +406,9 @@ $meeting = array(); $meeting'allDayEvent' = $event'allday' ?? null ? 1 : 0; - $meeting'startTime' = $event'start'; - $meeting'dtStamp' = $event'created' ?? null; - $meeting'endTime' = $event'end' ?? null; + $meeting'startTime' = self::date_from_kolab($event'start'); + $meeting'dtStamp' = self::date_from_kolab($event'dtstamp' ?? null); + $meeting'endTime' = self::date_from_kolab($event'end' ?? null); $meeting'location' = $event'location' ?? null; //TODO implement recurrences. We can't detect exceptions like this (don't know how), and the recurrences structure is different from event,
View file
kolab-syncroton-2.4.2.tar.gz/tests/globalid_converter.php
Changed
@@ -1,11 +1,11 @@ <?php -require_once "../lib/kolab_sync_data.php"; -require_once "../lib/kolab_sync_data_email.php"; - class globalid_converter extends PHPUnit\Framework\TestCase { - function test_decode() + /** + * Test GlobalObjId encoding/decoding + */ + function test_globalobjid() { // https://learn.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-asemail/e7424ddc-dd10-431e-a0b7-5c794863370e $input = 'BAAAAIIA4AB0xbcQGoLgCAAAAAAAAAAAAAAAAAAAAAAAAAAAMwAAAHZDYWwtVWlkAQAAAHs4MTQxMkQzQy0yQTI0LTRFOUQtQjIwRS0xMUY3QkJFOTI3OTl9AA=='; @@ -17,7 +17,6 @@ $encoded = kolab_sync_data_email::encodeGlobalObjId($output); $this->assertSame($encoded, $input); - $input = 'BAAAAIIA4AB0xbcQGoLgCAfUCRDgQMnBJoXEAQAAAAAAAAAAEAAAAAvw7UtuTulOnjnjhns3jvM='; $output = kolab_sync_data_email::decodeGlobalObjId($input); @@ -34,6 +33,5 @@ $encoded = kolab_sync_data_email::encodeGlobalObjId($output); $this->assertSame($encoded, $input); - base64_decode($encoded); } }
View file
kolab-syncroton-2.4.2.tar.gz/tests/phpunit.xml
Changed
@@ -7,8 +7,10 @@ <file>data.php</file> <file>data_calendar.php</file> <file>data_tasks.php</file> + <file>globalid_converter.php</file> <file>message.php</file> <file>timezone_converter.php</file> + <file>wbxml.php</file> </testsuite> </testsuites> </phpunit>
View file
kolab-syncroton-2.4.2.tar.gz/tests/wbxml.php
Changed
@@ -1,6 +1,6 @@ <?php -class message extends PHPUnit\Framework\TestCase +class wbxml extends PHPUnit\Framework\TestCase { //function testDecode() //{ @@ -881,8 +881,12 @@ $dom = new DOMDocument(); $dom->loadXML($xml); - + + $start = microtime(true); $encoder->encode($dom); + $end = microtime(true); + + $this->assertTrue($end - $start < 0.05); } }
View file
kolab-syncroton.dsc
Changed
@@ -2,7 +2,7 @@ Source: kolab-syncroton Binary: kolab-syncroton Architecture: all -Version: 1:2.4.2.4-1~kolab1 +Version: 1:2.4.2.5-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
.