summaryrefslogtreecommitdiff
path: root/alot/db/envelope.py
Commit message (Collapse)AuthorAge
* pep8 fixesPatrick Totzke2013-02-19
|
* rmencrypt now accepts keyids/hints instead of indicesJohannes Kulick2013-02-19
| | | | | We use an own has function for that, since pygpgme doesn't implement __cmp__() or similar
* support multiple recipients in encryptionJohannes Kulick2013-02-19
| | | | | | | | Multiple recipient-keys can be specified. They are shown in the envelope buffer. A new command is introduced: 'rmencrypt' do remove a key from the encryption lsit. Unfortunately pygpgme doesn't implement __cmp__() so we have to either write something similar on our own or use this solution (index of the key in encryption list)
* move key dissolving to commandJohannes Kulick2013-02-19
| | | | | It is more useful if we check wether the key is available directly when the user ask for encryption, rather than doing it before sending it
* give useful error message if key can't be foundJohannes Kulick2013-02-19
|
* pep8 correctionsJohannes 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
* create PGP/MIME mail, if encrypt flag is setJohannes Kulick2013-02-19
| | | | | | | | | | | | | If the envelope has the encrypt flag set we encrypt the (signed if available) mail and create a PGP/MIME compliant mail TODOs: a) create a 'This is a PGP/MIME encrypted mail...' warning on top of all multipart parts b) find the correct key for encryption c) find a way to handle multiple recipients
* add envelope.tagsPatrick Totzke2012-09-22
| | | | that contains tagstrings to add to message after successful sendout
* interpret 'Attach' pseudo headerPatrick Totzke2012-09-16
| | | | cf issue #519
* cleanup: pep8/pyflakes fixesPatrick Totzke2012-09-01
|
* prevent accidental double sendoutPatrick Totzke2012-08-10
| | | | closes issue #497
* 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
* dont log complete plaintext at info levelPatrick Totzke2012-07-22
| | | | but use debug level instead (use alot -d debug to see this)
* 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
* switch from pyme to gpgmeMichael Stapelberg2012-05-21
|
* strip spaces when parsing email headersMichael Stapelberg2012-05-21
| | | | | Otherwise we end up with all the headers having a leading space, leading to weird effect when (for example) refining the subject.
* Revert "split key/header by ': ', not ':'"Patrick Totzke2012-05-21
| | | | This reverts commit 108754964a41b6bf751ade3a70edcc563299750a.
* 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
| * 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.
| * lookup gpg key once during composePatrick Totzke2012-05-12
| | | | | | | | | | | | .. and not in reply/forward/editnew. This also obsoletes Envelope.apply_account_crypto_settings, which needed a reference to UI for error notifications.
| * add sign_by_default account setting to enable GPG signatures by default, use ↵Michael Stapelberg2012-05-11
| | | | | | | | existing gpg_key setting
| * 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
| |
| * properly check for GPG_AGENT_INFO (handle unset and empty)Michael Stapelberg2012-05-04
| |
| * bugfix: use has_key for checking if GPG_AGENT_INFO is setMichael Stapelberg2012-05-01
| |
| * move ConstructMailError to alot.db.errorsMichael Stapelberg2012-05-01
| |
| * Properly handle GPG errorsMichael Stapelberg2012-04-23
| |
| * remove last reference to twisted threadsMichael 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
| |
* | split key/header by ': ', not ':'Patrick Totzke2012-05-11
|/ | | | | | | .. when parsing user-edited headers to avoid an initial space in the value cf issue #442
* refactor: header utilities into db.utilsPatrick Totzke2012-03-11
|
* refactor: Attachment in its own filePatrick Totzke2012-03-11
|
* refactor: Envelope in its own filePatrick Totzke2012-03-11