Deuxfleurs patches for alps webmail (from https://sr.ht/~migadu/alps/)
Go to file
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
cmd/alps make path to themes configurable via ldflags 2021-09-12 12:01:29 +02:00
contrib Rename project to alps 2020-05-13 14:07:44 +02:00
docs Add documentation for -login-key cli option 2021-07-04 18:33:46 +02:00
plugins gracefully fail when no messages are selected for deletion or moving 2022-05-07 10:18:59 +02:00
themes sourcehut theme: show only loaded plugin links and and mark current active plugin name 2021-09-29 22:30:54 +02:00
.build.yml Repoint repository references to new location 2020-11-20 07:38:10 -05:00
.editorconfig editorconfig: add more settings 2020-03-18 15:13:51 +01:00
.gitignore themes/alps: new theme 2020-03-19 18:03:13 +01:00
discover.go Rename project to alps 2020-05-13 14:07:44 +02:00
go.mod Upgrade go-webdav dependency 2022-05-31 17:06:24 +02:00
go.sum Upgrade go-webdav dependency 2022-05-31 17:06:24 +02:00
imap.go Rename project to alps 2020-05-13 14:07:44 +02:00
LICENSE Correct license ownership 2019-12-03 07:48:25 -05:00
plugin.go Rename project to alps 2020-05-13 14:07:44 +02:00
plugin_go.go Rename project to alps 2020-05-13 14:07:44 +02:00
README.md Fix link to mailing list 2020-11-24 11:09:25 -05:00
renderer.go make path to themes configurable via ldflags 2021-09-12 12:01:29 +02:00
server.go make path to themes configurable via ldflags 2021-09-12 12:01:29 +02:00
session.go Use shorter if syntax 2021-08-04 10:59:46 +02:00
smtp.go Rename project to alps 2020-05-13 14:07:44 +02:00
store.go Rename project to alps 2020-05-13 14:07:44 +02:00

alps

GoDoc builds.sr.ht status

A simple and extensible webmail.

Usage

Assuming SRV DNS records are properly set up (see RFC 6186):

go run ./cmd/alps example.org

To manually specify upstream servers:

go run ./cmd/alps imaps://mail.example.org:993 smtps://mail.example.org:465

Add -theme alps to use the alps theme. See docs/cli.md for more information.

When developing themes and plugins, the script contrib/hotreload.sh can be used to automatically reload alps on file changes.

Contributing

Send patches on the mailing list, report bugs on the issue tracker.

License

MIT