Commit Graph

38 Commits

Author SHA1 Message Date
Konstantinos Koukas f01fbcbc48 Upgrade go-smtp to latest commit 2022-10-19 00:57:56 +02:00
Simon Ser 47e08a196b Upgrade dependencies 2022-10-13 14:43:05 +02:00
Conrad Hoffmann 1dfcf61f63 Upgrade go-webdav dependency
This commit upgrades go-webdav to what is currently the master branch.
The go-webdav client implementation gained some features with regards to
service discovery that alps can benefit from.

With this change, one can pass e.g. the following upstream URL:

   carddav+insecure://example.com/.well-known/carddav

This URL is defined in [RFC 6764, section 6][1]. If the server supports
it, it will respond with a redirect to the currently authenticated
user's principal URL. In the version used so far, the go-webdav client
does not handle this redirect well.

[1]: https://datatracker.ietf.org/doc/html/rfc6764#section-6

See also: https://github.com/emersion/go-webdav/commit/0363312
2022-05-31 17:06:24 +02:00
Simon Ser 6f578aa894 Upgrade dependencies 2022-05-07 10:20:42 +02:00
Simon Ser 03fef08314 Upgrade dependencies 2021-07-05 11:19:41 +02:00
Drew DeVault 8cc742f45d Fix issues with to/from headers 2020-11-19 13:06:38 -05:00
Drew DeVault 405c18d213 Convert HTML to plaintext for forwarding & replies 2020-11-19 10:52:18 -05:00
Drew DeVault 4904207269 Replace parts tree with attachment list 2020-10-23 16:08:40 -04:00
Drew DeVault b93b2bafa5 Rig up dowork event queue and graceful termination 2020-10-23 13:30:29 -04:00
Drew DeVault 9465f8db6d
login: set encrypted "remember me" token 2020-05-20 19:07:47 +02:00
Simon Ser 0191b73996
plugins/caldav: switch to path-based URLs
UIDs are not first-class WebDAV citizens and would require two
roundtrips for most operations.
2020-05-13 16:48:03 +02:00
Simon Ser d6802cf32b
Update go-webdav 2020-05-13 15:11:34 +02:00
Simon Ser f71024e350
Update dependencies 2020-05-13 15:09:48 +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 ea0626d806
plugins/carddav: check supported vCard versions 2020-02-27 12:56:06 +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 7de332c2bb
plugins/viewtext: linkify plaintext messages 2020-02-25 18:16:26 +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 a1b43cc5a8
plugins/caldav: add basic event view 2020-02-05 18:39:53 +01:00
Simon Ser 5b78cdc104
plugins/caldav: new plugin
For now it can only list events for the current month.

References: https://todo.sr.ht/~sircmpwn/koushin/60
2020-02-05 18:14:26 +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 f08ecb9cef
Update echo to 504f39abaf320
This fixes an OpenBSD issue.

Closes: https://todo.sr.ht/~sircmpwn/koushin/50
2020-02-03 19:35:14 +01:00
Simon Ser bdf1a8b02b
koushin: add Store interface
References: https://todo.sr.ht/~sircmpwn/koushin/5
2020-01-28 20:04:18 +01:00
Simon Ser 589b303f9f
plugins/base: append outgoing messages to Sent mailbox
And mark original message as answered.

Closes: https://todo.sr.ht/~sircmpwn/koushin/15
2020-01-20 20:25:41 +01:00
Simon Ser 3bf17752ab
plugins/base: remove external resources URLs, sanitize CSS 2020-01-20 18:28:49 +01:00
Simon Ser af5ffd12f9
Add support for HTML parts 2020-01-20 16:20:15 +01:00
Simon Ser 577685ca14
Update dependencies 2020-01-20 15:41:37 +01:00
Simon Ser 2a2a48c7fa
Add a form to set message flags
References: https://todo.sr.ht/~sircmpwn/koushin/36
2019-12-17 12:42:04 +01:00
Simon Ser 1841609fbc
Add form to move messages
References: https://todo.sr.ht/~sircmpwn/koushin/36
2019-12-16 17:25:53 +01:00
Simon Ser a061e85f00
Update deps 2019-12-16 15:50:32 +01:00
Simon Ser 4f74722c14
Add basic support for plugins 2019-12-09 16:05:40 +01:00
Simon Ser 61ffc105fd
Use imap.BodyStructure.Filename and imap.Address.Address
The former fixes encoding issues in filenames. The latter is just for
brevity.
2019-12-09 13:45:15 +01:00
Simon Ser 89cebfd819
Add basic SMTP support 2019-12-03 16:27:49 +01:00
Simon Ser 25c63d0530
Add basic message view 2019-12-02 19:53:09 +01:00
Simon Ser 8b84d81f9b
Add initial login logic 2019-12-02 17:24:19 +01:00
Simon Ser a1a067e6de
Add HTTP server boilerplate 2019-12-02 15:31:00 +01:00