summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | setup.py: ReindentDylan Baker2017-08-17
| | |/ | |/| | | | | | | This normalizes the indent of the file to be much more readable.
* | | Merge pull request #1119 from pazz/docs-sigintDylan Baker2017-08-17
|\ \ \ | |_|/ |/| | document SIGINT handling
| * | document SIGINT handlingPatrick Totzke2017-08-17
|/ / | | | | | | | | This adds documentation for SIGINT signals to the html and man pages, and removes a "this is useful for.." comment on SIGUSR1.
* | Merge pull request #1116 from dcbaker/submit/email-utilsLucas Hoffmann2017-08-17
|\ \ | |/ |/| alot: replace email.Utils with email.utils
| * alot: replace email.Utils with email.utilsDylan Baker2017-08-16
|/ | | | | In python 3 email.Utils doesn't exist, in python 2.7 both do, but Utils is deprecated.
* Merge pull request #1086 from dcbaker/wip/python-gpgPatrick Totzke2017-08-15
|\ | | | | Use python-gpg instead of pygpgme
| * tests/crypto: Add note about missing testsDylan Baker2017-08-14
| |
| * crypto: simplify check_uid_validityDylan Baker2017-08-14
| | | | | | | | | | This splits the loop into a closure and a call to any, which makes it a little bit easier to read and understand.
| * just use the OpenPGP fingerprint instead of inventing "hash_key"Daniel Kahn Gillmor2017-08-14
| |
| * convert from pygpgme to the python "gpg" moduleDaniel Kahn Gillmor2017-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This converts from the now abandoned pygpgme project for wrapping gpgme, to the upstream gpgme python bindings (which are descended from the pyme project, before they became official). Largely this change should not be user visible, but there are a couple cases where the new bindings provide slightly more detailed error messages, and alot directly presents those messages to users. This patch has been significantly revised and updated by Dylan Baker, but was originally authored by Daniel Kahn Gillmor. Fixes #1069
| * tests/crypto: Fix GetKey.test_missing_keyDylan Baker2017-08-14
| | | | | | | | | | | | | | | | | | | | | | 'z', the value currently passed to get_key isn't a valid value, so it raises GPGMEError with a code of INV_VALUE. However, if an actual email is passed a KeyNotFound exception is raised instead. The existing test is valid and should remain, since it catches a potential bug, but it doesn't test for a missing key, it tests for an invalid key. This patch renames the existing test and adds a new test to cover an actual missing key.
| * travis: build new version of gpgmeDylan Baker2017-08-14
| | | | | | | | | | This breaks the build with pygpgme, but it seems like too big of an unrelated change to shove in with the main pygpgme -> gpg patch.
| * tests/crypto: Add more tests for list_keysDylan Baker2017-08-14
| | | | | | | | | | This adds two new tests for the list_keys function that assert that the private flag is honored.
| * travis: build with -j3Dylan Baker2017-08-14
| | | | | | | | travis allocates ~2 cores per machine, so -j3 should speed things up.
| * travis: clone notmuch at depth 1Dylan Baker2017-08-14
|/ | | | | to save time on cloning a whole repo that's just going to be thrown away.
* Merge pull request #1111 from dcbaker/submit/signcommand-testsDylan Baker2017-08-14
|\ | | | | Fix issue 1113
| * envelope: Allow signing if address is in "name <email>" formDylan Baker2017-08-11
| | | | | | | | | | | | | | | | | | Currently anything except "user@domain" (such as "User Name <user@domain>"), will not work with the sign command, because settings.get_account_by_address wants just the "user@domain" bit, and we don't split it. Fixes #1113
| * Add tests for issue 1113Dylan Baker2017-08-11
| | | | | | | | | | These tests exercise issue 1113, which has to do with extracting the mail correctly from the 'From' header.
| * tests: Add tests for SignCommandDylan Baker2017-08-10
| | | | | | | | | | I wrote these looking at a bug, but they turned out not to be helpful there, but they should be useful all the same.
* | Merge pull request #1112 from dcbaker/submit/fix-1110Patrick Totzke2017-08-14
|\ \ | | | | | | Fix Issue 1110
| * | commands: Don't try to sign_by_default without a gpg keyDylan Baker2017-08-11
| | | | | | | | | | | | | | | | | | Currently it's possible to set sign_by_default without setting a default key. This is obviously not a good plan for all sorts of reasons. This fixes the two failing tests from the last commit.
| * | tests: Add a couple of tests for the commands/global moduleDylan Baker2017-08-11
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds tests to exercise #1110. These tests operated on a twisted async method, based on the inlineCallbacks decorator (which creates a deferred, but looks like synchronous code). The tests therefore have to use twisted's trial module for unittest. These seem to operate mostly correctly using the standard python unittest runner, pass and fail work right, but expected failure does not. Instead of an expected failure, you get pass. I really am not impressed with trial. After several hours of mucking with it I never got it to run any tests, just spit out errors or do nothing. pytest can run these tests just fine, and if we're going to change test runner I'll again say that pytest is much nicer to work with.
* / disable codeclimate complexity checksPatrick Totzke2017-08-12
|/
* Merge pull request #988 from lucc/move-next-matchingLucas Hoffmann2017-08-07
|\ | | | | Add `move next matching` command in thread buffer
| * Update NEWS fileLucas Hoffmann2017-08-05
| |
| * Fix operator precedence when matching messagesLucas Hoffmann2017-08-05
| | | | | | | | | | If the querystring did contain an OR the results where misleading as the AND binds stronger.
| * Add missing movements to completionLucas Hoffmann2017-08-05
| |
| * docs: Update docstrings for move commandsLucas Hoffmann2017-08-05
| |
| * Interpret unrecognized movements as search termsLucas Hoffmann2017-08-05
| | | | | | | | | | | | The move command in thread buffers can recognize some predefined targets to move to. All other arguments are interpreted as notmuch queries and the next or previous matching message is moved to.
* | README: reshuffle the badgesPatrick Totzke2017-08-05
| | | | | | | | quantifiedcode shut down and we are now generating coverage stats on travis.
* | Merge pull request #1106 from pazz/codeclimate-configPatrick Totzke2017-08-05
|\ \ | | | | | | add codeclimate config
| * | add codeclimate configPatrick Totzke2017-08-05
| | | | | | | | | | | | this will hopefully disable complexity issues
* | | Merge pull request #1104 from lucc/travis/coverageDylan Baker2017-08-05
|\ \ \ | | | | | | | | travis: generate coverage report
| * | | travis: generate coverage reportLucas Hoffmann2017-08-05
| | |/ | |/| | | | | | | Generate a coverage report and upload it to codacy.com.
* | | Merge pull request #1102 from lucc/styleLucas Hoffmann2017-08-05
|\ \ \ | |/ / |/| | Format class decorators
| * | Format class decoratorsLucas Hoffmann2017-08-04
|/ /
* | Merge pull request #1100 from pazz/docs-themingPatrick Totzke2017-08-04
|\ \ | | | | | | docs: mention 'content' part in threadline theming
| * | docs: mention 'content' part in threadline themingPatrick Totzke2017-08-04
| |/ | | | | | | | | ... which displays a prefix of the msg contents. This feature was missing in the docs.
* | Merge pull request #1101 from dcbaker/submit/fix-abook-testsPatrick Totzke2017-08-04
|\ \ | | | | | | Fix tests failing on other repos other than pazz's
| * | traivs: Cache both ccache and pipDylan Baker2017-08-03
| | | | | | | | | | | | | | | You apparently need to use one style, either the directories method or the not directories method.
| * | travis: Enable sudoDylan Baker2017-08-03
| | | | | | | | | | | | This is required to get gpgme tests running.
| * | settings: do not store SettingsManager instance in __init__.pyDylan Baker2017-08-03
|/ / | | | | | | | | | | | | This can create circular imports in unittests, which causes difficult to debug errors. Fixes #1076
* | Merge pull request #1099 from lucc/fix/1098Lucas Hoffmann2017-08-03
|\ \ | |/ |/| Fix message count in statusbar after tagging
| * Fix message count in statusbar after taggingLucas Hoffmann2017-08-03
|/ | | | | | | | | | | | When the else branch was hit the count was already updated by SearchBuffer.rebuild() before the hitcount calculation was done and the final result was obviously off. This fixes it by just counting the messages in the search result directly. The same code is implicitly already called in the other branch of the if statement. So it is hopefully not a big overhead. Fixes #1098
* Merge pull request #1097 from lucc/scriptsLucas Hoffmann2017-08-02
|\ | | | | Clean up doc source generators
| * Clean up doc source generatorsLucas Hoffmann2017-07-31
| |
* | Merge pull request #1096 from dcbaker/submit/gpg-no-bccPatrick Totzke2017-07-31
|\ \ | | | | | | command/envelope: Prompt before sending an encrypted message with Bcc
| * | command/envelope: Prompt before sending an encrypted message with BccDylan Baker2017-07-27
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently alot cannot encrypt to Bcc recipients, and it isn't obvious how to implement encrypted BCC without a metadata leak (the key ids of the Bcc recpients would be visible to the to and cc recipients as well as the other bcc recipients). As such it hasn't been implemented yet (although #949) is opened for such encryption. In the mean time alot doesn't encrypt to bcc recipients at all, making the message all but useless (it might be useful to send it to yourself as a blind recipient, or to two email addresses of the same person). Since most people don't know that alot has this limitation, we should really warn them. This adds a prompt before constructing the message for that case.
* | Merge pull request #1093 from dcbaker/submit/update-docsPatrick Totzke2017-07-31
|\ \ | |/ |/| Submit/update docs
| * docs: Note that system paths can contain themesDylan Baker2017-07-27
| | | | | | | | Since the original patch that added the support didn't.