1. 02 Apr, 2019 2 commits
    • chriadam's avatar
      [buteo-sync-plugin-carddav] Allow sync of non .vcf resources. Contributes to MER#1863 · ff465bda
      chriadam authored
      Previously, we only synced resources returned by the server in
      response to an etags request, if those resources ended in ".vcf".
      
      This commit modifies the behaviour so that we assume that any resource
      which has a suffix which is not ".vcf" (e.g., ".ics" or ".eml") should
      be ignored, but other resources without a suffix should be synced.
      
      This allows us to sync in cases where the remote resource is found at
      a path like "/carddav/Addressbooks/personal/johnsmith" rather than
      a path like "/carddav/Addressbooks/personal/johnsmith.vcf".
      
      Contributes to MER#1863
      ff465bda
    • chriadam's avatar
      [buteo-sync-plugin-carddav] Prefer definite addressbook resources. Contributes to JB#43847 · 2fd6390f
      chriadam authored
      Some services (e.g. Memotoo) do not produce output which conforms
      to the RFC, specifically they don't tag their addressbook resources
      with the appropriate resource-type tag.
      
      Previously, we worked around that case by assuming that a resource
      which otherwise meet the requirements must be an addressbook resource.
      
      This commit fixes the behaviour so that we only assume that such
      a resource is an addressbook resource if NO OTHER resources are
      explicitly tagged with the appropriate resource-type tag.
      
      This fixes upsync with e.g. Yandex.
      
      Contributes to JB#43847
      2fd6390f
  2. 09 May, 2017 1 commit
  3. 12 Dec, 2016 1 commit
  4. 09 Dec, 2016 1 commit
  5. 11 Oct, 2016 1 commit
    • chriadam's avatar
      [buteo-sync-plugin-carddav] Detect non-addressbook resources. Contributes to MER#1657 · 06e51b26
      chriadam authored
      This commit adds a check in our handling for resources during
      addressbook information parsing, by ensuring that we require that
      a resource be an addressbook collection resource in order to be
      treated as one.  Previously, the code only checked that the
      status code associated with the resource was 200 OK, due to an
      omission of a variable check.
      
      Contributes to MER#1657
      06e51b26
  6. 10 Oct, 2016 1 commit
    • chriadam's avatar
      Add unit test framework to allow testing ReplyParser functionality · 2dbd14fd
      chriadam authored
      This commit adds a unit test framework to allow the ReplyParser
      to be properly unit tested.  The ReplyParser is where any response
      from a remote CardDAV server is parsed and converted into valid
      values, and thus it is the most common point of failure.
      2dbd14fd