Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | mail/envelope: add a special class for headers | Anton Khirnov | 2021-11-20 |
| | | | | Handle multiple headers with ordering and case-insensitive operations. | ||
* | commands/thread: use imported function directly | Anton Khirnov | 2021-11-20 |
| | |||
* | commands/thread:ForwardCommand: do not construct EmailMessage unnecessarily | Anton Khirnov | 2021-05-15 |
| | |||
* | commands/thread:ForwardCommand: use the message headers object | Anton Khirnov | 2021-05-15 |
| | |||
* | commands/thread: pass bytes to Attachment, not str | Anton Khirnov | 2021-05-15 |
| | | | | Attachment payload should always be bytes. | ||
* | commands/globals: remove special treatment for a missing signature file | Anton Khirnov | 2021-05-15 |
| | | | | | | It is unnecessary extra complexity. If the user set a signature, then it must exist. If it does not exist, the user should unset the signature path. | ||
* | commands/globals: invert a condition to reduce indent level | Anton Khirnov | 2021-05-15 |
| | |||
* | commands/envelope: fix accessing the attachment filename | Anton Khirnov | 2021-05-15 |
| | |||
* | commands/thread:ReplyCommand: stop calling get_email() | Anton Khirnov | 2021-05-13 |
| | |||
* | commands/thread:ReplyCommand: use the message headers object in ↵ | Anton Khirnov | 2021-05-13 |
| | | | | determine_sender() | ||
* | commands/thread:ReplyCommand: use the message headers object for building reply | Anton Khirnov | 2021-05-13 |
| | |||
* | commands/thread:ReplyCommand: simplify list-reply logic | Anton Khirnov | 2021-05-13 |
| | |||
* | commands/thread:ReplyCommand: factor out list-reply logic | Anton Khirnov | 2021-05-13 |
| | |||
* | commands/thread:ReplyCommand: use the headers object for accessing List-Id | Anton Khirnov | 2021-05-13 |
| | |||
* | commands/thread:ReplyCommand: factor out building reply subject | Anton Khirnov | 2021-05-13 |
| | |||
* | commands/thread: use the headers object for building reply subject | Anton Khirnov | 2021-05-13 |
| | |||
* | commands/thread: use MimeTree properties instead of accessing email directly | Anton Khirnov | 2021-03-16 |
| | |||
* | commands/search: fix sort order in RefineCommand | Anton Khirnov | 2021-02-22 |
| | |||
* | commands/thread:ReplyCommand: drop unnecessary call to parseaddr() | Anton Khirnov | 2021-02-10 |
| | |||
* | commands/thread:ReplyCommand: drop unnecessary instance variable | Anton Khirnov | 2021-02-10 |
| | |||
* | commands/thread: stop calling get_email in ForwardCommand | Anton Khirnov | 2021-02-10 |
| | | | | Serialize the message and deserialize it again to avoid modifying it. | ||
* | commands/thread: stop calling get_email in BounceCommand | Anton Khirnov | 2021-02-10 |
| | | | | Serialize the message and deserialize it again to avoid modifying it. | ||
* | commands/thread: remove unused import | Anton Khirnov | 2021-02-10 |
| | |||
* | Cosmetics, clean up imports | Anton Khirnov | 2021-02-10 |
| | |||
* | commands/thread: refactor applying the tag command | Anton Khirnov | 2021-02-07 |
| | | | | Do all the changes in one batch rather than separately. | ||
* | commands/search: refactor applying the tag command | Anton Khirnov | 2021-02-07 |
| | | | | Apply toggle as a single db write rather than two. | ||
* | commands/thread: add --thread option to tagging commands | Anton Khirnov | 2021-02-04 |
| | | | | | Makes the command affect the whole thread, rather than just those messages matching the query. | ||
* | commands/thread: drop the select command | Anton Khirnov | 2021-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. | ||
* | Fix access to Attachment filename. | Anton Khirnov | 2021-02-01 |
| | |||
* | db: use symbolic constants for sort orders | Anton Khirnov | 2021-01-31 |
| | |||
* | db/attachment: move to mail/ | Anton Khirnov | 2021-01-30 |
| | | | | It has nothing whatsoever to do with the database. | ||
* | 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. | ||
* | db/envelope: switch to the "new" (EmailMessage) python API | Anton Khirnov | 2021-01-30 |
| | | | | | | | | | | email.mime is a part of the old API, which does not mix well with the new one (i.e. when email.policy.SMTP is used), specifically when non-ASCII headers are used. Additionally, clean the APIs that accept either EmailMessage or a str to only expect EmailMessage. Supporting both just adds confusion and complexity. | ||
* | SendCommand: stop using an instance attribute unnecessarily | Anton Khirnov | 2021-01-29 |
| | |||
* | SendCommand: remove unnecessary instance attribute | Anton Khirnov | 2021-01-29 |
| | | | | It is only used inside one function. | ||
* | commands/envelope: remove unused SendCommand parameters | Anton Khirnov | 2021-01-29 |
| | |||
* | 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. | ||
* | Rewrite mailcap handling. | Anton Khirnov | 2021-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 Khirnov | 2021-01-21 |
| | |||
* | commands/search: remove unused variable | Anton Khirnov | 2021-01-20 |
| | |||
* | commands/search: remove unused code | Anton Khirnov | 2021-01-20 |
| | |||
* | db: make write operations async | Anton Khirnov | 2021-01-20 |
| | |||
* | helper: get rid of decode_string() | Anton Khirnov | 2021-01-16 |
| | | | | | | | | It just adds unnecessary type confusion. In most places where it is used, the types are always str, so it does nothing. In the few others, the encoding/decoding is better handled explicitly. | ||
* | helper: rewrite mailto_to_envelope/parse_mailto to Envelope.from_mailto | Anton Khirnov | 2021-01-16 |
| | |||
* | thread: allow switching between multipart/alternative parts | Anton Khirnov | 2021-01-13 |
| | |||
* | buffers/thread: more sophisticated heuristics for default weights | Anton Khirnov | 2021-01-09 |
| | | | | Should produce better results in most situations. | ||
* | buffers/thread: allow changing weights of the tree/message split | Anton Khirnov | 2020-12-30 |
| |