1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 03:32:16 -05:00
Commit Graph

5164 Commits

Author SHA1 Message Date
cketti
66d2ecaa42 Bumped manifest to 5.006 2015-06-09 14:37:32 +02:00
cketti
222e2939ed Prepare changelog for 5.006 2015-06-09 14:36:39 +02:00
cketti
b890903886 Add K9WebViewClient to open links in (external) browser 2015-06-09 03:07:23 +02:00
cketti
63ea8a107e Bumped manifest to 5.005 2015-04-30 05:01:17 +02:00
cketti
65e3b2cd66 Update changelog for 5.005 2015-04-30 05:00:18 +02:00
cketti
d1c237477b Merge pull request #631 into 5.0-MAINT 2015-04-30 04:43:20 +02:00
cketti
efc129fcd0 Do less work in RigidWebView in 'no throttle' case 2015-04-30 04:41:50 +02:00
Samuel Sieb
504e99eeea Disable RigidWebView resize throttling on Android Lollipop or higher.
This fixes the problem with blank messages.
2015-04-28 20:57:30 -07:00
cketti
532829e969 Bumped manifest to 5.004 2015-03-13 21:48:57 +01:00
cketti
d58d5c2e5c Update changelog for 5.004 2015-03-13 21:42:35 +01:00
cketti
43b21f0a24 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:40:50 +01:00
cketti
9044f73c01 Bumped manifest to 5.003 2015-03-13 11:51:47 +01:00
cketti
d286f550ad Update changelog for 5.003 2015-03-13 11:50:25 +01:00
Gabriel Burca
85cd536d3e 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-03-13 11:38:18 +01:00
cketti
655d7872e3 Bumped manifest to 5.002 2014-12-17 19:54:11 +01:00
cketti
58e9f316c4 Update changelog for 5.002 2014-12-17 19:32:51 +01:00
Danny Baumann
4b76027d5d Don't throw CertificateValidationException for all SSLExceptions.
An interrupted connection attempt to the server yields an SSLException
as well, like this:

E/k9      ( 6937): Caused by: javax.net.ssl.SSLHandshakeException: Connection closed by peer
E/k9      ( 6937):      at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
E/k9      ( 6937):      at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:302)
E/k9      ( 6937):      at com.android.org.conscrypt.OpenSSLSocketImpl.waitForHandshake(OpenSSLSocketImpl.java:598)
E/k9      ( 6937):      at com.android.org.conscrypt.OpenSSLSocketImpl.getInputStream(OpenSSLSocketImpl.java:560)
E/k9      ( 6937):      at com.fsck.k9.mail.store.ImapStore$ImapConnection.open(ImapStore.java:2459)

We don't want the user to notify of 'certificate problems' in that case.
Fix it by checking whether the SSLException was actually triggered by a
CertificateException.
2014-12-17 19:28:37 +01:00
cketti
77b6adfbfb Bumped manifest to 5.001 2014-10-10 14:48:18 -04:00
cketti
a174f77512 Update changelog for 5.001 2014-10-10 14:45:14 -04:00
Joe Steele
be69a07f1a Revert "Implement SSL file-based session caching"
This reverts commit 43c38a047f.
2014-10-10 14:39:35 -04:00
cketti
84190cf9ad Bump manifest to 5.000 2014-09-25 22:13:35 +02:00
cketti
52f02ae75d Update changelog for v5.000 2014-09-25 22:13:30 +02:00
cketti
6ee2b90649 Bumped manifest to 5.000 RC1 2014-09-11 03:29:39 +02:00
cketti
5a6f213d65 Update changelog for 5.000 RC1 2014-09-11 03:26:14 +02:00
cketti
5ddfe4b58e Bumped manifest to 4.905 2014-09-10 21:12:12 +02:00
cketti
47cedef85c Update changelog for 4.905 2014-09-10 21:02:48 +02:00
Joe Steele
0f6719387c Re-enable TLSv1.1/1.2 support
Was disabled in 3fd7470d.

Issue 6238.

Related Android change for API 20:
1f63d2c223%5E!/
2014-09-10 11:42:14 -04:00
cketti
a10b9ae452 Merge pull request #493 from zjw/ssl_changes
SSL changes
2014-09-10 01:44:44 +02:00
Joe Steele
59a61366ca Merge branch 'remove_gallery_bug_workaround'
Conflicts:
	res/values-it/strings.xml
	res/values-iw/strings.xml
	res/values-sv/strings.xml
2014-09-09 18:59:18 -04:00
Joe Steele
094feced0c Remove unused imports 2014-09-09 18:56:36 -04:00
cketti
2e318096b7 Add new translations
Add new languages that were promised in commit 5a6648ceeb:
- Latvian
- Estonian
- Norwegian Bokmål
- Galician (Spain)
2014-09-09 00:59:56 +02:00
cketti
9911208441 Ignore UnusedQuantity and MissingQuantity lint warnings for all translations 2014-09-09 00:10:14 +02:00
cketti
5a6648ceeb Update translations from Transifex
New languages:
- Latvian
- Estonian
- Norwegian Bokmål
- Galician (Spain)
2014-09-09 00:04:10 +02:00
cketti
9e203b75cc Remove gallery bug work-around
This bug was present in the Gallery app shipped with Android 2.0.
The time has come to say good-bye. We will never forget you! But only because you're part of our Git history.
2014-09-07 23:35:18 +02:00
Joe Steele
43c38a047f Implement SSL file-based session caching
Caching is beneficial because it can eliminate redundant cryptographic
computations and network traffic when re-establishing a connection to
the same server, thus saving time and conserving power.
2014-09-06 19:32:06 -04:00
Joe Steele
7dfbd906c9 Eliminate DomainNameChecker
There's no need to maintain our own implementation when comparable
classes already exist in the Android API.

StrictHostnameVerifier is used instead.
2014-09-06 19:32:03 -04:00
Joe Steele
6f14294164 Remove SslHelper. Don't use SecureRandom.
SslHelper has been removed, and its functionality has been transferred
into TrustedSocketFactory.  The added layer of indirection wasn't really
simplifying anything.  It's now easier to see what happens when
createSocket() is invoked.

A new instance of SecureRandom is no longer passed to SSLContext.init().
Instead, null is passed.

The (default) provider of the TLS SSLContext used is OpenSSLProvider,
which provides an SSLSocket instance of type OpenSSLSocketImpl.  The only
use of SecureRandom is in OpenSSLSocketImpl.startHandshake(), where it is
used to seed the OpenSSL PRNG with additional random data.  But if
SecureRandom is null, then /dev/urandom is used for seeding instead.

Meanwhile, the default provider for the SecureRandom service is
OpenSSLRandom, which uses the OpenSSL PRNG as its data source.  So we were
effectively seeding the OpenSSL PRNG with itself.  That's probably okay
(we trust that the OpenSSL PRNG was properly initialized with random data
before first use), but using /dev/urandom would seem like a better source
(or at least as good a source) for the additional seed data added with
each new connection.

Note that our PRNGFixes class replaces the default SecureRandom service
with one whose data source is /dev/urandom for certain vulnerable API
levels anyway.  (It also makes sure that the OpenSSL PRNG is properly
seeded before first use for certain vulnerable API levels.)
2014-09-06 18:15:25 -04:00
cketti
5f0f4e9c21 Merge pull request #485 from haselwarter
Conflicts:
	src/com/fsck/k9/preferences/Settings.java
2014-09-04 23:55:30 +02:00
cketti
f5cfaceef4 Increase settings version in preparation of merge into master 2014-09-04 23:54:06 +02:00
cketti
5802e6a36a Remove getNotifyClass() from Folder 2014-09-04 23:54:06 +02:00
cketti
7edd1cb53c Simplify database upgrade when adding 'notify_class' to 'folders' 2014-09-04 23:54:06 +02:00
zjw
8ef45e8f9a Merge pull request #492 from k9mail/remove_unused_resources
Resources cleanup
2014-09-04 17:01:28 -04:00
cketti
bd9efa8d01 Whitespace fixes 2014-09-04 22:58:38 +02:00
cketti
cb67a21a93 Remove commented-out code 2014-09-04 21:58:18 +02:00
cketti
ae8dcc5e8a Fix typo in attribute name 2014-09-04 20:18:05 +02:00
cketti
0c38d4f169 Remove unused resources and merge resource folders 2014-09-04 20:18:05 +02:00
cketti
759fa77c9a Merge pull request #474 from k9mail/tls-client-cert-auth
Client Certificate Authentication
2014-08-30 01:06:28 +02:00
Joe Steele
7c4a684f86 Clean up indentation
White space changes only
2014-08-29 10:47:46 -04:00
Joe Steele
9728609c4c Make the foldable container view INVISIBLE, not GONE
Now when toggling the foldable view, the screen no longer
jumps half a line up or down to recenter itself when
the view is displayed.
2014-08-29 10:47:45 -04:00
Joe Steele
8ade424270 Save/Restore the FoldableLinearLayout state 2014-08-29 10:47:43 -04:00