Commit graph

313 commits

Author SHA1 Message Date
Simon Ser
fe73f2022c
plugins/base: add action param to handleSetFlags
This alows to add/remove flags instead of setting them.
2020-03-18 21:10:40 +01:00
Simon Ser
feb8c7ac80
gitignore: ignore third-party themes 2020-03-18 19:45:19 +01:00
Simon Ser
a455fc8ddd
plugins/base: fix IMAMessage.PartByPath with nil path 2020-03-18 19:44:18 +01:00
Simon Ser
dd5633ac51
editorconfig: add more settings 2020-03-18 15:13:51 +01:00
Simon Ser
be3ab9bdd5
plugins/base: disallow replying to text/html parts 2020-03-18 15:08:36 +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
4b887f5771
ci: add .build.yml 2020-03-18 14:04:37 +01:00
Simon Ser
ea0626d806
plugins/carddav: check supported vCard versions 2020-02-27 12:56:06 +01:00
Simon Ser
89149b38c8
plugins/carddav: use paths instead of UIDs in URLs 2020-02-27 12:17:23 +01:00
Simon Ser
62853a933e
Update linkify
Latest linkify contains a fix for e-mail addresses surrounded by angle
brackets.
2020-02-26 00:14:30 +01:00
Simon Ser
4bb0ded2d9
plugins/caldav: update go-webdav 2020-02-25 19:24:35 +01:00
Simon Ser
6c36ab6de2
docs/google: add CalDAV URL 2020-02-25 18:52:25 +01:00
Simon Ser
7de332c2bb
plugins/viewtext: linkify plaintext messages 2020-02-25 18:16:26 +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
a8a3c82579
plugins/viewhtml: add image proxy 2020-02-25 15:45:43 +01:00
Simon Ser
8c4fd20e27
Revert "plugins/viewhtml: convert mailto links"
This reverts commit 02faf6174b.

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.
2020-02-25 15:37:47 +01:00
Simon Ser
3cfd0b942b
cmd: print HTTP requests when -debug is enabled 2020-02-25 15:14:55 +01:00
Simon Ser
02faf6174b
plugins/viewhtml: convert mailto links 2020-02-25 14:06:10 +01:00
Simon Ser
62660f8d1d
plugins/viewhtml: add support for inline Content-Id images
Closes: https://todo.sr.ht/~sircmpwn/koushin/33
2020-02-25 10:47:38 +01:00
Simon Ser
7af7d73700
plugins/base: add message URL and Content-Id helpers 2020-02-25 10:46:55 +01:00
Simon Ser
c3e323161a
plugins/viewhtml: add sanitizer struct 2020-02-25 09:51:57 +01:00
Simon Ser
be3c069f5d
plugins/caldav: make discovery failures non-fatal
Closes: https://todo.sr.ht/~sircmpwn/koushin/64
2020-02-19 16:35:47 +01:00
Simon Ser
bfb2d8a4de
Add discovery support for SMTP with implicit TLS 2020-02-19 09:43:01 +01:00
Simon Ser
75122a175a
readme: fix typo
Fixes: 9d76488235 ("readme: add hint about SourceHut theme")
2020-02-18 16:49:57 +01:00
Simon Ser
9d76488235
readme: add hint about SourceHut theme 2020-02-18 16:01:26 +01:00
Simon Ser
d001786868
readme: add note about hotreload script 2020-02-14 15:50:39 +01:00
Simon Ser
5364221dd4
themes/sourcehut: add CalDAV views 2020-02-14 15:30:56 +01:00
Simon Ser
93e988855f
Fix go.mod containing local replace directive 2020-02-13 15:11:47 +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
e24e20e528
Update dependencies 2020-02-12 17:41:43 +01:00
Simon Ser
b0bceee0ea
docs: add instructions for Google accounts
This makes it easier for people to try out koushin.
2020-02-12 17:37:42 +01:00
Simon Ser
1dc00fa023
plugins/carddav: filter contacts with EMAIL/FN set
Don't issue a CardDAV query with any filter, Google won't return any
result.
2020-02-12 17:33:08 +01:00
Simon Ser
243e090bcb
Add default ports for IMAP and SMTP 2020-02-12 16:15:18 +01:00
Simon Ser
8299617ebc
Turn message part viewers into plugins 2020-02-12 15:41:00 +01:00
Simon Ser
892f1fa581
Remove outdated TODO 2020-02-12 01:23:11 +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
30a26051aa
contrib/hotreload: be quiet 2020-02-12 00:29:51 +01:00
Simon Ser
3a3887b358
plugins/carddav: cache addressbook home set path 2020-02-11 19:14:05 +01:00
Simon Ser
13f5414691
cmd/koushin: add -debug flag 2020-02-11 18:39:52 +01:00
Simon Ser
e59ad57e32
docs: add an example Go plugin 2020-02-11 18:23:48 +01:00
Simon Ser
e09a837569
docs: add a basic example Lua plugin 2020-02-11 17:56:15 +01:00
Simon Ser
0a56365672
docs/themes-and-plugins: extract from README 2020-02-11 17:42:10 +01:00
Simon Ser
02b59bc365
docs/cli: new page 2020-02-11 17:40:18 +01:00
Simon Ser
3c391fa81d
contrib: add hotreload script 2020-02-11 17:37:58 +01:00
Simon Ser
82304a78d6
plugins/caldav: add missing event.html template 2020-02-11 17:14:43 +01:00
Simon Ser
19548694e0
themes/sourcehut: sync with latest base plugin 2020-02-11 17:14:01 +01:00