-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upload migration files from profile settings and start processing
- Loading branch information
Showing
15 changed files
with
264 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,3 +77,4 @@ diaspora.iml | |
|
||
# WebTranslateIt | ||
.wti | ||
/__MACOSX/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
.modal.fade{id: "importAccountModal", | ||
tabindex: "-1", | ||
role: "dialog", | ||
aria: {labelledby: "importAccountModalLabel", hidden: "true"}} | ||
.modal-dialog | ||
.modal-content | ||
.modal-header | ||
%button.close{type: "button", data: {dismiss: "modal"}, aria: {hidden: "true"}} | ||
× | ||
%h3.modal-title{id: "importAccountModalLabel"} | ||
Import another account | ||
.modal-body | ||
%p | ||
You are about to import and merge another account into | ||
= current_user.diaspora_handle | ||
/. | ||
Here is what's going to happen: | ||
%ol | ||
%li | ||
Your profile (name, bio, birthday, gender...) will be updated with the content from the imported account | ||
%li | ||
Your settings (theme, visibility...) will be updated with those from the imported account | ||
%li | ||
All your aspects and contacts will be added to this account. This will be transparent for them, they | ||
will be linked to that account as they were linked with the account you are importing | ||
%li | ||
All posts and comments you made with the imported account will be imported in that account and seen | ||
as posted by this accounts by the other users | ||
%li | ||
%strong | ||
The imported account and all its linked data will be deleted from the previous pod. | ||
%p | ||
If the pod of the account you are importing is offline, your contacts and posts will still be imported, | ||
but your contacts will receive a notification as if you started sharing with them. | ||
= form_for current_user, url: edit_user_path, html: {method: :put, multipart: true, class: "form-horizontal"} do |f| | ||
.row | ||
.col-md-6 | ||
%label Select the data archive: | ||
= f.file_field :export, accept: "application/json, application/zip, application/gzip" | ||
.col-md-6 | ||
%label Select the photos archive: | ||
= f.file_field :exported_photos_file, accept: "application/zip" | ||
%h4 | ||
The original account will be imported | ||
%strong | ||
and deleted. This cannot be undone! | ||
%p | ||
.clearfix | ||
.btn.btn-default{data: {dismiss: "modal"}} | ||
Cancel | ||
= f.submit 'Import and merge', class: "btn btn-primary.pull-right", id: "change_email_preferences" | ||
Oops, something went wrong.