Index: openacs-4/packages/oacs-dav/tcl/oacs-dav-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/oacs-dav/tcl/oacs-dav-procs.tcl,v diff -u -r1.21 -r1.22 --- openacs-4/packages/oacs-dav/tcl/oacs-dav-procs.tcl 9 May 2018 15:33:33 -0000 1.21 +++ openacs-4/packages/oacs-dav/tcl/oacs-dav-procs.tcl 17 May 2018 14:19:23 -0000 1.22 @@ -343,7 +343,7 @@ # we need item_id and content_type # we should use content::init but that has caching and I don't # have time to resolve the issues that raises right now - # a full-featured, consistently used Tcl api for CR will fix that + # a full-featured, consistently used Tcl API for CR will fix that if {[llength $urlv] > 2} { set parent_url [join [lrange $urlv 0 [llength $urlv]-2] "/" ] } else { @@ -390,7 +390,7 @@ } ad_proc -public oacs_dav::handle_request { args } { - dispatch request to the proper service contract implmentation + dispatch request to the proper service contract implementation } { set uri [oacs_dav::conn uri] Index: openacs-4/packages/oacs-dav/tcl/tDAV-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/oacs-dav/tcl/tDAV-procs.tcl,v diff -u -r1.18 -r1.19 --- openacs-4/packages/oacs-dav/tcl/tDAV-procs.tcl 9 May 2018 15:33:33 -0000 1.18 +++ openacs-4/packages/oacs-dav/tcl/tDAV-procs.tcl 17 May 2018 14:19:23 -0000 1.19 @@ -96,7 +96,7 @@ # get body proc tdav::xml_valid_p {xml_doc} { -# TODO use tnc with tDOM to vaildate the xml request +# TODO use tnc with tDOM to validate the xml request return 1 } @@ -1135,7 +1135,7 @@ set depth [tdav::conn depth] set timeout [tdav::conn lock_timeout] if {$timeout eq ""} { - #probably make this a paramter? + #probably make this a parameter? set timeout 180 } if {"" ne $existing_lock_token && [file exists [tdav::get_lock_file $uri]} { @@ -1548,7 +1548,7 @@ } else { ns_log notice "tDAV: Filesystem access by WebDAV disabled" } - # Store the tDAV properties in an nsv set so that the registerd + # Store the tDAV properties in an nsv set so that the registered # filters and procedures don't have to read the config file # anymore. Index: openacs-4/packages/oacs-dav/www/doc/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/oacs-dav/www/doc/index.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/oacs-dav/www/doc/index.adp 29 Mar 2018 17:28:50 -0000 1.4 +++ openacs-4/packages/oacs-dav/www/doc/index.adp 17 May 2018 14:19:23 -0000 1.5 @@ -11,8 +11,8 @@ package.
Install through the APM. If you install file-storage, WebDAV -support is installed automatically. In addition you should check the -tDAV specific configuration parameters to the AOLserver +support is installed automatically. In addition you should check +the tDAV specific configuration parameters to the AOLserver configuration file. The default parameters work fine, they will create webdav URLs like yoursite/dav/*
You can visit the /webdav-support/ page to control webdav access @@ -65,9 +65,9 @@ and the requested method is PUT, a new item should be created. If the method is not PUT, a 404 error should be returned.
oacs_dav::handle_request will call the service contract -implementation for the content_type of the item. If the request is a -PUT, first the dav_put_type service contract for the package_key of -the request is called. For file-storage this returns +implementation for the content_type of the item. If the request is +a PUT, first the dav_put_type service contract for the package_key +of the request is called. For file-storage this returns "file_storage_object" so items created by PUT are created as file_storage_objects instead of generic content_revisions.
The service contract implementation for each operation must