Commit graph

528 commits

Author SHA1 Message Date
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