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