Index: openacs-4/packages/fs-portlet/catalog/fs-portlet.de_DE.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/fs-portlet/catalog/fs-portlet.de_DE.ISO-8859-1.xml,v diff -u -r1.7.2.1.4.2 -r1.7.2.1.4.3 --- openacs-4/packages/fs-portlet/catalog/fs-portlet.de_DE.ISO-8859-1.xml 14 Oct 2004 03:21:45 -0000 1.7.2.1.4.2 +++ openacs-4/packages/fs-portlet/catalog/fs-portlet.de_DE.ISO-8859-1.xml 22 Dec 2004 17:28:35 -0000 1.7.2.1.4.3 @@ -5,6 +5,7 @@ Bytes Neuen Ordner erstellen Neue URL hinzuf�gen + Gr��enlimit f�r Uploads ver�ndern Element Elemente Dateien Index: openacs-4/packages/fs-portlet/catalog/fs-portlet.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/fs-portlet/catalog/fs-portlet.en_US.ISO-8859-1.xml,v diff -u -r1.10.6.4 -r1.10.6.5 --- openacs-4/packages/fs-portlet/catalog/fs-portlet.en_US.ISO-8859-1.xml 14 Oct 2004 03:21:45 -0000 1.10.6.4 +++ openacs-4/packages/fs-portlet/catalog/fs-portlet.en_US.ISO-8859-1.xml 22 Dec 2004 17:28:35 -0000 1.10.6.5 @@ -1,10 +1,12 @@ + (<font=red>Advanced</font>) byte bytes Create a new folder Create a URL + Edit file storage parameters (ADVANCED) Edit Upload Size Limit item items Index: openacs-4/packages/fs-portlet/www/fs-admin-portlet.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/fs-portlet/www/fs-admin-portlet.adp,v diff -u -r1.1.2.2 -r1.1.2.3 --- openacs-4/packages/fs-portlet/www/fs-admin-portlet.adp 5 Aug 2004 22:54:31 -0000 1.1.2.2 +++ openacs-4/packages/fs-portlet/www/fs-admin-portlet.adp 22 Dec 2004 17:28:35 -0000 1.1.2.3 @@ -21,5 +21,5 @@ Index: openacs-4/packages/fs-portlet/www/fs-admin-portlet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/fs-portlet/www/fs-admin-portlet.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/fs-portlet/www/fs-admin-portlet.tcl 14 Jul 2004 19:38:56 -0000 1.1.2.1 +++ openacs-4/packages/fs-portlet/www/fs-admin-portlet.tcl 22 Dec 2004 17:28:35 -0000 1.1.2.2 @@ -37,3 +37,6 @@ set user_id [ad_conn user_id] ad_return_template + +set package_id [site_node_apm_integration::get_child_package_id -package_key "file-storage"] +set fs_url "/shared/parameters?[export_url_vars package_id return_url]" \ No newline at end of file Index: openacs-4/packages/fs-portlet/www/fs-contents-portlet.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/fs-portlet/www/fs-contents-portlet.adp,v diff -u -r1.10.6.4 -r1.10.6.5 --- openacs-4/packages/fs-portlet/www/fs-contents-portlet.adp 29 Aug 2004 23:57:48 -0000 1.10.6.4 +++ openacs-4/packages/fs-portlet/www/fs-contents-portlet.adp 22 Dec 2004 17:28:35 -0000 1.10.6.5 @@ -20,3 +20,6 @@

@notification_chunk;noquote@

+ +

#file-storage.Folder_available_via_WebDAV_at#

+
Index: openacs-4/packages/fs-portlet/www/fs-contents-portlet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/fs-portlet/www/fs-contents-portlet.tcl,v diff -u -r1.5.2.1.4.3 -r1.5.2.1.4.4 --- openacs-4/packages/fs-portlet/www/fs-contents-portlet.tcl 29 Aug 2004 23:57:48 -0000 1.5.2.1.4.3 +++ openacs-4/packages/fs-portlet/www/fs-contents-portlet.tcl 22 Dec 2004 17:28:35 -0000 1.5.2.1.4.4 @@ -57,7 +57,6 @@ set root_folder_id [fs::get_root_folder -package_id $file_storage_package_id] set folder_id [lindex $list_of_folder_ids 0] -ns_log Notice "Huh? folder_id: $folder_id root_folder_id: $root_folder_id" set scope_fs_url "/packages/file-storage/www/folder-chunk" set n_past_days "" set url [site_node_object_map::get_url -object_id $folder_id] @@ -74,4 +73,10 @@ -url [ad_conn url]?folder_id=$folder_id \ ] +set use_webdav_p [ad_parameter "UseWebDavP"] + +if { $use_webdav_p == 1} { + set webdav_url [fs::webdav_url -item_id $folder_id] +} + ad_return_template Index: openacs-4/packages/fs-portlet/www/fs-portlet.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/fs-portlet/www/fs-portlet.adp,v diff -u -r1.26.2.1.4.2 -r1.26.2.1.4.3 --- openacs-4/packages/fs-portlet/www/fs-portlet.adp 29 Aug 2004 23:57:48 -0000 1.26.2.1.4.2 +++ openacs-4/packages/fs-portlet/www/fs-portlet.adp 22 Dec 2004 17:28:35 -0000 1.26.2.1.4.3 @@ -117,4 +117,7 @@

@notification_chunk;noquote@

+ +

#file-storage.Folder_available_via_WebDAV_at#

+
Index: openacs-4/packages/fs-portlet/www/fs-portlet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/fs-portlet/www/fs-portlet.tcl,v diff -u -r1.17.6.2 -r1.17.6.3 --- openacs-4/packages/fs-portlet/www/fs-portlet.tcl 29 Aug 2004 23:57:48 -0000 1.17.6.2 +++ openacs-4/packages/fs-portlet/www/fs-portlet.tcl 22 Dec 2004 17:28:35 -0000 1.17.6.3 @@ -50,6 +50,12 @@ set user_root_folder_present_p 1 } else { set folder_id [lindex $list_of_folder_ids 0] + set file_storage_node_id [site_node::get_node_id_from_object_id \ + -object_id [ad_conn package_id]] + set file_storage_package_id [site_node::get_children \ + -package_key file-storage \ + -node_id $file_storage_node_id \ + -element package_id] } set url [site_node_object_map::get_url -object_id $folder_id] @@ -94,4 +100,12 @@ -url [ad_conn url]?folder_id=$folder_id \ ] +set use_webdav_p [parameter::get -package_id $file_storage_package_id -parameter "UseWebDavP"] + +if { $use_webdav_p == 1} { + set webdav_url [fs::webdav_url -item_id $folder_id -package_id $file_storage_package_id] +} + + + ad_return_template