Cloud storage: rethink the terminology used

Cloud storage makes more sense that remote storage - at least I assume
that more people are used to thinking about "storing things in the cloud".

Don't use PIN or passphrase, call it a password everywhere.

Don't use copy_string() to copy the password - the git credentials routine
asserts that password is not NULL, so make sure we at least have a pointer
to an empty string here.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-05-31 17:42:12 -07:00
parent 97ef9d0ee8
commit a6b6674780
5 changed files with 31 additions and 33 deletions

View file

@ -420,7 +420,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label_16b">
<property name="toolTip">
<string extracomment="Email address used for the Subsurface remote storage infrastructure"/>
<string extracomment="Email address used for the Subsurface cloud storage infrastructure"/>
</property>
<property name="text">
<string>Email address</string>
@ -430,24 +430,24 @@
<item row="0" column="1">
<widget class="QLabel" name="label_16c">
<property name="text">
<string>PIN</string>
<string>Password</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLineEdit" name="remote_storage_email">
<widget class="QLineEdit" name="cloud_storage_email">
<property name="toolTip">
<string extracomment="Email address used for the Subsurface remote storage infrastructure"/>
<string extracomment="Email address used for the Subsurface cloud storage infrastructure"/>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="remote_storage_pin"/>
<widget class="QLineEdit" name="cloud_storage_password"/>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="save_PIN_local">
<widget class="QCheckBox" name="save_password_local">
<property name="text">
<string>Save PIN locally?</string>
<string>Save Password locally?</string>
</property>
</widget>
</item>
@ -1733,13 +1733,13 @@
</connection>
</connections>
<buttongroups>
<buttongroup name="buttonGroup_7"/>
<buttongroup name="buttonGroup_4"/>
<buttongroup name="buttonGroup_2"/>
<buttongroup name="buttonGroup_5"/>
<buttongroup name="buttonGroup_6"/>
<buttongroup name="verticalSpeed"/>
<buttongroup name="buttonGroup_4"/>
<buttongroup name="buttonGroup_3"/>
<buttongroup name="buttonGroup_5"/>
<buttongroup name="buttonGroup"/>
<buttongroup name="buttonGroup_6"/>
<buttongroup name="buttonGroup_7"/>
<buttongroup name="verticalSpeed"/>
</buttongroups>
</ui>