1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 13:12:25 -05:00
Commit Graph

4680 Commits

Author SHA1 Message Date
Jesse Vincent
decf9b7f6b Merge pull request #390 from bboa/master
Update strings.xml
2013-09-29 12:57:32 -07:00
Jesse Vincent
5c53fd927b Merge pull request #391 from pylerSM/patch-2
Updated Slovak translation
2013-09-29 12:56:37 -07:00
pyler
72e9b3e5b8 Updated Slovak translation 2013-09-27 19:38:54 +02:00
Danny Baumann
8777441d92 Use address object as contact picture instead of email address only.
Fixes assignment problems for emails sent by some issue tracking
systems, which send out mails with a fixed mail address on behalf of
different people.
2013-09-27 08:53:14 +02:00
cketti
f964cf40a4 Change wording in changelog; fix typos 2013-09-26 03:43:04 +02:00
Danny Baumann
9865968f46 Update German translation 2013-09-25 15:26:32 +02:00
Danny Baumann
890e0e22e3 Some assorted warning fixes. 2013-09-25 15:20:43 +02:00
Danny Baumann
d6d22a82bc Fix build with latest SDK tools. 2013-09-25 14:54:27 +02:00
Danny Baumann
aa798fad85 Fix caching of fallback contact icons.
The cache key must be consistent with how calcUnknownContactLetter()
works, otherwise one gets the same fallback icon for different senders.
2013-09-25 14:52:59 +02:00
cketti
2b7f5e7b70 Merge branch 'pick_attachment_fix'
Update LocalStore code to handle the newly introduced temporary files
for attachments

Conflicts:
	res/values/strings.xml
	src/com/fsck/k9/activity/MessageCompose.java
2013-09-25 05:22:00 +02:00
cketti
677d6c923d Don't stop the activity before attachments have been fetched
Display a progress dialog when the user tries to send the message or
save a draft and the attachments haven't been fetched completely.
2013-09-25 03:46:11 +02:00
cketti
62aa1b87d0 Fetch attachments while MessageCompose activity is running
Android allows other apps to access protected content of an app without requesting the
necessary permission when the app returns an Intent with FLAG_GRANT_READ_URI_PERMISSION.
This regularly happens as a result of ACTION_GET_CONTENT, i.e. what we use to pick content
to be attached to a message. Accessing that content only works while the receiving activity
is running. Afterwards accessing the content throws a SecurityException because of the
missing permission.
This commit changes K-9 Mail's behavior to copy the content to a temporary file in K-9's
cache directory while the activity is still running.

Fixes issue 4847, 5821

This also fixes bugs related to the fact that K-9 Mail didn't save a copy of attached content
in the message database.

Fixes issue 1187, 3330, 4930
2013-09-25 03:12:34 +02:00
russian k-9 mail user
ecf9e24469 Update strings.xml
(RU) Various improvements and fixes. The some terms are unified with desktop clients (e. g. Sylpheed).
2013-09-24 20:02:42 +04:00
Koji Arai
bfb5a5bb78 Merge pull request #389 from jca02266/tests-on-jvm
Added tests running on JVM.
2013-09-23 06:47:20 -07:00
Sander Bogaert
99942381cc Fix type in settings string 'visisble'. 2013-09-23 11:50:34 +02:00
Koji Arai
fbadaca3e3 Added tests on JVM. 2013-09-21 09:23:33 +09:00
Koji Arai
0be299fbd0 Avoid StringIndexOutOfBoundsException when the header is broken like "=?us-ascii?q?abc?= =?" 2013-09-20 13:15:57 +09:00
Koji Arai
1c7d7af975 newly added a test testDecodeEncodedWords() 2013-09-20 13:15:49 +09:00
Koji Arai
f93bade5df Updated Japanese translation of the changelog. 2013-09-19 00:17:21 +09:00
Koji Arai
80232132c5 Added detailed description for narrow devices 2013-09-18 16:52:17 +09:00
Koji Arai
852114d639 Updated Japanese translation. catch up with 58e7732. 2013-09-18 16:52:10 +09:00
Jesse Vincent
cc06e9bbd8 Bumped manifest to 4.512 2013-09-16 10:15:44 -04:00
Jesse Vincent
0b7cee6cc9 4.512 changelog 2013-09-16 10:13:56 -04:00
Andrew Chen
fdda5768fe Merge pull request #384 from bboa/patch-1
Update ru strings.xml
2013-09-13 14:38:23 -07:00
Andrew Chen
58e7732996 Add IMAP support for Outlook.com.
IMAP is no longer a Plus feature; removing the note saying that it is.

http://blogs.office.com/b/microsoft-outlook/archive/2013/09/12/outlook-com-now-with-imap.aspx
2013-09-13 14:36:02 -07:00
russian k-9 mail user
ebb8dcdc02 Update strings.xml 2013-09-13 13:22:47 +04:00
cketti
430a67adfa Merge pull request #380
Fix notification showing "null" when sending mail
2013-09-13 00:11:30 +02:00
cketti
b95c079a28 Clean up code 2013-09-13 00:11:06 +02:00
cketti
a296cc3189 Update Czech, French, and Russian translation 2013-09-12 23:42:54 +02:00
cketti
02c323e74a Clean up translations 2013-09-12 23:42:04 +02:00
cketti
444e6184d8 Merge pull request #382
Update russian translation
2013-09-12 23:27:02 +02:00
cketti
f12ae4e7d0 Merge pull request #379
Update French translation
2013-09-12 23:25:14 +02:00
cketti
cdb6559b32 Merge pull request #377
Update Czech translation
2013-09-12 23:23:53 +02:00
russian k-9 mail user
ab7315e2f1 Update strings.xml
Updates and improvements (RU)
2013-09-12 19:16:26 +04:00
Vipul Solanki
e633814061 Fix issue_5931_shows_null_in_notification_while_sending_mail 2013-09-11 19:31:45 +05:30
Erkan
68bcde5562 Update strings.xml 2013-09-11 12:40:45 +02:00
Jan Urbánek
e3bcdb9c82 new strings translation 2013-09-09 15:57:39 +02:00
cketti
6820a8ab62 Merge branch 'pr/376'
Update German translation
2013-09-08 19:56:36 +02:00
Danny Baumann
887ee1ceb2 Small fix for German translation 2013-09-08 19:53:48 +02:00
m0viefreak
69a12761c7 german translation: add missing strings 2013-09-08 17:21:30 +02:00
cketti
c4979cf750 Merge pull request #375 from m0vie/de
Update German translation
2013-09-08 07:43:54 -07:00
m0viefreak
28742d77e9 german translation: use "neu erstellen" instead of "wiederherstellen"
"wiederherstellen" actually means "to restore", which does not
apply here, and makes people think these options are some sort of
backup/restore operation.

use the proper translation of "re-create" -> "neu erstellen" instead.
2013-09-08 16:40:12 +02:00
Joe Steele
1ff128890d Fix MimeMessage(InputStream in, boolean recurse)
No actual impact, because all existing calls were
with recurse = true.
2013-09-07 12:52:14 -04:00
cketti
b2013b6f5e Merge branch 'pr/374'
Encoding issues
2013-09-06 22:21:15 +02:00
cketti
aaa0de4dbc Don't append "null" to the "MAIL FROM" line in case the server doesn't support 8BITMIME 2013-09-06 20:28:46 +02:00
cketti
a7c9804995 Make sure the InputStream is always closed
Moving the code to create the OutputStream wrappers into the try-block ensures
that the InputStream is closed in case something goes wrong.
2013-09-06 19:42:10 +02:00
cketti
6cd52c123c Remove unnecessary type cast 2013-09-06 19:38:15 +02:00
cketti
dda8f64276 Remove code to write to /dev/urandom
In addition to a couple of custom ROMs linking /dev/urandom to a non-writable
*random version, now Samsung's SELinux policy also prevents apps from opening
 /dev/urandom for writing. Since we shouldn't need to write to /dev/urandom anyway
 we now simply don't.
2013-09-06 17:41:10 +02:00
Joe Steele
1ca1ef5c84 Content-type case-conversion changes.
Don't convert the content-type to lower case in
MimeMessage.getContentType.  The content-type may have optional parameters
that are case sensitive (boundary, name).

In removing the lower-case conversion from getContentType, a review was
made for inappropriate case-sensitive comparisons which use data obtained
with getContentType.  The only ones found were in isMimeType in both
Message and MimeBodyPart.

Case-sensitive instances of isMimeType were made case-insensitive.  Also,
isMimeType was moved from Message to MimeMessage for symmetry with
MimeBodyPart (MimeMessage & MimeBodyPart are similar and contain a good
bit of duplication such as this).

The unit test required fixing now that the case of the boundary text is
preserved.

References:

Commits 2c5186 and dc4002 added the toLowerCase to getContentType in
MimeMessage & MimeBodyPart (Issue 94).

Later, commit 50cd60 removed the toLowerCase addition from MimeBodyPart
(Issue 1289).
2013-09-03 19:54:18 -04:00
Joe Steele
63f68328ff Standardize line breaks within headers.
Fix the unit test to match.

All line endings in the unit test are now the same.

(Just for consistency.  Not a big deal, since such problems are fixed when
the messages are run through EOLConvertingOutputStream.)
2013-09-03 19:54:17 -04:00