Skip to content
Snippets Groups Projects
Verified Commit 834901e6 authored by Stefan Hynek's avatar Stefan Hynek :drooling_face:
Browse files

fix(wsgidav): update wsgidav to 4.0.1; remove requests, zeep; rename config...

fix(wsgidav): update wsgidav to 4.0.1; remove requests, zeep; rename config key that has changed with the update
parent 95f84d35
No related branches found
No related tags found
1 merge request!12Resolve "update wsgidav to 4.0.1"
...@@ -25,9 +25,6 @@ tmp_logger = logging.getLogger("wsgidav") ...@@ -25,9 +25,6 @@ tmp_logger = logging.getLogger("wsgidav")
tmp_logger.propagate = True tmp_logger.propagate = True
tmp_logger.setLevel(logging.DEBUG) tmp_logger.setLevel(logging.DEBUG)
TMP_logger = logging.getLogger("zeep")
TMP_logger.setLevel(logging.WARNING)
# Configuration of the WsgiDAVApp. # Configuration of the WsgiDAVApp.
# https://wsgidav.readthedocs.io/en/latest/user_guide_configure.html # https://wsgidav.readthedocs.io/en/latest/user_guide_configure.html
# TODO: move to config.py # TODO: move to config.py
...@@ -35,9 +32,9 @@ config = { ...@@ -35,9 +32,9 @@ config = {
"host": os.getenv("host") or "localhost", "host": os.getenv("host") or "localhost",
"port": int(os.getenv("port") or "8080"), "port": int(os.getenv("port") or "8080"),
"provider_mapping": { "provider_mapping": {
"/": {"provider": "repdav.textgrid_dav_provider.TextgridResourceProvider"}, "/": {"class": "repdav.textgrid_dav_provider.TextgridResourceProvider"},
}, },
"verbose": 1, "verbose": 4,
"http_authenticator": { "http_authenticator": {
"domain_controller": "repdav.textgrid_domain_controller.TextgridDC", "domain_controller": "repdav.textgrid_domain_controller.TextgridDC",
"accept_basic": True, # Allow basic authentication, True or False "accept_basic": True, # Allow basic authentication, True or False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment