summaryrefslogtreecommitdiff
path: root/alot/commands/thread.py
Commit message (Collapse)AuthorAge
* commands/thread: fix action nameAnton Khirnov2022-02-05
|
* mail/reply: rewrite recipient selectionAnton Khirnov2021-11-24
| | | | | | | | Thoroughly ensure that To+Cc contains neither our own address (except when it is wanted) nor any duplicates. Use structured headers provided by email.headerregistry to simplify dealing with addr-spec vs. mailbox (display name + <addr-spec>).
* Drop some unused imports.Anton Khirnov2021-11-24
|
* commands/thread: move determining reply recipients to mail/replyAnton Khirnov2021-11-24
|
* commands/thread: split some reply handling code to a separate moduleAnton Khirnov2021-11-22
|
* commands/thread: auto-page copiousoutput mailcap handlersAnton Khirnov2021-11-20
|
* commands/thread: construct the reply body in its own functionAnton Khirnov2021-11-20
|
* commands/thread: refactor selecting reply recipientsAnton Khirnov2021-11-20
|
* commands/thread: refactor adding mail-followup-to headerAnton Khirnov2021-11-20
| | | | Move it to a separate function, simplify flow control.
* commands/thread: refactor setting reply referencesAnton Khirnov2021-11-20
| | | | | Move it to its own function, simplify the flow control. Expand the arbitrary references limit to 16 in total.
* commands/thread: do not construct the Envelope until right before composeAnton Khirnov2021-11-20
| | | | | It is cleaner to construct it with all the headers known, rather than modify it progressively.
* commands/thread: drop useless deleteAnton Khirnov2021-11-20
| | | | | The 'To' header has not been set on the envelope yet, so trying to delete it is pointless.
* commands/thread: replace one more header with named constantAnton Khirnov2021-11-20
|
* commands/thread: fix action name for forwarding emailAnton Khirnov2021-11-20
|
* commands/thread: use named constants instead of string literalsAnton Khirnov2021-11-20
| | | | This is safer against typos.
* commands/thread: use imported function directlyAnton Khirnov2021-11-20
|
* commands/thread:ForwardCommand: do not construct EmailMessage unnecessarilyAnton Khirnov2021-05-15
|
* commands/thread:ForwardCommand: use the message headers objectAnton Khirnov2021-05-15
|
* commands/thread: pass bytes to Attachment, not strAnton Khirnov2021-05-15
| | | | Attachment payload should always be bytes.
* commands/thread:ReplyCommand: stop calling get_email()Anton Khirnov2021-05-13
|
* commands/thread:ReplyCommand: use the message headers object in ↵Anton Khirnov2021-05-13
| | | | determine_sender()
* commands/thread:ReplyCommand: use the message headers object for building replyAnton Khirnov2021-05-13
|
* commands/thread:ReplyCommand: simplify list-reply logicAnton Khirnov2021-05-13
|
* commands/thread:ReplyCommand: factor out list-reply logicAnton Khirnov2021-05-13
|
* commands/thread:ReplyCommand: use the headers object for accessing List-IdAnton Khirnov2021-05-13
|
* commands/thread:ReplyCommand: factor out building reply subjectAnton Khirnov2021-05-13
|
* commands/thread: use the headers object for building reply subjectAnton Khirnov2021-05-13
|
* commands/thread: use MimeTree properties instead of accessing email directlyAnton Khirnov2021-03-16
|
* commands/thread:ReplyCommand: drop unnecessary call to parseaddr()Anton Khirnov2021-02-10
|
* commands/thread:ReplyCommand: drop unnecessary instance variableAnton Khirnov2021-02-10
|
* commands/thread: stop calling get_email in ForwardCommandAnton Khirnov2021-02-10
| | | | Serialize the message and deserialize it again to avoid modifying it.
* commands/thread: stop calling get_email in BounceCommandAnton Khirnov2021-02-10
| | | | Serialize the message and deserialize it again to avoid modifying it.
* commands/thread: remove unused importAnton Khirnov2021-02-10
|
* Cosmetics, clean up importsAnton Khirnov2021-02-10
|
* commands/thread: refactor applying the tag commandAnton Khirnov2021-02-07
| | | | Do all the changes in one batch rather than separately.
* commands/thread: drop the select commandAnton Khirnov2021-02-03
| | | | | | It no longer makes sense since the buffer has been split into two windows. Replace it with a new 'openattachment' command for opening attachments.
* db/attachment: move to mail/Anton Khirnov2021-01-30
| | | | It has nothing whatsoever to do with the database.
* db/attachment: simplify the Attachment classAnton Khirnov2021-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 Khirnov2021-01-30
| | | | It has nothing to do with the database.
* Rewrite mailcap handling.Anton Khirnov2021-01-26
| | | | | | | | | | | Add a class that encapsulates the handler and is responsible for managing the temporary file, if one is needed. Use this class for both rendering inline content and displaying attachments externally. External attachments are now wrapped in an asyncio task that is added to a pool of tasks managed by ui.
* Use super() where applicable.Anton Khirnov2021-01-21
|
* db: make write operations asyncAnton Khirnov2021-01-20
|
* thread: allow switching between multipart/alternative partsAnton Khirnov2021-01-13
|
* buffers/thread: allow changing weights of the tree/message splitAnton Khirnov2020-12-30
|
* commands/thread: filter out content-transfer-encoding when piping decodedAnton Khirnov2020-10-21
| | | | | This is a temporary hack, it should properly be handled consistently in future Message serializing API.
* commands/thread: use super()Anton Khirnov2020-10-21
|
* Consistently use set/frozenset for tags.Anton Khirnov2020-05-24
|
* thread: add basic support for folding long quoted blocksAnton Khirnov2020-05-05
|
* commands/thread: stop using message widgets without reasonAnton Khirnov2020-04-25
| | | | This code only wants the messages themselves, not the widgets.
* commands/thread: add a command for toggling focus between tree/msgAnton Khirnov2020-04-25
|