summaryrefslogtreecommitdiff
path: root/alot/db/thread.py
Commit message (Collapse)AuthorAge
* db/thread: define Thread._authors in constructorDylan Baker2016-12-21
| | | | This is needed by unittest that mock Thread.refresh.
* Replace list comprehension with set comprehensionDylan Baker2016-12-13
| | | | | | | Instead of using set([l for l in list]) use {l for l in list} (which shouldn't be confused with a dict comprehension which requires the ':' in the first value}. This avoids creating a list before reducing it to a set. This feature is new in 2.7 and 3.3.
* Clean up importsLucas Hoffmann2016-12-09
| | | | | | - use relative imports if possible - group imports into standard library, third party, and alot modules - sort imports alphabetically
* New option `thread_authors_order_by` to control author orderTommy Lindgren2016-12-06
| | | | | | | | | | | | | Default value 'first_message' lists authors in the order they joined the conversation. Value 'latest_message' order authors by their latest message, which makes it easier to see which authors who wrote the most recent messages. Note that authors with duplicate emails were previously filtered. We now keep all authors where name + email is unique. This is behavior is desired for some email notification services. For example, Jira will set the From header to "Joe User <jira@company.com>" meaning you will only see one author if you only keep unique email addresses.
* pep8 fixesPatrick Totzke2015-12-16
|
* Allow configuring what does alot consider to be the thread subject.Anton Khirnov2015-12-16
|
* fix 544Patrick Totzke2013-01-15
| | | | | only sort messages with not-None date header, append the rest
* add copyright statements to all source filesPatrick Totzke2012-06-14
| | | | cf issue #472
* docs: minor fixesPatrick Totzke2012-05-29
| | | | this fixes a few broken links and duplicate module defs in the sphinx docs
* pep8 fixesPatrick Totzke2012-03-15
|
* docs: corrected pointers to db.message.MessagePatrick Totzke2012-03-11
|
* refactor db: move into submodulePatrick Totzke2012-03-11
this moves messages into the new submodule alot.db which from now on also contains Threads in a separate file