This release contains BREAKING CHANGES!
- Improve configuration:
(See details)- Rename some options, e.g.
acceptDigest
=>http_authenticator.accept_digest
- WsgiDAVApp constructor now assumes default settings. The passed options override those.
- Log format is configurable
- Remove option
dir_browser.enabled
(modifymiddleware_stack
instead) - CLI supports
--server=gevent
(gevent must be installed separately) - SSL paths are evaluated relative to the config file, if any
- Refactor middleware stack
- RequestResolver and WsgiDavDirBrowser are now simple members of
middleware_stack
and not specially treated - Remove
middleware.isSuitable()
because we don't want to enforce a specific base class for middleware (introduced with #12) middleware_stack
entries can also be strings or dicts that are evaluated to import and instantiate middleware classes. This allows to define and configure external middleware in YAML and JSON config files.
- RequestResolver and WsgiDavDirBrowser are now simple members of
- Rename some options, e.g.
- Refactor code base:
- Rename methods according to PEP 8, e.g.
provider.getResourceInst()
=>provider.get_resource_inst()
. - Rename methods arguments according to PEP 8, e.g.
provider.set_last_modified(self, destPath, timeStamp, dryRun)
=>provider.set_last_modified(self, dest_path, time_stamp, dry_run)
- Enforce Black code style
- Move some modules to separate packages
- Use utf-8 directive in source files (-- coding: utf-8 --)
- Rename methods according to PEP 8, e.g.
- Refactor domain_controller:
- ...
- Refactor WsgiDirBrowser:
- Use Jinja2 and load static assets through own WsgiDAV provider
- Move to
wsgidav.dir_browser
package - Option 'dir_browser.ms_sharepoint_support' replaces ms_sharepoint_plugin and ms_sharepoint_urls
- Automated Docker builds
- MSI installer
- uses Cheroot/6.4 Python 3.6
- Includes NTDomainController
- #112: Added limited support for Microsoft's Win32LastModified property.
- Fix #123: HEAD request on DirBrowser folder
- Fix some logging exceptions
- Fix exception in CLI config reader (Py2)
- Improve configuration files:
- YAML is now the preferred configuration file format.
- Add support for JSON config files (JavaScript-style comments allowed) (#89)
- Use wsgidav.yaml, wsgidav.json, or wsgidav.conf by default if they exist in the local folder
- Expand '~' in
--root
and--config
command line options - #97: Fix assumption that QUERY_STRING is in environment (dir_browser)
- #99: Fix virtual_dav_provider for Py3: WSGI expects binary instead of str
- #100: Send ETags with PUT response
- #101: Fail cleanly if trying to PUT to unknown collection
- Refactor logging:
- Re-define verbosity level range: 0..5
- Remove usage of
print
in favor oflogging.getLogger().debug
- Remove util.note(), .status(), ... helpers
- Refactor code base:
- Use
.format()
syntax instead of%s
for string templating - Mandatory PEP 8 compliance (checked by flake8)
- Use
- Rework documentation on Read The Docs
- MSI setup uses Cheroot version 6.2+
- #80: Drop support for Python 3.3 (end-of-life September 2017)
- #86: Give custom PropertyManager implementations access to the environ
- #87: Don't assume sys.stdout.encoding is not None
- #90: Custom response headers
- #93: Add support for streaming large files on Mac
- Fix #75: Return 401 when auth method is not supported
- Fix #77: removeProperty call to not lose dryRun, otherwise removeProperty is called twice for real
- Fix #79: Prevent error when missing environment variable
- #69: Rectifying naming disparity for CherryPy server
- Fix #67: lock manager returns timeout negative seconds
- Fix #71: Attempts to unlock a nonexistent resource cause an internal server error
- Fix #73: Failed on processing non-iso-8859-1 characters on Python 3
- MSI setup uses Python 3.5
- #65: Support for Cheroot server, which is the standalone WSGI server of CherryPy
since version 9.0.
--server=cheroot
is the default now. - New option
--ssl-adapter
, used by 'cheroot' server if SSL certificates are configured. Defaults to 'builtin'.
Set to 'pyopenssl' to use an existing OpenSSL installation. (Note: Currently broken as of Cheroot 5.1, see cherrypy/cheroot#6) - Deprecate cherrypy.wsgiserver.
--server=cherrypy
was renamed to--server=cherrypy-wsgiserver
- #64: Fix LOCK without owner
- #65: Add lxml to MSI installer
- Release as Wheel
- #42: Remove some print usage in favor of logging (Sergi Almacellas Abellana)
- #43: PEP 8 fixes (Sergi Almacellas Abellana, Tom Viner)
- #45 New method
_DAVResource.finalizeHeaders(environ, responseHeaders)
(Samuel Fekete) - #55 Custom response handlers for PUT, GET etc.
- New helpers
addons.stream_tools.FileLikeQueue
andStreamingFile
allow to pipe / proxy PUT requests to external consumers.
- #46 Wrap xml libraries with the equivalent defusedxml packages (Tom Viner)
- #4: Support Python 3
- Windows MSI Installer
- Drop support for Python 2.6
- cherrypy.wsgiserver is no longer included as source package.
CherryPy is still the recommended standalone WSGI server, and deployed with the
binary installation. It is also installed as dependency by
setup.py test
. However if a source installation is used, either install cherrypy usingpip install cherrypy
or choose another server using the--server
option. - Configuration:
- New options
server
andserver_args
- Removed
ext_servers
option
- New options
- Standalone server:
- New command line option
--server
(defaults to cherrypy) - New command line option
--no-config
- Removed command line option
-d
use-vv
instead
- New command line option
- Use py.test & tox
- #19: Add option
mutable_live_props
to support setting last modified file/directory timestamps (Jonas Bardino) - #23: Fix Windows file manager and OSX Finder fails on file names with comma (Jonas Bardino)
- #27: Do not install tests (Erich Seifert)
- #28: New option
trusted_auth_header
allows reverse proxy authentication (Mageti) - #30: API change to allow much easier per-user chrooting (Jonas Bardino)
- #32: Fix digest authentication rejected due to invalid header (Adrian Crețu)
- #8: Unquote PATH_INFO is now optional 'unquote_path_info'; defaults to false. (Brian Sipos)
- #9: Fixed status codes for apache mod_wsgi (Brian Sipos)
- #10: Hotfix for file copy on GVFS (Brian Sipos)
- #12: Configurable middleware stack (Pavel Shiryaev)
- #15: Fix Finder access (Jonas Bardino)
- New dir_browser option 'ms_sharepoint_plugin' to start MS Office documents in edit-mode
- Moved project from Google Code to GitHub
- Moved documentation to ReadTheDocs
- NOTE: no longer tested with Python 2.4.
- SSL sample with bogo-cert
- Renamed 'msmount' option to 'ms_mount'.
- Files are always stored in binary mode.
- Port and hostname can now be specified in config file (before: command line only).
- New option for dir_browser: 'msSharepointUrls' will prepend 'ms-word:ofe|u|' to URL for MS Offce documents.
- New option 'add_header_MS_Author_Via = True' to support editing with Microsoft Office
- FilesystemProvider expands variables like '
', '$Name' and '%NAME%' in folder paths (i.e. '/foo' -> '/Users/joe/foo') - Issue #55 Failure operating with litmus test suite, Mac OS X WebDAV Client, Windows 7 (thanks to Ben Allums)
- Fixed issue #48 Allow the dirbrowser to be configured from the config file (thanks to Herman Grecco)
- Fixed issue #43 Unicode error in Ubuntu
- Allow Ctrl-C / SIGINT to stop CherryPyWSGIServer
- Made mimetype guessing more robust
- Updated CherryPy standalone WSGI server to 3.2.4
- Support 'setup.py test' which uses nosetests and includes litmus
- Bundled with CherryPy standalone WSGI server
- Added copyright notes for original PyFileServer
- Changed signature of DAVProvider (and derived classes): provider argument was removed
- New method DAVResource.getMemberList() replaces getMemberNames().
- New class DAVCollection allows for more efficient implementation of custom providers.
- Forcing 'Connection: close', when a required Content-Length is missing. So it's possible now to return GET responses without knowing the size.
- New property manager based on CouchDB (addons.couch_property_manager)
- New property manager based on MongoDB (addons.mongo_property_manager)
- New sample DAV provider for MongoDBs (samples.mongo_dav_provider)
- Debug output goes to stdout (was stderr)
- Support davmount (rfc 4709).
- Added support for Microsoft FOLDER behavior.
- renamed displayType() -> getDirectoryInfo()
- Fixed RANGE response
- Refactored LockManager. using separate LockStorage
- Bugfixes
- Bugfixes
- Using HTTP/1.1 with keep-alive (St�phane KLEIN)
- Correctly return pre- and postconditions on lock conflicts.
- Added Sphinx docs
- Added Mercurial provider
- Changed configuration: no property manager used by default
See https://github.com/mar10/wsgidav/blob/master/doc/changelog04.md