Index: openacs-4/packages/ajax-filestorage-ui/ajax-filestorage-ui.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajax-filestorage-ui/ajax-filestorage-ui.info,v diff -u -r1.3 -r1.4 --- openacs-4/packages/ajax-filestorage-ui/ajax-filestorage-ui.info 8 Sep 2007 14:32:50 -0000 1.3 +++ openacs-4/packages/ajax-filestorage-ui/ajax-filestorage-ui.info 14 Nov 2007 04:19:52 -0000 1.4 @@ -8,21 +8,25 @@ f ajaxfs2 - + Hamilton Chua 2006-06-01 Solutiongrove 0 - - + + + + + + Index: openacs-4/packages/ajax-filestorage-ui/catalog/ajax-filestorage-ui.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajax-filestorage-ui/catalog/ajax-filestorage-ui.en_US.ISO-8859-1.xml,v diff -u -r1.1 -r1.2 --- openacs-4/packages/ajax-filestorage-ui/catalog/ajax-filestorage-ui.en_US.ISO-8859-1.xml 8 Sep 2007 14:32:50 -0000 1.1 +++ openacs-4/packages/ajax-filestorage-ui/catalog/ajax-filestorage-ui.en_US.ISO-8859-1.xml 14 Nov 2007 04:19:53 -0000 1.2 @@ -16,6 +16,7 @@ Create URL failed, please try again later. Sorry, there was an error trying to delete this item. Description + Download Archive Duplicate Name Please enter a different name. The name you entered is already being used. Error Index: openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.adp 8 Sep 2007 14:32:51 -0000 1.1 +++ openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.adp 14 Nov 2007 04:19:53 -0000 1.2 @@ -7,9 +7,21 @@ - + + + + + + + + + + + - \ No newline at end of file + + +
\ No newline at end of file Index: openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.tcl 8 Sep 2007 14:32:51 -0000 1.1 +++ openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.tcl 14 Nov 2007 04:19:53 -0000 1.2 @@ -11,7 +11,15 @@ # - gray # - vista +if { [exists_and_not_null theme] } { + set theme "gray" +} + +set compressjs [parameter::get -package_id [ajaxfs::get_package_id] -parameter "compressjs" -default 0] +set debug [parameter::get -package_id [ajaxfs::get_package_id] -parameter "debug" -default 1] + set user_id [ad_conn user_id] +set create_url_p [parameter::get -package_id $package_id -parameter "EnableCreateUrl" -default 1] if { [exists_and_not_null root_folder_id] } { if { ![db_0or1row "get_folder_name" "select name as instance_name from fs_folders where folder_id = :root_folder_id"] } { Index: openacs-4/packages/ajax-filestorage-ui/lib/tagslist.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajax-filestorage-ui/lib/tagslist.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ajax-filestorage-ui/lib/tagslist.adp 14 Nov 2007 04:19:53 -0000 1.1 @@ -0,0 +1,3 @@ + + @connections.name@ (@connections.count@) + \ No newline at end of file Index: openacs-4/packages/ajax-filestorage-ui/lib/tagslist.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajax-filestorage-ui/lib/tagslist.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ajax-filestorage-ui/lib/tagslist.tcl 14 Nov 2007 04:19:53 -0000 1.1 @@ -0,0 +1,12 @@ +# expects connections multirow +# +# Creates a customizable lists of connections +# add code here to customize the multirow + +set connections_url "" + +template::multirow extend connections callout fontsize + +template::multirow foreach connections { + set fontsize [expr 12+$count] +} \ No newline at end of file Index: openacs-4/packages/ajax-filestorage-ui/tcl/apm-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajax-filestorage-ui/tcl/apm-callback-procs.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ajax-filestorage-ui/tcl/apm-callback-procs.tcl 14 Nov 2007 04:19:53 -0000 1.1 @@ -0,0 +1,56 @@ +# packages/ajax-filestorage-ui/tcl/apm-callback-procs.tcl + +ad_library { + + APM Callbacks + + @author Hamilton Chua (ham@solutiongrove.com) + +} + +namespace eval ajaxfs::apm {} + +ad_proc -private ajaxfs::apm::after_mount { + -package_id + -node_id +} { + After install callback. + Creates a new category tree for tagging. + + @author Hamilton Chua (ham@solutiongrove.com) + +} { + + set tree_id [category_tree::add -name "Tags"] + parameter::set_value -package_id $package_id -parameter "CategoryTreeId" -value $tree_id + +} + +ad_proc -private ajaxfs::apm::after_upgrade { + -from_version_name + -to_version_name +} { + + Upgrade scripts + + @author Roel Canicula (roelmc@pldtdsl.net) + +} { + + apm_upgrade_logic \ + -from_version_name $from_version_name \ + -to_version_name $to_version_name \ + -spec { + 0.8d 0.81d { + + array set node [site_node::get -url /ajaxfs2] + set package_id $node(package_id) + set tree_id [category_tree::add -name "Tags"] + parameter::set_value -package_id $package_id -parameter "CategoryTreeId" -value $tree_id + + } + + + } + +} Index: openacs-4/packages/ajax-filestorage-ui/www/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajax-filestorage-ui/www/Attic/index.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/ajax-filestorage-ui/www/index.adp 8 Sep 2007 14:32:51 -0000 1.4 +++ openacs-4/packages/ajax-filestorage-ui/www/index.adp 14 Nov 2007 04:19:53 -0000 1.5 @@ -5,27 +5,31 @@ @page_title@ + + + - - - + + - - +2
+
\ No newline at end of file Index: openacs-4/packages/ajax-filestorage-ui/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajax-filestorage-ui/www/Attic/index.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/ajax-filestorage-ui/www/index.tcl 8 Sep 2007 14:32:54 -0000 1.3 +++ openacs-4/packages/ajax-filestorage-ui/www/index.tcl 14 Nov 2007 04:19:53 -0000 1.4 @@ -9,9 +9,14 @@ {folder_id:integer,optional } } +if { [exists_and_not_null theme] } { + set theme "gray" +} + set user_id [ad_conn user_id] set page_title "Ajax File Storage UI" set options "" +set create_url_p [parameter::get -package_id $package_id -parameter "EnableCreateUrl" -default 1] if { [exists_and_not_null root_folder_id] } { if { ![db_0or1row "get_folder_name" "select name as instance_name from fs_folders where folder_id = :root_folder_id"] } { @@ -32,7 +37,7 @@ append options ",pathToFolder: new Array([ajaxfs::generate_path -folder_id $folder_id])" } if { [exists_and_not_null public] } { - append options ",public:$public" + append options ",ispublic:$public" } if { [exists_and_not_null layoutdiv] } { append options ",layoutdiv:\"$layoutdiv\"" Index: openacs-4/packages/ajax-filestorage-ui/www/doc/index.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajax-filestorage-ui/www/doc/index.html,v diff -u -r1.1 -r1.2 --- openacs-4/packages/ajax-filestorage-ui/www/doc/index.html 8 Sep 2007 14:32:55 -0000 1.1 +++ openacs-4/packages/ajax-filestorage-ui/www/doc/index.html 14 Nov 2007 04:19:53 -0000 1.2 @@ -12,9 +12,17 @@

Ajax File Storage User Interface

Hamilton G. Chua (ham@solutiongrove.com)
- September 2007
- v0.8d

+ October 2007
+ v0.81d

What's New :

+

v0.81d

+

v0.8d