summaryrefslogtreecommitdiff
path: root/alot/commands/envelope.py
Commit message (Collapse)AuthorAge
...
* add unencrypt and toggleencrypt commandsJohannes Kulick2013-02-19
|
* add key parameter to encrypt commandJohannes Kulick2013-02-19
| | | | | We now can define the key, we want to encrypt with as parameter of the encrypt command
* add encrypt commandJohannes Kulick2013-02-19
| | | | | The encrypt command sets the encrypt flag of an envelope, which we will use to later encrypt a message
* Merge remote-tracking branch 'origin/0.3.3-feature-bounce-524'Patrick Totzke2012-11-07
|\
| * pep8 fixesPatrick Totzke2012-09-22
| |
| * fix issue with initial tagsPatrick Totzke2012-09-22
| |
| * make sure SendCommand works with mail parameter...Patrick Totzke2012-09-22
| | | | | | | | ... being a string/email.message.Message.
| * Let SendCommand respect envelope/mail parametersPatrick Totzke2012-09-22
| | | | | | | | | | ... to directly send a mail without the need for an envelope buffer to be open.
* | Make error notification on SendingMailFailed and StoreMailError blockingBenjamin2012-10-04
|/
* add envelope.tagsPatrick Totzke2012-09-22
| | | | that contains tagstrings to add to message after successful sendout
* cleanup: pep8/pyflakes fixesPatrick Totzke2012-09-01
|
* catch exceptions raised by account.store_mailPatrick Totzke2012-08-21
| | | | | | be more error concious when storing mails to a maildir and propagate Maildir errors to error notifications in the UI. cf issue #502
* SendCommand: add some inline docsPatrick Totzke2012-08-10
|
* prevent accidental double sendoutPatrick Totzke2012-08-10
| | | | closes issue #497
* cleanup: split widgets.py and pep8/pyflakes fixesPatrick Totzke2012-08-10
|
* Remove envelope tempfile on buffer cleanupKazuo Teramoto2012-08-02
| | | | | | | | 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
* Fix PGP/MIME attachmentsMichael Stapelberg2012-07-22
| | | | | This actually is a workaround for a Python bug as mentioned in alot/crypto.py
* add copyright statements to all source filesPatrick Totzke2012-06-14
| | | | cf issue #472
* use BooleanAction where appropriatePatrick Totzke2012-06-11
|
* make --spawn option default to NonePatrick Totzke2012-06-10
| | | | | | | .. for commands that end in ExternalCommand. ExternalCommand's spawn parameter is actually interpreted as "force-spawn-bit" at the moment. cf issue #460
* switch from pyme to gpgmeMichael Stapelberg2012-05-21
|
* Merge branch '0.3-feature-pyme' into stagingPatrick Totzke2012-05-17
|\ | | | | | | | | | | | | Conflicts: alot/settings/__init__.py alot/settings/checks.py docs/source/generate_configs.py
| * don't look up key if togglesign to unset sign bitPatrick Totzke2012-05-13
| | | | | | | | | | In case one uses `togglesign foo` on an envelope with sign bit set, remove sign bit regardless of foo matching a key
| * make CryptoContext.get_key fail if no key foundPatrick Totzke2012-05-13
| | | | | | | | | | | | 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.
| * add envelope commands 'sign' and 'unsign'Patrick Totzke2012-05-13
| | | | | | | | besides the already present togglesign.
| * move alot.db.errors GPGProblem to alot.errorsPatrick Totzke2012-05-13
| | | | | | | | | | to prevent circular imports and for consistency: This Exception is not related to the database abstraction layer.
| * Make togglesign accept an optional keyid (like 4AC8EE1D) which will be used ↵Michael Stapelberg2012-05-04
| | | | | | | | for signing
| * rename ConstructMailError to GPGProblemMichael Stapelberg2012-05-04
| |
| * don’t show a 'sending' notification before actually sendingMichael Stapelberg2012-05-04
| | | | | | | | | | Instead, show a notification that the email is constructed currently (which involves GPG and/or attachment handling).
| * move ConstructMailError to alot.db.errorsMichael Stapelberg2012-05-01
| |
| * Properly handle GPG errorsMichael Stapelberg2012-04-23
| |
| * add togglesign command to toggle an envelope’s sign flagMichael Stapelberg2012-04-23
| |
| * remove custom passphrase cb, eliminate code duplicationMichael Stapelberg2012-04-23
| |
| * Implement signing outgoing messages (PoC)Michael Stapelberg2012-04-15
| |
* | Fix invocation of pre_edit_translate hook.Jakob2012-04-04
|/ | | | | Bodytext isn't written to the tempfile, content is. This fixes the fact that pre_edit_translate hooks currently do nothing.
* refactor: Envelope in its own filePatrick Totzke2012-03-11
|
* pep8 fixesPatrick Totzke2012-03-11
|
* fix preparation of editable headersPatrick Totzke2012-03-06
| | | | | | | 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
* determine editable content before pre-edit-hookPatrick Totzke2012-03-06
| | | | | | 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.
* Be more clever when editing mail template, see discussion in #388Daniel2012-03-06
| | | | | | | | | | | | | | 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.
* Fix blacklist bug, and don't keep edit_headers in the object for nowDaniel2012-03-06
|
* Prefix tmpfile; convenient for automatic change of editor modesDaniel2012-03-05
|
* dont pass config parm to hooksPatrick Totzke2012-02-19
|
* pep8/pyflakes cleanupPatrick Totzke2012-02-19
|
* use settings in completersPatrick Totzke2012-02-19
|
* replace config with SettingsManager in commandsPatrick Totzke2012-02-19
|
* move adding Date headers to save/send commandsPatrick Totzke2012-02-16
| | | | | | | | | 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
* flush after adding mails in Draft/SendCommandPatrick Totzke2012-02-08
|
* make refocussing after envelope.edit configurrablePatrick Totzke2012-02-08
| | | | turned on by default and off when called from global.ComposeCommand.
* spawn parameter for envelope.EditCommandPatrick Totzke2012-02-08
| | | | | that just passes its value on to globals.EditCommand issue #287