Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contacts migration #31673

Merged
merged 6 commits into from
Apr 7, 2022
Merged

Contacts migration #31673

merged 6 commits into from
Apr 7, 2022

Conversation

Pytal
Copy link
Member

@Pytal Pytal commented Mar 23, 2022

To Do

  • Export and import
  • Integration tests

Most of the 42k added lines are base64 encoded images contained in the *.vcf files for tests

@Pytal Pytal added enhancement 2. developing Work in progress feature: dav feature: carddav Related to CardDAV internals feature: user migration Related to User migration labels Mar 23, 2022
@Pytal Pytal added this to the Nextcloud 24 milestone Mar 23, 2022
@Pytal Pytal self-assigned this Mar 23, 2022
@Pytal Pytal force-pushed the feat/contacts-migration branch from 07b953d to e70db40 Compare March 24, 2022 04:26
@skjnldsv skjnldsv mentioned this pull request Mar 24, 2022
@Pytal Pytal force-pushed the feat/contacts-migration branch 2 times, most recently from 699fc5a to 8842632 Compare March 26, 2022 02:44
@Pytal
Copy link
Member Author

Pytal commented Mar 26, 2022

@tcitworld I've tried the way suggested in #30963 (comment) and it seems to have the same results but adds more code than the CardDavBackend way, so unless there is a notable benefit I'll stick with the current CardDavBackend way as it's cleaner and helps abstract away complexity

@Pytal Pytal force-pushed the feat/contacts-migration branch 2 times, most recently from 8c81905 to d5743ff Compare March 29, 2022 04:53
apps/dav/lib/UserMigration/ContactsMigrator.php Outdated Show resolved Hide resolved
apps/dav/lib/UserMigration/ContactsMigrator.php Outdated Show resolved Hide resolved
apps/dav/lib/UserMigration/ContactsMigrator.php Outdated Show resolved Hide resolved
apps/dav/lib/UserMigration/ContactsMigrator.php Outdated Show resolved Hide resolved
@Pytal Pytal force-pushed the feat/contacts-migration branch 2 times, most recently from 2ae95e0 to 7145d27 Compare March 30, 2022 00:57
@Pytal Pytal added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Mar 30, 2022
@Pytal Pytal requested review from come-nc and tcitworld March 30, 2022 01:07
@Pytal Pytal marked this pull request as ready for review March 30, 2022 01:08
@Pytal Pytal requested a review from CarlSchwan March 30, 2022 01:09
apps/dav/lib/UserMigration/ContactsMigrator.php Outdated Show resolved Hide resolved
apps/dav/lib/UserMigration/ContactsMigrator.php Outdated Show resolved Hide resolved
Pytal added 5 commits March 30, 2022 18:28
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
@Pytal Pytal requested a review from come-nc March 30, 2022 18:29
@Pytal Pytal force-pushed the feat/contacts-migration branch from 7145d27 to 53c9edc Compare March 30, 2022 18:29
@blizzz blizzz mentioned this pull request Mar 31, 2022
@Pytal Pytal requested a review from miaulalala March 31, 2022 17:50
Signed-off-by: Christopher Ng <chrng8@gmail.com>
@Pytal Pytal requested a review from artonge April 6, 2022 22:53
@blizzz blizzz mentioned this pull request Apr 7, 2022
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@PVince81 PVince81 merged commit 4bb8e94 into master Apr 7, 2022
@PVince81 PVince81 deleted the feat/contacts-migration branch April 7, 2022 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement feature: carddav Related to CardDAV internals feature: dav feature: user migration Related to User migration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants