| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
this replaces thread.RetagCommand and thread.ToggleThreadTag by a refactored
version of search.TagCommand. This means that in search mode,
tag, untag, retag and toggletags commands are available
through different decorations of TagCommand.
Note that 'toggletag' has been renamed to 'toggletags' for consistency
|
|
|
|
|
|
| |
Thread.add_tags now receives a 'remove_rest' parameter
just like the analogous Message.add_tags.
This makes Thread.set_tags obsolete
|
|
|
|
| |
of thread.Tagcommand.
|
|
|
|
| |
issue #236
|
|
|
|
|
|
| |
that tags selection with given tags and removes all other
tags from the message(s)
issue #236
|
| |
|
|
|
|
| |
issue #236
|
|
|
|
|
|
| |
on each rebuild(). previously, this subwidget
would never change and hence was excluded from
being rebuild.
|
|
|
|
|
|
|
| |
this makes thread.TagCommand update the buffers widgets
using the newly introduced callback feature offered by
Message.[add|remove]_tag.
issue #242,#236
|
|
|
|
|
| |
by extending the afterwards callback
issue #242
|
|
|
|
|
|
| |
and offer this option in the wrapper classes tag/untag/settags
methods.
issue #242
|
|
|
|
|
|
| |
and introduce the derived user commands
tag, untag and toggletags for thread buffer.
issue #263
|
|
|
|
| |
that returns all displayed message widgets
|
|\ |
|
| |
| |
| |
| |
| |
| | |
where outstanding means those tats present in the message
but not for every message in its thread.
issue #212, #27
|
| |
| |
| |
| |
| | |
return tags present in all contained messages
instead of in at least one (union)
|
|/
|
|
| |
and reset VERSION
|
|
|
|
|
| |
hardcode Pipecommands background parameter
to True for the subclass PrintCommand
|
|
|
|
| |
pep8 etc
|
|
|
|
|
|
| |
actually use the version string generated by git describe
if possible. Also, don't check in every change to the version file
and let its fallback content be "0.21+"
|
|
|
|
| |
muttprint doesn't mailboxes well
|
|
|
|
|
| |
decode is obsolete and we use the new format parameter instead.
this also fixes some neglected docstrings
|
|
|
|
|
|
|
| |
and remove ids and decode parameter in favour of
this more general setting.
this determines the output piped to a command and must be
one of raw,decoded,id or filepath
|
| |
|
|\ |
|
| |\
| | |
| | | |
Fix docu
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
So far the comment in the default config only explained how to theme unfocussed
tags.
This commits extends the example (syntax) to indicate how focussed tags may be
themed.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
this allows to disable stdin and ignore stdout of the shellcommand.
e.g. `pipeto less` works as expected.
As of now this functionality is switched off by default.
issue #237
|
|/ / |
|
| |
| |
| |
| | |
this will need to be touched before a release
|
| |
| |
| |
| |
| |
| |
| | |
and never writes it. The file /alot/VERSION
will be provided in the future and contain the
release version string. setup.py will try to overwrite this with the result of `git describe` which will suceed only if
we are on a git checkout.
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some unknown piece of code causes the `logging` lib to create a default
configuration, which includes a logging level of `logging.WARNING` and a
`StreamHandler`. The existence of this default configuration prevents our call
to `logging.basicConfig()` to set the configured values, which leads to `debug`
and `info` messages not being logged and all messages being streamed to `stderr`
(which is controlled and gets flushed by `urwid`) instead of being written to
the configured log file.
This commit removes the existing `StreamHandler` before calling
`logging.basicConfig()` which makes the latter install the desired logging
configuration.
Closes #170.
|
|
|
|
|
|
|
|
|
| |
Consistently use module functions instead.
Introduce a non-default log format that replaces the logger name with the module
name.
Cf issue #170.
Closes #231.
|
|\
| |
| | |
Fix logging
|
| |
| |
| |
| |
| |
| |
| |
| | |
This commit roughly restores the broken logging functionality.
The first few messages are still logged to `stderr` as well as to the specified
log file.
Closes #170.
|
|/
|
|
|
|
|
| |
The DBMan doesn't use it (anymore). It was potentially used to send
notifications to the user.
Closes #229.
|
|
|
|
|
|
|
|
|
| |
So far exceptions were raised upon detection of an absent or syntactically invalid
`thread_highlight_rules` option.
This commit changes the behaviour to logging an exception and returning an empty
set of rules as a fallback which will lead to the disabling of all highlighting.
Cf https://github.com/pazz/alot/pull/226#issuecomment-3354066.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some of the methods in `AlotConfigParser` and code using the config parser used
`get()` from the `FallbackConfigParser` to determine whether an option existed
by inspecting the return value.
This commit accommodates the fact that since
5d8481e733757a376231594c11e5f2f21ebcf086 the `FallbackConfigParser` doesn't
return `None` on error but raises a `NoOptionError`.
Cf https://github.com/pazz/alot/pull/226#commitcomment-836371 and
https://github.com/pazz/alot/pull/226#issuecomment-3356448.
|
|
|
|
|
|
|
|
|
| |
So far the `FallbackConfigParser` returned the requested option if it existed,
or `fallback`, which defaulted to `None`. Now the `FallbackConfigParser` only
returns `fallback` if it has been explicitly given. If the fallback default has
not been overridden, it raises a `NoOptionError`.
Cf https://github.com/pazz/alot/pull/226#commitcomment-836371.
|
|
|
|
| |
Using more specific `ConfigParser.*Error`s offers better hints at what went wrong.
|
| |
|
|
|
|
|
|
|
|
|
| |
So far only combinations of tags could trigger highlighting of threads. This
commit enables the configuration of highlighting rules that map arbitrary
notmuch queries onto themeing options. Threads matching that query will be
themed with the specified options.
Cf https://github.com/pazz/alot/pull/223#issuecomment-3334800.
|
|
|
|
|
|
|
|
| |
So far a mail thread could be asked whether it was tagged with all tags in a given
list. This commit enables a thread to check whether it matches against a given
notmuch querty and uses that new capability.
Cf https://github.com/pazz/alot/pull/223#issuecomment-3334800.
|
|
|
|
|
| |
This commit is a quick n dirty proof of concept that shows how themeing
according to arbitrary notmuch queries might be implemented.
|
| |
|
|
|
|
|
| |
c/p error: forgot to rename SentCommand to SaveCommand,
which resulted in two different classes with the same name.
|
|
|
|
|
|
| |
this fixes an issue with email parts showing up
in envelope.attachments instead of Attachment objects
because the new envelope.attach method wasnt used before.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
to change the used sort order in current search buffer.
This also integrates the --sort parameter to
the refine command
|