Commit graph

27 commits

Author SHA1 Message Date
Alexey Terentyev
d4c35f3c31 sourcehut theme: show only loaded plugin links and and mark current active plugin name
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
2021-09-29 22:30:54 +02:00
Gusted
1af693ce53 themes/sourcehut: fallback to Mailbox@Hostname 2021-08-23 10:05:16 +02:00
Martin Ashby
765eeca8ce Add error page for sourcehut theme.
Signed-off-by: Martin Ashby <martin@ashbysoft.com>
2021-07-04 21:54:39 +02:00
Martin Ashby
a09385cb06 Add 'remember me' checkbox to sourcehut theme login page.
Signed-off-by: Martin Ashby <martin@ashbysoft.com>
2021-07-04 21:54:12 +02:00
Drew DeVault
a5fe1e358e Carry Message-ID forward through compose process 2020-11-12 11:21:06 -05:00
наб
ae9e70b5ad
sourcehut theme: fix nil on emails without a text part
P.a. to 50e131244a which solved
https://todo.sr.ht/~emersion/alps/100

Closes: https://todo.sr.ht/~emersion/alps/102
2020-07-13 17:07:18 +02:00
Simon Ser
8589228c73
Replace IMAPMessage.TextPartName with TextPart 2020-05-20 16:25:25 +02:00
Drew DeVault
1cf95af41e
Add <meta refresh> to mailbox view
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.
2020-05-13 16:58:48 +02:00
Simon Ser
b891a95fcf
Rename project to alps 2020-05-13 14:07:44 +02:00
Simon Ser
b61e40f363
plugins/base: allow move/delete/flag operations to take multiple UIDs 2020-03-19 16:43:27 +01:00
Simon Ser
ae8658f468
plugins/base: add route to forward messages
Only inline forwarding is supported for now.

References: https://todo.sr.ht/~sircmpwn/koushin/37
2020-03-18 15:01:15 +01:00
Simon Ser
89149b38c8
plugins/carddav: use paths instead of UIDs in URLs 2020-02-27 12:17:23 +01:00
Simon Ser
4bb0ded2d9
plugins/caldav: update go-webdav 2020-02-25 19:24:35 +01:00
Simon Ser
c96903f3f1
plugins/base: replace MessageRenderData.PartPath with Part 2020-02-25 16:38:29 +01:00
Simon Ser
b3f98de1da
plugins/viewhtml: add opt-in query param to load remote resources
Loading remote resources by default has privacy implications.
2020-02-25 16:13:10 +01:00
Simon Ser
5364221dd4
themes/sourcehut: add CalDAV views 2020-02-14 15:30:56 +01:00
Simon Ser
778e6f9c89
plugins/carddav: add view to edit contacts 2020-02-12 21:35:18 +01:00
Simon Ser
c4ff33e645
plugins/carddav: add page to create new contact 2020-02-12 21:14:18 +01:00
Simon Ser
8299617ebc
Turn message part viewers into plugins 2020-02-12 15:41:00 +01:00
Simon Ser
2733dcd528
themes/sourcehut: display username in navbar 2020-02-12 01:20:21 +01:00
Simon Ser
73d54ca35c
themes/sourcehut: remove mail nav from settings 2020-02-12 00:41:40 +01:00
Simon Ser
6115ce7b1d
themes/sourcehut: add CardDAV templates, improve nav 2020-02-12 00:40:23 +01:00
Simon Ser
19548694e0
themes/sourcehut: sync with latest base plugin 2020-02-11 17:14:01 +01:00
Simon Ser
6a6ece03e4
plugins/carddav: new plugin
A new minimal CardDAV plugin is introduced. It injects a list of e-mail
addresses in the e-mail compose view.

References: https://todo.sr.ht/~sircmpwn/koushin/7
2020-02-05 12:21:54 +01:00
Simon Ser
3d9ddc05be
themes/sourcehut: add search input to mailbox view 2019-12-25 19:34:24 +01:00
Simon Ser
b8407569f0
themes/sourcehut: use formatdate template func 2019-12-17 11:33:29 +01:00
Simon Ser
e93346ffa9
Remove the public/ directory
Now that all templates are provided by plugins, there's no need to have
a public/ directory. Themes can be in /themes instead of /public/themes.
2019-12-16 12:58:21 +01:00