Vincent Breitmoser
c2bb16a760
Encapsulate attachment resource handling into AttachmentResourceProvider
...
This commit introduces the AttachmentResourceProvider as a layer of
abstraction between K9WebViewClient and the message Part structure,
which allows moving all K9WebViewClient handling into MessageWebView
itself (making the class package-local).
It also fixes display of uncached inline attachments, e.g. in a Forward
operation called from the context menu.
2016-06-23 20:25:00 +02:00
Philip Whitehouse
b7c3e5296b
Update web page URL to GitHub website
2016-06-06 16:28:04 +01:00
Vincent Breitmoser
59a818490f
do not purge messages when downloading missing body for view
2016-05-25 16:32:42 +02:00
Vincent Breitmoser
f0e64a33a4
drop message_parts table before creation in dbCreateDatabaseFromScratch
2016-05-23 21:53:38 +02:00
cketti
2ccbf581ab
Version 5.109
2016-05-21 06:37:29 +02:00
cketti
1eb0ef4a6b
Merge pull request #1390
...
Fix reply to all, and some refactorings for initFromReplyTo
2016-05-21 00:00:37 +02:00
cketti
3762e1561f
Only test one thing per test method
2016-05-20 23:55:45 +02:00
cketti
56e8fc1d77
Remove redundant checks and ones that make tests needlessly brittle
2016-05-20 23:52:21 +02:00
cketti
7e829bbfb7
Fix test instead of adding null check to ListHeaders
2016-05-20 23:39:55 +02:00
Vincent Breitmoser
43899da77c
same signature to get replyTo and replyToAll addresses in ReplyToParser
2016-05-20 11:26:13 +02:00
Vincent Breitmoser
9a1dcd5a83
debug: add debug operation to clear a message locally
2016-05-19 22:37:48 +02:00
Vincent Breitmoser
31f6deb474
small performance optimizations
2016-05-19 15:49:33 +02:00
cketti
120c72a0fc
Merge pull request #1386 from k9mail/download-messagebody
...
Fetch message on view if body unavailable
2016-05-19 15:18:31 +02:00
Vincent Breitmoser
e3593a14bf
ensure that multipart/* parts always have a non-null boundary field
2016-05-19 14:56:40 +02:00
cketti
f4628d2a24
Merge pull request #1383 from k9mail/fts-fix
...
fts: more resource friendly migration
2016-05-19 14:53:15 +02:00
cketti
af0c8aab75
Merge pull request #1337 from k9mail/webDavPollingFix
...
WebDav polling fix
2016-05-19 14:51:31 +02:00
Vincent Breitmoser
8de494412e
messageview: refactor OpenPgpResultAnnotation into immutable CryptoResultAnnotation
2016-05-19 14:27:58 +02:00
Vincent Breitmoser
e002451296
move ViewableContainer into MessageViewInfoExtractor
2016-05-19 14:27:58 +02:00
Vincent Breitmoser
e57c82238d
some refactorings for Message*Extractor classes
...
This commit contains no semantic changes. One significant change is the
return type of MessageExtractor.findViewablesAndAttachments, which was
changed from a mixed return type (viewables as return value, attachments
as output parameter) to two output parameters, both for consistency and
performance.
2016-05-19 14:27:55 +02:00
Vincent Breitmoser
fb6816173c
get rid of deprecated PgpData class
2016-05-19 14:13:29 +02:00
cketti
7e82e38247
Merge pull request #1380
...
Different fix for decrypted part double decode problem
2016-05-19 14:06:38 +02:00
cketti
2ee7f29b95
Remove unused imports
2016-05-19 14:05:43 +02:00
Vincent Breitmoser
3de2360a43
inject ReplyToParser and test for use in initFromReplyTo
2016-05-17 16:39:27 +02:00
Vincent Breitmoser
f85bef1261
move reply to all logic into ReplyToParser and add tests
2016-05-17 16:00:40 +02:00
Vincent Breitmoser
4c6bc1a81b
compose: copy other to and and cc addresses only on reply all
2016-05-17 15:52:19 +02:00
Vincent Breitmoser
8d631fd905
compose: small refactorings for readability in RecipientPresenter
2016-05-17 15:52:16 +02:00
Vincent Breitmoser
2811b09da2
messageview: fetch message on view if body is not available
2016-05-16 23:22:03 +02:00
Vincent Breitmoser
7644abb142
messagingcontroller: optimize imports, remove unused parameter
2016-05-16 23:22:03 +02:00
Vincent Breitmoser
a2a4f59bb0
messagingcontroller: fix loadPartialForSearch parameter in loadMessageForRemoteView
2016-05-16 23:21:57 +02:00
Vincent Breitmoser
7614c8fd5e
make DecryptedTempFileBody a Body instead of RawDataBody ( fixes #1252 )
2016-05-15 10:35:54 +02:00
Vincent Breitmoser
9d3a735cea
fts: more resource friendly migration
2016-05-13 16:29:05 +02:00
Vincent
94b9da3d16
Merge pull request #1331 from k9mail/compose-mime-combined
...
PGP/INLINE and build in combined mime format
2016-05-13 14:44:40 +02:00
Vincent Breitmoser
36f890f436
Revert "fix double application of transfer decoding for decrypted parts"
...
This reverts commit e3cd40ea4e
.
See https://github.com/k9mail/k-9/issues/1252
2016-05-13 11:05:12 +02:00
Vincent Breitmoser
e3cd40ea4e
fix double application of transfer decoding for decrypted parts
2016-05-12 17:55:16 +02:00
Vincent Breitmoser
f0d09b91a9
clarify code for LocalMessage.equals()
2016-05-11 11:42:22 +02:00
Vincent Breitmoser
3a5d9b71a4
compose: move bullet point appearance into styles, and tintColor into theme
2016-05-09 10:11:09 +02:00
Vincent Breitmoser
7e8e82f200
remove "this is a bug" from some AssertionErrors
2016-05-09 09:54:07 +02:00
cketti
1f9cd50076
Use constructor injection for ComposePgpInlineDecider
2016-05-09 09:54:07 +02:00
cketti
287b649ed4
Remove unnecessary complexity
2016-05-09 09:54:06 +02:00
Vincent Breitmoser
b6cd69f247
compose: check that message is simple before applying PGP/INLINE encoding
2016-05-09 09:54:06 +02:00
Vincent Breitmoser
b6f540bfd9
compose: apply transfer encoding *after* PGP/INLINE signing
2016-05-09 09:54:06 +02:00
Vincent Breitmoser
8a58398cb8
add first tests for MessageBuilder
2016-05-09 09:54:06 +02:00
Vincent Breitmoser
10ab9c7a9e
compose: small fixes for PgpMessageBuilder
2016-05-09 09:54:06 +02:00
Vincent Breitmoser
665feffe70
add some tests for PgpMessageBuilder
2016-05-09 09:54:06 +02:00
Vincent Breitmoser
a4fda06dae
compose: switch from encapsulated to combined pgp/mime format (solves #1289 )
...
Conflicts:
k9mail/src/main/java/com/fsck/k9/message/PgpMessageBuilder.java
2016-05-09 09:54:06 +02:00
Vincent Breitmoser
41d5098c45
compose: automatically use pgp/inline if replied-to msg is pgp/inline
2016-05-09 09:54:06 +02:00
Vincent Breitmoser
4fc1f448db
compose: show warning when trying to attach file in pgp/inline mode
2016-05-09 09:54:05 +02:00
Vincent Breitmoser
84aba8506b
compose: highlight pgp/inline icon in background with showcase lib
2016-05-09 09:54:05 +02:00
Vincent Breitmoser
e0cb12709a
compose: add pgp/inline indicator and dialog
2016-05-09 09:54:03 +02:00
Philip Whitehouse
dfe3372447
WebDAV: Stop notifying of message retrieval when flags are fetched
2016-05-05 21:45:23 +01:00