cketti
470ba8bb03
Removed everything related to settings file encryption
...
The plan is to (re)add this feature later. With a proven method to
encrypt files; maybe OpenPGP.
2011-10-14 05:38:27 +02:00
cketti
fd16ff8fe6
Remove reference to NonConfigurationInstance when no longer needed
2011-10-14 04:15:45 +02:00
cketti
5b81dbc2ed
Use resource strings instead of hardcoding things
2011-10-14 03:42:04 +02:00
cketti
b146fcb2fd
Improved handling of object retention on configuration changes
2011-10-14 02:52:32 +02:00
cketti
b05750c245
Better input validation in *Store.createUri()
2011-10-13 02:35:08 +02:00
cketti
7a9c747db9
Don't export incoming/outgoing server passwords
2011-10-11 03:12:18 +02:00
cketti
1de28150e2
Require accounts to at least have one identity when importing
2011-10-09 01:23:45 +02:00
cketti
13b74d0d9e
Added error logging
2011-10-09 01:14:59 +02:00
cketti
d791770154
Code cleanup
2011-10-09 00:31:33 +02:00
cketti
6714a7ec5a
Improved logging in StorageImporter
2011-10-09 00:04:00 +02:00
cketti
1ab7dbae54
Added input validation for folder settings
2011-10-08 21:30:45 +02:00
cketti
f21e14afc7
Added input validation for identity settings
2011-10-08 17:58:57 +02:00
cketti
060d21db3e
Make collections immutable
2011-10-07 21:20:12 +02:00
cketti
0920b0c14d
Changed the way SettingsDescription is used
...
Added ability to rewrite the string representation used internally to
something "pretty" on export.
Now only settings that have entries is GlobalSettings and
AccountSettings are exported. This prevents export of newer settings
that are left in the preference storage when downgrading.
2011-10-07 20:29:03 +02:00
cketti
83ee4253d5
Whitelist settings for export instead of blacklisting keys
...
Use GlobalSettings.SETTINGS an AccountSettings.SETTINGS to decide
which settings to export.
2011-10-04 05:13:17 +02:00
cketti
644571cfe5
Make sure the InputStream of the import file is always closed
2011-10-04 00:48:43 +02:00
cketti
f2a3752930
Added constants for (export) file format version and "settings version"
2011-10-04 00:09:38 +02:00
cketti
33ae5ff7d0
Added code to skip some account settings on export
2011-10-03 20:16:02 +02:00
cketti
dfa97cd878
Handle activity restarts due to configuration changes
...
Close existing dialogs before the activity is destroyed. Recreate them
and rewire AsyncTasks to the new activity instance after its creation.
2011-10-01 20:11:14 +02:00
cketti
6e1bf2965d
Fixed DateFormatValidator to handle placeholders SHORT and MEDIUM
2011-09-30 16:54:01 +02:00
cketti
cd72e197ec
Added code to skip certain settings on export
2011-09-30 16:47:59 +02:00
cketti
c76bec971b
Fixed compiler warning
...
Use new variable instead of overwriting an argument.
2011-09-30 14:58:13 +02:00
cketti
ded489daab
Add support for incoming-server and outgoing-server elements on import
2011-06-09 05:50:43 +02:00
cketti
4d11c80f65
Fix account selection on import if file doesn't contain global settings
2011-06-08 22:28:34 +02:00
cketti
8d97287ffd
Write outgoing-server element instead of transportUri to export file
2011-06-07 23:09:40 +02:00
cketti
4a807e33d9
Decode transport URIs into ServerSettings objects
2011-06-07 16:39:41 +02:00
cketti
bccf0b5546
Renamed class StoreSettings to ServerSettings
2011-06-07 16:09:15 +02:00
cketti
f4bcb4d923
Extracted inner class Store.StoreSettings
2011-06-07 15:59:23 +02:00
cketti
6abb5b5850
Write incoming-server element instead of storeUri key to export file
2011-06-07 04:25:17 +02:00
cketti
f6de6f8e42
Save name of the store type in StoreSettings
2011-06-07 04:07:50 +02:00
cketti
25c1a565e7
WebDavStore cleanup
...
Store port number so we can throw away the store URI once decoded
2011-06-07 03:01:02 +02:00
cketti
29738993d9
Added function to decode store URIs into a container object
...
This will later be used by the export code to make exporting the
password optional (and the XML output "pretty").
It's also the first step to get away from store URIs towards something
more easily extensible, like Store.StoreSettings.
2011-06-07 00:08:43 +02:00
cketti
0e2afc38ef
Cosmetic changes
...
- Grouped static fields and functions
- Renamed static fields to match code standard
2011-06-06 21:10:14 +02:00
cketti
9a3ce9e03e
Added file format version attribute to export file
2011-06-06 19:54:54 +02:00
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