aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/base
Commit message (Collapse)AuthorAgeFilesLines
...
* remove exec bit from plugins/base/imap.goLibravatarLibravatar Reto Brunner 2020-08-111-0/+0
|
* Set Message-Id headerLibravatarLibravatar Jesse Olson 2020-08-051-1/+2
|
* base HTML: fix nil on emails without a text partLibravatarLibravatar наб 2020-07-131-1/+1
| | | | | | | P.a. to 50e131244ad78fd1e4c216770ff69471a6fcb03b which solved https://todo.sr.ht/~emersion/alps/100 Closes: https://todo.sr.ht/~emersion/alps/102
* 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
|
* Workaround template functions not loadedLibravatarLibravatar Simon Ser 2020-06-101-0/+21
| | | | | | | This is a hacky workaround to make things work until we find a better solution. Closes: https://todo.sr.ht/~emersion/alps/96
* base: don't use Client.MailboxLibravatarLibravatar Simon Ser 2020-05-282-8/+7
| | | | | | | 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
|
* Replace IMAPMessage.TextPartName with TextPartLibravatarLibravatar Simon Ser 2020-05-202-24/+17
|
* mailbox: show unseen message count in page titleLibravatarLibravatar Drew DeVault 2020-05-201-0/+4
|
* plugins/base: Add missing nil check for getMailboxByTypeLibravatarLibravatar fox.cpp 2020-05-181-0/+3
| | | | Fixes panic if there is no usable Sent folder.
* 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-132-12/+29
|
* Use context-appropriate title for mbox/msg viewLibravatarLibravatar Drew DeVault 2020-05-131-9/+10
|
* Add <meta refresh> to mailbox viewLibravatarLibravatar Drew DeVault 2020-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 alpsLibravatarLibravatar Simon Ser 2020-05-1313-52/+52
|
* plugins/base: always show INBOX firstLibravatarLibravatar Simon Ser 2020-03-271-0/+6
|
* plugins/base: wrap MailboxInfo and MailboxStatusLibravatarLibravatar Simon Ser 2020-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 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-193-16/+53
|
* plugins/base: add action param to handleSetFlagsLibravatarLibravatar Simon Ser 2020-03-182-2/+17
| | | | This alows to add/remove flags instead of setting them.
* plugins/base: fix IMAMessage.PartByPath with nil pathLibravatarLibravatar Simon Ser 2020-03-181-0/+3
|
* 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-182-21/+100
| | | | | | 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-253-14/+41
|
* 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
|
* plugins/base: add message URL and Content-Id helpersLibravatarLibravatar Simon Ser 2020-02-251-12/+54
|
* Turn message part viewers into pluginsLibravatarLibravatar Simon Ser 2020-02-128-245/+45
|
* plugins/carddav: add basic contacts viewLibravatarLibravatar Simon Ser 2020-02-051-1/+1
|
* plugins/base: add icons for attachments/re/fwd/starredLibravatarLibravatar Simon Ser 2020-02-051-7/+13
|
* plugins/base/imap: disable full-text search for nowLibravatarLibravatar Simon Ser 2020-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 pageLibravatarLibravatar Simon Ser 2020-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 draftsLibravatarLibravatar Simon Ser 2020-01-284-6/+143
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/16
* plugins/base: use BodyStructure.Walk instead of custom logicLibravatarLibravatar Simon Ser 2020-01-281-46/+20
|
* Add .editorconfigLibravatarLibravatar Simon Ser 2020-01-245-152/+152
|
* plugins/base: delete previous draftLibravatarLibravatar Simon Ser 2020-01-242-5/+34
|
* plugins/base: edit draftsLibravatarLibravatar Simon Ser 2020-01-243-63/+145
| | | | Note that attachments will be lost. This is a TODO.
* plugins/base: add fallback if SPECIAL-USE is unsupportedLibravatarLibravatar Simon Ser 2020-01-241-20/+36
|
* plugins/base: save message as draftLibravatarLibravatar Simon Ser 2020-01-243-44/+97
|
* Introduce PluginLoaderFuncLibravatarLibravatar Simon Ser 2020-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 fmtLibravatarLibravatar Simon Ser 2020-01-201-39/+39
|
* plugins/base: append outgoing messages to Sent mailboxLibravatarLibravatar Simon Ser 2020-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 CSSLibravatarLibravatar Simon Ser 2020-01-202-5/+183
|
* Make the text/* part content a []byteLibravatarLibravatar Simon Ser 2020-01-202-6/+5
|
* Extract HTML sanitizer to its own fileLibravatarLibravatar Simon Ser 2020-01-202-7/+19
|
* Add polyfill for browsers not supporting srcdocLibravatarLibravatar Simon Ser 2020-01-202-1/+10
|