Skip to content

Commit

Permalink
Disable sync for official release
Browse files Browse the repository at this point in the history
  • Loading branch information
adrium committed Apr 13, 2020
1 parent 094a4df commit a07c3f3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
4 changes: 3 additions & 1 deletion locale/en_US/panel/pages/Sync.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
"reauthorize": "Reauthorize…",
"do_sync": "Upload now",
"disable": "Disable sync",
"disabled_heading": "Sync disabled",
"disabled_text": "Sync is disabled for the official release due to missing API keys.",
"disable_confirmation": "Do you really want to disable sync functionality? Your data will no longer be backed up to your provider automatically.",

"selection_label": "Please select your storage provider:",
"selection_label": "Available storage providers:",
"how_heading": "How does this work?",
"how_text": "You grant AEP access to a directory within your personal account on Dropbox or another storage provider. This access will be used to upload a file with encrypted data regularly. It's the same data as with your manual backup, but you can connect multiple devices to the same account and changes will propagate to all of them automatically – assuming that they all use the same master password.",
"security_heading": "Is this safe?",
Expand Down
11 changes: 9 additions & 2 deletions ui/panel/pages/Sync.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,23 @@
</a>
</div>

<div class="block-start sync-section">{{ $t("how_heading") }}</div>
<div class="block-start sync-section">{{ $t("disabled_heading") }}</div>
<div class="sync-explanation">
{{ $t("how_text") }}
{{ $t("disabled_text") }}
<!--
<external-link type="documentation" param="sync">
{{ $t(".learn_more") }}
</external-link>
-->
</div>

<!--
<div class="block-start sync-section">{{ $t("security_heading") }}</div>
<div class="sync-explanation">{{ $t("security_text") }}</div>

<div class="block-start sync-section">{{ $t("no_account_heading") }}</div>
<div class="sync-explanation">{{ $t("no_account_text") }}</div>
-->
</template>

<manual-auth v-if="manualAuthCallback"
Expand Down Expand Up @@ -148,6 +152,9 @@ export default {
});
},
authorize(provider, username)
{
},
authorizeDisabled(provider, username)
{
if (provider == "remotestorage" && !username)
{
Expand Down
7 changes: 7 additions & 0 deletions ui/panel/panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,13 @@ a.iconic-link:hover
font-size: 120%;
font-weight: bold;
color: $text-color;
opacity: 0.25;
cursor: default;

&:hover
{
text-decoration: none;
}
}

.sync-provider-icon
Expand Down

0 comments on commit a07c3f3

Please sign in to comment.