• Sebastian Kummer's avatar
    Merging in latest from upstream (ZP/z-push:refs/heads/develop) · 1c7e6c9d
    Sebastian Kummer authored
    * commit '220672cb': (21 commits)
      ZP-779 Remove unnecessary code.
      ZP-779 Only use folderid prefix in importer if it is the new int one. Fix Fetch() in Zarafa backend to work with new longids.
      ZP-779 Use folderid (if available) in serverentryid to identify message.
      ZP-866 Remove debug.
      ZP-878 Set IpcSharedMemoryProvider as default IPC_PROVIDER in develop.
      ZP-821 Updated composer.json to include backend folder, removed includes from Combined, IMAP, MailDir, VCardDir and Zarafa backends, removed includes from Zarafa's subcomponents, removed include in InterProcessData, added config include to IpcMemcachedProvider, fixed typo in StringStreamWrapper, fixed typos of MAPIStreamWrapper.
      ZP-877 Honour changing sync period on the mobile.
      ZP-876 Use static list instead a constant.
      ZP-698 Renamed getIsDownTime() to getIsDownUntil().
      ZP-698 Fixed name as it was wrong in the correction comments.
      ZP-698 Another dot in a class that shouldn't need to be touched.
      ZP-698 added a dot before someone gets crazy and writes another 64 comments about it.
      ZP-698 fixed typo in memcached provider filename, when waiting for a mutex only log up to 5 messages (spread over the configured total amount of time), if memcache is down don't retry in other connections for up to 30 seconds (configurable), removed TCP_NODELAY and NO_BLOCK options, memcache servers are setup in a single string, renamed ReInitSharedMem() to ReInitIPC(), fixed comments and public/private/protected visibility, fixed upper/lowercasing of method names, added some dots.
      ZP-838 Changed description and default value to 512. Updated link to ticket ZP-302.
      ZP-698 Remove debug.
      ZP-698 Renamed IPC backend to IPC Provider, added general config section, added config file for memcache provider, InterProcessData autoloads available IPC providers.
      ZP-866 Save if a new state was being confirmed and should be used by empty sync requests. If the state is not confirmed (requested at least once by the mobile), the old state is used and the change is potentially being exported again.
      ZP-779 Quick & dirty fix, by prepending the folder sourcekey to each message id. "Fixes" the issue, but is ugly.
      ZP-698 Allow different IPC backends using current IPC logic. Released under the Affero GNU General Public License (AGPL) version 3. adding a Memcached backend and - by default disabled - configuration in config.php
      ZP-698 Allow different IPC backends using current IPC logic. Released under the Affero GNU General Public License (AGPL) version 3. split up into a backend interface, a SHM backend and abstract class
      ...
    1c7e6c9d
mapiprovider.php 122 KB