| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Threads use a set of tagstrings internally. This fixes a missing
construction of a set obj for a given list.
issue #323
|
|\
| |
| | |
Decode attachment filenames as well
|
|/
|
|
|
| |
Attachment filenames can be quoted-printable as well just like
headers. Decode them before further work
|
|
|
|
| |
after moving the source directory of the docs one level up
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This has been introduced previously to enable Account.store_mail to index newly created
message files. This functionality has been moved to SendCommand and SaveCommand that use
FlushCommand to write out to the index (that deals with DatabaseErrors correctly).
|
|
|
|
| |
call flush and use "afterwards" callback for notification
|
| |
|
|
|
|
|
|
|
| |
this is done using FlushCommand from the individual accounts:
FlushCommand will ensure that upon a locked index,
the changes will be caried out later. moreover,
this deals with Exceptions, the account doesn't.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This wraps the transaction code for a single write-queue item
into a try/except and re-inserts the current queue entry
to the write-queue upon errors.
|
| |
| |
| |
| |
| |
| |
| | |
instead of doing in every add_message, add/remove_tags
function call, read the notmuchrc config once for
the 'synchronize_flags' setting in the flush method,
right before it's used
|
| |
| |
| |
| |
| | |
this adds add/remove_message functionality to the
flush method and adds some inline comments and TODOs
|
| |
| |
| |
| |
| | |
just enqueue the requested changes to the managers internal
writequeue; the actual functionality will be moved to `flush`
|
| |
| |
| |
| |
| |
| |
| |
| | |
only queue requested changes to internal
write queue, let the lifting be done later in `flush`.
This refactors add_message to also accept a `tags` parameter,
a list of tagstrings that the message gets tagged with initially.
The new interface is used in account
|
|/
|
|
|
|
| |
fix layout of writequeue entries:
1: command name, add/remove/tag/set/untag
2: "afterwards" callable
|
|
|
|
| |
turned on by default and off when called from global.ComposeCommand.
|
|
|
|
|
| |
that just passes its value on to globals.EditCommand
issue #287
|
|
|
|
|
| |
that overides the global config option spawn
issue #287
|
|
|
|
|
|
|
|
|
| |
that determines wether or not the database manager
should write out after the command. defaults to True
This also adds optional parameters '--no-flush'
for the user commands.
cf issue #307
|
|
|
|
|
|
|
|
|
| |
that determines wether or not the database manager
should write out after the command. defaults to True
This also adds optional parameters '--no-flush'
for the user commands.
cf issue #307
|
|
|
|
| |
makes debugging easier
|
|
|
|
|
|
|
| |
helper.guess_mimetype is expected to return a mimetype string.
If libmagic fails it used to return None. This makes it
fall back to 'application/octet-stream'.
close #313
|
|\
| |
| | |
Fix 308
|
|/
|
|
|
|
|
|
|
| |
Quoting http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IReactorProcess.spawnProcess.html:
args - the command line arguments to pass to the process; a sequence
of strings. The first string should be the executable's name.
Fixes #308, possible more.
|
| |
|
|
|
|
|
|
|
|
|
| |
to specify which buffer to close nstead of the currently
active one. Also, This makes bufferlist.BufferCloseCommand
use globals.BufferCloseCommand with selected buffer
instead of doing the job itself.
fixes #306 on testing
|
|
|
|
| |
issue #304
|
|
|
|
|
| |
alot ignored colourmode set in configuration file due to default value
of 256 being added into commandline
|
|
|
|
|
| |
string 'not implemented'
cf 864025133045708b699970c21618a73
|
|
|
|
| |
mention the returned Deferred
|
|
|
|
|
| |
this fixes an issue with notification messages not being
updated correctly.
|
|
|
|
|
| |
in account.send_mail and use
call/errbacks in envelope accordingly
|
|
|
|
| |
properly errback after process failed
|
|
|
|
|
| |
that does as call_cmd before but non-blocking:
it returns a deferred that calls back with the requested triple.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
before, we tried to be smart and wrote
an auto-generated version string via `git describe`
to alot.VERSION at setup time that got read by alot.__init__
later on.
This reverts to a hardcoded version string in alot.__version__.
It makes tedious calls to `git update-index --assume-unchanged VERSION`
unnecessary and makes life easier for packagers.
closes issue #299
|
| |
|
|
|
|
|
|
|
|
| |
this introduces commands.thread.recipient_to_from,
that contains code to determine a suitable From-header
for replies and forwards. This helper is now used in
ReplyCommand and ForwardCommand.
issue #297
|
|\
| |
| | |
Apply command always run post hook
|
|/
|
|
|
|
| |
Before, the hook was only being run if the command returned a
deferred. Now, it uses defer.maybeDeferred to handle things
generically.
|
|
|
|
| |
twisted includes tools for handling threaded code nicely. Use it.
|
|\
| |
| | |
Cleanup theming methods
|
| |
| |
| |
| |
| | |
Remove superfluous 'e' to make it into `_get_theming_option()` to increase
consistency with other code.
|
|/
|
|
|
|
|
|
| |
Adjust calls to address remaining `has_theming()` method.
Conflicts:
alot/settings.py
|
|
|
|
|
| |
this changes the default bindings so that printing via `p` and `P`
will use the newly introduced `add_tags` parameter
|
|
|
|
|
|
|
|
|
|
| |
This introduces parameters 'shell' and 'add_tags'
to PipeCommand. The former allows one to let the shell interpret
the command, the letter adds 'Tags' header to piped messages,
whose value is msg.get_tags().
Moreover, PrintCommand will also have parameter add_tags, that is just
relayed.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This makes ReplyCommand inspect all To/Cc/Delivered-To values
of the original message and uses a contained address for the
replies From-header if it is listed in one of my accounts.
The order of preference is that of my accounts (order in config file),
the used realname part is taken from the matching account.
cf issue #247
|