| Commit message (Collapse) | Author | Age |
... | |
| |
|
|
|
|
|
| |
We now can define the key, we want to encrypt with as parameter of the encrypt
command
|
|
|
|
|
| |
The encrypt command sets the encrypt flag of an envelope, which we will use to
later encrypt a message
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
... being a string/email.message.Message.
|
| |
| |
| |
| |
| | |
... to directly send a mail without the need for
an envelope buffer to be open.
|
|/ |
|
|
|
|
| |
that contains tagstrings to add to message after successful sendout
|
| |
|
|
|
|
|
|
| |
be more error concious when storing mails to a maildir
and propagate Maildir errors to error notifications in the UI.
cf issue #502
|
| |
|
|
|
|
| |
closes issue #497
|
| |
|
|
|
|
|
|
|
|
| |
This prevents losing the body text and headers in the case of a fault.
Leaving the removal of temporary files to be done after the buffer is
explicit closed or email is sent.
cf issue #453
|
|
|
|
|
| |
This actually is a workaround for a Python bug as mentioned in
alot/crypto.py
|
|
|
|
| |
cf issue #472
|
| |
|
|
|
|
|
|
|
| |
.. for commands that end in ExternalCommand.
ExternalCommand's spawn parameter is actually interpreted as
"force-spawn-bit" at the moment.
cf issue #460
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
alot/settings/__init__.py
alot/settings/checks.py
docs/source/generate_configs.py
|
| |
| |
| |
| |
| | |
In case one uses `togglesign foo` on an envelope with sign bit set,
remove sign bit regardless of foo matching a key
|
| |
| |
| |
| |
| |
| | |
this makes CryptoContext.get_key raise a GPGProblem exception
in case no key could be found. It obsoletes otherwise necessary tests
for its return value to be not None.
|
| |
| |
| |
| | |
besides the already present togglesign.
|
| |
| |
| |
| |
| | |
to prevent circular imports and for consistency:
This Exception is not related to the database abstraction layer.
|
| |
| |
| |
| | |
for signing
|
| | |
|
| |
| |
| |
| |
| | |
Instead, show a notification that the email is constructed currently (which
involves GPG and/or attachment handling).
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
| |
Bodytext isn't written to the tempfile, content is. This fixes the fact
that pre_edit_translate hooks currently do nothing.
|
| |
|
| |
|
|
|
|
|
|
|
| |
in envelope.EditCommand: headers that the user wants to edit in the $EDITOR,
should be present (with empty values) in the template.
Moreover, only those which already have values are removed
from the envelope. fixes #390
|
|
|
|
|
|
| |
this moves the construction of the tempfile content
and edit_only_body flag before the call to the pre-translate-hook.
Also make the setter more explicit, code readability.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If any headers are to be edited along with the body, then put a
separating empty newline between headertext and body. This is the
default; self.edit_only_body==False. Thus, in the callback function,
the call to parse_template() will have only_body=False. The parsing
regexp then picks up an empty line as separating headerlines from
body. Though, if there is no empty line there, the first
non-header-look line will belong to the body ("\n?" in the regexp).
If no headers are to be edited, we set self.edit_only_body to True.
This is passed on to parse_template(), which then will not do any
regexp parsing, but just let the whole template become the body.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This moves the addition of a Date header from Envelope.construct_mail
to the envelope handling commands. This allows us to store
mails locally that contain this timestamp, but send out mails
that do not so that the MTA, that will append its own timestamp,
doesn not create a second entry.
issue #326
|
| |
|
|
|
|
| |
turned on by default and off when called from global.ComposeCommand.
|
|
|
|
|
| |
that just passes its value on to globals.EditCommand
issue #287
|