Commit graph

6730 commits

Author SHA1 Message Date
Vincent Breitmoser
aaa904e075 When moving temporary files, try to copy if rename fails, and throw if that fails too (#1686)
Fixes #1243
2016-10-12 16:47:23 +02:00
Dominik Schürmann
6eca92ea97 Fix LICENSE on GitHub (#1712) 2016-10-12 16:35:13 +02:00
cketti
2087f0476c Merge pull request #1691
Improve Activity operation text

Fixes #1685
2016-10-12 16:23:57 +02:00
cketti
e511b8b7c1 Further clean up of ActivityListenerTest
* \u0020 is a hack required to have spaces at the beginning of resource
  strings. But there's no need to replicate this inside our tests.
* Dependencies shouldn't be static finals.
* Initialization of dependencies is usually boring. I like to extract that
  code to methods and put them at the end of the file.
* Using different values for 'current progress' and 'total' has the
  advantage of breaking tests when the two accidentally get mixed up.
2016-10-12 16:18:23 +02:00
cketti
1415261fdd Merge pull request #1705 from k9mail/no-crypto-hide-recipient-dots
hide recipient dots if no crypto provider is configured
2016-10-12 15:53:16 +02:00
cketti
4eb7c41f61 Merge pull request #1703 from k9mail/compose-fix-indeterminate
compose: hide indeterminate progress bar after onCreate (fix for api level 15)
2016-10-12 15:51:16 +02:00
Philip
f913f0802e Merge pull request #1708 from jonas-lundqvist/javadoc_localsearch
JavaDoc fix in LocalSearch
2016-10-12 01:34:24 +01:00
Jonas Lundqvist
2c81e11c1d
JavaDoc fix in LocalSearch
Minor JavaDoc fix to get rid of a warning.
2016-10-12 00:10:03 +02:00
cketti
0dfa6345b3 Merge pull request #1702 from k9mail/fix-old-api-npe
Avoid indirect call to invalidateOptionsMenu() before recipientPresenter is initialized
2016-10-11 18:52:29 +02:00
cketti
b01f49b39a Merge pull request #1704 from k9mail/messageprovider-fix-npe
Fix NPE in MessageProvider
2016-10-11 17:03:54 +02:00
Vincent Breitmoser
9fb91a0afc use Compat classes to access deprecated methods 2016-10-11 14:44:09 +02:00
Vincent Breitmoser
89fe5d790e hide dots in recipient list if no crypto provider is configured 2016-10-11 14:44:09 +02:00
Vincent Breitmoser
dae6be34df fix NPE in MessageProvider 2016-10-11 13:55:25 +02:00
Vincent Breitmoser
76b2339b69 compose: hide indeterminate progress bar after initialization (fix for api level 15) 2016-10-11 12:22:53 +02:00
Vincent Breitmoser
a88ccfd9e8 avoid indirect call to invalidateOptionsMenu() before recipientPresenter is initialized 2016-10-11 11:42:20 +02:00
cketti
54bf6f7bd5 Merge pull request #1695 from jonas-lundqvist/backstackid
Save state for back stack id in MessageList
2016-10-11 03:54:40 +02:00
cketti
7a0bacff41 Merge pull request #1689 from k9mail/fix-line-endings-for-pgp-inline
convert LF newlines to CRLF before converting to quoted-printable for clearsigned messages
2016-10-11 03:30:58 +02:00
Jonas Lundqvist
dc876d9cc5
Save state for back stack id in MessageList 2016-10-09 13:32:17 +02:00
Philip Whitehouse
0fff2ffd08 Update to Robolectric 3.1.1 and tidy up code 2016-10-09 02:21:14 +01:00
Vincent Breitmoser
ce249bf07e convert LF newlines to CRLF in crypto provider output
OpenKeychain/BouncyCastle at this point use the system newline for
formatting, which is LF on android.  We need this to be CRLF, so we
convert the data after receiving (and possibly before quoted-printable
encoding).
2016-10-08 12:23:54 +02:00
cketti
fc79b290d0 Merge pull request #1692
Handle download of attachment correctly when saving requested

Fixes #1629
2016-10-08 11:00:26 +02:00
Philip Whitehouse
1f26663ed1 Handle download of attachment correctly when saving requested 2016-10-08 10:57:47 +02:00
cketti
327a47d2ef Merge pull request #1688 from k9mail/limit-pgp-inline-dialog-displays
Limit number of times the PGP/Inline info dialog is displayed

Fixes #1595
2016-10-08 02:35:54 +02:00
cketti
88eb0f663a Merge pull request #1687 from k9mail/fix-message-view-theme-switch
Don't cache decoded message over configurations

Fixes #1666
2016-10-08 01:18:16 +02:00
Philip
302b668d58 On removing notification, mark it's ID no longer in use (#1677)
On removing notification, mark it's ID no longer in use

Fixes #1662
2016-10-08 00:54:15 +02:00
Philip Whitehouse
4c7f80161e Change folder_progress to correctly expect a decimal number instead of a string 2016-10-07 23:15:10 +01:00
Philip Whitehouse
53f3d549f7 Set account name when syncing headers & use correct folder name to generate display name 2016-10-07 23:14:54 +01:00
Vincent Breitmoser
a8d4655e56 limit number of times the pgp inline info dialog is displayed (closes #1595) 2016-10-07 19:09:26 +02:00
Vincent Breitmoser
22e8f4cedb don't cache decoded message over configurations
Since 773600c717, the message decoding
process might actually depend on theming parameters.  The MessageList
activity assumes that the theme will be reapplied during a call to
`recreate()`, so we better drop that cache on configuration changes.
2016-10-07 18:43:33 +02:00
cketti
c7b5a50636 Merge pull request #1680 from philipwhiuk/GH-1597-activeNeverSign
Use a darker grey to highlight the Never Sign/Encrypt as active
2016-10-07 06:45:14 +02:00
cketti
dcb6890550 Merge pull request #1679 from philipwhiuk/GH-1598-updateCryptoModeOnProceed
Move update of crypto settings to submit button and add Cancel
2016-10-07 06:27:02 +02:00
cketti
93865a33be Merge pull request #1678
Use the correct order for alternatives when building HTML messages
2016-10-07 05:55:20 +02:00
cketti
91c0b4274b Clean up MessageBuilderTest 2016-10-07 05:40:20 +02:00
Philip Whitehouse
0f84953f94 Use a darker grey to highlight the Never Sign/Encrypt as active 2016-10-07 03:49:45 +01:00
Philip Whitehouse
5271977f76 Move update of crypto settings to submit button and add Cancel 2016-10-07 03:23:58 +01:00
Philip Whitehouse
0cd52bc26b Use the correct order for alternatives when building HTML messages
Fixes #1625
2016-10-07 01:09:31 +01:00
cketti
dbb6cc4d88 Version 5.113 2016-10-06 19:13:30 +02:00
cketti
674a69b084 Merge pull request #1672 from k9mail/update_build_tools
Update build tools, Gradle version + wrapper, Android plugin
2016-10-06 02:26:04 +02:00
cketti
ab4f8e3907 Merge pull request #1668 from k9mail/GH-1666_fix_dark_theme
Fix dark theme

Fixes #1666
2016-10-06 02:11:26 +02:00
cketti
dd1040f546 Update build tools, Gradle version + wrapper, Android plugin 2016-10-05 23:13:10 +02:00
cketti
b6dcb72c7a Fix dark theme 2016-10-05 16:47:25 +02:00
cketti
59cbdcc559 Version 5.112 2016-10-05 14:03:43 +02:00
cketti
c905b303d6 Merge pull request #1617 from helmo/update-tld-str
Update TOP_LEVEL_DOMAIN_STR_FOR_WEB_URL to match more new TLDs
2016-10-05 13:33:47 +02:00
cketti
5c0a7f6d95 Merge pull request #1613 from k9mail/GH-1604_message_format_fix
Use correct message format when replying
2016-10-05 13:23:45 +02:00
cketti
5f7bc080f9 Make code more readable 2016-10-04 12:29:54 +02:00
cketti
f388fe41b8 Merge pull request #1614 from JacZig/master
Added provider settings for Ziggo and Virgin Media
2016-09-20 23:55:35 +02:00
Herman van Rink
8f8188cba5 Update TOP_LEVEL_DOMAIN_STR_FOR_WEB_URL to match more new TLDs
new regex produced by https://github.com/irccloud/android/blob/master/make-iana-tld-pattern.py cbe04ae
2016-09-18 16:18:36 +02:00
Jacco
9065b9fb66 Added provider settings for Ziggo and Virgin Media
We (Liberty Global) would like to extend the automatic configuration support with settings for Ziggo (The Netherlands) and Virgin Media (UK). You can validate these settings at:

https://www.ziggo.nl/klantenservice/internet/e-mail/imap/

http://help.virginmedia.com/system/selfservice.controller?CONFIGURATION=1001&PARTITION_ID=1&TIMEZONE_OFFSET=&USERTYPE=1&VM_CUSTOMER_TYPE=Cable&CMD=VIEW_ARTICLE&ARTICLE_ID=2743
2016-09-14 16:59:28 +02:00
cketti
97960ec57c Update message format when enabling/disabling PGP/INLINE 2016-09-13 06:23:06 +02:00
cketti
4430abaf30 Don't force plain text when PGP/INLINE is not enabled 2016-09-13 05:38:20 +02:00