Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | commands/globals:BufferCloseCommand: drop unused redraw param | Anton Khirnov | 2022-05-11 |
| | | | | | Drop it also from the corresponding UI functions, where it does not do anything. | ||
* | commands/globals:ExternalCommand: actually use thread param from touchhook | Anton Khirnov | 2022-05-08 |
| | | | | | The value from the hook would currently get overridden by the value provided to the ExternalCommand() constructor. | ||
* | commands/globals:ExternalCommand: do not shell-quote cmd for the shell | Anton Khirnov | 2022-05-08 |
| | | | | | | | | | This is not just "being extra safe" as the comment says, it actually prevents using shell constructs in the commandline, thus nullifying the main reason to use the shell in the first place. If the shell is requested, assume the command list is already properly prepared for the shell and just join the list elements with spaces. | ||
* | commands/thread: fix action name | Anton Khirnov | 2022-02-05 |
| | |||
* | commands/search: allow reversing search results | Anton Khirnov | 2021-11-29 |
| | |||
* | mail/reply: rewrite recipient selection | Anton Khirnov | 2021-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 Khirnov | 2021-11-24 |
| | |||
* | commands/thread: move determining reply recipients to mail/reply | Anton Khirnov | 2021-11-24 |
| | |||
* | commands/thread: split some reply handling code to a separate module | Anton Khirnov | 2021-11-22 |
| | |||
* | commands/thread: auto-page copiousoutput mailcap handlers | Anton Khirnov | 2021-11-20 |
| | |||
* | commands/thread: construct the reply body in its own function | Anton Khirnov | 2021-11-20 |
| | |||
* | commands/thread: refactor selecting reply recipients | Anton Khirnov | 2021-11-20 |
| | |||
* | commands/thread: refactor adding mail-followup-to header | Anton Khirnov | 2021-11-20 |
| | | | | Move it to a separate function, simplify flow control. | ||
* | commands/thread: refactor setting reply references | Anton Khirnov | 2021-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 compose | Anton Khirnov | 2021-11-20 |
| | | | | | It is cleaner to construct it with all the headers known, rather than modify it progressively. | ||
* | commands/thread: drop useless delete | Anton Khirnov | 2021-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 constant | Anton Khirnov | 2021-11-20 |
| | |||
* | commands/thread: fix action name for forwarding email | Anton Khirnov | 2021-11-20 |
| | |||
* | commands/thread: use named constants instead of string literals | Anton Khirnov | 2021-11-20 |
| | | | | This is safer against typos. | ||
* | commands/envelope: refactor deriving headers to be edited | Anton Khirnov | 2021-11-20 |
| | | | | | | | | | Split the code into its own function. Make it properly case-insensitive. Apply either the blacklist or the whitelist setting, trying to apply both makes no sense. Enforce that either a blacklist or a whitelist is configured in the settings. | ||
* | 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 |
| |