Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | mail/headers: fix header name | Anton Khirnov | 2021-11-24 |
| | | | | It's X-BeenThere, not X-Been-There. | ||
* | commands/thread: move determining reply recipients to mail/reply | Anton Khirnov | 2021-11-24 |
| | |||
* | helper/split_commandline: drop unused function parameters | Anton Khirnov | 2021-11-22 |
| | |||
* | commands/thread: split some reply handling code to a separate module | Anton Khirnov | 2021-11-22 |
| | |||
* | mail/envelope: replace string literals with named constants | Anton Khirnov | 2021-11-22 |
| | |||
* | mail/envelope: set headers for sending as strings, not lists | Anton Khirnov | 2021-11-22 |
| | |||
* | commands/thread: auto-page copiousoutput mailcap handlers | Anton Khirnov | 2021-11-20 |
| | |||
* | utils/mailcap: fix filename handling | Anton Khirnov | 2021-11-20 |
| | | | | | It is only relevant for the sanitize_attachment_filename hook, so never got triggered. | ||
* | 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 |
| | |||
* | defaults: default followup_to to True | Anton Khirnov | 2021-11-20 |
| | | | | | | It only has any effect when mailinglists is configured, which signals the user's intent to use mail-followup-to just as well. Maybe followup_to should be removed completely. | ||
* | 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 |
| | |||
* | mail/headers: use the canonical Capitalized spelling | Anton Khirnov | 2021-11-20 |
| | |||
* | commands/thread: use named constants instead of string literals | Anton Khirnov | 2021-11-20 |
| | | | | This is safer against typos. | ||
* | mail/envelope:_EnvelopeHeaders: make del delete all the entries | Anton Khirnov | 2021-11-20 |
| | |||
* | 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. | ||
* | envelope: drop unused code | Anton Khirnov | 2021-11-20 |
| | |||
* | commands/thread: use imported function directly | Anton Khirnov | 2021-11-20 |
| | |||
* | db/message: work around python bug 39100 | Anton Khirnov | 2021-11-20 |
| | |||
* | mail/envelope: fix setting attachment params | Anton Khirnov | 2021-06-21 |
| | | | | | Actually pass them as a tuple of tuples. Also, set the charset param only for text attachments. | ||
* | buffers/thread: drop unused import | Anton Khirnov | 2021-06-18 |
| | |||
* | db/message: do not assume all messages have a 'from' header | Anton Khirnov | 2021-06-07 |
| | |||
* | widgets/thread: remove an unnecessary container widget | Anton Khirnov | 2021-05-18 |
| | |||
* | widgets/thread: improve thread node decoration rendering | Anton Khirnov | 2021-05-18 |
| | | | | | Implement configurable message summary indentation, fix appearance when the message summary spans more than one line. | ||
* | default.bindings: add a default binding for thread 'move toggle' | Anton Khirnov | 2021-05-17 |
| | |||
* | buffers/thread: prevent cursor movements from switching sub-window focus | Anton Khirnov | 2021-05-17 |
| | |||
* | mail/attachment: add 'B' suffix to under-kB sizes | Anton Khirnov | 2021-05-15 |
| | | | | | Displaying just a plain number leaves the user confused as to what the number means. | ||
* | mail/envelope: use params when constructing attachments | Anton Khirnov | 2021-05-15 |
| | | | | E.g. makes sure the charset is properly set for text attachments. | ||
* | db/message: make sure attachment data is always a byte sequence | Anton Khirnov | 2021-05-15 |
| | | | | Encode text strings to UTF-8 and set the charset parameter accordingly. | ||
* | mail/envelope: only accept valid UTF-8 for text attachments | Anton Khirnov | 2021-05-15 |
| | | | | | | | | Also set the charset parameter to UTF-8. While this restricts the kinds of files that may be attached, it ensures we do not generate invalid files, as we do not do charset detection currently. That can be implemented in the future, if necessary. | ||
* | mail/attachment: do not assume a non-trivial filename | Anton Khirnov | 2021-05-15 |
| | |||
* | 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. | ||
* | mail/envelope: drop a workaround for very old libmagic versions | Anton Khirnov | 2021-05-15 |
| | | | | 5.12 was released in 2013, we do not need to support it anymore. | ||
* | 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 |
| | |||
* | mail/envelope: add missing import | Anton Khirnov | 2021-05-15 |
| | | | | Forgotten during move in fe1450cba. | ||
* | db/message: apply _fixup_charset() to attachments as well | Anton Khirnov | 2021-05-15 |
| | |||
* | db/message: override missing content-type charset to utf-8 | Anton Khirnov | 2021-05-15 |
| | | | | | Strictly speaking it should be inferred to be us-ascii when missing, but utf-8 is a safer (and compatible) choice. | ||
* | alot.rc.spec: add 'passed/flagged' to default property tags | Anton Khirnov | 2021-05-15 |
| | |||
* | commands/envelope: fix accessing the attachment filename | Anton Khirnov | 2021-05-15 |
| | |||
* | buffers/thread: do not access message widgets unnecessarily | Anton Khirnov | 2021-05-13 |
| | | | | Avoids constructing the widgets when we only need the messages. | ||
* | buffers/thread: do not construct the message widgets until they are needed | Anton Khirnov | 2021-05-13 |
| |