Commit Graph

295 Commits

Author SHA1 Message Date
Doug Sparling ecd5239c2b Don't use StringReader in HtmlConverter as calls to read have unnecessary locking. 2015-07-23 00:07:21 -05:00
cketti 9050ef16a2 Merge pull request #686 from k9mail/art/more-static-analysis-fixes
Fix static analysis warnings and stop using nulls everywhere
2015-07-16 08:39:34 +02:00
cketti fde7b985fc Merge pull request #700 from k9mail/issue-661_disable_notifications_during_quiet_time
Add setting to completely disable notifications during Quiet Time
2015-07-06 22:23:45 +02:00
cketti d8aef84127 Don't overwrite delete policy when editing incoming server settings
Fixes #616
2015-07-06 20:40:10 +02:00
cketti ecb6893e6c Properly encode folder name in MessageProvider delete URI
Fixes #706
2015-07-06 20:02:19 +02:00
Art O Cathain e935feb068 extract variable per review comment 2015-07-01 16:59:57 +01:00
Art O Cathain 32cc97207c do not throw exception in MessagingController per review comment 2015-07-01 16:57:13 +01:00
cketti 54d30833fc Merge pull request #694 from k9mail/send_error_handling
Improve send failure handling
2015-06-28 05:54:43 +02:00
cketti d08942cc50 Add 'notificationDuringQuietTimeEnabled' to settings import/export 2015-06-28 05:24:30 +02:00
cketti 7959033f26 Change naming/wording 2015-06-28 05:14:21 +02:00
Sander Baas 07c12e83d0 Add option to disable notifications in quiet time
Fixes #661
2015-06-28 05:14:21 +02:00
cketti d301d63274 Add support for saving message/rfc822 parts
Fixes #603
2015-06-26 06:15:32 +02:00
cketti 9d44f0e062 Improve send failure handling
We now no longer parse the exception message in MessagingController to find
out if it was a permanent SMTP failure.
Overall the code is still a mess, but the error handling should be a little
bit better and more readable now.
2015-06-22 00:43:31 +02:00
Art O Cathain 7fc8767a5c fix static analysis warnings and stop using nulls everywhere 2015-06-13 16:47:35 +01:00
Art O Cathain 591785a3ab fix up some dodgy nulls 2015-06-13 16:24:58 +01:00
Art O Cathain 2d45e53739 fix potential NPE 2015-06-13 15:29:58 +01:00
cketti e01b1b189f Merge pull request #653 from k9mail/change_folder_sync
Don't write messages without (partial) body to database
2015-06-10 02:29:50 +02:00
cketti 6138afb579 Don't write messages without (partial) body to database
Opening such messages during download will display "No text" and (probably
due to a bug) might lead to the synchronization process being aborted. Instead
of fixing the UI issue we now don't write these incomplete messages to the
database. This has the potential to massively speed up the sync process. But
it will take longer for messages to show up in the message list, especially
with slow connections.
2015-05-22 07:25:17 +02:00
cketti 1cd7df1369 Don't write the new push state to the database for every message 2015-05-22 07:25:14 +02:00
cketti a24d85d754 Move library tests to k9mail-library module 2015-05-21 02:21:38 +02:00
cketti 4b273c1749 Move some tests from 'androidTest' to 'test' folder 2015-05-20 21:00:43 +02:00
cketti 0f66cacf10 Move JVM tests into main k9mail module
Use Robolectric for the tests that use framework classes.
2015-05-20 21:00:43 +02:00
cketti b660d45b6c Merge branch '5.103_with_bugfixes' 2015-05-02 18:11:40 +02:00
cketti 3e833580ac Use numbered parameters in format string
… because Transifex is stupid and complains when a parameter doesn't show
up in a translation exactly like it's defined in the source language.
2015-04-30 09:58:31 +02:00
Marcus Wolschon 05934d75d8 wrong parameter order in format string.
(Found via Android Studio Lint tool)
2015-04-28 23:08:17 +02:00
Marcus Wolschon 64e22a72ed Some first android wear support for enhancement
#619  "Add android wear support"

No reply with voice yet (as requested in the ticket).
No user-configurable actions yet, just delete+archive+spam
No stacked notification for multiple messages yet.
2015-04-28 22:26:17 +02:00
Marcus Wolschon 0f848ee51f reverting accidental commit 1dfc2a5490 2015-04-28 22:17:02 +02:00
Marcus Wolschon 1dfc2a5490 Merge remote-tracking branch 'origin/master' 2015-04-28 22:05:37 +02:00
Marcus Wolschon c37934ea16 Fixed wrong parameter order leading to broken MessageReferences. 2015-04-28 22:04:22 +02:00
cketti d538278be6 Don't write HtmlConverterTest results to a file
Fixes issue #618
2015-04-28 05:43:35 +02:00
cketti 83bb97b0c5 Revert "Potentially avoid creating new Typeface instances"
This reverts commit 9df1a3ee80.
2015-04-04 01:46:53 +02:00
cketti 017ae1d2f3 Merge pull request #590
WebView: Open links in external Browser
2015-04-04 01:20:08 +02:00
cketti babd3a530f Add activity flags to browser view intent 2015-04-04 01:06:14 +02:00
cketti ba8cb6c85d Set EXTRA_CREATE_NEW_TAB to 'true' in browser view intent 2015-04-04 00:57:47 +02:00
cketti 09babb6e88 Restructure the code a bit 2015-04-04 00:55:53 +02:00
cketti 8bcf9b1d50 Remove comments 2015-04-04 00:50:14 +02:00
cketti 80fa468ec2 Merge pull request #581
MessageReference class refactor
2015-04-03 21:36:26 +02:00
cketti 24b61e0743 Fix code formatting 2015-04-03 21:33:38 +02:00
cketti a3375d7030 Make MessageReference fields private 2015-04-03 20:43:49 +02:00
cketti 9275bb2943 Remove unused constructor 2015-04-03 20:35:33 +02:00
cketti af36129449 Extract local variables for easier readability 2015-04-03 20:27:11 +02:00
cketti 632517be81 Remove trivial comments 2015-04-03 19:50:50 +02:00
Art O Cathain 1ec2c5b095 Clarify 2015-03-31 20:29:51 +01:00
Art O Cathain 6a03e62f52 ensure account also removed from memories on delete 2015-03-31 20:10:25 +01:00
m0viefreak 46f74bd11c WebView: Open links in external Browser
1a20ca06f1 connected a WebViewClient
to the WebView. But as soon as a client is connected, the WebView
stops handling links itself and tries to display everything on
its own.

Override shouldOverrideUrlLoading() and replicate what Android's
default WebView does if no WebViewClient is connected to work
around this.

This fixes #587.
2015-03-26 02:27:10 +01:00
Dominik Schürmann ffc5ba2cf3 PGP: Set correct encryption state in message crypto annotation via RESULT_TYPE 2015-03-21 15:40:15 +01:00
Valentin CAULIER ebcd10d1b1 Merge remote-tracking branch 'upstream/master' into MessageReferenceImmutability 2015-03-21 11:53:40 +01:00
Valentin CAULIER 13f6b42250 MessageReference is now immutable 2015-03-21 11:12:16 +01:00
Valentin CAULIER 3e84c20c9b Updating other classes to use new constructor and getters of
MessageReference
2015-03-21 11:12:13 +01:00
Dominik Schürmann 16f09611fe PGP: Introduce key preference per account for OpenPGP APIv7 2015-03-20 15:14:48 +01:00