summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Fix `:compose --template=foo` if default template_dir is used.Julian Mehne2018-01-21
| | | | | | | | | | | Fixes the following bug: To reproduce:: - Don't define `template_dir` in the user configuration file, such that the default value is used. - Run: :compose --template=foobar Problem: Displays error: `no template directory: $XDG_CONFIG_HOME/alot/templates`
* Merge pull request #1188 from lucc/fix-test-outputLucas Hoffmann2018-01-09
|\ | | | | Fix test output
| * Use any() instead of a for loop with a break statementLucas Hoffmann2018-01-09
| |
| * Move code out of with blockLucas Hoffmann2018-01-08
| | | | | | | | | | The code doesn't need the context manager to be active, hence it can run outside of the with block.
| * Use message of test assert function instead of print()Lucas Hoffmann2018-01-08
|/ | | | | This makes it possible to silence the test output with normal unittest settings (e.g. command line parameters).
* Merge pull request #1181 from three-comrades/compose_errPatrick Totzke2018-01-08
|\ | | | | Give better feedback on invalid user input.
| * Log unknown settings in configuration and theme files.Julian Mehne2018-01-08
| |
| * Fix typos in tests.Julian Mehne2018-01-07
| |
| * Report error if configuration file cannot be reloaded.Julian Mehne2018-01-07
| |
| * Clean up theme finder logic.Julian Mehne2018-01-07
| | | | | | | | | | | | | | | | | | | | - Replace directory check with file check - we only check for a single file, no need to check for existende of the directory separately. Also, this way we can distinguish between file validation error and file not found. - Be consistent: we stop iterating, if we find a file and it can be parsed. If we can't parse it, stop iterating as well, don't keep looking for the file.
| * Print stderr of failed sendmail cmd in prompt.Julian Mehne2017-12-06
| |
| * Give more context if reading of config file fails.Julian Mehne2017-12-06
| |
| * Inform user why :compose got cancelled.Julian Mehne2017-12-02
| |
* | Merge pull request #1186 from pazz/fix-1074Patrick Totzke2018-01-02
|\ \ | |/ |/| catch exception about malformed query strings
| * catch exception about malformed query stringsPatrick Totzke2018-01-02
| | | | | | | | | | | | | | | | .. when getting thread message count to build search buffers. We already had a try/except block for this. This commit just moves the one offending line into that block. Fixes #1074
* | Merge pull request #1180 from three-comrades/tag_completePatrick Totzke2017-12-02
|\ \ | | | | | | Tag completion: escape RE characters in search pattern.
| * | Allow regex special characters in tagstrings.Julian Mehne2017-12-02
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the following crashes: 1. tag completion with regex special chars :search tag:[<tab> 2. Changing tag representation of an (existing) tag with regex special chars: [tags] [[my**tag]] normal = '','', 'white','light red', 'white','#d66' 3. Contact completion with regex special chars and no external command: To:**foo<tab>
* | Merge pull request #1178 from GuillaumeSeren/upgrade-doc-dependies-gpgme-1.9.0Patrick Totzke2017-12-02
|\ \ | |/ |/| Upgrade dependencies to GPGME >= 1.9.0
| * Upgrade doc dependencies to GPGME >= 1.9.0Guillaume Seren2017-12-01
| | | | | | | | | | | | | | This version of GPGME is needed to support the ':sign' and ':encrypt' commands, due to the migration of gpgme instead of pygpgme (#1086). https://github.com/pazz/alot/issues/1175
* | [docs] update section titlesPatrick Totzke2017-11-29
|/ | | | | this simply renames some (sub)section titles in the configuration docs.
* Merge pull request #1173 from pazz/feature-thread-indentPatrick Totzke2017-11-08
|\ | | | | thread mode message indentation
| * add test for argparse validatorPatrick Totzke2017-11-08
| |
| * keep ThreadBuffer indentation non-negativePatrick Totzke2017-11-05
| | | | | | | | | | | | | | | | this makes sure that 'tbuffer._indent_width', which stores the requested indentation width, remains non-negative. As a consequence, multiple "decrease" operations on zero values can be reverted by a single "increase", as is intuitive.
| * sanitize parameter for thread mode command 'indent'Patrick Totzke2017-11-05
| | | | | | | | | | | | this introduces a new argparse validation check that makes sure a parameter is '+', '-', or an integer, and uses this check for the 'indent' thread mode command.
| * add default binding for dynamic indentation changePatrick Totzke2017-11-05
| |
| * new thread buffer command 'indent'Patrick Totzke2017-11-05
| | | | | | | | to dynamically change the message indentation
| * configurable thread mode message indentation.Patrick Totzke2017-11-05
| | | | | | | | | | This adjusts the message/reply indentation according to the new 'thread_indent_replies' config option.
| * add config option for default threadmode indentationPatrick Totzke2017-11-05
| |
* | Merge pull request #1165 from pazz/exclude-tagsDylan Baker2017-11-08
|\ \ | | | | | | relay "exclude_tags" in queries
| * | interpret exclude_tagsPatrick Totzke2017-10-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | this adds exclude tags to every query object. Just as in notmuch (option search.exclude_tags), this will essentially render messages invisible if tagged with one of those tags, unless they explicitly appear in the query. See also man notmuch-config(1). closes #732
| * | new config option 'exclude_tags'Patrick Totzke2017-10-01
| |/ | | | | | | | | which will be interpreted just like 'search.exclude_tags' in the notmuch config.
* | Merge pull request #1171 from Dica-Developer/patch-3Patrick Totzke2017-11-07
|\ \ | |/ |/| Don't use __str__ of error BadSignature
| * Don't use __str__ of error BadSignatureMartin Schaaf2017-11-07
|/ | | | It seems not to be to handle error messages of different locale than en
* solarized_dark: fix colours in help bufferPatrick Totzke2017-09-27
|
* update solarized_dark colour themePatrick Totzke2017-09-27
|
* Merge pull request #1160 from meskio/fix-1140Patrick Totzke2017-09-26
|\ | | | | Fix #1140
| * tests/commands/utils: Add encrypt to self testsRuben Pollan2017-09-26
| |
| * docs: Add encrypt_to_self account configurationRuben Pollan2017-09-26
| |
| * commands/util: encrypt to selfRuben Pollan2017-09-26
| | | | | | | | | | | | | | | | Add account configuration variable 'encrypt_to_self' that if true when encrypting a message it will also be encrypted with the key defined for this account. Fixes #1140
| * commands/envelope: Acknowledge keyids param on encryptRuben Pollan2017-09-25
| |
| * defaults/alot.rc.spec: Add new option to control encrypting to selfDylan Baker2017-09-25
| |
| * defaults/alot.rc.spec: Remove message that is no longer trueDylan Baker2017-09-25
| |
| * crypto: Don't allow passing empty keysDylan Baker2017-09-25
| | | | | | | | | | This will result in wrong behavior, gpg will prompt for a password rather than using keys to encrypt.
| * tests/commands/utils: Add tests for alot/commands/utils.pyDylan Baker2017-09-25
|/
* Merge pull request #1159 from geier/get_bodyPatrick Totzke2017-09-25
|\ | | | | Call _get_body() only once.
| * Call _get_body() only once.Christian Geier2017-09-23
|/
* Merge pull request #1155 from dcbaker/submit/bug-template-notmuch-versionPatrick Totzke2017-09-12
|\ | | | | github: add notmuch version to issue template
| * github: add notmuch version to issue templateDylan Baker2017-09-11
|/
* Merge pull request #1151 from dcbaker/submit/fix-no-from-headerPatrick Totzke2017-09-08
|\ | | | | Submit/fix no from header
| * db/message: Try to use the 'Sender' header if the 'From' header is nullDylan Baker2017-09-06
| | | | | | | | This makes drafts display correctly.