aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
Commit message (Collapse)AuthorAgeFilesLines
* plugins/base: edit draftsSimon Ser2020-01-243-63/+145
| | | | Note that attachments will be lost. This is a TODO.
* plugins/base: add fallback if SPECIAL-USE is unsupportedSimon Ser2020-01-241-20/+36
|
* plugins/base: save message as draftSimon Ser2020-01-243-44/+97
|
* Introduce PluginLoaderFuncSimon Ser2020-01-201-1/+1
| | | | | | | This allows registered plugins to execute code when loaded. This will also allow the Lua support code to be a plugin. Closes: https://todo.sr.ht/~sircmpwn/koushin/54
* go fmtSimon Ser2020-01-201-39/+39
|
* plugins/base: append outgoing messages to Sent mailboxSimon Ser2020-01-202-4/+82
| | | | | | And mark original message as answered. Closes: https://todo.sr.ht/~sircmpwn/koushin/15
* plugins/base: remove external resources URLs, sanitize CSSSimon Ser2020-01-202-5/+183
|
* Make the text/* part content a []byteSimon Ser2020-01-202-6/+5
|
* Extract HTML sanitizer to its own fileSimon Ser2020-01-202-7/+19
|
* Add polyfill for browsers not supporting srcdocSimon Ser2020-01-202-1/+10
|
* Open e-mail links in new tabSimon Ser2020-01-202-1/+3
|
* Resize e-mail iframe with contentSimon Ser2020-01-204-1/+14
|
* Add support for HTML partsSimon Ser2020-01-203-2/+22
|
* Include flags when fetching items over IMAPDejan Strbac2020-01-161-1/+1
|
* Redirect to original URL after loginSimon Ser2020-01-101-0/+3
|
* Add Server.ReloadSimon Ser2020-01-081-1/+1
| | | | | This only reloads templates for now. In the future it'll also reload Lua plugins.
* Fix extra comma in address listSimon Ser2019-12-181-1/+1
|
* Fix header missing from raw e-mail downloadSimon Ser2019-12-181-1/+11
|
* Implement paging for searchSimon Ser2019-12-173-16/+30
|
* Make Go plugin handlers take a *ContextSimon Ser2019-12-171-27/+11
| | | | | Take a *Context instead of a echo.Context. This saves a type assertion in each handler.
* Add RenderData interfaceSimon Ser2019-12-171-15/+15
| | | | This allows Go plugins to easily inject global data.
* Rename RenderData to BaseRenderDataSimon Ser2019-12-171-7/+7
| | | | RenderData will be used for an interface.
* Use Context.FormParamsSimon Ser2019-12-171-2/+4
|
* Linkify address listsSimon Ser2019-12-173-12/+17
|
* Redirect / to INBOXSimon Ser2019-12-171-0/+4
|
* Add a form to set message flagsSimon Ser2019-12-174-23/+130
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/36
* plugins/base: extract route registration into functionSimon Ser2019-12-172-28/+30
|
* Add envelope metadata to message viewSimon Ser2019-12-173-11/+52
|
* Improve docsSimon Ser2019-12-171-1/+1
|
* Add button to delete messageSimon Ser2019-12-163-0/+47
| | | | | | Maybe we should add a confirmation step in the future. References: https://todo.sr.ht/~sircmpwn/koushin/36
* Add form to move messagesSimon Ser2019-12-163-2/+56
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/36
* Export IMAPMessageSimon Ser2019-12-162-16/+16
| | | | This is a public type other plugins and templates may want to access.
* Add attachments support to composerSimon Ser2019-12-163-9/+57
| | | | Closes: https://todo.sr.ht/~sircmpwn/koushin/13
* Use <label> in compose formSimon Ser2019-12-162-9/+12
|
* Add basic searchSimon Ser2019-12-165-9/+74
| | | | Closes: https://todo.sr.ht/~sircmpwn/koushin/23
* Add line break to login formSimon Ser2019-12-161-0/+1
|
* Replace Session.ConnectSMTP with Session.DoSMTPSimon Ser2019-12-161-9/+4
| | | | | This gives more flexibility in Session for optimizations, e.g. keep the SMTP connection around for some time if possible.
* Rename Session.Do to Session.DoIMAPSimon Ser2019-12-161-3/+3
|
* Introduce base pluginSimon Ser2019-12-1612-0/+935
This plugin offers base IMAP/SMTP functionality. References: https://todo.sr.ht/~sircmpwn/koushin/39