Commit graph

528 commits

Author SHA1 Message Date
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
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
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
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
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
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
dalevizo
e857ca1f54 Update providers.xml
fix typo in mycosmos.gr provider
2015-08-17 00:48:18 +03:00
Allan W
93f8965164 Make K9 themeable by layers.
Moved all custom attributes from the base theme to the light/dark theme. That way, the parent theme for the base can be easily changed.
2015-08-03 11:01:06 -07:00
Dimos Alevizos
66e379c6fd Add autoconfig settings for some Greek providers 2015-07-24 13:09:21 +03:00
Doug Sparling
ecd5239c2b Don't use StringReader in HtmlConverter as calls to read have unnecessary locking. 2015-07-23 00:07:21 -05:00
cketti
9050ef16a2 Merge pull request #686 from k9mail/art/more-static-analysis-fixes
Fix static analysis warnings and stop using nulls everywhere
2015-07-16 08:39:34 +02:00
cketti
fde7b985fc Merge pull request #700 from k9mail/issue-661_disable_notifications_during_quiet_time
Add setting to completely disable notifications during Quiet Time
2015-07-06 22:23:45 +02:00
cketti
d8aef84127 Don't overwrite delete policy when editing incoming server settings
Fixes #616
2015-07-06 20:40:10 +02:00
cketti
ecb6893e6c Properly encode folder name in MessageProvider delete URI
Fixes #706
2015-07-06 20:02:19 +02:00
Art O Cathain
e935feb068 extract variable per review comment 2015-07-01 16:59:57 +01:00
Art O Cathain
32cc97207c do not throw exception in MessagingController per review comment 2015-07-01 16:57:13 +01:00
cketti
54d30833fc Merge pull request #694 from k9mail/send_error_handling
Improve send failure handling
2015-06-28 05:54:43 +02:00
cketti
d08942cc50 Add 'notificationDuringQuietTimeEnabled' to settings import/export 2015-06-28 05:24:30 +02:00
cketti
7959033f26 Change naming/wording 2015-06-28 05:14:21 +02:00
Sander Baas
07c12e83d0 Add option to disable notifications in quiet time
Fixes #661
2015-06-28 05:14:21 +02:00
cketti
d301d63274 Add support for saving message/rfc822 parts
Fixes #603
2015-06-26 06:15:32 +02:00
cketti
9d44f0e062 Improve send failure handling
We now no longer parse the exception message in MessagingController to find
out if it was a permanent SMTP failure.
Overall the code is still a mess, but the error handling should be a little
bit better and more readable now.
2015-06-22 00:43:31 +02:00
Art O Cathain
7fc8767a5c fix static analysis warnings and stop using nulls everywhere 2015-06-13 16:47:35 +01:00
Art O Cathain
591785a3ab fix up some dodgy nulls 2015-06-13 16:24:58 +01:00
Art O Cathain
2d45e53739 fix potential NPE 2015-06-13 15:29:58 +01:00
cketti
e01b1b189f Merge pull request #653 from k9mail/change_folder_sync
Don't write messages without (partial) body to database
2015-06-10 02:29:50 +02:00
cketti
6138afb579 Don't write messages without (partial) body to database
Opening such messages during download will display "No text" and (probably
due to a bug) might lead to the synchronization process being aborted. Instead
of fixing the UI issue we now don't write these incomplete messages to the
database. This has the potential to massively speed up the sync process. But
it will take longer for messages to show up in the message list, especially
with slow connections.
2015-05-22 07:25:17 +02:00
cketti
1cd7df1369 Don't write the new push state to the database for every message 2015-05-22 07:25:14 +02:00
cketti
916929e507 Fix getting code coverage on CI builds 2015-05-21 14:52:50 +02:00
cketti
a24d85d754 Move library tests to k9mail-library module 2015-05-21 02:21:38 +02:00
cketti
4b273c1749 Move some tests from 'androidTest' to 'test' folder 2015-05-20 21:00:43 +02:00
cketti
0f66cacf10 Move JVM tests into main k9mail module
Use Robolectric for the tests that use framework classes.
2015-05-20 21:00:43 +02:00
cketti
b660d45b6c Merge branch '5.103_with_bugfixes' 2015-05-02 18:11:40 +02:00
cketti
ce86e773e0 Use Greenmail 1.4.1 release instead of (now removed) snapshot 2015-04-30 10:10:54 +02:00
cketti
3e833580ac Use numbered parameters in format string
… because Transifex is stupid and complains when a parameter doesn't show
up in a translation exactly like it's defined in the source language.
2015-04-30 09:58:31 +02:00
Marcus Wolschon
05934d75d8 wrong parameter order in format string.
(Found via Android Studio Lint tool)
2015-04-28 23:08:17 +02:00
Marcus Wolschon
64e22a72ed Some first android wear support for enhancement
#619  "Add android wear support"

No reply with voice yet (as requested in the ticket).
No user-configurable actions yet, just delete+archive+spam
No stacked notification for multiple messages yet.
2015-04-28 22:26:17 +02:00
Marcus Wolschon
0f848ee51f reverting accidental commit 1dfc2a5490 2015-04-28 22:17:02 +02:00
Marcus Wolschon
1dfc2a5490 Merge remote-tracking branch 'origin/master' 2015-04-28 22:05:37 +02:00
Marcus Wolschon
c37934ea16 Fixed wrong parameter order leading to broken MessageReferences. 2015-04-28 22:04:22 +02:00
cketti
d538278be6 Don't write HtmlConverterTest results to a file
Fixes issue #618
2015-04-28 05:43:35 +02:00
cketti
83bb97b0c5 Revert "Potentially avoid creating new Typeface instances"
This reverts commit 9df1a3ee80.
2015-04-04 01:46:53 +02:00
cketti
017ae1d2f3 Merge pull request #590
WebView: Open links in external Browser
2015-04-04 01:20:08 +02:00
cketti
babd3a530f Add activity flags to browser view intent 2015-04-04 01:06:14 +02:00
cketti
ba8cb6c85d Set EXTRA_CREATE_NEW_TAB to 'true' in browser view intent 2015-04-04 00:57:47 +02:00
cketti
09babb6e88 Restructure the code a bit 2015-04-04 00:55:53 +02:00
cketti
8bcf9b1d50 Remove comments 2015-04-04 00:50:14 +02:00
cketti
80fa468ec2 Merge pull request #581
MessageReference class refactor
2015-04-03 21:36:26 +02:00
cketti
24b61e0743 Fix code formatting 2015-04-03 21:33:38 +02:00
cketti
a3375d7030 Make MessageReference fields private 2015-04-03 20:43:49 +02:00
cketti
9275bb2943 Remove unused constructor 2015-04-03 20:35:33 +02:00
cketti
af36129449 Extract local variables for easier readability 2015-04-03 20:27:11 +02:00
cketti
632517be81 Remove trivial comments 2015-04-03 19:50:50 +02:00
Art O Cathain
1ec2c5b095 Clarify 2015-03-31 20:29:51 +01:00
Art O Cathain
6a03e62f52 ensure account also removed from memories on delete 2015-03-31 20:10:25 +01:00
m0viefreak
46f74bd11c WebView: Open links in external Browser
1a20ca06f1 connected a WebViewClient
to the WebView. But as soon as a client is connected, the WebView
stops handling links itself and tries to display everything on
its own.

Override shouldOverrideUrlLoading() and replicate what Android's
default WebView does if no WebViewClient is connected to work
around this.

This fixes #587.
2015-03-26 02:27:10 +01:00
Dominik Schürmann
ffc5ba2cf3 PGP: Set correct encryption state in message crypto annotation via RESULT_TYPE 2015-03-21 15:40:15 +01:00
Valentin CAULIER
ebcd10d1b1 Merge remote-tracking branch 'upstream/master' into MessageReferenceImmutability 2015-03-21 11:53:40 +01:00
Valentin CAULIER
13f6b42250 MessageReference is now immutable 2015-03-21 11:12:16 +01:00
Valentin CAULIER
3e84c20c9b Updating other classes to use new constructor and getters of
MessageReference
2015-03-21 11:12:13 +01:00
Dominik Schürmann
16f09611fe PGP: Introduce key preference per account for OpenPGP APIv7 2015-03-20 15:14:48 +01:00
Valentin CAULIER
bf0333ba31 Beginning MessageReference update to immutable object 2015-03-16 16:29:42 +01:00
cketti
ab964cf8af Merge branch 'pgp_mime_preparations' 2015-03-16 16:14:45 +01:00
cketti
54831fba73 Remove test for openpgp-api-library code 2015-03-16 16:05:25 +01:00
Dominik Schürmann
e4cfd3c886 Update openpgp-api-library for APIv7 2015-03-16 14:29:12 +01:00
cketti
f0e1b14b58 Merge pull request #567
Move NetworkType to k9mail-library, use on StoreConfig
2015-03-16 13:39:59 +01:00
cketti
494b16196d Rename AccountCreator.calculateDefaultDeletePolicy() 2015-03-16 13:28:11 +01:00
cketti
5f14e3b4e1 Use switch statement inside calculateDefaultDeletePolicy()
With this - at least in theory  - the JIT compiler can produce better code
than is possible with the static HashMap.
2015-03-16 13:26:44 +01:00
cketti
f733cc38ba Merge pull request #566
Rationalize default ports
2015-03-16 13:15:43 +01:00
cketti
00528f5d24 Move throw statement outside of switch body
This way static analysis can detect when we're missing a switch case.
2015-03-16 13:11:01 +01:00
cketti
855da35f3a Code style fixes 2015-03-16 13:06:40 +01:00
cketti
d528864a25 Merge branch '5.103_with_bugfixes'
Make sure 5.105 can be found in master branch
2015-03-14 12:28:20 +01:00
cketti
08beb212c2 Fix crashes when selecting messages in the message list
Throughout the code we make the assumption that onPrepareActionMode() is
called right after starting the action mode. However, this is not the case on
Android 5.1.
With this change we call ActionMode.invalidate() right after starting the
action mode which causes onPrepareActionMode() to be invoked.
2015-03-13 21:12:21 +01:00
cketti
42419fc4e5 Bump version to 5.104 2015-03-13 13:10:11 +01:00
cketti
20a1fa384c Prepare changelog for 5.104 2015-03-13 12:53:17 +01:00
cketti
9f2bbe9ae4 Add Serbian translation 2015-03-13 12:48:50 +01:00
cketti
e0a249098b Update translations 2015-03-13 12:42:16 +01:00
Art O Cathain
110400a85b move NetworkType to k9mail-library, use on StoreConfig 2015-03-08 12:59:15 +00:00
Art O Cathain
520e327775 remove duplication 2015-03-08 11:26:54 +00:00
Art O Cathain
810d0cf6b4 Move default port and default TLS port to a single location 2015-03-08 11:05:53 +00:00
cketti
147db8cc5e Configure 'developer mode' via BuildConfig 2015-03-07 00:30:50 +01:00
cketti
2f832e5fa4 Merge pull request #562 from artbristol/art/tidy-check-settings-async-task
Refactor to make code more readable
2015-03-06 23:52:22 +01:00
cketti
46bac187d5 Merge pull request #557 from artbristol/art/account-creation-refactor-2
Remove duplication, enum-ify String
2015-03-06 23:47:46 +01:00
cketti
67404b1883 Merge pull request #553
Remove redundant variable assignments
Minimize scope of local variables
2015-03-06 23:13:54 +01:00
cketti
abd2b20850 Minimize scope of local variables 2015-03-06 23:12:28 +01:00
cketti
29f7552c3a Merge pull request #548
Rename Searchfield to SearchField
2015-03-06 23:00:18 +01:00
cketti
b826d4e98d Use imports for inner classes 2015-03-06 21:19:27 +01:00
cketti
bf344dee5d Merge branch 'master' into pgp_mime_preparations 2015-03-03 00:33:45 +01:00
cketti
2a404b30d2 Small refactoring of MessageBuilder 2015-03-03 00:26:43 +01:00
cketti
cb0a99281a Refactor IdentityHeaderBuilder to make it a bit more readable 2015-03-03 00:11:59 +01:00
cketti
bc284584d1 Move code to build messages outside of MessageCompose 2015-03-02 23:52:35 +01:00
cketti
5330fe5b27 Extract code to parse a message header to its own class 2015-02-25 03:36:48 +01:00
Art O Cathain
d0fa82269f review comments 2015-02-23 17:28:42 +00:00
cketti
dd20ff5aa3 Merge pull request #561
Reduce code duplication in AccountSetupAccountType
2015-02-23 03:39:07 +01:00
cketti
737e0d2ac8 Minor code style fixes 2015-02-23 03:36:34 +01:00
cketti
d443a6d4eb Add more tests 2015-02-23 02:58:16 +01:00
cketti
a979accb54 Add helper methods to get more readable tests 2015-02-23 02:58:16 +01:00
cketti
af491fdb41 Remove comments 2015-02-23 02:23:00 +01:00
cketti
084e7a1687 Change names of test methods 2015-02-23 02:22:10 +01:00
cketti
8fbb3edd1c Fix code style 2015-02-23 01:45:30 +01:00
Art O Cathain
5035e7e3d1 review comments, also use == in preference to equals for enums 2015-02-22 21:30:26 +00:00
Valentin CAULIER
23c01b0390 MessageReference class, method equals() unit tests 2015-02-22 21:11:13 +01:00
Art O Cathain
a656a61c65 tidy method 2015-02-22 17:01:14 +00:00
Art O Cathain
d5d42469b0 Avoid confusing reuse of local variables 2015-02-22 16:03:58 +00:00
Art O Cathain
492d65feed reduce duplication 2015-02-22 15:52:16 +00:00
cketti
e7f706b78d Show new decrypt/verify error conditions in crypto header 2015-02-21 04:31:44 +01:00
cketti
bcb668300f Refactor OpenPgpHeaderView for readability 2015-02-21 03:24:41 +01:00
cketti
6def0be158 Add helper methods to shorten code 2015-02-21 02:57:02 +01:00
cketti
fd99c279e5 Remove "m" prefix of field names 2015-02-21 02:52:55 +01:00
cketti
ab877453d9 Use enum instead of int constants 2015-02-21 02:50:47 +01:00
cketti
d61ac959a9 Limit method/field accessibility 2015-02-21 02:39:34 +01:00
cketti
ae258f5761 Remove unused method 2015-02-21 02:39:34 +01:00
cketti
b40749547c Don't show parts we can't (yet) decrypt as attachments 2015-02-21 02:39:34 +01:00
cketti
e5e4c29736 Save type of crypto part for later use 2015-02-21 02:39:34 +01:00
cketti
6f3f555986 Add support for new decrypt/verify error conditions
We can decrypt or verify a message if it was only partly downloaded.
2015-02-21 02:39:33 +01:00
cketti
c6abb50d10 Refactor code to get smaller methods 2015-02-20 18:31:42 +01:00
Art O Cathain
1a706c3113 formatting 2015-02-18 19:48:17 +00:00
Art O Cathain
583a637d79 Remove duplication, enum-ify String 2015-02-18 19:42:33 +00:00
cketti
d8448c3510 Only make http or https URIs trigger the "Show pictures" button 2015-02-17 23:42:26 +01:00
cketti
ab8746ffe9 Hide side bar when not showing the crypto header view 2015-02-17 23:18:46 +01:00
cketti
132ede425b Make it easier to check if a crypto provider is configured 2015-02-17 20:17:34 +01:00
cketti
cac1f1ca0d Do MessageTopView initialization in onFinishInflate() 2015-02-17 18:04:52 +01:00
cketti
160b9eb354 Do MessageContainerView initialization in onFinishInflate() 2015-02-17 17:42:28 +01:00
cketti
f887348953 Set background color of message view in one place 2015-02-17 04:15:10 +01:00
cketti
e15cda8504 Fix "Show pictures" button functionality 2015-02-17 03:54:13 +01:00
cketti
68147880ce Move "Show pictures" button into MessageTopView
We can also get rid of the "Show message" and "Show attachments" buttons.
2015-02-17 02:32:20 +01:00
cketti
c64ae008c1 Code cleanup 2015-02-17 01:54:40 +01:00
cketti
6b52f41e2c Better name for method argument 2015-02-17 01:43:53 +01:00
cketti
e16f8af667 Don't pass Fragment reference to MessageContainerView 2015-02-17 01:30:41 +01:00
cketti
15cb58fe42 Add placeholder for application ID to K9FileProvider 2015-02-17 00:58:03 +01:00
cketti
9659bee8c5 Merge branch 'master' into pgp_mime_preparations 2015-02-17 00:56:42 +01:00
cketti
ebef8eccb9 Add missing placeholder for application ID 2015-02-17 00:45:36 +01:00
Art O Cathain
ffb4507776 Enums instead of int/String constants (#547)
simplify and add logging

simplify

use == for enum comparison to avoid type mistakes

enum name needs to match previous constant

simplify

Address review comments - formatting, and remove superfluous comment

Shorten DeletePolicy values since not used in settings strings; import enums to reduce clutter

fix whitespace

remove comment per review

address review comment

review comments

remove another superfluous qualification

Last changes
2015-02-16 22:22:05 +00:00