Seafile webdav server
Find a file
Daniel Pan 9854e34fc3
Merge pull request #90 from haiwen/wiki-repo
filter out wiki repos
2025-03-13 18:21:31 +08:00
.github Update stale.yml 2023-08-08 07:53:07 +02:00
ci fix github dependabot alerts 2024-03-22 14:38:01 +08:00
docs Fixed spelling mistake in index.rst (#296) 2023-09-20 08:27:32 +02:00
seafdav_tests replace test domain by example.com (rfc2606), correct manual link, small grammar mistakes 2024-02-22 11:17:07 +08:00
tests Fix tests on Py311 2023-05-14 07:29:28 +02:00
wsgidav filter out wiki repos 2025-03-13 18:00:05 +08:00
.editorconfig Cleanup (#132) 2018-10-03 22:04:24 +02:00
.gitignore Seafdav patch 2024-02-22 11:16:29 +08:00
.readthedocs.yaml Update .readthedocs.yaml 2023-08-08 07:49:56 +02:00
.travis.yml Seafdav patch 2024-02-22 11:16:29 +08:00
CHANGELOG.md Fix read chunks (#291) 2023-08-27 09:21:27 +02:00
docker-compose.yml Add docker-compose file for python:3-alpine auto-building (#126) 2018-08-29 07:33:57 +02:00
Dockerfile Update Dockerfile 2020-07-07 18:13:57 +02:00
LICENSE Seafdav patch 2024-02-22 11:16:29 +08:00
Makefile Seafdav patch 2024-02-22 11:16:29 +08:00
mypy.ini Merge branch 'three' 2021-11-10 20:30:51 +01:00
Pipfile Squashed commit of the following: 2023-08-09 20:29:48 +02:00
Pipfile.lock Update Pipfile.lock 2023-09-24 16:38:03 +02:00
pyproject.toml Merge branch 'three' 2021-11-10 20:30:51 +01:00
README.md replace test domain by example.com (rfc2606), correct manual link, small grammar mistakes 2024-02-22 11:17:07 +08:00
report.html Improve docs and cleanup coverage reports 2023-05-14 13:09:30 +02:00
requirements-dev.txt fix github dependabot alerts 2024-03-22 14:38:01 +08:00
requirements.txt Seafdav patch 2024-02-22 11:16:29 +08:00
run.sh.template update run.sh.template 2024-02-22 11:16:31 +08:00
sample_wsgidav.yaml Fix read chunks (#291) 2023-08-27 09:21:27 +02:00
setup.cfg Deprecate Python 3.7 (EOL: 2023-06-27) 2023-08-12 09:39:24 +02:00
setup.py Fix package name 2022-07-31 08:27:07 +02:00
setup_bdist_msi.py 2023 2023-02-18 16:38:22 +01:00
test-requirements.txt Seafdav patch 2024-02-22 11:16:29 +08:00
tox.ini Deprecate Python 3.7 (EOL: 2023-06-27) 2023-08-12 09:39:24 +02:00
yabs.yaml 2023 2023-02-18 16:38:22 +01:00

Seafile WebDAV Server Build Status

This is the WebDAV server for seafile.

See Seafile Server Manual for details.

Running

There is a template for running seafdav:

  • run.sh.template: This is for running seafdav on the default port 8080 with a built-in CherryPy server.

To run on port 8080:

cp run.sh.template run.sh
  • The python-pam library is needed as extra requirement if pam-login authentication is used on Linux or OSX:
    $ pip install wsgidav[pam]
    $ wsgidav --host=0.0.0.0 --port=8080 --root=/tmp --auth=pam-login
    

Then change CCNET_CONF_DIR and SEAFILE_CONF_DIR to your Seafile server's settings.

Testing

  • start local seafile server
  • start local seahub server (while seafdav itself doesn't require seahub, we use seahub webapi as a driver for testing)
  • start seafdav server
  • create a test user test@example.com with password test
  • Run the tests
export CCNET_CONF_DIR=/path/to/ccnet
export SEAFILE_CONF_DIR=/path/to/seafile-data
./ci/functest.sh test