Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | commands/thread: stop calling get_email() unnecessarily | Anton Khirnov | 2020-03-06 |
| | |||
* | db/message: stop calling get_email() unnecesarily | Anton Khirnov | 2020-03-06 |
| | |||
* | commands/thread: avoid accessing the email directly in pipeto | Anton Khirnov | 2020-03-06 |
| | | | | | | This also prevents it from modifying the message as it previously did with add_tags. As a consequence, tags are now added to the beginning of the message rather than at the end of header. | ||
* | widgets/thread: improve rendering message source | Anton Khirnov | 2020-03-06 |
| | | | | Also, stop accessing the email directly. | ||
* | widgets/thread: use the headers object to access message headers | Anton Khirnov | 2020-03-06 |
| | | | | Avoid accessing the email directly. | ||
* | Update tests. | Anton Khirnov | 2020-03-05 |
| | | | | Drop some tests for removed functions. | ||
* | db/message: reduce unnecessary calls to get_payload() | Anton Khirnov | 2020-03-05 |
| | |||
* | db/message: remove unnecessary get_params() | Anton Khirnov | 2020-03-05 |
| | |||
* | db/utils: move formataddr to helper | Anton Khirnov | 2020-03-05 |
| | | | | | | | It has no relation to database, so helper seems like a better place for it. As there is nothing left in db/utils, it is removed. | ||
* | db/utils: move is_subdir_of() to the single place it is used in | Anton Khirnov | 2020-03-05 |
| | |||
* | db/utils: move clear_my_address/ensure_unique_address to their usage place | Anton Khirnov | 2020-03-05 |
| | | | | | They are only used in a single file, so there is no point in keeping them elsewhere. | ||
* | db/utils: move message body extraction code into db/message | Anton Khirnov | 2020-03-05 |
| | | | | | It is only called from there, so there is no reason to keep it elsewhere. | ||
* | db/utils: move message decryption code into db/message | Anton Khirnov | 2020-03-05 |
| | | | | | It is only called from there, so there is no reason to keep it elsewhere. | ||
* | db/utils: drop extract_headers() | Anton Khirnov | 2020-03-04 |
| | | | | | It is used in only one place and does something so extremely simple it does not need to be a special imported function. | ||
* | db/utils: drop decode_header() | Anton Khirnov | 2020-03-04 |
| | | | | | | | | It is almost entirely unnecessary - python's email messages decode the headers themselves. Do the "normalization" bit directly in the single place where it is done, though properly there should be more thorough message text sanitization somewhere (most likely in our message wrapper). | ||
* | db/message: get the sender from the message file, not from notmuch | Anton Khirnov | 2020-03-02 |
| | |||
* | db/message: do not delay loading the email file | Anton Khirnov | 2020-03-02 |
| | | | | | This simplifies the following refactorings. It will be made asynchronous later. | ||
* | buffers/thread: add focusing on first/last message matching a property | Anton Khirnov | 2020-03-02 |
| | |||
* | buffers/thread: make the widget split-window | Anton Khirnov | 2020-03-01 |
| | | | | | | | | | | The top part displayes the thread structure, the bottom half the message body. This makes more sense then displaying the message inside the tree structure and makes it easier to implement features such as folding a part of the message body. Drop commands related to folding, since that functionality does not exist anymore. | ||
* | db/attachment: drop useless call to decode_header() | Anton Khirnov | 2020-02-27 |
| | | | | It is already decoded. | ||
* | db/message: drop a useless getter. | Anton Khirnov | 2020-02-27 |
| | |||
* | Update tests. | Anton Khirnov | 2020-02-27 |
| | | | | Drop useless db/thread test. | ||
* | thread buffer: make attachments work again | Anton Khirnov | 2020-02-25 |
| | |||
* | docs: regenerate alotrc_table | Anton Khirnov | 2020-02-25 |
| | |||
* | docs: use python3 for building | Anton Khirnov | 2020-02-25 |
| | |||
* | commands/thread: replace isinstance() with hasattr() | Anton Khirnov | 2020-02-19 |
| | | | | This is more correct. | ||
* | AttachmentWidget: drop a useless getter | Anton Khirnov | 2020-02-19 |
| | |||
* | widgets/thread: add theming for quote lines in message body | Anton Khirnov | 2020-02-19 |
| | |||
* | extra/colour_picker: switch to python3 | Anton Khirnov | 2020-02-19 |
| | |||
* | thread: re-enable displaying message source | Anton Khirnov | 2020-02-19 |
| | |||
* | thread: implement tree decorations | Anton Khirnov | 2020-02-19 |
| | | | | | | | | They were temporarily removed in the previous commit. Still not working: - theming for the decorations - drawing the connector line properly for expanded messages - configurable indentation | ||
* | thread: drop the use of urwidtrees | Anton Khirnov | 2020-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 trees | Anton Khirnov | 2020-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 getters | Anton Khirnov | 2020-02-06 |
| | |||
* | db/message: drop a useless getter | Anton Khirnov | 2020-02-06 |
| | |||
* | db/message: forbid instantiating Message with thread = None | Anton Khirnov | 2020-02-06 |
| | | | | It should always be instantiated from a Thread instance. | ||
* | db/manager: drop unused functions | Anton Khirnov | 2020-02-06 |
| | |||
* | db/message: drop unused functions | Anton Khirnov | 2020-02-06 |
| | |||
* | db/thread: drop useless getter functions | Anton Khirnov | 2020-02-06 |
| | |||
* | buffers/thread: drop a useless getter function | Anton Khirnov | 2020-02-05 |
| | |||
* | Drop support for removing messages. | Anton Khirnov | 2020-02-05 |
| | | | | | This functionality is too obscure and dangerous, it should be done manually instead. | ||
* | buffers/thread: drop support for auto-read tagging | Anton Khirnov | 2020-02-05 |
| | | | | It's pointless complexity that I do not need. | ||
* | db/message: drop total ordering | Anton Khirnov | 2020-02-03 |
| | | | | | It makes no sense to order messages. Only testing for equality is meaningful. | ||
* | tests: run 'gpg' instead of obsolete 'gpg2' | Anton Khirnov | 2020-02-03 |
| | |||
* | search: add thread_count info property | Anton Khirnov | 2020-02-03 |
| | |||
* | alot: drop the total_messages info property | Anton Khirnov | 2020-02-03 |
| | | | | It is an utterly useless number. | ||
* | widgets/thread: drop thread_focus_linewise | Anton Khirnov | 2020-02-03 |
| | | | | | There is no meaningful reason to focus on individual lines, since they are unactionable. | ||
* | Let python decode the message transfer encoding. | Anton Khirnov | 2020-02-03 |
| | |||
* | Add message subject to the message summary widget. | Anton Khirnov | 2020-01-29 |
| | |||
* | thread: make the output of PipeCOmmand block | Anton Khirnov | 2020-01-29 |
| |