super-productivity/webdav.yaml
Johannes Millan 3958b39f13 fix(webdav): prevent infinite loop in WebDAV 409 retry logic
- Pass _retryAttempted flag correctly in _retryUploadWithDirectoryCreation
- Add retry flag to error object to track retry attempts across error boundaries
- Update catch block to check both parameter and error flags
- Fix return type of retry method to handle undefined case
- Update test expectations to match new retry behavior
- Change incorrect error log to debug log in _getUrl method

This prevents infinite recursion when WebDAV server returns 409 Conflict
errors for missing parent directories.
2025-07-18 12:11:05 +02:00

41 lines
607 B
YAML

address: 0.0.0.0
port: 2345
prefix: /
permissions: CRUD
# CORS configuration to allow all origins
cors:
enabled: true
credentials: true
allowed_headers:
- '*'
allowed_hosts:
- '*'
allowed_methods:
- GET
- HEAD
- POST
- PUT
- DELETE
- OPTIONS
- PROPFIND
- PROPPATCH
- MKCOL
- COPY
- MOVE
- LOCK
- UNLOCK
exposed_headers:
- '*'
users:
- username: alice
password: alice
directory: /data/alice
- username: bob
password: bob
directory: /data/bob
- username: admin
password: admin
directory: /data/admin