|
|
@ -55,6 +55,8 @@ foreach my $share ($a->get_all_by_prop(type=>'share')){ |
|
|
|
my $desc = $share->prop('Name') || $name; |
|
|
|
my $desc = $share->prop('Name') || $name; |
|
|
|
my $recycledir = (($share->prop('RecycleBin') || 'disabled') eq 'disabled') ? |
|
|
|
my $recycledir = (($share->prop('RecycleBin') || 'disabled') eq 'disabled') ? |
|
|
|
'' : $share->prop('RecycleBinDir') || 'Recycle Bin'; |
|
|
|
'' : $share->prop('RecycleBinDir') || 'Recycle Bin'; |
|
|
|
|
|
|
|
my $history = $share->prop('PydioHistory') || 'disabled'; |
|
|
|
|
|
|
|
$history = ($history eq 'enabled') ? '"meta.git" => array(),':''; |
|
|
|
$OUT .=<<"EOF"; |
|
|
|
$OUT .=<<"EOF"; |
|
|
|
|
|
|
|
|
|
|
|
\$REPOSITORIES["$name"] = array( |
|
|
|
\$REPOSITORIES["$name"] = array( |
|
|
@ -72,6 +74,7 @@ foreach my $share ($a->get_all_by_prop(type=>'share')){ |
|
|
|
"PAGINATION_NUMBER" => 200, |
|
|
|
"PAGINATION_NUMBER" => 200, |
|
|
|
"META_SOURCES" => array( |
|
|
|
"META_SOURCES" => array( |
|
|
|
$metastore |
|
|
|
$metastore |
|
|
|
|
|
|
|
$history |
|
|
|
"meta.user" => array ( |
|
|
|
"meta.user" => array ( |
|
|
|
"meta_fields" => "tags,stars_rate,css_label,anything_area", |
|
|
|
"meta_fields" => "tags,stars_rate,css_label,anything_area", |
|
|
|
"meta_labels" => "Tags,Rate,Type,Note", |
|
|
|
"meta_labels" => "Tags,Rate,Type,Note", |
|
|
|