Commit graph

5968 commits

Author SHA1 Message Date
cketti
0c31ed9119 Get rid of ImapFolderPusher caching mechanism
start() will never reuse ImapFolderPusher instances because stop() is called
unconditionally, and that will clear the "cache".
2016-02-02 19:02:31 +01:00
cketti
5cd64dc241 Code style fixes in ImapPusher 2016-02-02 19:02:30 +01:00
cketti
ee25de07db Add unit tests for ImapPusher 2016-02-02 19:02:30 +01:00
cketti
7b5e5bc223 Refactor ImapPushState
The old code supported a more complex input argument format. But as far as I
can tell this "feature" was  never used.
2016-02-02 19:02:30 +01:00
cketti
619ab8629d Add unit tests for ImapPushState 2016-02-02 19:02:30 +01:00
cketti
a7f53f0c3b Extract ImapSearcher from ImapStore 2016-02-02 19:02:30 +01:00
cketti
caca473465 Extract ImapPusher from ImapStore 2016-02-02 19:02:30 +01:00
cketti
b092ab0f5b Make ImapPusher as static class 2016-02-02 19:02:30 +01:00
cketti
62befc0c9c Extract ImapMessage from ImapStore 2016-02-02 19:02:30 +01:00
cketti
fb1d0ad533 Extract ImapPushState from ImapStore 2016-02-02 19:02:30 +01:00
cketti
6dd220cc5a Extract ImapFolderPusher from ImapStore 2016-02-02 19:02:30 +01:00
cketti
973b674cf2 Make ImapFolderPusher a static class 2016-02-02 19:02:30 +01:00
cketti
e1a2c68d56 Extract ImapFolder from ImapStore 2016-02-02 19:02:30 +01:00
cketti
3aa80f3ce1 Make ImapFolder a static class 2016-02-02 19:02:30 +01:00
cketti
d3391ae135 Fix test flakiness 2016-02-02 18:55:08 +01:00
cketti
9dc267f56d Make classes package-private 2016-02-01 20:30:33 +01:00
cketti
96f99f6e1c Extract CAPABILITY response parsing to CapabilityResponse 2016-02-01 20:30:33 +01:00
cketti
bc5069bfac Extract NAMESPACE response parsing to NamespaceResponse 2016-02-01 20:30:33 +01:00
cketti
0dbfa5ab9d Extract command/capability/response constants 2016-02-01 20:30:33 +01:00
cketti
6859eef35a Be more specific by using NegativeImapResponseException in some cases 2016-02-01 20:30:33 +01:00
cketti
9b5a3bfff3 Rename ImapException to NegativeImapResponseException 2016-02-01 20:30:33 +01:00
cketti
c427f6df26 Extract methods to make ImapConnection.open() more readable 2016-02-01 20:30:33 +01:00
cketti
c4a4a3bb16 Get rid of ImapConnection.getCapabilities() 2016-02-01 20:30:33 +01:00
cketti
cf718c6380 Reorder methods 2016-02-01 20:30:33 +01:00
cketti
37fbbb0b21 Make internal methods private 2016-02-01 20:30:32 +01:00
cketti
c4d62b13d0 Code style fixes 2016-02-01 20:30:32 +01:00
cketti
5fb5e011b7 Merge pull request #1052 from k9mail/imap_connection_tests
Add unit tests for ImapConnection
2016-02-01 20:29:38 +01:00
cketti
cf92ccaae5 Remove test that no longer compiles 2016-02-01 20:00:37 +01:00
cketti
a76f7e8f7e Fix support for capabilities in initial response 2016-01-29 17:40:06 +01:00
cketti
7887c23bef Don't swallow IOExceptions leaving the connection open 2016-01-29 17:40:06 +01:00
cketti
0a80335ba7 Use lower socket timeouts for tests 2016-01-29 17:40:06 +01:00
cketti
21204f8bec Add tests for ImapConnection 2016-01-29 17:39:49 +01:00
cketti
c71b40e484 Merge branch 'cleanup' 2016-01-28 19:56:56 +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
973319b8cf Use settings from root project when building openpgp-api 2016-01-24 03:19:30 +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
cketti
8ceaf13648 Merge pull request #924 from Valodim/openpgp-compose
OpenPGP support: Compose Logic
2016-01-22 02:11:45 +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