1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00
Commit Graph

244 Commits

Author SHA1 Message Date
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
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
b660d45b6c Merge branch '5.103_with_bugfixes' 2015-05-02 18:11:40 +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
c37934ea16 Fixed wrong parameter order leading to broken MessageReferences. 2015-04-28 22:04:22 +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
Valentin CAULIER
bf0333ba31 Beginning MessageReference update to immutable object 2015-03-16 16:29:42 +01:00
cketti
ab964cf8af Merge branch 'pgp_mime_preparations' 2015-03-16 16:14:45 +01:00
Dominik Schürmann
e4cfd3c886 Update openpgp-api-library for APIv7 2015-03-16 14:29:12 +01:00
cketti
f0e1b14b58 Merge pull request #567
Move NetworkType to k9mail-library, use on StoreConfig
2015-03-16 13:39:59 +01:00
cketti
494b16196d Rename AccountCreator.calculateDefaultDeletePolicy() 2015-03-16 13:28:11 +01:00
cketti
5f14e3b4e1 Use switch statement inside calculateDefaultDeletePolicy()
With this - at least in theory  - the JIT compiler can produce better code
than is possible with the static HashMap.
2015-03-16 13:26:44 +01:00
cketti
f733cc38ba Merge pull request #566
Rationalize default ports
2015-03-16 13:15:43 +01:00
cketti
00528f5d24 Move throw statement outside of switch body
This way static analysis can detect when we're missing a switch case.
2015-03-16 13:11:01 +01:00
cketti
855da35f3a Code style fixes 2015-03-16 13:06:40 +01:00
cketti
08beb212c2 Fix crashes when selecting messages in the message list
Throughout the code we make the assumption that onPrepareActionMode() is
called right after starting the action mode. However, this is not the case on
Android 5.1.
With this change we call ActionMode.invalidate() right after starting the
action mode which causes onPrepareActionMode() to be invoked.
2015-03-13 21:12:21 +01:00