Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Cosmetics, clean up imports | Anton Khirnov | 2021-02-10 |
| | |||
* | db: use symbolic constants for sort orders | Anton Khirnov | 2021-01-31 |
| | |||
* | db/attachment: simplify the Attachment class | Anton Khirnov | 2021-01-30 |
| | | | | | Make it a plain container around raw data and a few bits of metadata, rather than around a whole MIME part. | ||
* | db/envelope: move to a new module "mail" | Anton Khirnov | 2021-01-30 |
| | | | | It has nothing to do with the database. | ||
* | ComposeCommand: read template/signature as text | Anton Khirnov | 2021-01-26 |
| | | | | | | We should not try to guess anything, just use the platform encoding. Remove helper.try_decode(), as it has no more callers. | ||
* | addressbook/external: stop using call_cmd() | Anton Khirnov | 2021-01-26 |
| | | | | | | | It does not actually save any code. The new code also uses a shell as is documented. Remove call_cmd(), as it no longer has any callers. | ||
* | account: stop using call_cmd_async() to run sendmail | Anton Khirnov | 2021-01-26 |
| | | | | | | | It does not actually save any code. The new code also uses a shell as is documented. Remove call_cmd_async(), as it no longer has any callers. | ||
* | Use super() where applicable. | Anton Khirnov | 2021-01-21 |
| | |||
* | db: make write operations async | Anton Khirnov | 2021-01-20 |
| | |||
* | helper: rewrite mailto_to_envelope/parse_mailto to Envelope.from_mailto | Anton Khirnov | 2021-01-16 |
| | |||
* | Consistently use set/frozenset for tags. | Anton Khirnov | 2020-05-24 |
| | |||
* | taglist: drop the useless filtfun parameter | Anton Khirnov | 2020-05-24 |
| | |||
* | ExitCommand: do not flush the db if it is opened read-only. | Anton Khirnov | 2020-05-09 |
| | |||
* | db/manager: drop support for adding/removing queries | Anton Khirnov | 2020-05-08 |
| | | | | | This is not implemented in notmuch2 and does not really belong in alot. It can be done better through the notmuch utility. | ||
* | buffer: drop the ui parameter when not needed | Anton Khirnov | 2020-04-25 |
| | |||
* | Remove unicode literals syntax from python2 | Lucas Hoffmann | 2019-11-06 |
| | |||
* | Fix crash when editor_cmdstring is empty. | Pol Van Aubel | 2019-11-02 |
| | | | | | | | | Bypasses the inspection of editor_cmdstring if it is still None after all attempts to fill it. This will eventually lead to EditCommand.apply erroring with 'no editor set' instead of alot crashing. Fixes #1438 | ||
* | Be more informative if editor exits with error. | Pol Van Aubel | 2019-11-02 |
| | | | | | Implements the suggestion in #1427 to display the actual error code, and substitutes an empty stderr with "No stderr output". | ||
* | directly import Completers from their resp module | Patrick Totzke | 2019-08-17 |
| | | | | ... instead of from alot.completion | ||
* | Fix UnboundLocalError | Lucas Hoffmann | 2019-08-16 |
| | | | | The local variable proc was not defined in these branches. | ||
* | cleanup trailing whitespace | Patrick Totzke | 2019-05-11 |
| | |||
* | fix merge | Patrick Totzke | 2019-05-11 |
| | | | | | | | | Since this branch was created, master has diverged in that ComposeCommand now stores the determined sender account in the envelope. (see #117). This commit makes sure that the newly split methods read the account from there. | ||
* | fix pyflakes issues | Patrick Totzke | 2019-05-11 |
| | |||
* | commands/globals: split remaining functionality out of apply | Patrick Totzke | 2019-05-11 |
| | | | | The last few functions are very small so just doe them in one go. | ||
* | commands/globals: Split encryption code into a helper | Dylan Baker | 2019-05-11 |
| | |||
* | commands/globals: Split code for setting a missing To header | Dylan Baker | 2019-05-11 |
| | |||
* | commands/globals: split gpg signing code into a helper | Dylan Baker | 2019-05-11 |
| | |||
* | commands/globals: split envelope setting code | Patrick Totzke | 2019-05-11 |
| | |||
* | commands/globals split out the signature setting code | Dylan Baker | 2019-05-11 |
| | |||
* | commands/globals: split the code for setting ... | Patrick Totzke | 2019-05-11 |
| | | | | account and From header | ||
* | commands/globals: split out the code for loading a template | Dylan Baker | 2019-05-11 |
| | |||
* | commands/globals: wrap apply in an error handler | Dylan Baker | 2019-05-11 |
| | | | | | | | | As we split the apply method up into separate methods we need a way for those helpers to stop execution of the method. This wraps the real apply method inside of a try/except block with a custom exception. Any helper that is intended to run in the apply method simply needs to raise this exception, and apply will return. | ||
* | Set local variable before useage | Lucas Hoffmann | 2018-12-14 |
| | | | | Fixes #1351. | ||
* | rename get_account_by_address to account_matching_address | vrs | 2018-12-10 |
| | | | | | ... since accounts' addresses can overlap and get_account_by_address promises too much. Also remove now-obsolete get_addresses. | ||
* | attach accounts to envelopes | vrs | 2018-12-10 |
| | | | | simplifies a few tests, fixes #1177 | ||
* | commands/globals: use getattr/setattr instead of manipulating __dict__ | Dylan Baker | 2018-08-02 |
| | | | | Since that's what they're for. | ||
* | commands/globals: Convert CallCommand.apply to a coroutine | Dylan Baker | 2018-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. | ||
* | ui: Convert apply_command to a coroutine | Dylan Baker | 2018-07-26 |
| | | | | | | This is a pretty invasive patch, since the ui code is used so extensively, it requires going into a lot of other code and converting those to coroutines, since before they returned deferred's. | ||
* | commands/globals: implement ExternalCommand.apply as coroutine | Dylan Baker | 2018-07-26 |
| | | | | | | Rather than returning a deferred in some cases, this makes the function a coroutine, in some cases it calls regular subprocess, in other cases it uses asyncio subprocess. | ||
* | commands/globals: Use asyncio coroutines instead of twisted deferreds | Dylan Baker | 2018-07-26 |
| | |||
* | Merge pull request #1276 from alexshpilkin/copyedit | Dylan Baker | 2018-07-25 |
|\ | | | | | Copyedit documentation | ||
| * | Capitalize option and command descriptions consistently | Alexander Shpilkin | 2018-07-25 |
| | | |||
* | | commands/globals: Convert Address to string for email.utils | Dylan Baker | 2018-07-25 |
|/ | | | | | | | | Email utils apparently assumes it's getting a string, and calls encode directly. This can only be hit if you have a single account configured, not with multiple accounts. Fixes #1277 | ||
* | add global command 'removequery' | Patrick Totzke | 2018-07-24 |
| | | | | that removes a named query string from the notmuch index | ||
* | new command "savequery" | Patrick Totzke | 2018-07-24 |
| | | | | | | ...that stores a query string as named search. in Search buffers, this will fall back on the current search string unless a full query string is provided as (second) argument. | ||
* | add global namedqueries command | Patrick Totzke | 2018-07-24 |
| | | | | ... that opens a new namedqueries buffer | ||
* | Merge pull request #1252 from pazz/update-envelope-keys | Dylan Baker | 2018-07-24 |
|\ | | | | | fix: automatically update envelope gpg keys only if requested. see #1228 | ||
| * | rename function that updates gpg keys in envelopes | Patrick Totzke | 2018-06-21 |
| | | |||
* | | ComposeCommand: open signature as binary | Johannes Löthberg | 2018-07-12 |
|/ | | | | | | | Otherwise it will be read as a regular python string and be interpreted as octet-stream. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> | ||
* | Remove old __future__ imports | Lucas Hoffmann | 2018-06-19 |
| | | | | They are not needed for python >= 3.0. |