- 20 Oct, 2020 1 commit
-
-
Andrew den Exter authored
[contacts] Backport notification changes to 3.4.0. Contributes to JB#51257 See merge request !21
-
- 09 Sep, 2020 1 commit
-
-
Andrew den Exter authored
-
- 25 Jun, 2020 1 commit
-
-
kende authored
[libcontacts] Avoid crash from null ContactManagerEngine See merge request mer-core/libcontacts!19
-
- 24 Jun, 2020 1 commit
-
-
kende authored
-
- 08 Jun, 2020 1 commit
-
-
Matti Kosola authored
Use macros, not hardcoded paths. See merge request mer-core/libcontacts!18
-
- 29 May, 2020 1 commit
-
-
Matti Kosola authored
Signed-off-by:
Matti Kosola <matti.kosola@jolla.com>
-
- 07 Feb, 2020 1 commit
-
-
Venemo authored
More robust phone number matching using libphonenumber See merge request mer-core/libcontacts!15
-
- 04 Feb, 2020 2 commits
-
-
Timur Kristóf authored
-
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.
-
- 29 Jan, 2020 2 commits
-
-
Timur Kristóf authored
-
Timur Kristóf authored
[libcontacts] Filter out false positive matches even if there is only one query result. Contributes to JB#38835
-
- 25 Nov, 2019 2 commits
- 19 Nov, 2019 1 commit
-
-
chriadam authored
This is the role whose data matched the filter pattern.
-
- 08 Jul, 2019 2 commits
- 03 Jul, 2019 1 commit
-
-
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.
-
- 03 Jun, 2019 1 commit
-
-
blam authored
[libcontacts] Emit saveContactComplete() when appropriate. Contributes to JB#45633 See merge request mer-core/libcontacts!13
-
- 28 May, 2019 1 commit
-
-
chriadam authored
When a new contact is created via a save operation, the backend will create that local constituent and also an aggregate for it. The UI often wants to know that newly created aggregate's ID, e.g. to show the contact card.
-
- 17 May, 2019 2 commits
- 16 May, 2019 1 commit
-
-
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.
-
- 30 Apr, 2019 3 commits
-
-
chriadam authored
And remove blts-tools dependency as that is no longer available
-
chriadam authored
[libcontacts] Explicitly tell models to update section bucket index caches. Contributes to JB#45504 See merge request mer-core/libcontacts!11
-
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.
-
- 18 Apr, 2019 2 commits
- 17 Apr, 2019 1 commit
-
-
chriadam authored
The qtcontacts-sqlite backend will emit dataChanged() when the group property changes and it updates its internal data structures accordingly. This commit ensures that when this signal is received by libcontacts, it will force all models to update all source data, to ensure that the group labels are updated appropriately.
-
- 15 Apr, 2019 3 commits
- 08 Mar, 2019 1 commit
-
-
chriadam authored
-
- 31 Aug, 2018 1 commit
-
-
pvuorela authored
Fix recursive resolve See merge request mer-core/libcontacts!6
-
- 30 Aug, 2018 2 commits
-
-
pvuorela authored
-
pvuorela authored
ResolveListener::addressResolved() implementations can do silly things like start resolving for something it just received information for. That ended up new request being filtered out as duplicate request but then never getting response with addressResolved. Above case with libcommhistory / RecentContactsModel.
-
- 14 Nov, 2017 2 commits
-
-
Raine Makelainen authored
[libcontacts] Fix defines from public header. Contributes to JB#39107 See merge request !5
-
Raine Makelainen authored
-
- 11 Oct, 2016 2 commits
-
-
chriadam authored
-
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
-
- 10 Oct, 2016 1 commit
-
-
chriadam authored
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
-