1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-17 13:22:16 -05:00
Commit Graph

5394 Commits

Author SHA1 Message Date
cketti
6542ba3a72 Reorder dependencies 2014-11-12 19:53:05 +01:00
cketti
c252335d2e Use jutf7 1.0.0 since 1.0.1-SNAPSHOT doesn't include any relevant improvements 2014-11-12 19:49:28 +01:00
cketti
9b61fe0f0e Merge remote-tracking branch 'k9mail_pgp_mime/master'
Conflicts:
	src/com/fsck/k9/activity/AccessibleEmailContentActivity.java
2014-11-12 19:22:53 +01:00
cketti
9e6fc7c7d1 Merge pull request #13 from k9mail/art/update-certificates-in-tests
Update certificates in tests
2014-11-12 16:30:53 +01:00
cketti
0f70d5db40 Merge pull request #12 from k9mail/art/warn-if-not-serializable
Art/warn if not serializable
2014-11-11 19:52:31 +01:00
cketti
bd4a236525 Merge pull request #11 from k9mail/art/fix-tests-on-jvm
fix tests on JVM
2014-11-11 19:46:58 +01:00
cketti
7211080415 Merge pull request #10 from k9mail/art/more-tidying-arrays
Replace many arrays with collections
2014-11-11 19:45:35 +01:00
cketti
87ca0d3d2a Use TemporaryAttachmentStore when viewing attachments using file:// URI 2014-11-11 02:11:51 +01:00
cketti
34cfd8e5b4 Extract file related helper functions into separate class 2014-11-11 01:04:39 +01:00
cketti
e64ca84f1b Simplify MediaScannerNotifier 2014-11-10 06:43:26 +01:00
cketti
c3f1420ef6 Don't open the file after the media scanner added it to the media content provider 2014-11-10 06:43:00 +01:00
cketti
dfd40659d1 Append file name to content:// URI
This allows intent filters with patterns for file extensions to match.
2014-11-10 05:46:38 +01:00
cketti
6a1905b7b7 If we can't find an app to view an attachment try again with a file:// URI
Sadly, some apps only support the 'file' scheme in their intent filters. Among
them is Android's own package installer.
2014-11-10 05:37:22 +01:00
cketti
44ecf5d588 Use MIME type used for intent resolution in content provider 2014-11-10 03:12:28 +01:00
cketti
f87ab53b9b Try original and inferred MIME type to find best viewer for attachment
In order for Android to find apps that are capable of opening an attachment for
viewing the ACTION_VIEW Intent needs to contain an appropriate MIME type.
Ideally, we'd use the MIME type specified for the attachment in the message.
But often the supplied MIME type is wrong/useless. So we look at the file
extension to try to come up with a sensible MIME type on our own. We then go
on to ask Android which of the two MIME types leads to more apps claiming to
be able to open our attachment for viewing and use that one.
2014-11-10 03:10:09 +01:00
cketti
11a9eff109 Extract intent creation code to method 2014-11-09 20:46:46 +01:00
cketti
6cb3c991db No longer pretend there are attachment types we don't care about 2014-10-20 21:26:18 -04:00
cketti
3c4ad91614 Fix method names/visibility 2014-10-20 21:24:18 -04:00
cketti
d3073be89a Rearrange fields/methods 2014-10-20 21:21:09 -04:00
cketti
83d876f246 Inline method 2014-10-20 21:16:31 -04:00
cketti
f6822c973d Clean up comments 2014-10-20 21:13:58 -04:00
cketti
1e89314f3e Remove "m" prefix for field names 2014-10-20 21:09:23 -04:00
cketti
b3bc85ba10 Split 'populateFromPart' into multiple methods 2014-10-20 21:06:31 -04:00
cketti
ca88f59c05 Create named class for loading and displaying attachment thumbnails 2014-10-20 20:46:46 -04:00
cketti
4299eb9771 Rename method and improve documentation 2014-10-20 20:28:38 -04:00
cketti
4a6c52947d Make all fields of AttachmentView private 2014-10-20 20:14:04 -04:00
cketti
0ced8746af Remove old/unused code from click handler 2014-10-20 20:05:21 -04:00
cketti
33d12e4169 Fix russian translation of 'message_view_no_viewer' 2014-10-20 19:52:42 -04:00
cketti
187d760e5f Extract code to display error/status messages to a separate method 2014-10-20 19:50:41 -04:00
cketti
dfe1771fcb Fix formatting 2014-10-20 19:39:16 -04:00
cketti
b7a8c9b707 Remove unused code 2014-10-20 19:34:16 -04:00
tobiasbaum
3dab8a2ad1 Merge pull request #14 from k9mail/art/tidy-application-ref
remove unnecessary method parameters
2014-10-19 21:53:42 +02:00
Art O Cathain
438a350f55 remove unnecessary method parameters 2014-10-19 18:40:17 +01:00
Art O Cathain
a9b0907c31 further simplification 2014-10-12 09:24:08 +01:00
Art O Cathain
ba26cfce90 remove controversial methods 2014-10-12 08:54:44 +01:00
Art O Cathain
5dc1b82340 address review comments 2014-10-11 23:52:48 +01:00
Boris Kraut
aa959f4457 Get more dependencies from jCenter 2014-10-11 18:03:57 +02:00
Art O Cathain
e592aff437 fix test that failed due to certificate expiry 2014-10-11 16:34:58 +01:00
Art O Cathain
d980e49fd1 chain the exception 2014-10-11 16:11:12 +01:00
Art O Cathain
c6df8f1ba1 warn if not serializable, also add basic unit test 2014-10-11 12:37:36 +01:00
Art O Cathain
dd1ec5f47b add unit test 2014-10-11 12:13:07 +01:00
Art O Cathain
668ee71b6c fix tests on JVM 2014-10-11 12:10:07 +01:00
cketti
4aad31e05a Bump version to 5.101 2014-10-10 13:42:52 -04:00
cketti
d2bfcab939 Update changelog for 5.101 2014-10-10 13:39:30 -04:00
cketti
c3c8221d4a Set minSdkVersion + targetSdkVersion via build.gradle
Without this building with Gradle adds a 'maxSdkVersion' attribute to the manifest. This seems to cause the targetSdkVersion value being ignored. And with a targetSdkVersion value lower than 16 the permissions READ_CONTACTS/WRITE_CONTACTS imply READ_CALL_LOG/WRITE_CALL_LOG. But we don't need/want those permissions.
2014-10-10 13:15:48 -04:00
cketti
7945aab8a7 Merge pull request #9 from k9mail/art/interface-not-impl
use interfaces, not implementions
2014-10-07 23:00:11 -04:00
cketti
0f844fd4d2 Bump version to 5.100 2014-10-07 21:50:15 -04:00
cketti
270160e65a Support reading signing config values from Gradle properties 2014-10-07 21:40:42 -04:00
cketti
87acbb7cac Update changelog for 5.100 2014-10-07 21:30:55 -04:00
cketti
06d1a2471a Change text in feature graphic 2014-10-07 21:27:45 -04:00