Commit graph

5831 commits

Author SHA1 Message Date
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
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
cketti
fb218ee17e Add first version of guidelines for contributing 2015-08-29 05:54:35 +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
cketti
cae278b283 Merge pull request #739 from GuillaumeSmaha
Fix issue caused by missing error object

Closes #739
2015-08-21 22:58:17 +02:00
cketti
129f9a74a1 Fix wording 2015-08-21 22:58:05 +02:00
Guillaume Smaha
5cf39dde44 Fix an issue when passphrase is cancelled
Cancel the window asking passphrase crash the app due a missing error.
2015-08-21 22:58:05 +02:00
cketti
4486617611 Merge branch 'GH-741_case_insensitive_mime_type_checks' 2015-08-21 21:14:37 +02:00
cketti
767976c973 Use helper method to case-insensitively compare MIME types
Fixes #741
2015-08-21 21:14:30 +02:00
cketti
ed6655fc18 Merge pull request #720 from dalevizo/master
Add autoconfig settings for some Greek providers
2015-08-21 17:44:27 +02:00
cketti
10cb346c19 Merge pull request #672
Add confirmation dialog for discarding messages
2015-08-21 17:01:07 +02:00
cketti
cb8c11e767 Add message discard confirmation setting to settings import/export 2015-08-21 16:55:35 +02:00
cketti
ff369cc922 Use framework to show confirmation dialog 2015-08-21 16:53:53 +02:00
cketti
46ac437d7b Fix naming and code style 2015-08-21 16:53:53 +02:00
jcontno
207ee0f359 added a confirm dialog if accidently pressed the menu entry discard in the
message compose string. The dialog is default on and can be disabled in
global settings > interaction > notifications
2015-08-21 16:53:53 +02:00