cketti
62c2894fce
Merge pull request #544 from BombTeam/StringGlitchCorrection
...
Fix height of buttons in wizard screens
2015-02-16 18:30:51 +01:00
Valentin CAULIER
80f8e4a81d
Removing java.util.Arrays import
2015-02-16 17:37:15 +01:00
Levrifon
0d0b80f142
Added placeholder for application ID
2015-02-16 16:53:38 +01:00
Marine
f5cac2c71f
remove redundant cast Button to WelcomeMessage
...
findViewById(R.id.next) and
findViewById(R.id.import_settings)
are Button so it’s redundant to cast it to Button
2015-02-16 15:10:34 +01:00
Marine
63047e0ac6
remove redundant cast (Button)
...
findViewById(R.id.pop) ,
findViewById(R.id.imap) and
findViewById(R.id.webdav)
are Button so it’s redundant to cast it to Button
2015-02-16 15:03:11 +01:00
qvandekadsye
9b1a0b3614
Applying "match-parent" value to "next" buttons.
2015-02-16 13:48:31 +01:00
cketti
aae71125c6
Merge pull request #523
...
Make sure to keep font meta info on view recycling
2015-02-15 17:43:11 +01:00
cketti
9df1a3ee80
Potentially avoid creating new Typeface instances
2015-02-15 17:38:10 +01:00
cketti
ba1fc1305f
Merge branch 'master' into pgp_mime_preparations
2015-02-14 05:10:15 +01:00
cketti
9c3cab2354
Don't show changelog dialog during UI tests
...
This will hopefully make the UI tests more stable.
2015-02-14 04:23:54 +01:00
qvandekadsye
5013f36ba4
re-correcting String glitch by changing layout-height attribute
2015-02-13 15:21:09 +01:00
Gabriel Burca
9ba2725ab1
Fixes issue 6703
...
- onPrepareActionMode must be called before computeBatchDirection
because computeBatchDirection ends up referencing mMarkAsRead /
mMarkAsUnread and mFlag / mUnflag which could be null otherwise.
2015-02-12 21:27:44 -06:00
cketti
e0abcc3f67
Decouple MessageCryptoHelper from MessageList
2015-02-09 20:02:16 +01:00
cketti
5d3cdc2724
Remove unused variable
2015-02-09 19:44:33 +01:00
cketti
bb3f84fda6
Move MessageCryptoAnnotations to upper level
2015-02-09 19:43:23 +01:00
cketti
d301efea58
Move MessageCryptoHelper
2015-02-09 19:37:46 +01:00
cketti
3a527cbcf6
Decouple MessageCryptoHelper from MessageViewFragment
2015-02-09 19:35:53 +01:00
cketti
948cb971ad
Rename method
...
Since the crypto code no longer lives in MessageViewFragment it shouldn't
make references to what happens after its work is done.
2015-02-09 19:05:56 +01:00
cketti
5c036e2991
Simplify control flow
2015-02-09 19:05:45 +01:00
cketti
26eb1f52e5
Don't attempt to verify/decrypt if no crypto provider is configured
2015-02-06 23:26:46 +01:00
cketti
b515e947cf
Fix typo
2015-02-06 23:12:26 +01:00
cketti
ee1180e34c
Use Part from MessageViewContainer for K9WebViewClient
...
Now K9WebViewClient can find encrypted attachments referenced by Content-ID.
2015-02-06 20:11:58 +01:00
cketti
cadac6dd89
Add reference to root part to MessageViewContainer
2015-02-06 20:04:03 +01:00
cketti
49c4115e46
Refactor code; no functional changes
2015-02-06 20:01:14 +01:00
cketti
3377e50352
Fix code style
2015-02-06 19:57:30 +01:00
cketti
fce12b2450
Remove unused constructor
2015-02-06 19:53:39 +01:00
cketti
1a20ca06f1
Handle "cid:" URIs in HTML message body
2015-02-06 18:31:26 +01:00
cketti
80221dace8
Mark DownloadImageTask as deprecated
2015-02-04 21:43:45 +01:00
cketti
1f27897679
Extract methods to make code more readable
2015-02-04 21:42:09 +01:00
cketti
5175ff9df4
Extract method
2015-02-04 21:17:54 +01:00
cketti
9814442de4
Extract constant for default file name
2015-02-04 21:16:08 +01:00
cketti
36abde2c0b
Extract method
2015-02-04 21:14:04 +01:00
cketti
937ca7e17a
Move inner class DownloadImageTask to upper level
2015-02-04 21:07:54 +01:00
cketti
d7da286098
Remove unused imports
2015-02-04 21:03:25 +01:00
cketti
0241001c63
Display attachment size for decrypted parts
2015-02-01 05:41:40 +01:00
cketti
19db6c703b
Don't display -1 as attachment size
2015-02-01 04:24:02 +01:00
cketti
474efa1831
Fix NullPointerExceptions introduced by conditionally inflating the crypto layout
2015-02-01 00:21:52 +01:00
Vincent Breitmoser
dc8fd39c7e
move crypto data into an annotation structure, and fix pgp/inline
...
note that we currently lack proper confirmation about whether data was
actually decrypted or not, so for now we always assume it wasn't
2015-01-30 16:16:11 +01:00
Vincent Breitmoser
4bec165fdc
preliminary support for pgp/inline
2015-01-30 16:11:57 +01:00
cketti
de8da4dab4
Write decrypted bodies to temporary files
...
Use FileProvider to be able to open decrypted attachments
2015-01-30 14:27:33 +01:00
Vincent Breitmoser
0374dc9cb1
display pendingIntent button when there is a pendingIntent only
2015-01-30 11:30:36 +01:00
Vincent Breitmoser
a0b4faf688
pass OpenPgpError to display, delete old layout
2015-01-30 10:55:06 +01:00
Vincent Breitmoser
d57f6c0ed5
buffer data after decryption before mime parsing
2015-01-30 10:34:46 +01:00
Vincent Breitmoser
3077e6a2d7
close piped streams after use
2015-01-29 20:24:59 +01:00
cketti
0a07250417
Fix class name
2015-01-29 20:07:30 +01:00
Vincent Breitmoser
d678ccc160
extract crypto methods from MessageViewFragment into MessageCryptoHelper
2015-01-29 20:00:28 +01:00
Vincent Breitmoser
00b7b74878
pass pendingIntent, and some refactoring
2015-01-29 19:27:48 +01:00
Vincent Breitmoser
712acf4481
early support for detached signatures
2015-01-29 19:01:44 +01:00
cketti
38d3564c57
Merge pull request #537
2015-01-29 17:48:28 +01:00
cketti
41ac5a9fed
Fix indentation
2015-01-29 17:47:37 +01:00
cketti
edf75a32d8
Fix LocalMessageExtractorTest
2015-01-29 17:41:46 +01:00
cketti
8627e65cab
Merge pull request #536 from ligi/ligi/refactor/pgp_utils
...
Test & refactor OpenPgpUtils
2015-01-29 17:32:59 +01:00
cketti
fed15a01e5
Merge branch 'store_decryption_result' into pgp_mime_preparations
...
Conflicts:
k9mail/src/main/java/com/fsck/k9/mailstore/LocalMessageExtractor.java
2015-01-29 16:43:50 +01:00
ligi
033c1502db
Reduce LOC even more
2015-01-29 16:43:45 +01:00
ligi
a51b608e5e
Reduce MessageCompos LOC
2015-01-29 16:36:15 +01:00
ligi
828a580eb8
Move this View out ( the hosting class is already too long with ~4000 Lines ..)
2015-01-29 16:30:01 +01:00
ligi
4075b72b72
Cleanup and Optimize ( no need to prepare some layout when it is never used )
2015-01-29 16:24:44 +01:00
cketti
fbfa6d146f
Pass OpenPgpSignatureResult to LocalMessageExtractor
2015-01-29 16:16:29 +01:00
Vincent Breitmoser
ba79779758
break message into multiple MessageViewContainers
2015-01-29 16:10:03 +01:00
cketti
9e47686277
Code style fixes
2015-01-29 15:24:06 +01:00
cketti
7b67d054a4
Don't save reference to multipart/encrypted "root" in decrypted parts
2015-01-29 15:16:59 +01:00
Vincent Breitmoser
1046308a38
converge threads after decryption, and handle PendingIntents
2015-01-29 12:57:04 +01:00
ligi
4bc9d94831
Test & Refactor OpenPgpUtils
2015-01-29 12:30:19 +01:00
Vincent Breitmoser
bcd570f884
always show OpenPgpHeader if crypto-provider is set
2015-01-28 18:11:51 +01:00
cketti
4827b4c437
Merge pull request #535
2015-01-28 17:42:34 +01:00
cketti
7f811fce2c
First attempt at decrypting PGP/MIME messages
2015-01-28 17:24:05 +01:00
Dominik Schürmann
6f156498ed
Callback to execute signature button click
2015-01-28 15:40:19 +01:00
cketti
bb83fdc0e8
Add support for loading parts with DataLocation.ON_DISK
2015-01-28 15:29:49 +01:00
Dominik Schürmann
fdc597aadf
Display signer name and email
2015-01-28 15:22:38 +01:00
Dominik Schürmann
d112344780
Smaller sidebar
2015-01-28 15:09:19 +01:00
Dominik Schürmann
28e9c2a8ec
Merge remote-tracking branch 'vincent/pgp_mime_preparations' into pgp_mime_preparations_view
2015-01-28 14:55:51 +01:00
Dominik Schürmann
d46d355f69
OpenPGP status texts and sidebar improvements
2015-01-28 14:54:43 +01:00
Vincent Breitmoser
cced35b3b8
parse MessageViewContainers from Parts (from dummy mime structure)
2015-01-28 14:35:18 +01:00
Dominik Schürmann
e513af9529
Sidebar
2015-01-28 12:26:34 +01:00
Dominik Schürmann
b781ace4fa
OpenPGP header and sidebar tests
2015-01-28 11:30:29 +01:00
Dominik Schürmann
4c78d12fc6
Merge remote-tracking branch 'vincent/pgp_mime_preparations' into pgp_mime_preparations_view
...
Conflicts:
k9mail/src/main/java/com/fsck/k9/ui/messageview/MessageContainerView.java
2015-01-28 09:31:11 +01:00
Dominik Schürmann
e3fef1af98
Work on new pgp header
2015-01-27 17:50:40 +01:00
Vincent Breitmoser
581d32acd6
show attachments inline
2015-01-27 17:33:50 +01:00
Vincent Breitmoser
445c978f31
extract header view for multiple MessageContainerViews (intermediate state)
2015-01-27 16:48:33 +01:00
Vincent Breitmoser
29ad0f0f99
rename SingleMessageView to MessageContainerView
2015-01-27 16:42:31 +01:00
Vincent Breitmoser
40b6228756
new MessageViewInfo structure (with transitional methods)
2015-01-27 12:55:47 +01:00
cketti
d92be22ce3
Merge branch 'master' into pgp_mime_decrypt
2015-01-27 12:44:08 +01:00
cketti
74fdbb7859
Update openpgp-api-library to latest version
2015-01-27 12:15:47 +01:00
cketti
8f7f656355
Add method to find multipart/encrypted parts
2015-01-26 20:37:27 +01:00
cketti
0e03f262b3
Make sure to close underlying InputStream after decoding attachments
2015-01-25 20:06:29 +01:00
cketti
378acbd313
Write large message parts to file system
...
Actually, we just move the temporary file to avoid having to copy the
data to a new file.
2015-01-25 19:25:00 +01:00
cketti
977d15c190
Refactor to improve readability
2015-01-23 15:08:56 +01:00
cketti
6825eafb87
Make column 'message_parts.data' a BLOB
2015-01-23 14:41:29 +01:00
cketti
564e2432e1
Get size of decoded body content when saving
...
Before downloading we show the encoded size of attachments. After download we
strip the transport encoding to find out the size of the decoded content.
2015-01-23 03:58:06 +01:00
cketti
d2d85393d3
Save attachment count
2015-01-22 06:12:26 +01:00
cketti
5e4743bf66
Extract preview of message text
2015-01-22 05:18:50 +01:00
cketti
64e92ab1c1
Remove unused LocalAttachment* classes
2015-01-22 04:18:20 +01:00
cketti
c9b2ec533c
Add MessagePreviewExtractor
2015-01-21 01:21:02 +01:00
cketti
23c9398c03
Merge branch 'master' into pgp_mime_preparations
...
Conflicts:
k9mail/src/androidTest/java/com/fsck/k9/mailstore/LocalMessageTest.java
2015-01-20 18:35:07 +01:00
cketti
395b70fa22
Remove unused code
2015-01-20 16:37:30 +01:00
cketti
da51bdf1b3
Save attachments in background thread
2015-01-19 23:35:14 +01:00
cketti
a7b16c1210
Refresh thumbnail after downloading attachment
2015-01-19 23:08:41 +01:00
cketti
9363c5b276
Download missing parts before viewing or saving
2015-01-19 22:37:15 +01:00
cketti
585d9cbe7f
Fix "Download complete message"
2015-01-18 01:33:50 +01:00
cketti
1e628e7177
Reduce exposure of SingleMessageView internals
2015-01-16 23:37:37 +01:00