summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* docs: cleanupPatrick Totzke2018-11-11
|
* docs: clean up sphinx configPatrick Totzke2018-11-11
|
* travis: set CODACY_PROJECT_TOKEN on travisPatrick Totzke2018-11-11
| | | | | this removes the explicit export of the above env-var in the build script. It is now set through travis's (private) web interface.
* docs: really remove travis-sphinxPatrick Totzke2018-11-11
|
* docs: use sphinx's autodoc_mock_imports to mockPatrick Totzke2018-11-11
| | | | | .. out stuff whne building the docs instead of using homebrew methods. http://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_mock_imports
* docs: don't use travis-sphinxPatrick Totzke2018-11-11
|
* python 3 builds on readthedocsPatrick Totzke2018-11-11
|
* use travis-sphinx to build docsPatrick Totzke2018-11-10
|
* fix travis configPatrick Totzke2018-11-10
|
* travis doesn't like empty lines?Patrick Totzke2018-11-08
|
* travis-sphinxPatrick Totzke2018-11-08
|
* travis-sphinxPatrick Totzke2018-11-08
|
* use travis-sphinx to deploy docs to gh-pagesPatrick Totzke2018-11-08
| | | | see https://github.com/syntaf/travis-sphinx
* don't include quoted lines in msg content summaryPatrick Totzke2018-11-08
|
* Merge pull request #1329 from meskio/session_key_bad_signatureDylan Baker2018-11-01
|\ | | | | crypto: deal with bad signatures on session-decrypt
| * crypto: use sphyinx 'raise' first param to give the typeRuben Pollan2018-11-01
| |
| * crypto: deal with bad signatures on session-decryptRuben Pollan2018-11-01
|/ | | | | | When the key is known or just the signature is invalid gpgme raises 'BadSignatures'. Up to now we were not acknoledging it when using session-keys, making impossible to open emails without the signing key.
* db/utils: strip cte before comparingDylan Baker2018-10-19
| | | | Fixes #1325
* Merge pull request #1323 from drebs/1232_check-encryptionDylan Baker2018-10-18
|\ | | | | Check set of encryption keys before sending
| * Check set of encryption keys before sendingAndre Bianchi2018-10-16
|/ | | | Closes: #1232
* Merge pull request #1306 from lucc/fix-1303Dylan Baker2018-10-10
|\ | | | | Check the return code from sendmail
| * Improve error notification on failing sendmailLucas Hoffmann2018-10-10
| |
| * Check the return code from sendmailLucas Hoffmann2018-09-22
| |
* | Merge pull request #1239 from meskio/session-keyLucas Hoffmann2018-10-10
|\ \ | | | | | | crypto: Use session-key to decrypt messages if present in the index
| * | crypto: Use session-key to decrypt messages if present in the indexRuben Pollan2018-10-08
|/ / | | | | | | | | | | | | | | | | | | notmuch caches the OpenPGP session keys if configured to do so. See index.decrypt on: https://notmuchmail.org/manpages/notmuch-config-1/ Using the cached session key decryption of messages can be done without the need of having the private OpenPGP key. There is some speed up on decryption, mostly notable on long encrypted threads.
* | Merge pull request #1320 from dcbaker/fix-async-idleDylan Baker2018-10-04
|\ \ | | | | | | Fix async idle
| * | Revert "travis: don't install twisted"Dylan Baker2018-10-04
| | | | | | | | | | | | This reverts commit 811811f7a464cfba86bb8db46e517b116ed5aa55.
| * | Revert "NEWS: add item for asyncio"Dylan Baker2018-10-04
| | | | | | | | | | | | This reverts commit 006e2b79a7e6533e49e0d07e6e156a88658adf1a.
| * | Go back to Twisted event loopDylan Baker2018-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Urwid + asyncio has been known to have very high CPU usage for 4 years now, and it hasn't been fixed. That basically makes it impossible to switch event loops. We can still get the asyncio syntax goodness but using the twisted asyncioreactor and then initializing urwid with the Twisted loop which doesn't have this problem. Fixes #1302
| * | ui: Use Eventloop.create_future instead of asyncio.FutureDylan Baker2018-10-04
|/ / | | | | | | | | This is recommended since other implementations can use this hook to return their own Future compatible implementations.
* | Enable zsh completion of sender addressesLucas Hoffmann2018-10-01
| | | | | | | | | | | | | | | | | | | | This parses the config file to find the email addresses. Because the string interpolation happens at run time and not at load time of the completion script the python snippet is run on each completion attempt. This has the advantage that changes to the config file are picked up without restarting the shell and the snippet is simple enough to not impose a real delay in completion.
* | Enable zsh completion of recipient addressesLucas Hoffmann2018-10-01
| | | | | | | | | | This uses the standard zsh completion function for email addresses to complete the --to, --cc and --bcc options for the compose subcommand.
* | Use different desktop file for menus and mailto: linksLucas Hoffmann2018-09-30
|/ | | | | | | | | The handling of mailto links need not be presented in desktop menus and the entry in desktop menus on the other hand should not use the compose subcommand but the normal initial_command. Documentation of the Keys is at https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html#recognized-keys
* Merge pull request #1305 from lucc/test-send-mailLucas Hoffmann2018-08-16
|\ | | | | Add simple tests for #1303
| * Add a simple test for the send_mail functionLucas Hoffmann2018-08-16
|/ | | | | This is just a simple test for the bug reported in #1303. The interesting test is marked as a known failure.
* Don't try to add Content-Disposition header to email that already has oneDylan Baker2018-08-13
| | | | | | | | | | | | | | | Currently in db.utils.extract_body we try to add a Content-Disposition header, regardless of whether an email already has one. This isn't actually legal, and individual mime message may only have one C-D. The correction is to replace the header with the modified header if it already exists, and to add a new one only if the message doesn't have one. Note that I haven't actually seen a message that hits the path that would need "add_header", only "replace_header". I have however included it because it would be a behavioral change to not handle that case. Fixes #1297
* Merge pull request #1296 from dcbaker/remove-buffer-rebuildDylan Baker2018-08-10
|\ | | | | commands/thread: Don't refresh after moving
| * commands/thread: Don't refresh after movingDylan Baker2018-08-08
|/ | | | | | | | | | For large threads (I can reproduce on threads with ~50 messages), changing messages can become quite slow, especially if there are a significant number of folded messages. Removing the call to refresh the body after moving seems to fix this. There may be side effects of this change, and it may be required in some cases, just not all of them.
* Set the policy for email.message_from_*Dylan Baker2018-08-06
| | | | | | | Otherwise they default to the Compat32 policy, which isn't want we want, since we end up with a mixture of new and old types. Fixes: #1292
* helper: remove unused GeneratorDylan Baker2018-08-06
|
* db/utils: remove unused Header importDylan Baker2018-08-06
|
* db/attachment: use set_param() instead of recreating a headerDylan Baker2018-08-04
| | | | This is more elegant and efficient way to handle this.
* db/utils: Replace encode_header with Message.add_headerDylan Baker2018-08-04
| | | | | Which appears to be capable of doing all the same things, but is in the stdlib instead of something we hand rolled.
* db: encode Header objects to strDylan Baker2018-08-04
| | | | | | | | | | | In python 3 with the use of Policy objects (other than the Compat32 object which maintains the previous (python 2.x and <=3.2) API) change the way headers work, and the old Header object is no longer used. This is rather convenient in that python now implements many of the rules required for sepcial header types, but it changes the API. This fixes that by encoding the Header objects to strings. Fixes #1289
* tests/db/envelope: Add tests for construct_mailDylan Baker2018-08-04
|
* Merge pull request #1288 from dcbaker/python-37-setupDylan Baker2018-08-02
|\ | | | | Python 37 setup
| * setup: change twisted framework to asyncio frameworkDylan Baker2018-08-02
| |
| * setup: add that we support python 3.7Dylan Baker2018-08-02
| |
* | commands/globals: use getattr/setattr instead of manipulating __dict__Dylan Baker2018-08-02
| | | | | | | | Since that's what they're for.
* | commands/globals: Convert CallCommand.apply to a coroutineDylan Baker2018-08-02
| | | | | | | | | | | | This allows it to easily wrap calls that are themselves coroutines, while it's still able to wrap synchronous calls. This fixes the async test and allows hooks that are coroutines to work.