| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
They are only used in a single file, so there is no point in keeping
them elsewhere.
|
|
|
|
|
| |
It is only called from there, so there is no reason to keep it
elsewhere.
|
|
|
|
|
| |
It is only called from there, so there is no reason to keep it
elsewhere.
|
|
|
|
|
| |
It is used in only one place and does something so extremely simple it
does not need to be a special imported function.
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
| |
This simplifies the following refactorings. It will be made asynchronous
later.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
It is already decoded.
|
| |
|
| |
|
|
|
|
| |
This is more correct.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
It should be cleaner and easier to use, and eventually replace the
custom tree walker in the thread display buffer.
|
| |
|
| |
|
|
|
|
| |
It should always be instantiated from a Thread instance.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This functionality is too obscure and dangerous, it should be done
manually instead.
|
|
|
|
| |
It's pointless complexity that I do not need.
|
|
|
|
|
| |
It makes no sense to order messages. Only testing for equality is
meaningful.
|
| |
|
|
|
|
| |
It is an utterly useless number.
|
|
|
|
|
| |
There is no meaningful reason to focus on individual lines, since they
are unactionable.
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit e7e0c52db9093a9ecd9dcaa0766e66515a546a75.
|
|
|
|
|
| |
This allows users to use a custom domain in automatically generated
Message-ID headers instead of the local hostname.
|
|
|
|
|
| |
Fixes https://github.com/pazz/alot/issues/1435:
Do not add a Date header if it is already present
|
|
|
|
|
| |
Fixes an issue introduced in 45829f7956716638fe77989a50eb87d3ea34cace
which made header values containing ':' break the parser.
|
|
|
|
|
|
|
|
|
|
|
| |
Use the ordered set of header keys from the settings or from the current
envelope when generating an editable envelope.
Fixes https://github.com/pazz/alot/issues/898:
Message header ordering isn't preserved from the editor
Note: collections.OrderedDict has been used for backward compatibility with
Python <3.7.
|
| |
|
|
|
|
|
|
|
|
| |
This ensures that non-printable characters (tabs) are replaced in the
message body texts in envelope buffers and in source texts in thread
mode.
fix #1439
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Bypasses the inspection of editor_cmdstring if it is still None after
all attempts to fill it. This will eventually lead to EditCommand.apply
erroring with 'no editor set' instead of alot crashing.
Fixes #1438
|
|
|
|
|
| |
Implements the suggestion in #1427 to display the actual error code, and
substitutes an empty stderr with "No stderr output".
|
|
|
|
|
|
|
|
| |
"Prefer plain text" should mean just that, and not "ignore HTML even in
the absence of a text part".
21c399ee ("Update to new (3.6) email message API", 2018-12-08) had
introduced the "ignore" behaviour. Make it "prefer" again.
|
|
|
|
| |
... instead of from alot.completion
|
|
|
|
| |
... to Completer.relevant_part
|