summaryrefslogtreecommitdiff
path: root/alot/db
Commit message (Collapse)AuthorAge
* Merge branch '0.3.2-feature-avoid-dbl-send-497'Patrick Totzke2012-08-15
|\
| * prevent accidental double sendoutPatrick Totzke2012-08-10
| | | | | | | | closes issue #497
* | remove annoying debug statementPatrick Totzke2012-08-10
|/
* cleanup: make Thread and Message available in alot.dbPatrick Totzke2012-08-10
|
* cleanup: move DBManager to its own filePatrick 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 maxlength issuePatrick Totzke2012-07-22
| | | | | | this uses a email.header.Header obj for attachments-parts Content-Disposition header to ensure their filename-parameters obey RFC2184
* 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
* Merge branch '0.3.1-feature-boolean-arguments'Patrick Totzke2012-06-13
|\
| * add helper split_commandstringPatrick Totzke2012-06-03
| | | | | | | | | | | | | | | | that splits a command string into a list of strings to pass on to subprocess.Popen and the like. This helper is now used throughout the application instead of calling shlex.split directly as this is a potential source for errors because shlex is not yet able to properly deal with unicode bytestrings.
* | doc: minor docstring corrections for dbPatrick Totzke2012-06-05
| |
* | decode From-header read from the indexPatrick Totzke2012-05-31
| | | | | | | | | | | | | | | | this makes Message objects decode the value of the From-header before storing it as msg._from. This ensures that superflous double-quotes around realnames do not prevent interpretation of escape sequences. cf. issue #428
* | fix: be more relaxed wrt non-rfc-compliant headersPatrick Totzke2012-05-31
|/ | | | | this makes db.utils.decode_header remove superflous double quotes around header values before decoding them
* docs: minor fixesPatrick Totzke2012-05-29
| | | | this fixes a few broken links and duplicate module defs in the sphinx docs
* fix: msg.accumulate_body doesn't return unicodePatrick Totzke2012-05-25
| | | | | | .. which triggers an assertion exception when using this as initial bodystring in an envelope. issue #451
* 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
| |
* | added debug statements for flushingPatrick Totzke2012-05-17
| | | | | | | | issue #413
* | neater error handling while flushingPatrick Totzke2012-05-17
| | | | | | | | | | this avoids logging a traceback on temporarily locked indices and imports db.error classes directly for use in DBManager
* | use new db's for writequeue entries in flushPatrick Totzke2012-05-17
| | | | | | | | | | | | | | | | | | | | This moves the creation / destruction of the notmuch.Database object used to change the index to the code for a single writequeue entry: Instead of using one db for all entries, we let each one have its own. This *should* allow the "afterwards" callback allow to retrieve data from an updated index, that already reflects the changes just made. issue #317
* | Merge branch '0.3-fix-messages-typo-447' into stagingPatrick Totzke2012-05-16
|\ \
| * | Fix typo in db/message.py: get_email() (instead of get_mail())Michael Stapelberg2012-05-16
| |/
* | Merge branch '0.3-fix-spaces-442' into stagingPatrick Totzke2012-05-12
|\ \
| * | 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
* | Merge branch '0.3-fix-prettyprint' into stagingPatrick Totzke2012-04-08
|\ \
| * | use represent_datetime in Message.get_datestringPatrick Totzke2012-03-31
| |/ | | | | | | instead of pretty_datetime
* | hotfix: forgot parameterPatrick Totzke2012-04-06
| | | | | | | | when calling decode_header
* | Merge branch '0.3-fix-forward-attach' into stagingPatrick Totzke2012-04-06
|\ \
| * | fix Attachment.get_filenamePatrick Totzke2012-04-05
| |/ | | | | | | | | | | | | | | previously, If the wrapped email-part did not contain a filename parm in its Content-Disposition, decode_header was called with a None value, which rightfully breaks. This makes Attachment.get_filename return None in this case as mentioned in its docstring
* | use parse_mailcap_nametemplate in extract_bodyPatrick Totzke2012-03-28
| | | | | | | | | | .. helper that calls inline mime handler. This is just to ensure we don't duplicate too much code
* | introduce Attachment.writePatrick Totzke2012-03-28
|/ | | | | that writes out its content to a given filehandle. this is also used internally for save.
* db: count_threadsPatrick Totzke2012-03-18
| | | | | | | | this introduces a new method `count_threads` for DBManager that uses a recently introduced getter of the same name in the bindings. We also adjust the dependencies for the bindings accordingly issue #178
* docs: fix build warningsPatrick Totzke2012-03-17
|