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
81931967a9
Fix code so accounts are exported when exporting everything
2011-03-29 06:59:02 +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
84f4331766
Disable import for now
2011-03-28 08:12:12 +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
cketti
a559a35249
Use AsyncTask instead of AsyncUIProcessor for export
2011-03-28 01:18:36 +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
0bded12843
Kill off ExportHelper. It had become clutter that was only used once
2011-03-27 13:09:26 +08: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
Jesse Vincent
b8949abaca
Kill some now-dead and duplicate code
2011-03-25 15:56:25 +11:00
danapple
fd468e95fb
Specify a particular mime type. Although the K-9 settings file mime
...
type will not be generally known, specifying something in particular
means that only file browsers that can handle */* will used as options
in the chooser. In my tests, OI File Manager responds immediately (and
the chooser is bypassed) and the camera, music and ringtone selectors
are not provided as options.
2011-03-23 00:00:24 -05:00
danapple
0a0cfac1cb
Better internationalization, using real Android pluralization API.
2011-03-22 22:59:30 -05: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
c3cc43675b
Grey out unavailable accounts.
...
Display a short toast when attempting to open an unavailable account.
2011-03-16 17:05:41 -05:00
danapple
7891b24c31
Fixes Issue 3102 in cooperation with vincent...@gmail.com
...
Reset service enablement and MailService scheduling whenever a storage
medium is mounted or unmounted.
2011-03-09 23:04:05 -06: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
fdb38da2e5
Discourage accidental deletion of essential mime types.
2011-03-02 19:28:36 -06:00
danapple
32b5afc702
astyle
2011-03-02 07:34:54 -06:00
danapple
107408c0d9
K-9 Mail now opens the Accounts Activity when started with an Intent
...
with an enclosed URI with a content type of application/x-k9settings.
This allows a user to bootstrap K-9 Mail configuration by email a
settings file from one device to another, perhaps using a GMail
account on the receiving end.
2011-03-01 22:34:41 -06:00
danapple
d9cb84047b
Delete obsolete import
2011-03-01 21:43:43 -06:00
danapple
88f6034cbb
When emailing a K-9 settings export file, use specific special content type.
2011-03-01 21:43:11 -06:00
danapple
9cd5f61539
Change import/export completion Toasts to Dialogs.
2011-03-01 21:21:00 -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
a7e134164f
Handle pluralization of import toasts.
2011-02-27 13:35:59 -06:00
danapple
932d178679
Merge branch 'issue549'
...
Conflicts:
src/com/fsck/k9/Account.java
src/com/fsck/k9/K9.java
src/com/fsck/k9/Preferences.java
src/com/fsck/k9/activity/Accounts.java
src/com/fsck/k9/activity/ActivityListener.java
src/com/fsck/k9/activity/ChooseFolder.java
src/com/fsck/k9/activity/FolderInfoHolder.java
src/com/fsck/k9/activity/FolderList.java
src/com/fsck/k9/activity/K9Activity.java
src/com/fsck/k9/activity/K9ListActivity.java
src/com/fsck/k9/activity/MessageList.java
src/com/fsck/k9/activity/MessageReference.java
src/com/fsck/k9/activity/MessageView.java
src/com/fsck/k9/activity/setup/AccountSettings.java
src/com/fsck/k9/controller/MessagingController.java
src/com/fsck/k9/crypto/Apg.java
src/com/fsck/k9/helper/DateFormatter.java
src/com/fsck/k9/helper/DomainNameChecker.java
src/com/fsck/k9/mail/Address.java
src/com/fsck/k9/mail/internet/MimeHeader.java
src/com/fsck/k9/mail/internet/MimeMessage.java
src/com/fsck/k9/mail/internet/MimeUtility.java
src/com/fsck/k9/mail/store/ImapStore.java
src/com/fsck/k9/mail/store/LocalStore.java
src/com/fsck/k9/mail/store/WebDavStore.java
src/com/fsck/k9/mail/transport/SmtpTransport.java
src/com/fsck/k9/view/AttachmentView.java
2011-02-27 13:09:38 -06:00
danapple
807f85d38e
Astyling recent change
2011-02-27 11:10:32 -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
cketti
4724848a5a
Merge branch 'focus_to_box'
2011-02-27 01:26:04 +01:00
cketti
766674c27c
Code/comment cleanup
2011-02-26 23:04:49 +01:00
cketti
6686b3e993
Merge branch 'remove_bouncycastle_dependency' into HEAD
2011-02-26 22:59:48 +01:00
Jesse Vincent
c7a3b28289
Change our technique for sending \r\n at the end of smtp commands to
...
deal with a weird failure on honeycomb
2011-02-26 16:53:53 -05: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
cketti
77f4625cd9
Use SslCertificate that is part of the official Android API instead of
...
BouncyCastle's X509Name (which is not shipped anymore in Android 3.0)
to verify domain names on SSL/TLS connections.
2011-02-26 16:57:58 +01:00
cketti
daf92a7b95
Use FLAG_ACTIVITY_NEW_TASK when starting activity
...
for SHOW_OR_CREATE_CONTACT.
2011-02-25 19:15:13 +01:00
cketti
397d01d513
Fix bug with partitioning of IMAP FETCH commands
2011-02-21 21:07:56 +01:00
Matt Johnston
d43f17ab94
Use java.util.zip for inflating
...
Can't use it for deflating since it doesn't have Z_PARTIAL_FLUSH
2011-02-21 04:57:46 +08:00
Matt Johnston
eb9fca69c6
Don't need to reparse addresses from database
2011-02-21 02:45:40 +08:00
cketti
0c02fb1027
Merge branch 'open-attachment'
2011-02-20 19:31:42 +01:00
cketti
d354905f21
Cosmetic changes
2011-02-20 19:18:17 +01:00
cketti
5f0e51caa9
Added a comment
2011-02-20 19:02:42 +01:00
Jan Berkel
41378188f9
Updates to the view need to happen on the UI thread
...
Fixes downloading attachments (would just fail silently)
Also added a ProgressDialog since progress() just asks for
progress to displayed in the title bar. Since there is no title bar,
no progress is shown at all.
2011-02-20 18:49:55 +01:00
Jan Berkel
cc0b935b38
Performance fix: Use ListView#addFooterView to add the footer
...
The previous approach (generating the view in the adapter) kills performance
because list views cannot be recycled anymore, as soon as the user scrolls to
the bottom of the list. The Android ListView widget already provides support
for list header/footers, so use them.
2011-02-20 17:47:06 +01:00
cketti
ea590cbe39
Removed unused import + constant
2011-02-20 06:25:19 +01:00
cketti
a79b7ea93c
Inlined methods that were extracted to use
...
@SuppressWarnings("unchecked"). That's now unnecessary after the
Serializable -> Parcelable switch
2011-02-20 06:23:06 +01:00
cketti
bb40049212
Remove unused imports
2011-02-20 05:31:35 +01:00
cketti
ad159b3093
Merge branch 'hardcoded_outbox' into HEAD
2011-02-20 05:14:22 +01:00
cketti
737cff0612
Hardcode folder name for (local) outbox and don't show outbox when
...
only being allowed to select remote folders.
2011-02-20 04:47:28 +01:00
HIRANO Takahito
580d19ec17
Allow emoji input in subjects.
...
Signed-off-by: HIRANO Takahito <hiranotaka@zng.info>
2011-02-20 10:15:50 +09:00
Jan Berkel
a7a690e6ff
Simplify getTextForDisplay() and fix a potential ClassCastException
2011-02-19 15:25:09 -05:00
Jan Berkel
685df0ff67
Perf improvement: use parcels instead of serializable
...
Standard Java serialization is slow on Android. Replacing it w/
parcelable makes it around 10x faster (on a N1, with ~ 500 messages
in the list).
To avoid further confusion and potential bugs MessageReference was
made no longer implement Serializable.
2011-02-19 15:24:53 -05:00
Koji Arai
68381d4725
Should not use double-quoted empty string.
...
Some host may reject such the From address.
2011-02-17 00:41:55 +09:00
wongk
5c6e86006d
Support non-English Exchange installations.
2011-02-15 19:05:08 -05:00
Jesse Vincent
8a778a0222
reformatting
2011-02-14 20:45:08 -05:00
Jesse Vincent
fb663508e0
remove an unused method
2011-02-14 20:44:53 -05:00
Jesse Vincent
143ca4df26
replace redundant calls with a helper
2011-02-14 20:26:00 -05:00
Jesse Vincent
ea6e5e0e62
Lifting more of the "Show this message" over to the SingleMessageView
2011-02-14 13:40:49 -05:00
Jesse Vincent
dc1444d1ac
Rename a method that was confusingly similar to another method
2011-02-14 13:32:30 -05:00
Jesse Vincent
10da146e93
clean up unused imports
2011-02-14 13:32:25 -05:00
Jesse Vincent
5aad882976
Move the "isScreenReader" active code down into the MessageView
2011-02-14 13:32:14 -05:00
Jesse Vincent
04bc32db9e
move a call to setLoadPictures down
2011-02-14 13:31:43 -05:00
Jesse Vincent
043535f7a5
Migrate a method into SingleMessageView
2011-02-14 13:31:34 -05:00
cketti
e70d091433
Explicitly set focus to "To:" input field when composing or forwarding
...
a message.
2011-02-14 08:28:03 +01:00
Jesse Vincent
260b933a3b
Move the "update the title" code from almost every single
...
ActivityListener callback to the superclass, removing the need for many
sublcass methods
2011-02-13 21:20:22 -05:00
Jesse Vincent
7cbbd72fac
Astyle
2011-02-13 21:20:21 -05:00
Jesse Vincent
4e48366243
Remove more redundant checks
2011-02-13 21:20:21 -05:00
Jesse Vincent
be106c21a1
remove completely redundant code from batch archive/spam codepaths. (It
...
duplicated code in the batch move codepath)
2011-02-13 21:20:21 -05:00
cketti
35f0b953c2
Merge branch 'share_extras'
2011-02-13 05:24:49 +01:00
cketti
44d2194a00
Add extra for the sender address(es) to the "Share intent"
2011-02-13 05:23:18 +01:00
unknown
42edb24c4b
Merge branch 'master' of https://github.com/k9mail/k-9
2011-02-12 16:24:56 -05:00
unknown
9d0201edae
Correctly verify when the user is authenticated or not. Handle "quasi-absolute" form targets during authentication.
2011-02-12 16:10:12 -05:00
Matt Johnston
ae2c933181
Destroy all messages in one sqlite transaction
2011-02-11 15:30:50 -05:00
Jesse Vincent
0d0415e705
use a single layout inflater for loading attachments
2011-02-11 12:13:18 -05:00
Jesse Vincent
e099337c52
remove dead code
2011-02-11 12:12:52 -05:00
Jesse Vincent
20623dc18a
slight clean up to cryptoprovider view interface
2011-02-11 12:12:09 -05:00
Jesse Vincent
abc921093c
refactor display of the download button
2011-02-11 12:11:21 -05:00
Jesse Vincent
9deea33426
re-enable setOnFlagListener
2011-02-11 12:10:45 -05:00
Jesse Vincent
06baf3f602
simplify the "load a url for the message body" signature
2011-02-11 12:09:47 -05:00
Jesse Vincent
111b9a6305
remove a pointless indirection and an extra method call to set the
...
options menu when we didn't need to
2011-02-11 11:16:50 -05:00