cketti
a57e605496
Added first version of input validation for account settings
2011-06-06 19:44:01 +02:00
cketti
42987cee51
Use current values for missing or malformed global settings in the import file
2011-05-02 04:06:22 +02:00
cketti
7e24377bb8
Return detailed information on imported accounts
2011-04-29 04:29:16 +02:00
cketti
71f423d029
Added first version of import file validation
2011-04-20 21:37:48 +02:00
cketti
237302cc2b
Changed import code to set "defaultAccountUuid" if necessary
2011-04-19 23:04:43 +02:00
cketti
8240d7ff10
Always reload all accounts after importing one or more accounts
2011-04-13 03:44:43 +02:00
cketti
12d87854ac
First version of the import code that reads the new file format
2011-04-13 03:37:44 +02:00
cketti
d5197fdc56
Put all import code in StorageImporter
...
Get rid of StorageImporterEncryptedXml and IStorageImporter. Also
AsyncUIProcessor is now obsolete.
2011-03-30 21:00:34 +02:00
cketti
45afa3a747
Make XML element/attribute names for export public
2011-03-30 20:56:26 +02:00
cketti
49e30b1be4
Export settings sorted by key
2011-03-30 06:44:16 +02:00
cketti
70f9a7b852
Granted some account/identity keys their own XML element (export)
2011-03-30 06:37:10 +02:00
cketti
8850915987
Add method to export an encrypted settings file
2011-03-30 05:31:48 +02:00
cketti
6258118ed6
Write identity elements in correct order (export)
2011-03-30 05:08:49 +02:00
cketti
29c42eb1a3
More structure for the XML export (folder settings)
2011-03-30 04:57:05 +02:00
cketti
83b2972a13
Rename "settings" tag to "global" for global settings (export)
2011-03-30 04:23:54 +02:00
cketti
24785bab66
More structure for the XML export (identity)
2011-03-30 03:55:14 +02:00
cketti
77f7303aa2
Use constants for element names and attributes in XML export code
2011-03-30 00:21:15 +02:00
cketti
fbe1b26f24
Reflect some of the settings structure in exported XML
2011-03-29 07:08:29 +02:00
cketti
0ac406d3cd
Removed per key/value encryption on export
2011-03-29 06:15:58 +02:00
cketti
c36182f586
Use XmlSerializer instead of writing XML tags manually
2011-03-29 05:27:18 +02:00
cketti
9a78145e22
Merge StorageExporterEncryptedXml into StorageExporter
2011-03-29 04:27:41 +02:00
cketti
6510919eee
Moved export to file code from Accounts activity into StorageExporter
2011-03-28 08:04:43 +02:00
cketti
f5c153b405
Get rid of StorageFormat
2011-03-28 07:25:07 +02:00
cketti
97f493c881
Get rid of ExportListener
2011-03-28 07:18:47 +02:00
cketti
1d146278b0
Moved password input dialog for export to Accounts activity.
2011-03-28 01:55:46 +02:00
danapple
ad4c7f7071
UUIDs could have been generated by different generators within the
...
same instance due to local upgrades of K-9 Mail.
2011-03-27 15:27:14 -05:00
danapple
90e88c251e
Explanation of the reasons for mapping imported UUIDs into new local
...
UUIDs.
2011-03-27 13:14:36 -05:00
danapple
e5ef068c15
Move the generation of the XML envelope to a common place since it
...
would be used in all storageFormats. StorageImporter uses the header
to figure out which specific import implementation to use.
2011-03-27 11:37:43 -05:00
Jesse Vincent
b3b8302c52
Remove some vestiges of HashSet
2011-03-27 12:40:00 +08:00
Jesse Vincent
9deeaf9c11
No longer export global settings when exporting one account
2011-03-27 12:03:23 +08:00
Jesse Vincent
52825f409f
As suggested by cketti, HashSet -> Set in our method signature
...
definition
2011-03-27 11:37:37 +08:00
cketti
087feb478b
First step at replacing the term "version" with "storageFormat"
2011-03-26 07:19:20 +01:00
cketti
4bdc20c127
Rename StorageVersioning to StorageFormat
2011-03-26 07:00:53 +01:00
cketti
18cefedf32
Get rid of the STORAGE_VERSION enum in StorageVersioning
2011-03-26 06:59:45 +01:00
cketti
26258d7666
Removed unused imports
2011-03-26 06:43:39 +01:00
Jesse Vincent
fd38dc3519
Further wordings cleanups
2011-03-25 17:15:46 +11:00
Jesse Vincent
b4a43893a3
Lift the choice of which accounts to export all the way up to
...
Accounts.java in advance of adding a dialog
2011-03-25 16:28:14 +11:00
danapple
8e5c50a8ef
astyle
2011-03-20 15:21:24 -05:00
danapple
2e7a785209
Clarify logic for when an importer needs a password prompt.
2011-03-20 12:01:29 -05:00
danapple
89bdbdce94
Build a structure to allow for more easily creating new versions of
...
preferences Storage importers/exporters. Password/encryption key
prompting is now down in centralized place. On import, the password
prompt is given if the file to be imported uses an importer
implementation that requires a password and no password is provided.
On export, the password prompt is given if the chosen version is for
an exporter that requires a password and no password was provided.
For instance, for automatic backups, a password could be stored in
preferences and provided to the exporter, so no password prompt would
be given.
2011-03-20 11:52:13 -05:00
danapple
4f59a04fd5
Make importer usable by other things handling InputStreams, like a
...
facility to use the Android-wide Backup Service.
2011-03-03 10:14:19 -06:00
danapple
9224876768
Make exporter usable by other things handling OutputStreams, like a
...
facility to use the Android-wide Backup Service.
2011-03-03 10:00:58 -06:00
danapple
32b5afc702
astyle
2011-03-02 07:34:54 -06:00
danapple
d9cb84047b
Delete obsolete import
2011-03-01 21:43:43 -06:00
danapple
8a3e1336e0
Although I believe SimplyCrypto was made available without
...
restriction, with no license, K9Krypto is a completely new, completely
taint-free implementation of encryption for K-9 Mail settings files.
Also, K9Krypto reuses the cryptography infrastructure
between strings, so should be more efficient.
2011-02-28 21:27:58 -06:00
danapple
7b82061535
Add provenance explanation.
2011-02-27 22:22:09 -06:00
danapple
a756f70eb6
Turn off some logging
2011-02-27 13:36:36 -06:00
danapple
f0a8d2edee
Update date formatter on when importing preferences.
2011-02-26 19:28:47 -06:00
danapple
ad3dd07a7a
astyle-d
2011-02-26 18:39:06 -06:00
danapple
6dc94fb78e
First mostly working copy of export/import. Committing while I sort
...
out how to use git.
2011-02-26 11:31:56 -06:00