| Commit message (Collapse) | Author | Age |
... | |
| | |
|
| | |
|
| |
| |
| |
| |
| | |
this makes sure that undefined values in highlight 'threadline-foo' sections
default to their corresponding parts in the 'threadlin' (default) section
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
a script that converts 'tags' config subsections
that determine the format tagstrings are represented to the new format.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This can now be done in theme files by changing the width-value of
the authors threadline part. For example:
'''
[search]
[[threadline]]
[[[authors]]]
width = 'fit', 0, 30
'''
|
| |
| |
| |
| |
| |
| |
| | |
in search mode. These now work in all colourmodes
and moreover simulate cascading attributes so that
if fg/bg is undefined in the tagstring representation,
the attribute from the widget *below* is used instead of a global default
|
| |
| |
| |
| | |
according to the given attribudes read in the new format
|
| |
| |
| |
| |
| |
| |
| | |
the individual tag subsections define 'normal' and 'focus'
attributes to define how the tag is represented if unfocussed and focussed
respectively. These are urwid attribute sextuples
that define fg/bg for 1,16 and 256 coour modes
|
| | |
|
| |
| |
| |
| | |
background for notifications
|
| | |
|
| |
| |
| |
| |
| |
| | |
this modifies urwids palette_test so that it shows
attricutes as alot would render them in your terminal.
See comment inline.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows the user to specify alternate 'threadline.*'
sections for searchmode: They specify the difference to the default
threadline theming.
Each of those can contain fields 'query' and 'tagged_with' to determine
if they apply: We go through all those threadline sections top down,
for each of them check if the conditions query (thread matches querystring)
and 'tagged_with' (culmulative tags of messages in thread contain those listed).
The first section that matches wins, default is to section 'threadline'.
|
| | |
|
| | |
|
| |
| |
| |
| | |
make sure it always returns a tuple
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This makes threadline build its parts according to
a "threadline theming structure" it reads of a Theme object.
This structure determines which subwidgets in which order are used
and for each of them provides normal/focussed attributes,
align and width
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
its constructor makes sure that 'threadline'
subsections of 'search' section actually have
subsections defined for all parts listed in its 'order' value (which lists all parts to be
displayed).
Moreover, this implements 'get_threadline_structure':
a method that will compile a dict with all threadline
theming infos for a given thread object.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
An AttrMap that can remember attributes to set
|
| | |
|
| |
| |
| |
| |
| | |
It just needs to store the already parsed AttrSpec objects:
requested attributes are simply looked up in the configobj object
|
| | |
|
| |
| |
| |
| | |
that checks if value is valid align mode string
|
| |
| |
| |
| |
| | |
This parses triples of attribute strings into urwid.AttrSpecs
see docstring for more info
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
issue #480
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
this uses a email.header.Header obj for
attachments-parts Content-Disposition header
to ensure their filename-parameters obey RFC2184
|
| | | |
|
| | |
| | |
| | |
| | | |
but use debug level instead (use alot -d debug to see this)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
msg.get_boundary will return None in those cases,
so we cannot concatenate this with str untested.
Also, Generator.flatten(msg) causes msg to generate a boundary
string. So we don't need to call msg.as_string separately in case
we get the boundary after flattening
cf issue #469
|
|/ /
| |
| |
| |
| | |
This actually is a workaround for a Python bug as mentioned in
alot/crypto.py
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
.. in UI's bufferlist. This results in a more natural bufferflow
when going from a search to thread and back by closing the thread.
cf issue #478
|
|\ \ \
| |_|/
|/| | |
|