Commit graph

463 commits

Author SHA1 Message Date
cketti
a6dff1af16 Inject DownloadManager via constructor 2016-01-06 22:41:04 +01:00
Vincent Breitmoser
e1ca89bd5d make UidReverseComparator transitive, order null elements to right (fixes #969) 2016-01-03 02:45:59 +01:00
Swapnil Tailor
ed2a7e3454 Adding attachment infomation to downloads database for it will appear in
Downloads App
2015-12-30 22:20:08 -08:00
cketti
5ceb384442 Don't manually select vector drawables for notifications 2015-12-29 17:53:15 +01:00
cketti
e1ff5089ed Generate PNGs of notification icons from vector drawables 2015-12-29 17:42:25 +01:00
cketti
1cbc67f09a Rename vector drawables used in notifications 2015-12-29 16:53:52 +01:00
cketti
5b16fae70b Adjust emphasized notification color after targetSdkVersion update 2015-12-29 15:45:09 +01:00
cketti
abbefe42c5 Don't recreate pending intents for wear summary actions 2015-12-29 03:00:30 +01:00
cketti
52b28f91c4 Remove unused code 2015-12-28 21:17:51 +01:00
cketti
f6621829c5 Merge pull request #973 from k9mail/build_stuff
Various build-related changes
2015-12-27 21:17:15 +01:00
cketti
0ade2e4ed4 Enable debug logging for newly installed debug builds 2015-12-22 17:54:58 +01:00
cketti
ea0d2ef570 Move things from the AndroidManifest.xml to build.gradle 2015-12-22 17:54:57 +01:00
cketti
e0a772561d Remove tests dependent on GreenMail
GreenMail referencing classes that are not available on Android seems to
break the 'connectedCheck' Gradle task. The end-to-end tests were also
quite flaky.
2015-12-22 17:54:57 +01:00
cketti
b202661e62 Set sourceCompatibility and targetCompatibility to JavaVersion.VERSION_1_7 2015-12-22 17:54:57 +01:00
cketti
c69b7400f8 Update to Robolectric 3.0 2015-12-22 17:54:57 +01:00
cketti
ff18f9b3f8 Update test dependencies 2015-12-22 17:54:57 +01:00
cketti
099a3969f2 Update glide to 3.6.1 2015-12-22 17:54:57 +01:00
cketti
929c8cf66b Update htmlcleaner to 2.16 2015-12-22 17:54:57 +01:00
cketti
0341402f95 Update support-v4 to 23.1.1 2015-12-22 17:54:57 +01:00
cketti
cf0c91cea9 Remove unused support-v13 dependency 2015-12-22 17:54:57 +01:00
cketti
0e71ce5e89 Increase targetSdkVersion to 22 2015-12-22 17:54:57 +01:00
cketti
e8d16722ed Update build tools to 23.0.1 2015-12-22 17:54:57 +01:00
cketti
c34b9b5ad7 Increase compileSdkVersion to 22 2015-12-22 17:54:02 +01:00
Vincent Breitmoser
e42cc629ec compose: hide keyboard while alternate popup is shown 2015-12-22 02:04:30 +01:00
Vincent Breitmoser
b71b461959 compose: highlight query in dropdown text 2015-12-22 01:43:43 +01:00
Vincent Breitmoser
32fae731cb compose: use e-mail address picker instead of contact picker 2015-12-22 01:33:24 +01:00
cketti
6adee8f353 Remove MessageInfoExtractorTest 2015-12-21 02:44:39 +01:00
cketti
667ac923bd Merge pull request #962
Key-aware recipient chooser

Fixes #915
2015-12-21 01:22:23 +01:00
cketti
cfe193b120 Refactor code to set crypto status view in AlternateRecipientAdapter 2015-12-21 01:15:59 +01:00
cketti
6f01b5e011 Code cleanup 2015-12-21 00:52:01 +01:00
Vincent Breitmoser
57a3eccc0e compose: use position as item id for recipients 2015-12-21 00:48:44 +01:00
Vincent Breitmoser
96b7122782 compose: show alternate address popup on recipient token click 2015-12-20 23:09:24 +01:00
Vincent Breitmoser
02daf45c9a compose: leave uncompletable unparsable text as-is 2015-12-20 23:08:14 +01:00
Vincent Breitmoser
ba9cd4bfb9 rename RecipientView to RecipientMvpView 2015-12-20 23:08:14 +01:00
Vincent Breitmoser
f12da27098 compose: incorporate feedback 2015-12-20 23:08:10 +01:00
cketti
a5ad84481d Merge pull request #959 from k9mail/display_encrypted_in_message_preview
Display "*Encrypted*" in message preview
2015-12-19 18:25:32 +01:00
Vincent Breitmoser
a3fe6389eb compose: use enum for RecipientCryptoStatus 2015-12-17 23:37:58 +01:00
Vincent Breitmoser
c71555ec15 compose: add (experimental) crypto settings dialog 2015-12-17 23:37:55 +01:00
Vincent Breitmoser
e533d8177e compose: move RecipientSelectView into appropriate package 2015-12-17 15:36:23 +01:00
Vincent Breitmoser
5d00303677 compose: layout overhaul, opan gmail style 2015-12-17 15:36:15 +01:00
Vincent Breitmoser
367532c9e3 compose: better querying of added recipient data, move "add from contacts" into action bar 2015-12-17 03:16:29 +01:00
Vincent Breitmoser
2bb284bd36 compose: load recipient data for addresses before adding tokens 2015-12-17 03:16:29 +01:00
Vincent Breitmoser
8d42cdca74 compose: display overall crypto status 2015-12-17 03:16:29 +01:00
Vincent Breitmoser
7e1c47aa3f compose: start moving recipient field logic into presenter 2015-12-17 03:16:29 +01:00
Vincent Breitmoser
4f1b917022 compose: add key info from OpenKeychain to recipient dropdown 2015-12-17 03:16:29 +01:00
Vincent Breitmoser
b6fa7b8322 compose: use TokenCompleteTextView for recipient selection 2015-12-17 03:16:29 +01:00
Vincent Breitmoser
a3539bd052 ContactPictureLoader: lower bound for the view reference is ImageView, not QuickContactBadge 2015-12-17 03:16:29 +01:00
cketti
971ae08426 Merge branch 'GH-571_check_protocol_parameter' 2015-12-16 23:52:18 +01:00
cketti
9ef7a4c8f1 Code cleanup 2015-12-16 23:35:20 +01:00
alexandre
5d2de3b193 Errors on decryption were not handled #588 2015-12-16 23:22:30 +01:00
cketti
fb10b66371 Check protocol parameter to exclude non-PGP/MIME encrypted/signed messages
Fixes #571
2015-12-16 23:20:11 +01:00
cketti
d6b4452ade Display "*Encrypted*" in preview of encrypted messages 2015-12-16 21:33:19 +01:00
cketti
a0a362a19d Rewrite message preview extraction 2015-12-16 13:45:38 +01:00
cketti
2bec5efefe Merge pull request #950
Prepopulate user name field with email address in account wizard.
2015-12-14 10:43:53 +01:00
cketti
756ef44691 Revert part of previous commit
The variable 'user' in finishAutoSetup() is used to replace $user in
providers.xml and must hold the local part of the email address.
2015-12-14 10:43:15 +01:00
Marcel Wiegand
ded6662578 Prepopulate user name field with mail address in account wizard. Fixes #872 2015-12-13 03:53:37 +01:00
Marcel Wiegand
51fe459dfc Remove Flag.X_GOT_ALL_HEADERS. Fixes #891 2015-12-13 02:17:38 +01:00
s3b
acc2e428f1 Retain caret position when toggling 'show password'
Fixes #926
2015-12-12 05:46:03 +01:00
meinkej
ce31e3460c Update the project url, which is contained in the welcome message and is shown when the app starts for the first time. 2015-11-06 04:57:51 +01:00
cketti
5247679fba Always load headers when fetching a message from LocalStore
Fixes #604
2015-10-03 10:34:47 +02:00
cketti
3bea7123e6 Simplify SQL queries by not checking for NULL in 'empty' column 2015-09-28 23:05:45 +02:00
cketti
3c92196db0 Replace NULL in 'messages.empty' column with proper value 2015-09-28 17:06:48 +02:00
cketti
e76c489941 Merge pull request #795 from k9mail/GH-619_android_wear_support
Add Android Wear support

Closes #619
2015-09-28 01:52:51 +02:00
cketti
532aa76fce Switch NotificationIds.getNewMailStackedNotificationId() to a 0-based index 2015-09-27 15:04:45 +02:00
cketti
75cdb7b498 Rename some variables/methods for better readability 2015-09-27 15:04:08 +02:00
cketti
d84ce23ecf Replace "cid:" URI with "content://" URI when viewing/saving inline image
Fix #818
2015-09-27 08:10:46 +02:00
cketti
ae092e1c6e Add a little bit of documentation on summary vs. stacked notifications 2015-09-25 00:31:09 +02:00
cketti
5bbb7b7164 Rename NotificationsHolder to NotificationData 2015-09-24 22:08:04 +02:00
cketti
3e1b8639b1 Change the way notification IDs are generated 2015-09-24 21:38:10 +02:00
cketti
ca5f362080 Add tests for notification code and fix bugs found along the way 2015-09-15 20:28:59 +02:00
cketti
ecd7809575 Rewrite new mail notification code 2015-09-15 20:28:59 +02:00
cketti
29bd67641b Split NotificationController into multiple classes for maintainability 2015-09-15 20:28:59 +02:00
cketti
0f696bb1c5 Clean up and refactor code
Functionality (and bugs) should be the same as before.
2015-09-15 20:28:59 +02:00
cketti
55bdc1e5c2 Extract code that deals with generating notification IDs 2015-09-15 20:25:14 +02:00
cketti
2c49f21a52 Reuse reference to the system's NotificationManager 2015-09-15 20:25:14 +02:00
cketti
acd18291f2 Extract notification-related code from MessagingController to NotificationController 2015-09-15 20:25:14 +02:00
cketti
5b0883e49c Use MessageReference instead of message UID as key in 'stackedNotifications' 2015-09-15 20:15:20 +02:00
cketti
5d3f6ece1f Remove unused methods 2015-09-15 20:15:20 +02:00
cketti
e95916c529 Remove unnecessary EXTRA_DONTCANCEL 2015-09-15 20:15:20 +02:00
cketti
8be56fab90 Don't reinvent the wheel when creating MessageReferences
Also, we don't care about flags when dealing with MessageReferences for notifications.
2015-09-15 20:15:20 +02:00
cketti
4508e12504 Remove double synchronization 2015-09-15 20:15:20 +02:00
Marcus Wolschon
9c8fa32303 Add Android Wear support 2015-09-15 20:15:20 +02:00
cketti
065088feb2 Merge pull request #776 from k9mail/GH-744_attachment_mime_type
Prefer attachment MIME type from content provider over information from intent

Fixes #744
2015-09-13 03:03:16 +02:00
cketti
696579fcd5 Merge pull request #775 from k9mail/GH-765_folders_export
Fix folder settings export

Fixes #765
2015-09-13 02:39:54 +02:00
cketti
d4d701ae10 Merge pull request #774 from k9mail/GH-773_hide_load_more_button
Hide "Load up to X more" button

Fix issue #773
2015-09-13 02:14:57 +02:00
gaionim
83eadbbbea add poste + vodafone 2015-09-08 17:34:10 +02:00
calimou
ebc73c9138 Update providers.xml
added posteo.net domain
2015-09-08 10:20:02 +02:00
cketti
a6b9384635 Don't crash when callback is called after the fragment has been detached
Fixes issue #690
2015-09-07 06:51:53 +02:00
cketti
bb5d0682c3 Clean up MessageViewFragment a bit 2015-09-07 04:12:55 +02:00
cketti
1f16002685 Don't needlessly write message reference when saving instance state 2015-09-07 03:27:42 +02:00
cketti
c4bbae288b Hide the "Load up to X more" footer when there are no more relevant messages on the server
This is tricky for IMAP because we only care about non-deleted messages and
there's no easy way to count these. So when necessary we list all remaining
messages on the server to check whether any of them are relevant for us.
2015-09-06 21:06:18 +02:00
cketti
82b2e0280f Prefer MIME type from content provider over information from intent 2015-09-05 03:58:25 +02:00
cketti
4b11974e0d Bugfix: Export settings for folders containing "."
Fixes issue #765
2015-09-05 02:50:16 +02:00
cketti
62a1f2bd26 Merge pull request #731
Make K9 themeable by layers
2015-09-04 23:11:19 +02:00
cketti
d89bf8f33e Remove compatibility theme attributes 2015-09-04 23:01:04 +02:00
cketti
7fbaba9280 Add comment to explain why we have empty base themes 2015-09-04 22:55:16 +02:00
cketti
e16778f72e Remove duplicate attributes 2015-09-04 22:55:16 +02:00
cketti
ebfd5b398c Reformat CREATE TABLE statement 2015-09-03 22:48:13 +02:00
Dominik Schürmann
16bd8a53ed Remove debug log that slipped in 2015-08-25 08:30:31 +02:00
Dominik Schürmann
be18d06afd Update OpenPGP API to v8, use jcenter dependency, remove sub-project 2015-08-24 02:34:57 +02:00