Vincent Breitmoser
bbd2b0d5a7
migration: restructure, document, add some assertions
2016-01-29 14:18:33 +01:00
Vincent Breitmoser
b6e3587aeb
migration: add MIGRATED_FROM_V50 flag
2016-01-28 22:40:56 +01:00
Vincent Breitmoser
1f1014ea65
migration: replace content:// uris in html content with original cid: uris for known contentIds
2016-01-28 22:37:36 +01:00
Vincent Breitmoser
ec58961888
migration: assign new attachment ids
2016-01-28 22:37:36 +01:00
Vincent Breitmoser
99d4e2b964
migration: break down migration, fallback to multipart/mixed
2016-01-28 22:37:35 +01:00
Vincent Breitmoser
cad01ab5b2
migration: first steps for migration
2016-01-28 22:37:24 +01:00
cketti
390b42412f
Set allowBackup attribute in the manifest
2016-01-24 05:42:44 +01:00
cketti
321577803d
Remove unused resources
2016-01-24 05:40:40 +01:00
cketti
d81b2031e5
Merge pull request #1030 from k9mail/localfolder-cleanup
...
Break migration down into methods, clean up some warnings in mailstore
2016-01-24 02:36:20 +01:00
Vincent Breitmoser
ac83b0062d
break migration down into methods, clean up some warnings in mailstore
2016-01-22 15:48:52 +01:00
Vincent Breitmoser
2586421d7b
compose: change cryptostatus to builder pattern
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
e642bed63e
compose: clean up some old openpgp logic remnants
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
8b5811077f
compose: show address label in its own line in alternate popup
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
67541a60cb
compose: add workaround for glide sometimes not loading contact pictures
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
284a13070a
compose: extract some strings I missed
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
e08cd7419e
compose: add icon for opportunistic encryption
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
f5ee2229cc
compose: move compose-related classes into compose package
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
4c999736bb
compose: clean up a bunch of warnings
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
1529e41ce3
compose: fix recipient expander visibility
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
64ab769034
compose: display progress while message is being built, update draft saving
...
draft is only saved remotely if the message is not encrypted
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
441e35f1cd
compose: centralize pgp crypto status into immutable ComposeCryptoStatus object
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
bbc52b3265
compose: handle draft saving (though not encrypting yet)
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
f2d77d63f9
compose: introduce PRIVATE crypto mode ui
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
bb8a9e8994
compose: work on SignSafeOutputStream
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
66520a2cb3
compose: just custom set headers, for now
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
b8827b613f
compose: some work on PgpMessageBuilder
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
dc57e5b3ab
compose: add micalg parameter to pgp multipart/signed
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
eab24b812f
compose: work on asynchronicity of MessageBuilder
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
f94d6e387f
compose: stream data, never keep entire message in ram
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
99503960e5
compose: move pgp/mime construction into PgpMessageBuilder
2016-01-20 21:27:25 +01:00
Vincent Breitmoser
f483426a12
include openpgp-api-lib, again
2016-01-20 21:27:25 +01:00
cketti
93df7525c4
Merge pull request #1021
...
Enable syncing while idle on Android M devices
2016-01-15 10:49:48 +01:00
cketti
3e23eeb289
Add tests for K9AlarmManager
2016-01-15 10:15:42 +01:00
cketti
4d241f0f04
Remove unused methods
2016-01-15 08:56:29 +01:00
TETRA2000
47a6d1bf27
enable syncing while idle on Android M devices
2016-01-15 08:13:02 +09:00
TETRA2000
deff0ce80d
update to API 23
2016-01-15 08:11:05 +09:00
cketti
b30ee72d76
Merge pull request #996
...
Extract code to decode mailto URIs
Fixes #964
2016-01-13 11:02:28 +01:00
cketti
73f1bca8a6
Remove unused class
2016-01-13 11:01:06 +01:00
cketti
68fc9a9555
Pass MailTo instance to RecipientPresenter
2016-01-13 10:48:10 +01:00
cketti
042346301f
Rewrite MailTo to improve readability
2016-01-13 10:43:35 +01:00
cketti
41897a24c1
Make use of internal implementation detail
2016-01-13 10:17:25 +01:00
cketti
b8bfd57c78
Clean up and add some tests
2016-01-13 10:14:05 +01:00
cketti
1c475033b0
Code style fixes
2016-01-13 09:29:31 +01:00
cketti
26bdd0bf45
Make MailToTest run on the JVM using Robolectric
2016-01-13 09:22:31 +01:00
Swapnil Tailor
a6ab976ac9
issue#964 Extract code to decode mailto URIs
2016-01-13 00:10:35 -08:00
cketti
6c250e1489
Merge pull request #1014 from k9mail/disable-search-1005
...
Temporarily disable search in message bodies
Fixes #1005
2016-01-13 08:35:58 +01:00
cketti
4b5231279f
Merge pull request #1013 from k9mail/fix-pgp-inline-nullpointer-871
...
Fix NPE if MIME part isn't available in scan for PGP/inline
2016-01-13 08:34:27 +01:00
Vincent Breitmoser
110238e6af
disable search in message bodies with a warning
2016-01-09 19:20:12 +01:00
Vincent Breitmoser
15571b5976
fix nullpointer if mime part isn't available in scan for pgp/inline
2016-01-09 17:23:40 +01:00
Vincent Breitmoser
a7c9b8040c
pgpmime: use returned intent as new decrypt intent ( fix #864 )
2016-01-09 04:05:08 +01:00
cketti
ac131a2919
Merge pull request #1002 from k9mail/GH-745_save_attachments_to_download_folder
...
Use Download folder as default for saving attachments
2016-01-07 03:23:55 +01:00
cketti
a8ed1752ca
Use Download folder as default for saving attachments
...
Fixes #745
2016-01-07 02:13:14 +01:00
cketti
fe822db1c6
Merge pull request #992 from k9mail/transitive-uidreversecomparator
...
Make UidReverseComparator transitive, order null elements to right
2016-01-07 01:55:40 +01:00
cketti
d36ee12fc4
Parse UIDs as Long in UidReverseComparator
...
ImapStore does the same.
2016-01-07 01:33:28 +01:00
cketti
cb667198dc
Refactor UidReverseComparator
2016-01-07 01:30:45 +01:00
cketti
89321cf6eb
Make UidReverseComparator a top-level class
2016-01-07 01:28:51 +01:00
cketti
75121d85fe
Add more tests for UidReverseComparator
2016-01-07 01:25:41 +01:00
cketti
4ec6e88f4f
Rename method
2016-01-07 00:32:49 +01:00
cketti
e4432ffa6c
Fix assertions in UidReverseComparatorTest
2016-01-07 00:27:17 +01:00
cketti
10e8f7e0dd
Remove test with randomized input
2016-01-07 00:24:03 +01:00
cketti
4330af6f58
Merge pull request #983 from k9mail/vector_drawables_cleanup
...
Notification icons cleanup
2016-01-07 00:19:10 +01:00
cketti
9e8bd2e3fe
Merge pull request #987
...
Use DownloadManager to keep track of saved attachments
2016-01-06 23:35:00 +01:00
cketti
905359a291
Change 'save attachment' experience
...
- Don't use toast with path to file to notify user of success
- Don't trigger scan of file using MediaScanner API
Both functions are now handled by the DownloadManager.
2016-01-06 23:27:43 +01:00
cketti
d47305a58f
Code cleanup
2016-01-06 22:46:57 +01:00
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
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