Closed renmu123 closed 1 year ago
š Diffuse is configured to use the D:
property namespace, not ns0:
. I didn't realise different namespaces were actually used, I'll see if I can adjust the parser to deal with this. I'm working on a big PR at the moment, and don't have a lot of time in general to work on Diffuse so this could take a while. Maybe you can configure wsgidav
to use the D:
or d:
namespace? š¤
Parser code lives here if you're interested: https://github.com/icidasset/diffuse/blob/main/src/Library/Sources/Services/WebDav/Parser.elm#L49
Thank for your help, can you recommand some webdav servers for me which support diffuse?
Hey, when I was trying to setup WebDAV with diffuse, icidasset recommended WebDAV go, a WebDAV server written in go as per the name
This is my config for webdav.
address: 0.0.0.0
port: 19000
auth: true
tls: false
prefix: /
debug: false
# Default user settings (will be merged)
scope: .
modify: true
rules: []
# CORS configuration
cors:
enabled: true
credentials: true
allowed_hosts:
- http://127.0.0.1:12345 # my local diffuse
allowed_headers:
- Depth
- authorization
- X-PINGOTHER
- Content-Type
- Range
- Accept-Encoding
- Origin
- Host
- Referer
allowed_methods:
- GET
- PROPPATCH
- PROPFIND
- OPTIONS
exposed_headers:
- Content-Length
- Content-Range
- Allow
- Content-Type
- Origin
users:
- username: admin
password: admin
scope: "" # path
l run local diffuse with caddy, this is my config
Caddyfile
:12345 {
file_server
encode zstd gzip
try_files {path} /index.html
}
Glad you got it working! For other folks reading this, there's a few WebDAV tutorials for Diffuse here: https://github.com/icidasset/diffuse/discussions/328
Made an issue for the property namespaces in case anyone wants to track: https://github.com/icidasset/diffuse/issues/375
Hi, I tried diffuse.sh and successfully added my WebDAV server. But nothing shows.
I have configured CORS correctly.
I use the wsgidav as serve.
Here is the request from dev tools.