aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/base/routes.go
Commit message (Collapse)AuthorAgeFilesLines
* Copy unsent messages to OutboxLibravatarLibravatar Drew DeVault 2020-10-301-5/+74
| | | | | | | | | | | 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
* compose: don't fail on 0 attachmentsLibravatarLibravatar Drew DeVault 2020-10-301-1/+5
|
* Implement JavaScript UI for attachmentsLibravatarLibravatar Drew DeVault 2020-10-291-2/+48
| | | | | | | | | | | | | | | | This one is a bit of a doozy. A summary of the changes: - Session has grown storage for attachments which have been uploaded but not yet sent. - The list of attachments on a message is refcounted so that we can clean up the temporary files only after it's done with - i.e. after copying to Sent and after all of the SMTP attempts are done. - Abandoned attachments are cleared out on process shutdown. Future work: - Add a limit to the maximum number of pending attachments the user can have in the session. - Periodically clean out abandoned attachments?
* message.html: add tab to view raw emailLibravatarLibravatar Drew DeVault 2020-10-231-1/+5
|
* Send outgoing emails asyncronouslyLibravatarLibravatar Drew DeVault 2020-10-231-3/+8
|
* Generalize sidebar categorization logicLibravatarLibravatar Drew DeVault 2020-10-221-87/+100
|
* Categorize and normalize folder listingLibravatarLibravatar Drew DeVault 2020-10-221-13/+61
|
* Fix nil render data on invalid passwordLibravatarLibravatar Simon Ser 2020-07-071-9/+10
| | | | | | This would cause this error: template: head.html:7:15: executing "head.html" at <index .Global.Path 0>: error calling index: index of untyped nil
* Stay on the same page after moving a messageLibravatarLibravatar Zach DeCook 2020-06-291-1/+1
|
* base: don't use Client.MailboxLibravatarLibravatar Simon Ser 2020-05-281-4/+4
| | | | | | | 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
* Add INBOX unread count on mailbox/message pagesLibravatarLibravatar Simon Ser 2020-05-211-2/+20
|
* login: set encrypted "remember me" tokenLibravatarLibravatar Drew DeVault 2020-05-201-1/+19
|
* mailbox: show unseen message count in page titleLibravatarLibravatar Drew DeVault 2020-05-201-0/+4
|
* mailbox: set title to "Inbox" rather than "INBOX"LibravatarLibravatar Drew DeVault 2020-05-131-1/+6
|
* plugins/base: fix mailbox unread countLibravatarLibravatar Simon Ser 2020-05-131-2/+6
|
* Use context-appropriate title for mbox/msg viewLibravatarLibravatar Drew DeVault 2020-05-131-9/+10
|
* Rename project to alpsLibravatarLibravatar Simon Ser 2020-05-131-34/+34
|
* plugins/base: wrap MailboxInfo and MailboxStatusLibravatarLibravatar Simon Ser 2020-03-271-10/+10
| | | | | This allows us to extend these and expose helpers for templates and plugins.
* plugins/base: allow redirect param to be a form paramLibravatarLibravatar Simon Ser 2020-03-271-7/+11
|
* plugins/base: add redirect param to move/delete/flag endpointsLibravatarLibravatar Simon Ser 2020-03-271-1/+10
|
* plugins/base: allow to specify move/flag params via queryLibravatarLibravatar Simon Ser 2020-03-191-2/+19
|
* plugins/base: allow move/delete/flag operations to take multiple UIDsLibravatarLibravatar Simon Ser 2020-03-191-13/+35
|
* plugins/base: add action param to handleSetFlagsLibravatarLibravatar Simon Ser 2020-03-181-1/+17
| | | | This alows to add/remove flags instead of setting them.
* plugins/base: disallow replying to text/html partsLibravatarLibravatar Simon Ser 2020-03-181-1/+1
|
* plugins/base: add route to forward messagesLibravatarLibravatar Simon Ser 2020-03-181-20/+98
| | | | | | Only inline forwarding is supported for now. References: https://todo.sr.ht/~sircmpwn/koushin/37
* plugins/base: replace MessageRenderData.PartPath with PartLibravatarLibravatar Simon Ser 2020-02-251-4/+4
|
* Revert "plugins/viewhtml: convert mailto links"LibravatarLibravatar Simon Ser 2020-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 linksLibravatarLibravatar Simon Ser 2020-02-251-0/+1
|
* Turn message part viewers into pluginsLibravatarLibravatar Simon Ser 2020-02-121-19/+5
|
* plugins/base: add settings pageLibravatarLibravatar Simon Ser 2020-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 draftsLibravatarLibravatar Simon Ser 2020-01-281-2/+60
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/16
* plugins/base: delete previous draftLibravatarLibravatar Simon Ser 2020-01-241-5/+18
|
* plugins/base: edit draftsLibravatarLibravatar Simon Ser 2020-01-241-62/+137
| | | | Note that attachments will be lost. This is a TODO.
* plugins/base: save message as draftLibravatarLibravatar Simon Ser 2020-01-241-44/+51
|
* plugins/base: append outgoing messages to Sent mailboxLibravatarLibravatar Simon Ser 2020-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 CSSLibravatarLibravatar Simon Ser 2020-01-201-1/+4
|
* Make the text/* part content a []byteLibravatarLibravatar Simon Ser 2020-01-201-4/+3
|
* Extract HTML sanitizer to its own fileLibravatarLibravatar Simon Ser 2020-01-201-7/+1
|
* Open e-mail links in new tabLibravatarLibravatar Simon Ser 2020-01-201-0/+1
|
* Resize e-mail iframe with contentLibravatarLibravatar Simon Ser 2020-01-201-0/+3
|
* Add support for HTML partsLibravatarLibravatar Simon Ser 2020-01-201-0/+11
|
* Redirect to original URL after loginLibravatarLibravatar Simon Ser 2020-01-101-0/+3
|
* Fix header missing from raw e-mail downloadLibravatarLibravatar Simon Ser 2019-12-181-1/+11
|
* Implement paging for searchLibravatarLibravatar Simon Ser 2019-12-171-4/+11
|
* Make Go plugin handlers take a *ContextLibravatarLibravatar Simon Ser 2019-12-171-27/+11
| | | | | Take a *Context instead of a echo.Context. This saves a type assertion in each handler.
* Add RenderData interfaceLibravatarLibravatar Simon Ser 2019-12-171-15/+15
| | | | This allows Go plugins to easily inject global data.
* Rename RenderData to BaseRenderDataLibravatarLibravatar Simon Ser 2019-12-171-7/+7
| | | | RenderData will be used for an interface.
* Use Context.FormParamsLibravatarLibravatar Simon Ser 2019-12-171-2/+4
|
* Linkify address listsLibravatarLibravatar Simon Ser 2019-12-171-0/+5
|
* Redirect / to INBOXLibravatarLibravatar Simon Ser 2019-12-171-0/+4
|