aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/base/imap.go
Commit message (Collapse)AuthorAgeFilesLines
* plugins/base: sort search results by dateLibravatarLibravatar Konstantinos Koukas 2023-08-091-5/+21
| | | | | | | | Implement server-side sorting of search results using the SORT extension to IMAP, if the server supports it. Otherwise, fall back to the unordered SEARCH command. Sort messages by sent date, in descending order.
* Upgrade dependenciesLibravatarLibravatar Simon Ser 2023-08-021-21/+20
| | | | In particular, go-imap is upgraded to v2.0.0-alpha.6.
* Use LIST-STATUS to fetch unread message count for all mailboxesLibravatarLibravatar Simon Ser 2023-05-011-4/+18
|
* Upgrade to go-imap v2LibravatarLibravatar Simon Ser 2023-04-301-179/+204
|
* go fmtLibravatarLibravatar Simon Ser 2021-07-051-2/+2
|
* Fix duplicate drafts on repeated savesLibravatarLibravatar Drew DeVault 2020-11-131-18/+6
|
* Redirect to edit draft after saving messageLibravatarLibravatar Drew DeVault 2020-11-131-7/+18
|
* Remove async SMTP queueLibravatarLibravatar Drew DeVault 2020-11-131-4/+0
|
* Copy unsent messages to OutboxLibravatarLibravatar Drew DeVault 2020-10-301-2/+7
| | | | | | | | | | | This patch: 1. Copies unsent messages to the outbox before attempting to deliver them with SMTP 2. Deletes those messages once they're sent, or leaves them if an error occured 3. Updates the message list to make it obvious when there are unsent messages in the outbox
* Replace parts tree with attachment listLibravatarLibravatar Drew DeVault 2020-10-231-5/+23
|
* message.html: add tabs to select html/plaintextLibravatarLibravatar Drew DeVault 2020-10-231-0/+23
|
* Implement broader search functionalityLibravatarLibravatar Drew DeVault 2020-10-231-26/+1
|
* plugins/base/imap: fetch flags on searchLibravatarLibravatar Drew DeVault 2020-10-221-1/+1
|
* Categorize and normalize folder listingLibravatarLibravatar Drew DeVault 2020-10-221-2/+14
|
* Handle case where server does not return bodyLibravatarLibravatar Drew DeVault 2020-10-221-1/+6
| | | | | | This was causing a nil pointer dereference before. Fixes ~migadu/alps#121.
* remove exec bit from plugins/base/imap.goLibravatarLibravatar Reto Brunner 2020-08-111-0/+0
|
* base: don't use Client.MailboxLibravatarLibravatar Simon Ser 2020-05-281-4/+3
| | | | | | | The information returned by Client.Mailbox may be out-of-date. Instead, retrieve the mailbox status from the server each time. Closes: https://todo.sr.ht/~emersion/alps/80
* Replace IMAPMessage.TextPartName with TextPartLibravatarLibravatar Simon Ser 2020-05-201-23/+16
|
* plugins/base: Add missing nil check for getMailboxByTypeLibravatarLibravatar fox.cpp 2020-05-181-0/+3
| | | | Fixes panic if there is no usable Sent folder.
* plugins/base: fix mailbox unread countLibravatarLibravatar Simon Ser 2020-05-131-10/+23
|
* Rename project to alpsLibravatarLibravatar Simon Ser 2020-05-131-1/+1
|
* plugins/base: always show INBOX firstLibravatarLibravatar Simon Ser 2020-03-271-0/+6
|
* plugins/base: wrap MailboxInfo and MailboxStatusLibravatarLibravatar Simon Ser 2020-03-271-5/+25
| | | | | This allows us to extend these and expose helpers for templates and plugins.
* plugins/base: add action param to handleSetFlagsLibravatarLibravatar Simon Ser 2020-03-181-1/+0
| | | | This alows to add/remove flags instead of setting them.
* plugins/base: fix IMAMessage.PartByPath with nil pathLibravatarLibravatar Simon Ser 2020-03-181-0/+3
|
* plugins/base: replace MessageRenderData.PartPath with PartLibravatarLibravatar Simon Ser 2020-02-251-0/+27
|
* plugins/base: add message URL and Content-Id helpersLibravatarLibravatar Simon Ser 2020-02-251-12/+54
|
* plugins/carddav: add basic contacts viewLibravatarLibravatar Simon Ser 2020-02-051-1/+1
|
* plugins/base/imap: disable full-text search for nowLibravatarLibravatar Simon Ser 2020-02-051-2/+27
| | | | | | It's too slow on servers where indexes aren't enabled. References: https://todo.sr.ht/~sircmpwn/koushin/23
* plugins/base: add settings pageLibravatarLibravatar Simon Ser 2020-01-281-2/+2
| | | | | Add a settings page where the user can change the number of messages displayed per page.
* plugins/base: support attachments in draftsLibravatarLibravatar Simon Ser 2020-01-281-0/+22
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/16
* plugins/base: use BodyStructure.Walk instead of custom logicLibravatarLibravatar Simon Ser 2020-01-281-46/+20
|
* plugins/base: delete previous draftLibravatarLibravatar Simon Ser 2020-01-241-0/+16
|
* plugins/base: add fallback if SPECIAL-USE is unsupportedLibravatarLibravatar Simon Ser 2020-01-241-20/+36
|
* plugins/base: save message as draftLibravatarLibravatar Simon Ser 2020-01-241-0/+45
|
* plugins/base: append outgoing messages to Sent mailboxLibravatarLibravatar Simon Ser 2020-01-201-0/+36
| | | | | | And mark original message as answered. Closes: https://todo.sr.ht/~sircmpwn/koushin/15
* Include flags when fetching items over IMAPLibravatarLibravatar Dejan Strbac 2020-01-161-1/+1
|
* Add Server.ReloadLibravatarLibravatar Simon Ser 2020-01-081-1/+1
| | | | | This only reloads templates for now. In the future it'll also reload Lua plugins.
* Implement paging for searchLibravatarLibravatar Simon Ser 2019-12-171-9/+16
|
* Add a form to set message flagsLibravatarLibravatar Simon Ser 2019-12-171-0/+10
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/36
* Export IMAPMessageLibravatarLibravatar Simon Ser 2019-12-161-11/+11
| | | | This is a public type other plugins and templates may want to access.
* Add basic searchLibravatarLibravatar Simon Ser 2019-12-161-2/+49
| | | | Closes: https://todo.sr.ht/~sircmpwn/koushin/23
* Introduce base pluginLibravatarLibravatar Simon Ser 2019-12-161-0/+277
This plugin offers base IMAP/SMTP functionality. References: https://todo.sr.ht/~sircmpwn/koushin/39