contacts icon indicating copy to clipboard operation
contacts copied to clipboard

[Enhancement] Search for duplicates and merge them

Open aspdye opened this issue 9 years ago • 11 comments

aspdye avatar Mar 30 '16 07:03 aspdye

If we want to do a check for approximate Names, we can use the jaro-winkler algorithm, it's pretty amazing!

skjnldsv avatar Mar 30 '16 09:03 skjnldsv

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. :-)

raf64flo avatar Aug 21 '16 20:08 raf64flo

I'd be happy to test it as soon as possible. :-)

I'd be happy to see contributions ....

DeepDiver1975 avatar Aug 22 '16 08:08 DeepDiver1975

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.

raf64flo avatar Aug 22 '16 20:08 raf64flo

Should this be an automatic process or something that the user can actually do eg: from the settings menu?

snaiperskaya96 avatar Jan 25 '17 17:01 snaiperskaya96

A manual process.

DeepDiver1975 avatar Jan 25 '17 22:01 DeepDiver1975

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...

garbast avatar Jan 30 '17 14:01 garbast

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.

ThePlatzhalter avatar Apr 16 '17 13:04 ThePlatzhalter

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? :)

ThePlatzhalter avatar Apr 17 '17 14:04 ThePlatzhalter

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

DeepDiver1975 avatar Jul 03 '17 19:07 DeepDiver1975

Is there a reason this is still an open issue? Did the PoC of @ThePlatzhalter work?

waltertamboer avatar Jan 13 '23 20:01 waltertamboer