aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
Commit message (Collapse)AuthorAgeFilesLines
...
* Add <meta refresh> to mailbox viewDrew DeVault2020-05-135-5/+5
| | | | | | | | | | This causes the mailbox to automatically reload the page every 60 seconds, without JavaScript. This also updates the base template data to include the full URL, and replaces the earlier "Path" field with a pre-split array of path components, which is more immediately useful to most templates given the limitations of string munging with text/template primitives.
* Rename project to alpsSimon Ser2020-05-1313-52/+52
|
* plugins/base: always show INBOX firstSimon Ser2020-03-271-0/+6
|
* plugins/base: wrap MailboxInfo and MailboxStatusSimon Ser2020-03-272-15/+35
| | | | | This allows us to extend these and expose helpers for templates and plugins.
* plugins/base: allow redirect param to be a form paramSimon Ser2020-03-271-7/+11
|
* plugins/base: add redirect param to move/delete/flag endpointsSimon Ser2020-03-271-1/+10
|
* plugins/base: allow to specify move/flag params via querySimon Ser2020-03-191-2/+19
|
* plugins/base: allow move/delete/flag operations to take multiple UIDsSimon Ser2020-03-193-16/+53
|
* plugins/base: add action param to handleSetFlagsSimon Ser2020-03-182-2/+17
| | | | This alows to add/remove flags instead of setting them.
* plugins/base: fix IMAMessage.PartByPath with nil pathSimon Ser2020-03-181-0/+3
|
* plugins/base: disallow replying to text/html partsSimon Ser2020-03-181-1/+1
|
* plugins/base: add route to forward messagesSimon Ser2020-03-182-21/+100
| | | | | | Only inline forwarding is supported for now. References: https://todo.sr.ht/~sircmpwn/koushin/37
* plugins/base: replace MessageRenderData.PartPath with PartSimon Ser2020-02-253-14/+41
|
* 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
|
* plugins/base: add message URL and Content-Id helpersSimon Ser2020-02-251-12/+54
|
* Turn message part viewers into pluginsSimon Ser2020-02-128-245/+45
|
* plugins/carddav: add basic contacts viewSimon Ser2020-02-051-1/+1
|
* plugins/base: add icons for attachments/re/fwd/starredSimon Ser2020-02-051-7/+13
|
* plugins/base/imap: disable full-text search for nowSimon Ser2020-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 pageSimon Ser2020-01-285-7/+100
| | | | | Add a settings page where the user can change the number of messages displayed per page.
* plugins/base: support attachments in draftsSimon Ser2020-01-284-6/+143
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/16
* plugins/base: use BodyStructure.Walk instead of custom logicSimon Ser2020-01-281-46/+20
|
* Add .editorconfigSimon Ser2020-01-245-152/+152
|
* plugins/base: delete previous draftSimon Ser2020-01-242-5/+34
|
* 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
|