about summary refs log tree commit diff stats
path: root/models
Commit message (Collapse)AuthorAgeFilesLines
* dirlist: actually honor the DirInfoReto Brunner2020-02-161-0/+3
| | | | | | | | | | | | Currently the dirlist ignores the counts provided by the dirInfo. However some of the workers can actually provide accurate counts much quicker than if we count the flags. Eventually we will also want to enable displaying counts for background folders, where the brute force counting won't work as none of the headers are fetched yet. This commit models it in an opt-in manner, if the flag isn't set then we still count the messages manually.
* add .OriginalMIMEType variable to reply templateLeszek Cimała2020-01-091-3/+4
|
* create OriginalMail structLeszek Cimała2020-01-091-0/+7
|
* models: add BodyStructure.PartAtIndexReto Brunner2020-01-051-0/+33
|
* Add labels to index format (%g)Reto Brunner2019-12-271-0/+1
| | | | Exposes the notmuch tags accordingly, stubs it for the maildir worker.
* Factor IMAP-specific structs out of UI modelsBen Burwell2019-07-081-4/+84
| | | | | | | Before, we were using several IMAP-specific concepts to represent information being displayed in the UI. Factor these structures out of the IMAP package to make it easier for other backends to provide the required information.
* Factor UI models out of the worker message packageBen Burwell2019-07-081-0/+52
Before, the information needed to display different parts of the UI was tightly coupled to the specific messages being sent back and forth to the backend worker. Separating out a models package allows us to be more specific about exactly what a backend is able to and required to provide for the UI.