- Added to main menu possibility to export and import all application date.

- Improved encryption/decryption of exported/imported data.  If accounts
  were exported, they need to be exported again.
- Lots of other implemetation improvements.
This commit is contained in:
Juha Heinanen
2019-10-09 11:48:26 +03:00
parent f40c097766
commit ac26c2256d
19 changed files with 420 additions and 300 deletions

View File

@ -103,10 +103,9 @@
Check Apps → baresip → Permissions → Storage."
</string>
<string name="import_accounts">Import</string>
<string name="imported_accounts">Imported accounts from Download folder. You need to restart
baresip.</string>
<string name="imported_accounts">Accounts imported. You need to restart baresip.</string>
<string name="import_accounts_error">Failed to import accounts from Download folder file.
Check Apps → baresip → Permissions → Storage and that file \'accounts.bs\' exists in
Check Apps → baresip → Permissions → Storage and that exported file \'accounts.bs\' exists in
the folder and, if so, you gave correct Decrypt Password."
</string>
<string name="delete_account">Do you want to delete account \'%1$s\'?</string>
@ -195,7 +194,8 @@ Check Apps → baresip → Permissions → Storage and that file \'accounts.bs\'
Valid values are 6000-510000. Factory default is 28000.</string>
<string name="_28000" translatable="false">28000</string>
<string name="opus_packet_loss">Expected Opus packet-loss</string>
<string name="opus_packet_loss_help">Expected Opus audio stream packet loss percentage, from 0-100. By default 0, turning off Opus Forward Error Correction (FEC).</string>
<string name="opus_packet_loss_help">Expected Opus audio stream packet loss percentage,
from 0100. By default 0, turning off Opus Forward Error Correction (FEC).</string>
<string name="_0" translatable="false">0</string>
<string name="invalid_opus_bitrate">Invalid Opus bitrate</string>
<string name="invalid_opus_packet_loss">Invalid Opus Packet Loss Percentage</string>
@ -230,7 +230,7 @@ Check Apps → baresip → Permissions → Storage and that file \'accounts.bs\'
<string name="exported_contacts">Exported contacts to Download folder file \'contacts.bs\'.</string>
<string name="export_error">"Failed to export contacts to Download folder.
Check Apps → baresip → Permissions → Storage."</string>
<string name="imported_contacts">Imported contacts from Download folder.</string>
<string name="imported_contacts">Contacs imported.</string>
<string name="import_error">Failed to import contacts from Download folder. Check Apps →
baresip → Permissions → Storage and that file \'contacts.bs\' exists in the folder.</string>
@ -256,6 +256,8 @@ Check Apps → baresip → Permissions → Storage and that file \'accounts.bs\'
<string name="dots" translatable="false"></string>
<!-- Main Activity -->
<string name="export_all">Export</string>
<string name="import_all">Import</string>
<string name="about">About</string>
<string name="restart">Restart</string>
<string name="quit">Quit</string>
@ -285,7 +287,8 @@ Check Apps → baresip → Permissions → Storage and that file \'accounts.bs\'
<string name="dialpad">Dialpad</string>
<string name="call_already_active">You already have an active call.</string>
<string name="start_failed">Baresip failed to start. This may be due to invalid Listen Address
or TLS file. They have been reset. Restart baresip.</string>
or TLS file. They have been reset. Restart baresip.
</string>
<string name="registering_failed">Registering of \`%1$s\` failed.</string>
<string name="no_microphone_permission">You have not granted microphone permission.</string>
<string name="verify">Verify</string>
@ -297,7 +300,16 @@ Check Apps → baresip → Permissions → Storage and that file \'accounts.bs\'
<string name="call_not_secure">This call is NOT secure!</string>
<string name="peer_not_verified">This call is SECURE, but peer is NOT verified!</string>
<string name="call_is_secure">This call is SECURE and peer is VERIFIED!
Do you want to unverify the peer?</string>
Do you want to unverify the peer?
</string>
<string name="unverify">Unverify</string>
<string name="exported_all">Exported all application data to Download folder file \'baresip.bs\'.</string>
<string name="export_all_failed">Failed to export application data to Download folder file
\'baresip.bs\'. Check Apps → baresip → Permissions → Storage</string>
<string name="imported_all">All application data imported. You need to restart baresip.</string>
<string name="import_all_failed">Failed to import application data from Download folder. Check Apps →
baresip → Permissions → Storage and that exported file \'baresip.bs\' exists in the folder
and, if so, you gave correct Decrypt Password.
</string>
</resources>