Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | plugins/base: Add missing nil check for getMailboxByType | fox.cpp | 2020-05-18 | 1 | -0/+3 |
| | | | | Fixes panic if there is no usable Sent folder. | ||||
* | mailbox: set title to "Inbox" rather than "INBOX" | Drew DeVault | 2020-05-13 | 1 | -1/+6 |
| | |||||
* | plugins/base: fix mailbox unread count | Simon Ser | 2020-05-13 | 2 | -12/+29 |
| | |||||
* | Use context-appropriate title for mbox/msg view | Drew DeVault | 2020-05-13 | 1 | -9/+10 |
| | |||||
* | Add <meta refresh> to mailbox view | Drew DeVault | 2020-05-13 | 5 | -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 alps | Simon Ser | 2020-05-13 | 13 | -52/+52 |
| | |||||
* | plugins/base: always show INBOX first | Simon Ser | 2020-03-27 | 1 | -0/+6 |
| | |||||
* | plugins/base: wrap MailboxInfo and MailboxStatus | Simon Ser | 2020-03-27 | 2 | -15/+35 |
| | | | | | This allows us to extend these and expose helpers for templates and plugins. | ||||
* | plugins/base: allow redirect param to be a form param | Simon Ser | 2020-03-27 | 1 | -7/+11 |
| | |||||
* | plugins/base: add redirect param to move/delete/flag endpoints | Simon Ser | 2020-03-27 | 1 | -1/+10 |
| | |||||
* | plugins/base: allow to specify move/flag params via query | Simon Ser | 2020-03-19 | 1 | -2/+19 |
| | |||||
* | plugins/base: allow move/delete/flag operations to take multiple UIDs | Simon Ser | 2020-03-19 | 3 | -16/+53 |
| | |||||
* | plugins/base: add action param to handleSetFlags | Simon Ser | 2020-03-18 | 2 | -2/+17 |
| | | | | This alows to add/remove flags instead of setting them. | ||||
* | plugins/base: fix IMAMessage.PartByPath with nil path | Simon Ser | 2020-03-18 | 1 | -0/+3 |
| | |||||
* | plugins/base: disallow replying to text/html parts | Simon Ser | 2020-03-18 | 1 | -1/+1 |
| | |||||
* | plugins/base: add route to forward messages | Simon Ser | 2020-03-18 | 2 | -21/+100 |
| | | | | | | Only inline forwarding is supported for now. References: https://todo.sr.ht/~sircmpwn/koushin/37 | ||||
* | plugins/base: replace MessageRenderData.PartPath with Part | Simon Ser | 2020-02-25 | 3 | -14/+41 |
| | |||||
* | Revert "plugins/viewhtml: convert mailto links" | Simon Ser | 2020-02-25 | 1 | -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 links | Simon Ser | 2020-02-25 | 1 | -0/+1 |
| | |||||
* | plugins/base: add message URL and Content-Id helpers | Simon Ser | 2020-02-25 | 1 | -12/+54 |
| | |||||
* | Turn message part viewers into plugins | Simon Ser | 2020-02-12 | 8 | -245/+45 |
| | |||||
* | plugins/carddav: add basic contacts view | Simon Ser | 2020-02-05 | 1 | -1/+1 |
| | |||||
* | plugins/base: add icons for attachments/re/fwd/starred | Simon Ser | 2020-02-05 | 1 | -7/+13 |
| | |||||
* | plugins/base/imap: disable full-text search for now | Simon Ser | 2020-02-05 | 1 | -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 page | Simon Ser | 2020-01-28 | 5 | -7/+100 |
| | | | | | Add a settings page where the user can change the number of messages displayed per page. | ||||
* | plugins/base: support attachments in drafts | Simon Ser | 2020-01-28 | 4 | -6/+143 |
| | | | | References: https://todo.sr.ht/~sircmpwn/koushin/16 | ||||
* | plugins/base: use BodyStructure.Walk instead of custom logic | Simon Ser | 2020-01-28 | 1 | -46/+20 |
| | |||||
* | Add .editorconfig | Simon Ser | 2020-01-24 | 5 | -152/+152 |
| | |||||
* | plugins/base: delete previous draft | Simon Ser | 2020-01-24 | 2 | -5/+34 |
| | |||||
* | plugins/base: edit drafts | Simon Ser | 2020-01-24 | 3 | -63/+145 |
| | | | | Note that attachments will be lost. This is a TODO. | ||||
* | plugins/base: add fallback if SPECIAL-USE is unsupported | Simon Ser | 2020-01-24 | 1 | -20/+36 |
| | |||||
* | plugins/base: save message as draft | Simon Ser | 2020-01-24 | 3 | -44/+97 |
| | |||||
* | Introduce PluginLoaderFunc | Simon Ser | 2020-01-20 | 1 | -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 fmt | Simon Ser | 2020-01-20 | 1 | -39/+39 |
| | |||||
* | plugins/base: append outgoing messages to Sent mailbox | Simon Ser | 2020-01-20 | 2 | -4/+82 |
| | | | | | | And mark original message as answered. Closes: https://todo.sr.ht/~sircmpwn/koushin/15 | ||||
* | plugins/base: remove external resources URLs, sanitize CSS | Simon Ser | 2020-01-20 | 2 | -5/+183 |
| | |||||
* | Make the text/* part content a []byte | Simon Ser | 2020-01-20 | 2 | -6/+5 |
| | |||||
* | Extract HTML sanitizer to its own file | Simon Ser | 2020-01-20 | 2 | -7/+19 |
| | |||||
* | Add polyfill for browsers not supporting srcdoc | Simon Ser | 2020-01-20 | 2 | -1/+10 |
| | |||||
* | Open e-mail links in new tab | Simon Ser | 2020-01-20 | 2 | -1/+3 |
| | |||||
* | Resize e-mail iframe with content | Simon Ser | 2020-01-20 | 4 | -1/+14 |
| | |||||
* | Add support for HTML parts | Simon Ser | 2020-01-20 | 3 | -2/+22 |
| | |||||
* | Include flags when fetching items over IMAP | Dejan Strbac | 2020-01-16 | 1 | -1/+1 |
| | |||||
* | Redirect to original URL after login | Simon Ser | 2020-01-10 | 1 | -0/+3 |
| | |||||
* | Add Server.Reload | Simon Ser | 2020-01-08 | 1 | -1/+1 |
| | | | | | This only reloads templates for now. In the future it'll also reload Lua plugins. | ||||
* | Fix extra comma in address list | Simon Ser | 2019-12-18 | 1 | -1/+1 |
| | |||||
* | Fix header missing from raw e-mail download | Simon Ser | 2019-12-18 | 1 | -1/+11 |
| | |||||
* | Implement paging for search | Simon Ser | 2019-12-17 | 3 | -16/+30 |
| | |||||
* | Make Go plugin handlers take a *Context | Simon Ser | 2019-12-17 | 1 | -27/+11 |
| | | | | | Take a *Context instead of a echo.Context. This saves a type assertion in each handler. | ||||
* | Add RenderData interface | Simon Ser | 2019-12-17 | 1 | -15/+15 |
| | | | | This allows Go plugins to easily inject global data. |