Permalink
Commits on May 16, 2018
  1. Fix typo

    msphn committed May 16, 2018
Commits on May 15, 2018
  1. Merge pull request #2 from tine20/pu/travis

    msphn committed May 15, 2018
    add travis
  2. add travis badge

    msphn committed May 15, 2018
  3. remove mysql from travis config

    msphn committed May 15, 2018
  4. add travis

    msphn committed May 15, 2018
Commits on May 14, 2018
  1. adds README.md

    pschuele committed May 14, 2018
    Change-Id: If896935b0e809e0f4db3aa45e39b4f2d29bc6c1d
Commits on Mar 1, 2018
  1. Corrected command name (Moves -> MoveItems)

    alecpl authored and pschuele committed Mar 1, 2018
    * also adjusted the tests
    
    Change-Id: Id96fb4357f49b5b8e7c19857d81ecb285bfe4629
    Reviewed-on: https://gerrit.tine20.org/syncroton/319
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
    Tested-by: Philipp Schüle <p.schuele@metaways.de>
  2. Don't send empty DstMsgId

    alecpl authored and pschuele committed Mar 1, 2018
    DstMsgId is an optional element, so if backend does not return new message id on move
    we should just skip it.
    
    Change-Id: I925c572c715874cc064054bbbda26ee61edfe429
    Reviewed-on: https://gerrit.tine20.org/syncroton/323
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
    Tested-by: Philipp Schüle <p.schuele@metaways.de>
  3. Improve detection of folder hierarchy changes in case backend does no…

    alecpl authored and pschuele committed Mar 1, 2018
    …t do that well.
    
    On some backends getChangedFolders() can return an empty result.
    We make sure all is detected by comparing folder properties.
    
    Change-Id: Ic8de4a9a5bb8c40d1cbe3b159d01a5f3d4e897f6
    Reviewed-on: https://gerrit.tine20.org/syncroton/321
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
    Tested-by: Philipp Schüle <p.schuele@metaways.de>
Commits on Oct 9, 2017
  1. Add option to limit max number of folders in Sync/Ping request

    alecpl authored and pschuele committed Oct 6, 2017
    When using Outlook we observed that it can send Sync requests
    for all existing folders, which could be a few hundred.
    In such a case the Sync takes a few minutes, because we have to
    check all folders, even if they already have been synced. This is
    slowing down the whole process significantly.
    
    Change-Id: Id020b3dd50bbe68f0b70482df38bd72f0670ec57
    Reviewed-on: https://gerrit.tine20.org/syncroton/313
    Tested-by: Philipp Schüle <p.schuele@metaways.de>
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Commits on Oct 6, 2017
  1. commented some failing assertions

    pschuele committed Oct 6, 2017
    TODO: find out why they fail ...
    
    Change-Id: I5f3154c95202e0bfb32d3449082d82a9d4944b7e
    Reviewed-on: https://gerrit.tine20.org/syncroton/317
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
    Tested-by: Philipp Schüle <p.schuele@metaways.de>
  2. adds android major version detection

    pschuele committed Oct 6, 2017
    Change-Id: I2071968dd3cbdb0e17688e625f48644ab2cde128
    Reviewed-on: https://gerrit.tine20.org/syncroton/311
    Tested-by: Philipp Schüle <p.schuele@metaways.de>
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
  3. fixes Autodiscover command

    pschuele committed Oct 6, 2017
    ... xml namespaces beginning with digits are not allowed
    
    Change-Id: I559e9e8b5c5256604d8844f744b1656728fb539d
    Reviewed-on: https://gerrit.tine20.org/syncroton/315
    Tested-by: Philipp Schüle <p.schuele@metaways.de>
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Commits on Aug 2, 2017
  1. Merge branch '1.3'

    pschuele committed Aug 2, 2017
  2. Nicely handle exceptions on hasChanges() call

    alecpl authored and pschuele committed Jun 4, 2017
    I noticed errors in the log when a device used Sync on a non-existing folder.
    
    Change-Id: I30ec8f7c407c5827acb5b7d8f6f44f81ff9a3e18
    Reviewed-on: https://gerrit.tine20.org/syncroton/310
    Tested-by: jenkins
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
  3. Detection of folder hierarchy changes in Ping

    alecpl authored and pschuele committed Jun 4, 2017
    ActiveSync clients are expected to send FolderSync request ocassionally.
    Some send it more some less often. It's hard to predict the interval. Outlook
    for example does not send it even on strart.
    
    Ping requests on the other hand are send in specified and predictable intervals.
    So, the idea is to detect folder hierarchy changes in Ping request and if that
    is a case return with specific error code to cause FolderSync.
    
    Until now we have been detecting only removal of Pinged folders. Now we can detect any
    changes, i.e. new folders.
    
    The change provides a bootstrap code that have to be implemented by backend classes.
    
    Change-Id: I624d6b4682804f40a72ec64515487be0f4069668
    Reviewed-on: https://gerrit.tine20.org/syncroton/309
    Tested-by: jenkins
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
  4. catch database exceptions during sync loop #2

    pschuele committed May 29, 2017
    ... and break the loop with error status
    
    db exceptions might occur when fetching device
    
    Change-Id: I94f29428abbe95eb6ff382746adc9cd8bcc6f1eb
    Reviewed-on: https://gerrit.tine20.org/syncroton/308
    Tested-by: jenkins
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Commits on Jan 5, 2017
  1. Merge branch '1.3'

    pschuele committed Jan 5, 2017
  2. catch database exceptions during sync loop

    pschuele committed Jan 3, 2017
    ... and break the loop with error status
    
    to prevent that ping lasts forever because
    the db connection was closed at some point
    
    see 0012490: catch database exceptions during sync loop
    https://forge.tine20.org/view.php?id=12490
    
    Change-Id: I49cf6ecf8f12568901dd059586375854a3c894a3
    Reviewed-on: https://gerrit.tine20.org/syncroton/306
    Tested-by: jenkins
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Commits on Dec 14, 2016
  1. Remove duplicate Policy element definition

    alecpl authored and pschuele committed Nov 28, 2016
    Change-Id: I8f06699c88dd8df7a93b84619cab8e3ffaba5950
    Reviewed-on: https://gerrit.tine20.org/syncroton/304
    Tested-by: jenkins
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Commits on Nov 8, 2016
  1. Merge branch '1.3'

    pschuele committed Nov 8, 2016
  2. Merge branch '1.2' into 1.3

    pschuele committed Nov 8, 2016
Commits on Nov 7, 2016
  1. attachment name parameter might have zero length

    pschuele committed Nov 3, 2016
    see
    0011720: ActiveSync stopped working when signed and
     / or encrypted S/MIME Mails are sent over ActiveSync
    https://forge.tine20.org/view.php?id=11720
    
    Change-Id: I7122e4c6c7907ee1ccd9657140a047496b952fa1
    Reviewed-on: https://gerrit.tine20.org/syncroton/303
    Tested-by: jenkins
    Reviewed-by: Aleksander Machniak <machniak@kolabsys.com>
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Commits on Nov 1, 2016
  1. Merge branch '1.3'

    pschuele committed Nov 1, 2016
  2. Merge branch '1.2' into 1.3

    pschuele committed Nov 1, 2016
  3. Revert "0012178: fix encoder to cope with broken xml characters"

    pschuele committed Oct 31, 2016
    This reverts commit 688d796.
    
    * adds a test that creates a syncroton record with invalid chars
    
    0012258: Tinebase/Mail.php::convertFromTextToHTML exhausts memory
    https://forge.tine20.org/view.php?id=12258
    
    Change-Id: Idfa3b073dd7a853a52b26c0104658dc4c0677df5
    Reviewed-on: https://gerrit.tine20.org/syncroton/301
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
    Tested-by: Philipp Schüle <p.schuele@metaways.de>
  4. Fix errors on some non-character unicode sequences.

    alecpl authored and pschuele committed Oct 19, 2016
    XML Parser fails on two unicode sequences: \xEF\xBF\xBE and \xEF\xBF\xBF.
    See https://git.kolab.org/T1311
    
    Change-Id: I7eeb2bb0a119ff558ae7952fe5d04a7bc3e56707
    Reviewed-on: https://gerrit.tine20.org/syncroton/300
    Tested-by: jenkins
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
    Reviewed-on: https://gerrit.tine20.org/syncroton/302
Commits on Oct 21, 2016
  1. Fix errors on some non-character unicode sequences.

    alecpl authored and pschuele committed Oct 19, 2016
    XML Parser fails on two unicode sequences: \xEF\xBF\xBE and \xEF\xBF\xBF.
    See https://git.kolab.org/T1311
    
    Change-Id: I7eeb2bb0a119ff558ae7952fe5d04a7bc3e56707
    Reviewed-on: https://gerrit.tine20.org/syncroton/300
    Tested-by: jenkins
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Commits on Sep 29, 2016
  1. Implement Sleep/Wakeup callbacks

    alecpl authored and pschuele committed Sep 21, 2016
    The purpose of this is to close external connections (DB/memcache/IMAP)
    when doing sleep() for Ping/Heartbeat.
    
    https://forge.tine20.org/view.php?id=12236
    
    Change-Id: Iac7e291c996fe8a18f6a9054d7e70477a28b6a1b
    Reviewed-on: https://gerrit.tine20.org/syncroton/299
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
    Tested-by: Philipp Schüle <p.schuele@metaways.de>
Commits on Sep 11, 2016
  1. Merge branch '1.3'

    pschuele committed Sep 11, 2016
  2. Merge branch '1.2' into 1.3

    pschuele committed Sep 11, 2016
  3. improving handling of invalid XML characters

    paulmhh authored and pschuele committed Sep 9, 2016
    Change-Id: I64e20f94c5945cbce6a1c98bc658d1ffab30cc65
    Reviewed-on: https://gerrit.tine20.org/syncroton/297
    Tested-by: jenkins
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Commits on Sep 7, 2016
  1. Merge branch '1.2'

    pschuele committed Sep 7, 2016
  2. 0012178: fix encoder to cope with broken xml characters

    paulmhh authored and pschuele committed Sep 7, 2016
    * and add test for invalid XML characters
    
    https://forge.tine20.org/view.php?id=12178
    
    Change-Id: I7dab5f0d6528e0dd50e8ed17b6d025845e2dd16a
    Reviewed-on: https://gerrit.tine20.org/syncroton/295
    Tested-by: jenkins
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
  3. handle empty $collectionData->folder

    pschuele committed Aug 13, 2014
    Change-Id: Ifd4ab142caec53a8a674a3c5b260c5366f983aac
    Reviewed-on: https://gerrit.tine20.org/syncroton/290
    Tested-by: jenkins
    Reviewed-by: Philipp Schüle <p.schuele@metaways.de>