summaryrefslogtreecommitdiff
path: root/alot
Commit message (Collapse)AuthorAge
* thread: drop the use of urwidtreesAnton Khirnov2020-02-19
| | | | | | | | | | Their API is misdesigned - forces the use of trees for nontree objects and mixes data relationships with display properties. The result is a mess that is hard to understand/maintain/extend. Replace the use of urwidtrees with urwid Pile and ListBox. This temporarily removes tree-style indentation and decorations for thread buffers. That will be reimplemented in following commits.
* db: rewrite the API for representing message treesAnton Khirnov2020-02-06
| | | | | It should be cleaner and easier to use, and eventually replace the custom tree walker in the thread display buffer.
* db: drop useless gettersAnton Khirnov2020-02-06
|
* db/message: drop a useless getterAnton Khirnov2020-02-06
|
* db/message: forbid instantiating Message with thread = NoneAnton Khirnov2020-02-06
| | | | It should always be instantiated from a Thread instance.
* db/manager: drop unused functionsAnton Khirnov2020-02-06
|
* db/message: drop unused functionsAnton Khirnov2020-02-06
|
* db/thread: drop useless getter functionsAnton Khirnov2020-02-06
|
* buffers/thread: drop a useless getter functionAnton Khirnov2020-02-05
|
* Drop support for removing messages.Anton Khirnov2020-02-05
| | | | | This functionality is too obscure and dangerous, it should be done manually instead.
* buffers/thread: drop support for auto-read taggingAnton Khirnov2020-02-05
| | | | It's pointless complexity that I do not need.
* db/message: drop total orderingAnton Khirnov2020-02-03
| | | | | It makes no sense to order messages. Only testing for equality is meaningful.
* search: add thread_count info propertyAnton Khirnov2020-02-03
|
* alot: drop the total_messages info propertyAnton Khirnov2020-02-03
| | | | It is an utterly useless number.
* widgets/thread: drop thread_focus_linewiseAnton Khirnov2020-02-03
| | | | | There is no meaningful reason to focus on individual lines, since they are unactionable.
* Let python decode the message transfer encoding.Anton Khirnov2020-02-03
|
* Add message subject to the message summary widget.Anton Khirnov2020-01-29
|
* thread: make the output of PipeCOmmand blockAnton Khirnov2020-01-29
|
* Revert "db/manager: Drop async method"Anton Khirnov2020-01-02
| | | | This reverts commit e7e0c52db9093a9ecd9dcaa0766e66515a546a75.
* envelope: add setting for custom Message-ID domainpacien2019-11-24
| | | | | This allows users to use a custom domain in automatically generated Message-ID headers instead of the local hostname.
* envelope: do not add another Date header if one is already presentpacien2019-11-23
| | | | | Fixes https://github.com/pazz/alot/issues/1435: Do not add a Date header if it is already present
* envelope: fix header key:value parsing regressionpacien2019-11-23
| | | | | Fixes an issue introduced in 45829f7956716638fe77989a50eb87d3ea34cace which made header values containing ':' break the parser.
* commands/envelope: keep editable headers orderpacien2019-11-23
| | | | | | | | | | | Use the ordered set of header keys from the settings or from the current envelope when generating an editable envelope. Fixes https://github.com/pazz/alot/issues/898: Message header ordering isn't preserved from the editor Note: collections.OrderedDict has been used for backward compatibility with Python <3.7.
* envelope: correctly handle folded headerspacien2019-11-23
|
* sanitize message text for displayPatrick Totzke2019-11-21
| | | | | | | | This ensures that non-printable characters (tabs) are replaced in the message body texts in envelope buffers and in source texts in thread mode. fix #1439
* Remove unicode escape codesLucas Hoffmann2019-11-06
|
* Remove unicode literals syntax from python2Lucas Hoffmann2019-11-06
|
* Fix crash when editor_cmdstring is empty.Pol Van Aubel2019-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 Aubel2019-11-02
| | | | | Implements the suggestion in #1427 to display the actual error code, and substitutes an empty stderr with "No stderr output".
* fix display of HTML-only mailsMichael J Gruber2019-09-06
| | | | | | | | "Prefer plain text" should mean just that, and not "ignore HTML even in the absence of a text part". 21c399ee ("Update to new (3.6) email message API", 2018-12-08) had introduced the "ignore" behaviour. Make it "prefer" again.
* directly import Completers from their resp modulePatrick Totzke2019-08-17
| | | | ... instead of from alot.completion
* cleanup: remove unused parameterPatrick Totzke2019-08-17
| | | | ... to Completer.relevant_part
* make codeclimate happy(er)Patrick Totzke2019-08-17
|
* use formataddr helper in accounts completerPatrick Totzke2019-08-17
|
* refactor prompt completionPatrick Totzke2019-08-17
| | | | | This just splits the file completion.py into several files, one for each Completer subclass.
* cleanups: buffers/thread.pyPatrick Totzke2019-08-16
|
* Fix UnboundLocalErrorLucas Hoffmann2019-08-16
| | | | The local variable proc was not defined in these branches.
* unused importPatrick Totzke2019-08-16
|
* db/manager: Drop async methodDylan Baker2019-08-15
| | | | | | | | | | As far as I can tell using a separate process doesn't actually improve performance, it makes it worse. The work that we're passing off to the separate function isn't necessarily work that's well suited to being handed off, there isn't a lot of computation and the objects that need to be passed across the pipe are fairly large (at least when considering a pipe). Converting the function to a generator gives better performance and simplifies the implementation.
* trailing whitespacesPatrick Totzke2019-08-15
|
* unused imports and variablesPatrick Totzke2019-08-15
|
* retire Message.accumulate_bodyPatrick Totzke2019-08-15
| | | | | | ... in favour of get_body_text to de-clutter the Message class. The functionality is implemented in alot.db.utils.extract_body, which now contains the hard-coding of the html warning.
* rename Message.get_text_content() to get_body_text()Patrick Totzke2019-08-15
|
* update docstringsPatrick Totzke2019-08-15
|
* Update to new (3.6) email message APIPatrick Totzke2019-08-15
| | | | | | | This uses email.message.EmailMessage.get_body() to find the best candidate for a "body" message part and replaces our own ad-hoc solution in alot.db.utils.extract_bodytext, which was based on a walk through all parts.
* remove field_key parameter from PipetoCommandPatrick Totzke2019-08-15
| | | | I don't think anyone needs anything else but copiousoutput here
* pep8 fixes in alot/widgetsPatrick Totzke2019-08-11
|
* remove unused importsPatrick Totzke2019-08-11
|
* ContactsCompletion: use db.utils.formataddrMichael J Gruber2019-08-10
| | | | | | | | | | | | email.utils.formataddr does more encoding than we need at this point - headers will be encoded when they get inserted anyway. Use db.utils.formataddr instead. Fixes #1378 Note that some tests need to be (and are) changed: The expectation of the old tests was to get a completely escaped result. Also, add an umlaut test.
* Merge pull request #1398 from pazz/0.8-summary-onlyLucas Hoffmann2019-07-22
|\ | | | | Faster Thread loading