1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-29 07:20:47 +00:00
TiddlyWiki5/plugins/tiddlywiki/upgrade/UpgradeWizard.tid
Jermolene e40a0c07b8 Fix support for upgrading encrypted wikis
Importing an encrypted wiki ordinarily doesn’t place the password in
the password vault on the basis that one ought to be able to import
from a file without automatically inheriting its password.

Now there’s a configuration option that can be used by the upgrade
plugin to cause the password vault to be updated with any password
entered by the user. The end result is that the user only needs to
enter their password once.
2014-07-16 10:06:24 +01:00

59 lines
1.3 KiB
Plaintext

title: $:/UpgradeWizard
tags: $:/tags/StoryBackdrop
<div class="tw-upgrade-wizard-wrapper">
<div class="tw-upgrade-wizard">
! ~TiddlyWiki Upgrade Wizard
<$list filter="[[$:/Import]is[missing]]">
{{$:/core/images/download-button}}
Drag a ~TiddlyWiki file here to upgrade it
or click to pick a file <$browse/>
---
//Your data will not leave your browser. [[Download|http://tiddlywiki.com/upgrade.html]] this upgrader to use it offline//
</$list>
<$reveal state="$:/Import!!status" type="match" text="pending">
The following tiddlers will be included in the upgrade <$button message="tw-perform-import" param="$:/Import">Upgrade</$button>
<$set name="storyTiddler" value="$:/Import">
{{$:/Import||$:/core/ui/ImportListing}}
</$set>
</$reveal>
<$reveal state="$:/Import!!status" type="match" text="complete">
Upgrade completed. Click the button below to save your upgraded ~TiddlyWiki file
<$reveal type="match" state="$:/isEncrypted" text="yes">
The file will be encrypted with your existing password
</$reveal>
{{$:/plugins/tiddlywiki/upgrade/save}}
Make sure that you keep a safe copy of your previous ~TiddlyWiki file.
Close this browser window to prevent others from being able to access your data.
For help and support, visit [[the TiddlyWiki discussion forum|http://groups.google.com/group/TiddlyWiki]].
</$reveal>
</div>
</div>