1. 25 Jun, 2020 1 commit
  2. 24 Jun, 2020 1 commit
  3. 08 Jun, 2020 1 commit
  4. 29 May, 2020 1 commit
  5. 07 Feb, 2020 1 commit
  6. 04 Feb, 2020 2 commits
    • Timur Kristóf's avatar
    • Timur Kristóf's avatar
      [libcontacts] Use libphonenumber for number matching. Contributes to JB#38835 · cdb00054
      Timur Kristóf authored
      This commit yields a significant improvement to how our phone number
      matching works. It gets rid of a lot of false positive matches.
      
      Previously we used a "minimized" number which we stored in the cache
      and used for matching. This lead to false positives between numbers
      for which the "minimized" number was the same when the full wasn't,
      for example when the area code of the number differs in only one digit.
      
      Examples of solved false positive matches:
      "+36 20 123 4567" and "+36 30 123 4567" were matched incorrectly.
      "+36 20 123 4567" and "+44 20 123 4567" were matched incorrectly.
      
      The new approach is to cache the full phone number and perform the
      matching between the full numbers using libphonenumber, which has
      a quite resilient algorithm for this. Local numbers and
      international direct dial (IDD) are still matched:
      
      Examples of local and IDD numbers that still work:
      "+36 20 123 4567" still matches "06 20 123 4567" (local)
      "+36 20 123 4567" still matches "00 36 70 381 0581" (IID)
      
      Limitations:
      We currently do NOT pass a default region code to libphonenumber,
      which means that some false positives can still occour in edge
      cases when a country code would be required to distinguish between
      the two numbers. This only happens when some numbers are supplied
      in a non-international format.
      
      Examples of remaining false positives:
      "06 20 123 4567" is a false positive match of "+1 0620 123 4567"
      "00 36 20 123 4567" is a false positive match of "+1 00 36 20 123 4567"
      
      We deem that the remaining false positives are unlikely enough that
      they don't matter in practice. If this becomes relevant, we will need
      to make it possible to pass a region code to the matching algorithm.
      cdb00054
  7. 29 Jan, 2020 2 commits
  8. 25 Nov, 2019 2 commits
  9. 19 Nov, 2019 1 commit
  10. 08 Jul, 2019 2 commits
  11. 03 Jul, 2019 1 commit
    • chriadam's avatar
      [libcontacts] Update section bucket index cache after deletions. Contributes to JB#46496 · c7112dae
      chriadam authored
      When a contact is deleted, we need to recalculate the section bucket
      index cache as that contact may have been the only contact in a given
      section bucket (display label group).
      
      However, since updating the section bucket index cache is an expensive
      operation, we should only do this once per bulk deletion, so this
      commit also adds support for bulk deletion operations.
      c7112dae
  12. 03 Jun, 2019 1 commit
    • blam's avatar
      Merge branch 'jb45633' into 'master' · 346cbb28
      blam authored
      [libcontacts] Emit saveContactComplete() when appropriate. Contributes to JB#45633
      
      See merge request mer-core/libcontacts!13
      346cbb28
  13. 28 May, 2019 1 commit
  14. 17 May, 2019 2 commits
  15. 16 May, 2019 1 commit
    • chriadam's avatar
      [libcontacts] Also update section bucket index cache during list... · 74aa135a
      chriadam authored
      [libcontacts] Also update section bucket index cache during list synchronisation. Contributes to JB#45836
      
      Batch updates are handled via list synchronisation.  We need to
      ensure that we update the section bucket index cache of any model
      after a list synchronisation occurs.
      74aa135a
  16. 30 Apr, 2019 3 commits
    • chriadam's avatar
      Bump version · 80096fb6
      chriadam authored
      And remove blts-tools dependency as that is no longer available
      80096fb6
    • chriadam's avatar
      Merge branch 'jb45504' into 'master' · 62876e51
      chriadam authored
      [libcontacts] Explicitly tell models to update section bucket index caches. Contributes to JB#45504
      
      See merge request mer-core/libcontacts!11
      62876e51
    • chriadam's avatar
      [libcontacts] Explicitly tell models to update section bucket index caches. Contributes to JB#45504 · 689011e6
      chriadam authored
      When contact data changes in the backend and we have pulled these
      changes into the model, we need to tell the attached models that
      they need to recalculate their cache of section bucket indexes.
      
      Note that we cannot have a single cache of section bucket indexes
      which the models read, as models can have a search filter applied
      which means the indexes of contacts in the seaside cache won't
      necessarily match what the model expects.
      689011e6
  17. 18 Apr, 2019 2 commits
  18. 17 Apr, 2019 1 commit
  19. 15 Apr, 2019 3 commits
  20. 08 Mar, 2019 1 commit
  21. 31 Aug, 2018 1 commit
  22. 30 Aug, 2018 2 commits
  23. 14 Nov, 2017 2 commits
  24. 11 Oct, 2016 2 commits
    • chriadam's avatar
      Increment version number · 12832943
      chriadam authored
      12832943
    • chriadam's avatar
      Merge branch 'mer1664' into 'master' · c6f0e5d5
      chriadam authored
      [libcontacts] Load decomposition translations. Contributes to MER#1664
      
      Previously, we relied on the client application to load the translation
      files prior to performing FN to N decomposition tokenisation.
      This commit ensures that the translations are loaded by libcontacts.
      
      Contributes to MER#1664
      
      See merge request !4
      c6f0e5d5
  25. 10 Oct, 2016 1 commit
  26. 25 Mar, 2016 2 commits