Conrad Hoffmann
|
18a9f9bf77
|
Implement query and property filters
The property filters are also used for other operations.
|
2022-03-01 11:51:34 +01:00 |
|
Conrad Hoffmann
|
9b0d3b87ad
|
Use latest upstream go-webdav
|
2022-03-01 11:51:34 +01:00 |
|
Conrad Hoffmann
|
8c8d96c2bc
|
Fix conflation of URL and storage path
The path returned must of course be the external URL path, not the
internal storage path.
|
2022-02-28 19:48:49 +01:00 |
|
Conrad Hoffmann
|
0f2356f42d
|
Register COPY & MOVE methods with chi
|
2022-02-24 13:39:03 +01:00 |
|
Conrad Hoffmann
|
8b46585109
|
storage/filesystem: implement more operations
Everything except QueryAddressObjects is now functional, though not
feature-complete. Simple operations work, e.g. via Evolution.
|
2022-02-24 12:54:30 +01:00 |
|
Conrad Hoffmann
|
65346f0317
|
Depend on latest go-webdav version
|
2022-02-24 12:51:57 +01:00 |
|
Conrad Hoffmann
|
edd01ff7a3
|
Make storage backend configurable via -storage.url
Same mechanism as for configuring the auth backend.
|
2022-02-23 21:09:20 +01:00 |
|
Conrad Hoffmann
|
3e464747d8
|
Define and use an auth context structure
|
2022-02-23 21:09:20 +01:00 |
|
Conrad Hoffmann
|
d917938a29
|
Start simple filesystem storage backend
|
2022-02-23 21:09:20 +01:00 |
|
Conrad Hoffmann
|
3281b1d32b
|
Switch to new interfaces with context
See https://github.com/emersion/go-webdav/pull/53
|
2022-02-23 13:44:05 +01:00 |
|
Conrad Hoffmann
|
6051fec4c4
|
Register WebDAV-specific HTTP methods with chi
Otherwise the router will return 405 before the request makes it to our
middleware.
|
2022-02-22 18:28:37 +01:00 |
|
Conrad Hoffmann
|
2b6220c1ea
|
Add stub for filesystem storage backend
References: https://todo.sr.ht/~sircmpwn/tokidoki/2
|
2022-02-22 12:18:07 +01:00 |
|
Conrad Hoffmann
|
071ee7c729
|
Implement configurable auth providers
New providers need to "register" their URL scheme of choice in
auth.NewFromURL().
Implements: https://todo.sr.ht/~sircmpwn/tokidoki/1
|
2022-02-22 11:44:37 +01:00 |
|
Simon Ser
|
5f8e94c4a1
|
Fix chi routing to CardDAV handler
We could probably just stick to net/http here...
|
2022-02-21 11:47:58 +01:00 |
|
Simon Ser
|
97f86226d6
|
Rig up CardDAV backend to HTTP server
References: https://todo.sr.ht/~sircmpwn/tokidoki/3
|
2022-02-21 11:39:57 +01:00 |
|
Simon Ser
|
13008e0d96
|
go fmt
|
2022-02-21 11:11:27 +01:00 |
|
Drew DeVault
|
5a641ceca1
|
Implement IMAP auth provider
|
2022-02-21 10:55:02 +01:00 |
|
Drew DeVault
|
96ef5f9b2a
|
Initial server skeleton
|
2022-02-21 10:10:25 +01:00 |
|
Drew DeVault
|
c804095480
|
Initial commit
|
2022-02-21 09:52:55 +01:00 |
|