1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-04 15:02:20 -05:00
Commit Graph

5521 Commits

Author SHA1 Message Date
cketti
352fb8fd25 Remove legacy APG interface 2014-09-18 23:20:49 +02:00
cketti
99991e6651 Remove option to select (legacy) APG as crypto provider 2014-09-18 19:15:53 +02:00
cketti
4105cdd3cb Change/fix indentation of Gradle files 2014-09-18 15:18:41 +02:00
cketti
082dd953b2 Remove now unused AccessibleEmailContentActivity 2014-09-18 15:06:00 +02:00
cketti
9d93735d27 Don't "export" BootReceiver's scheduleIntent action 2014-09-18 02:27:11 +02:00
cketti
64cd587b5e Don't export CoreReceiver 2014-09-18 02:25:34 +02:00
cketti
3612d182a1 Tidy up AndroidManifest.xml
Formatting only; no functional changes
2014-09-18 00:43:01 +02:00
Tobias Baum
960d7ba026 Renamed method according to review comment 2014-09-17 20:30:28 +02:00
Tobias Baum
1ea34d2378 Flagged some code with TODOs, added Javadoc for Body 2014-09-14 11:20:18 +02:00
Tobias Baum
be954d729c Whitespace, Tabs to Spaces 2014-09-14 11:18:57 +02:00
Tobias Baum
7d32b3d462 Removed unnecessary overriding methods 2014-09-14 11:17:02 +02:00
Tobias Baum
a9aa4645af Removed unused methods 2014-09-14 11:15:44 +02:00
Tobias Baum
545dd0db06 Added a getBodyparts method to Multipart so that foreach loops can be used. Removed unnecessary mutators from Multipart. 2014-09-14 11:13:34 +02:00
Tobias Baum
5513d5a99b Pulled down getSize from Part to Message which makes ImapBodyPart superfluous 2014-09-14 11:11:48 +02:00
Tobias Baum
d467dca32c Added testcases for parsing and removed unused methods for parsing 2014-09-14 11:05:55 +02:00
cketti
601e2880ac Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/com/fsck/k9/mail/transport/SmtpTransport.java
2014-09-12 07:11:32 +02:00
cketti
bd839a995f Merge pull request #3 from frommeyerc/merge-upstream
Extract inner classes from LocalStore
2014-09-12 07:07:07 +02:00
cketti
a6fc06f7f9 Fix code style 2014-09-12 06:35:07 +02:00
cketti
3e4beae631 Remove unused 'check mark' color chip 2014-09-12 06:26:03 +02:00
cketti
b31660c63e Remove unused strings 2014-09-12 05:54:38 +02:00
cketti
471f1df160 Use checkstyle to monitor code quality 2014-09-12 03:30:34 +02:00
cketti
98559900c2 Add support for disabling pre-dexing 2014-09-12 03:30:13 +02:00
cketti
87a9126107 Update HoloColorPicker to use build tools 20.0.0 2014-09-12 03:30:07 +02:00
cketti
a2a9e751e4 Use android-sdk-manager to fetch Android SDK dependencies 2014-09-12 03:28:46 +02:00
Christian Frommeyer
9dba60c997 Some minor code cleanings and logging for LockableDatabase 2014-09-11 20:26:40 +02:00
Christian Frommeyer
eced036d69 Extracting Database Setup Schema definition form LocalStore. 2014-09-11 20:26:40 +02:00
Christian Frommeyer
91ef5fa816 Extracted LocalFolder and LocalMessage definition from LocalStore 2014-09-11 20:26:40 +02:00
Christian Frommeyer
89ba2c510b More nested classes extracted from LocalStore. 2014-09-11 20:26:40 +02:00
Christian Frommeyer
f92da3af59 Extracting local attachment classes from LocalStore to reduce file size. 2014-09-11 20:26:39 +02:00
Christian Frommeyer
038fceabf0 Move LocalStore to new subpackage to prepare decomposition of nested
classes.
2014-09-11 20:26:39 +02:00
cketti
939b2e3520 Add Play Store feature graphic assets 2014-09-10 21:49:44 +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