[Enhancement] Search for duplicates and merge them
If we want to do a check for approximate Names, we can use the jaro-winkler algorithm, it's pretty amazing!
Such a feature is a must have for a contact app. I'm surprised it has never been implemented since almost 4 years it is discussed: https://github.com/owncloud/apps/issues/314 https://github.com/owncloudarchive/contacts/issues/102 I'd be happy to test it as soon as possible. :-)
I'd be happy to test it as soon as possible. :-)
I'd be happy to see contributions ....
Unfortunately, I can't help for code contribution. But I keep an eye here if I can give feedback the day when developers will be able to consider this feature.
Should this be an automatic process or something that the user can actually do eg: from the settings menu?
A manual process.
A manual process would be a great help. I have 550 records which most are multiples of entries that were exported from gmail and need to be merged now. Would be a very unpleasent process...
I started working on this. My solution will search for contacts with the same name and merge them automatically, providing a possibility to review the changes before they are made persistent and either apply all, or select which ones to apply and which ones not to individually.
Contacts with ... ...the same Mail Adress
The same mail address with different names is not a realistic scenario in my opinion.
I just finished a working proof of concept of the merging feature: https://github.com/ThePlatzhalter/contacts
I didn't pull request yet, because it still has some flaws i will be working on later. For example, I want the duplicates page to redirect to the contacts list once "Merge all" has completed. Also, I did not find the time to implement suitable icons, so the icons on the buttons are just there so they're not empty (for example, the "Merge all" button has the +-symbol of the "Create contact" button).
It should be working though and ready to be tested for functionality. How it works should be self-explanatory, just clone my repo into the apps folder of your ownCloud installation, build and enable it and you should be seeing the differences.
@raf64flo @aspdye @DeepDiver1975 Are you guys free to try it out? :)
I didn't pull request yet, because it still has some flaws i will be working on later.
feel free to submit the pr - we can discuss details on code basis then. THX
Is there a reason this is still an open issue? Did the PoC of @ThePlatzhalter work?