aboutsummaryrefslogtreecommitdiffstats
path: root/worker/types/messages.go
Commit message (Collapse)AuthorAgeFilesLines
* Request DirInfo whenever the unread count may have changedReto Brunner2020-02-161-0/+7
| | | | | | | Actions such as read / unread or the addition of new messages do change the read/unread/recent count. Hence we request an update from the workers. Workers going over the network should probably cache the information and invalidate it only if necessary
* FetchBodyParts: decode source in the workersReto Brunner2020-01-051-2/+4
| | | | | | | Previously the workers returned a mixture of decoded / encoded parts. This lead to a whole bunch of issues. This commit changes the msgviewer and the commands to assume parts to already be decoded
* add LabelList eventReto Brunner2019-12-211-0/+5
|
* Add sorting functionalityJeffas2019-09-201-0/+1
| | | | | | | | There is a command and config option. The criteria are a list of the sort criterion and each can be individually reversed. This only includes support for sorting in the maildir backend currently. The other backends are not supported in this patch.
* Add modify-labels commandReto Brunner2019-09-121-0/+7
| | | | | This adds the event type as well as the command implementation, but no backend supports it yet.
* extract search criteria parsing into the backendsReto Brunner2019-08-291-3/+1
|
* #190 Handle gmail duplicate folderDaniel Bridges2019-07-111-0/+1
|
* Use []uint32 instead of imap.SeqSetBen Burwell2019-07-081-5/+5
| | | | | | | | A sequence-set is an IMAP-specific implementation detail. Throughout the UI, aerc simply operates using lists of opaque identifiers. In order to loosen the coupling between the UI and IMAP in particular, replace most usages of imap.SeqSet with []uint32, leaving the translation to a SeqSet to the IMAP backend as needed.
* Factor UI models out of the worker message packageBen Burwell2019-07-081-19/+6
| | | | | | | | 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.
* worker/imap: implement searchDrew DeVault2019-06-241-0/+10
|
* Add :read and :unread commandsDrew DeVault2019-06-091-0/+7
|
* Add archive commandRobert Günzler2019-06-091-0/+5
| | | | | | | | | | | | | | | Adds an archive command that moves the current message into the folder specified in the account config entry. Supports three layouts at this point: - flat: puts all messages next to each other - year: creates a folder per year - month: same as above, plus folders per month This also adds a "-p" argument to "cp" and "mv" that works like "--parents" on mkdir(1). We use this to auto-create the directories for the archive layout.
* implements ability to view headers in message viewYash Srivastav2019-06-071-0/+2
|
* Remove worker callbacks when Done is receivedDrew DeVault2019-06-021-1/+1
|
* Flesh out multipart switcherDrew DeVault2019-05-201-1/+1
|
* Verify TLS certificatesDrew DeVault2019-05-201-11/+0
| | | | | | I was partway done implementing a UI for users to approve untrusted certs with, but let's just make them configure their servers right instead.
* worker/types/worker: make ID allocation atomicSimon Ser2019-05-191-5/+5
| | | | | | | | Message IDs are allocated for both messages from UI to workers and the other way around. Hence, the global nextId variable is accessed from multiple goroutines. Instead, use atomic to access the global counter.
* s/aerc2/aerc/gDrew DeVault2019-05-171-1/+1
|
* Copy sent emails to the Sent folderDrew DeVault2019-05-151-0/+20
| | | | Or rather, to a user-specified folder
* Implement move, mv commandsDrew DeVault2019-05-141-6/+0
|
* Implement :copy (aka :cp)Drew DeVault2019-05-141-0/+12
|
* Rename FetchMessageBodies to FetchFullMessagesDrew DeVault2019-03-311-2/+2
|
* Don't parse mail in worker; send a reader insteadDrew DeVault2019-03-311-4/+3
|
* Pull BodyStructure up from IMAP workerDrew DeVault2019-03-311-5/+19
|
* Add body fetching support codeDrew DeVault2019-03-291-2/+7
|
* Implement :delete-messageDrew DeVault2019-03-201-0/+10
|
* Implement message store side of message fetchingDrew DeVault2019-03-141-2/+2
|
* Fetch valid UIDs from server after opening dirDrew DeVault2019-03-101-0/+33
|
* Add name to DirectoryInfo messagesDrew DeVault2019-01-131-1/+2
|
* Issue IMAP SELECT commandDrew DeVault2019-01-131-0/+13
|
* Refactoring; consume listing responseDrew DeVault2018-02-011-11/+7
|
* Implement (most of) mailbox listingDrew DeVault2018-02-011-0/+14
|
* Add certificate approval flowDrew DeVault2018-01-311-8/+18
|
* Connect to IMAP server, login and idleemersion2018-01-141-0/+2
|
* Move worker into account tabDrew DeVault2018-01-111-1/+1
|
* Initial pass on worker/UI message passingDrew DeVault2018-01-091-0/+55