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
4db7de4ed8
Merge pull request #559
2015-02-23 03:13:28 +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
cketti
24e6b39dc0
Stop using Intent.setClassName()
...
Use the type-safe Intent constructor to reference internal classes.
2015-02-16 22:44:55 +01:00
cketti
461778ed11
Merge branch 'configurable_application_id'
2015-02-16 21:53:44 +01:00
cketti
1301645387
Use different application ID for debug builds
...
This way debug builds can be installed next to the release version.
2015-02-16 21:45:04 +01:00
cketti
ebeed31705
Fix search for non-default application ID
2015-02-16 21:38:16 +01:00