aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/routes.go
Commit message (Collapse)AuthorAgeFilesLines
* Revert "plugins/viewhtml: convert mailto links"Simon Ser2020-02-251-1/+0
| | | | | | | | | This reverts commit 02faf6174b3d94efd1ee3cc842b55001639a8983. This commit doesn't work, because it's applied to <img> tags. Making it handle <a> tags doesn't work either because bluemonday will strip any target="_blank" attributes, making the compose form open in the <iframe>. Let's just revert this whole commit for now.
* plugins/viewhtml: convert mailto linksSimon Ser2020-02-251-0/+1
|
* Turn message part viewers into pluginsSimon Ser2020-02-121-19/+5
|
* plugins/base: add settings pageSimon Ser2020-01-281-2/+77
| | | | | Add a settings page where the user can change the number of messages displayed per page.
* plugins/base: support attachments in draftsSimon Ser2020-01-281-2/+60
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/16
* plugins/base: delete previous draftSimon Ser2020-01-241-5/+18
|
* plugins/base: edit draftsSimon Ser2020-01-241-62/+137
| | | | Note that attachments will be lost. This is a TODO.
* plugins/base: save message as draftSimon Ser2020-01-241-44/+51
|
* plugins/base: append outgoing messages to Sent mailboxSimon Ser2020-01-201-4/+46
| | | | | | And mark original message as answered. Closes: https://todo.sr.ht/~sircmpwn/koushin/15
* plugins/base: remove external resources URLs, sanitize CSSSimon Ser2020-01-201-1/+4
|
* Make the text/* part content a []byteSimon Ser2020-01-201-4/+3
|
* Extract HTML sanitizer to its own fileSimon Ser2020-01-201-7/+1
|
* Open e-mail links in new tabSimon Ser2020-01-201-0/+1
|
* Resize e-mail iframe with contentSimon Ser2020-01-201-0/+3
|
* Add support for HTML partsSimon Ser2020-01-201-0/+11
|
* Redirect to original URL after loginSimon Ser2020-01-101-0/+3
|
* Fix header missing from raw e-mail downloadSimon Ser2019-12-181-1/+11
|
* Implement paging for searchSimon Ser2019-12-171-4/+11
|
* 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-171-0/+5
|
* Redirect / to INBOXSimon Ser2019-12-171-0/+4
|
* Add a form to set message flagsSimon Ser2019-12-171-22/+78
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/36
* plugins/base: extract route registration into functionSimon Ser2019-12-171-0/+410