Commit graph

5800 commits

Author SHA1 Message Date
cketti
0dc6605ccb Minor code style fixes 2016-02-13 03:02:09 +01:00
github201407
bb3a6823a3 Compose a new message as a forward of the given message,attachments were not able to be attached 2015-10-26 13:59:07 +08:00
cketti
2567f8c7af Merge pull request #829 from k9mail/auto_detect_archive_folder
Add support for auto-detecting Archive folder
2015-10-11 15:37:00 +02:00
cketti
0fe317c7ac IMAP: read LIST response until end of line
Fixes a bug introduced in de401db9cd
2015-10-11 14:53:22 +02:00
cketti
86d7a17466 Merge pull request #827 from k9mail/GH-604_always_load_headers
Always load headers when fetching a message from LocalStore
2015-10-11 12:55:52 +02:00
cketti
e6c52d3580 Merge pull request #825 from k9mail/GH-786_fix_parsing_for_folders_with_brackets
Fix parsing IMAP LIST responses containing folder names with brackets
2015-10-11 11:47:30 +02:00
cketti
ecef32141f Add support for auto-detecting Archive folder 2015-10-04 08:54:50 +02:00
cketti
5247679fba Always load headers when fetching a message from LocalStore
Fixes #604
2015-10-03 10:34:47 +02:00
cketti
de401db9cd Add support for folder names with brackets encoded as 'astring' in LIST response
Fixes #786
2015-10-02 06:37:47 +02:00
cketti
d686ae86b2 Increase test coverage of ImapResponseParserTest 2015-10-02 01:00:30 +02:00
cketti
bb4c0b07a0 Reformat code 2015-10-01 20:07:11 +02:00
cketti
535e045a0b Merge pull request #820 from k9mail/clean_up_database_to_simplify_queries
Clean up database to simplify queries
2015-10-01 03:04:27 +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
952da74b0e Merge pull request #718 2015-09-15 21:34:13 +02:00
cketti
c0924c2031 Reverse order of conditions in if clause 2015-09-15 21:32:08 +02:00
cketti
732463a89f Clean up code 2015-09-15 21:30:29 +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
cketti
65ee6d7a64 Merge pull request #785 from gaionim/provider
Add server settings for providers poste.it and vodafone.it
2015-09-13 01:07:16 +02:00
gaionim
83eadbbbea add poste + vodafone 2015-09-08 17:34:10 +02:00
cketti
f0ae55874e Merge pull request #784 from calimou/patch-1
Update providers.xml
2015-09-08 14:48:55 +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