[bounty] Google+ (private ) communities: export screenscraper + importer

Emails to .invalid addresses are now skipped: https://github.com/discourse/discourse/commit/420c6f81028302b0a538f234988c8a630e7cdc82

We don’t always replace emails for social logins, because users might deliberately want different email addresses for different services. However, in this case it would certainly be better to replace an invalid email address with a real one, so I’ve created this PR which is pending review: https://github.com/discourse/discourse/pull/7163. As part of this, users will automatically be activated.

So, the best state for you to import users is active: false, email:"something@something.invalid", and there is no need to mess with the bounce score.

Also, you may have noticed that we migrated google_user_infos into user_associated_accounts, so you will need to replace GoogleUserInfo references with UserAssociatedAccount.where(provider_name:"google_oauth2")

5 Likes