diff --git a/livesupport/modules/archiveServer/var/conf.php b/livesupport/modules/archiveServer/var/conf.php
index ebeda7ffa..26901ea54 100644
--- a/livesupport/modules/archiveServer/var/conf.php
+++ b/livesupport/modules/archiveServer/var/conf.php
@@ -23,7 +23,7 @@
Author : $Author: tomas $
- Version : $Revision: 1.13 $
+ Version : $Revision: 1.14 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/archiveServer/var/conf.php,v $
------------------------------------------------------------------------------*/
@@ -47,6 +47,9 @@ define('LS_VERSION', '0.9');
*
transDir directory for incomplete transferred files
* accessDir directory for symlinks to accessed files
* isArchive local/central flag
+ * validate enable/disable validator
+ * useTrash enable/disable safe delete (move to trash)
+ * (FALSE on archiveServer)
* storageUrlPathpath-URL-part of storageServer base dir
* (on central archive side: storage=archive)
* storageXMLRPCXMLRPC server script address relative to storageUrlPath
@@ -69,6 +72,8 @@ $config = array(
'database' => 'LiveSupport-test',
),
'tblNamePrefix' => 'as_',
+
+ /* ================================================ storage configuration */
'authCookieName'=> 'assid',
'StationPrefsGr'=> '',
'AllGr' => 'All',
@@ -78,6 +83,7 @@ $config = array(
'accessDir' => dirname(__FILE__).'/../../archiveServer/var/access',
'isArchive' => TRUE,
'validate' => TRUE,
+ 'useTrash' => FALSE,
/* ==================================================== URL configuration */
// on central archive side: archive is the storage !
diff --git a/livesupport/modules/archiveServer/var/conf.php.template b/livesupport/modules/archiveServer/var/conf.php.template
index 067798a33..9c9a1a315 100644
--- a/livesupport/modules/archiveServer/var/conf.php.template
+++ b/livesupport/modules/archiveServer/var/conf.php.template
@@ -22,8 +22,8 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- Author : $Author: maroy $
- Version : $Revision: 1.1 $
+ Author : $Author: tomas $
+ Version : $Revision: 1.2 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/archiveServer/var/conf.php.template,v $
------------------------------------------------------------------------------*/
@@ -33,6 +33,8 @@
* archiveServer configuration file
*/
+define('LS_VERSION', '0.9');
+
/**
* configuration structure:
*
@@ -45,6 +47,9 @@
* transDir directory for incomplete transferred files
* accessDir directory for symlinks to accessed files
* isArchive local/central flag
+ * validate enable/disable validator
+ * useTrash enable/disable safe delete (move to trash)
+ * (FALSE on archiveServer)
* storageUrlPathpath-URL-part of storageServer base dir
* (on central archive side: storage=archive)
* storageXMLRPCXMLRPC server script address relative to storageUrlPath
@@ -54,6 +59,9 @@
* archiveUrlHost, archiveUrlPorthost and port of archiveServer
*
*/
+
+// these are the default values for the config
+
$config = array(
/* ================================================== basic configuration */
'dsn' => array(
@@ -64,6 +72,8 @@ $config = array(
'database' => 'ls_database',
),
'tblNamePrefix' => 'as_',
+
+ /* ================================================ storage configuration */
'authCookieName'=> 'assid',
'StationPrefsGr'=> '',
'AllGr' => 'All',
@@ -73,6 +83,7 @@ $config = array(
'accessDir' => dirname(__FILE__).'/../../archiveServer/var/access',
'isArchive' => TRUE,
'validate' => TRUE,
+ 'useTrash' => FALSE,
/* ==================================================== URL configuration */
// on central archive side: archive is the storage !
diff --git a/livesupport/modules/storageServer/var/conf.php b/livesupport/modules/storageServer/var/conf.php
index 24529db9e..9a44839f0 100644
--- a/livesupport/modules/storageServer/var/conf.php
+++ b/livesupport/modules/storageServer/var/conf.php
@@ -23,7 +23,7 @@
Author : $Author: tomas $
- Version : $Revision: 1.18 $
+ Version : $Revision: 1.19 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/conf.php,v $
------------------------------------------------------------------------------*/
@@ -44,12 +44,14 @@ define('LS_VERSION', '0.9');
* authCookieName secret token cookie name
* StationPrefsGr name of station preferences group
* AllGr name of 'all users' group
+ * TrashName name of trash folder (subfolder of the storageRoot)
* storageDir main directory for storing binary media files
* bufferDir directory for temporary files
* transDir directory for incomplete transferred files
* accessDir directory for symlinks to accessed files
* isArchive local/central flag
* validate enable/disable validator
+ * useTrash enable/disable safe delete (move to trash)
* storageUrlPathpath-URL-part of storageServer base dir
* storageXMLRPCXMLRPC server script address relative to storageUrlPath
* storageUrlHost, storageUrlPorthost and port of storageServer
@@ -73,15 +75,19 @@ $config = array(
'database' => 'LiveSupport-test',
),
'tblNamePrefix' => 'ls_',
+
+ /* ================================================ storage configuration */
'authCookieName'=> 'lssid',
'StationPrefsGr'=> 'StationPrefs',
'AllGr' => 'All',
+ 'TrashName' => '.trash',
'storageDir' => dirname(__FILE__).'/../../storageServer/var/stor',
'bufferDir' => dirname(__FILE__).'/../../storageServer/var/stor/buffer',
'transDir' => dirname(__FILE__).'/../../storageServer/var/trans',
'accessDir' => dirname(__FILE__).'/../../storageServer/var/access',
'isArchive' => FALSE,
'validate' => TRUE,
+ 'useTrash' => TRUE,
/* ==================================================== URL configuration */
'storageUrlPath' => '/livesupportStorageServer',
@@ -131,7 +137,7 @@ $config = array(
'tmpRootPass' => 'q',
);
-// see if a ~/.livesupport/archiveServer.conf.php exists, and
+// see if a ~/.livesupport/storageServer.conf.php exists, and
// overwrite the settings from there if any
$this_file = null;
diff --git a/livesupport/modules/storageServer/var/conf.php.template b/livesupport/modules/storageServer/var/conf.php.template
index 2d3439fc2..f5010db69 100644
--- a/livesupport/modules/storageServer/var/conf.php.template
+++ b/livesupport/modules/storageServer/var/conf.php.template
@@ -22,8 +22,8 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- Author : $Author: maroy $
- Version : $Revision: 1.1 $
+ Author : $Author: tomas $
+ Version : $Revision: 1.2 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/conf.php.template,v $
------------------------------------------------------------------------------*/
@@ -33,6 +33,8 @@
* storageServer configuration file
*/
+define('LS_VERSION', '0.9');
+
/**
* configuration structure:
*
@@ -42,12 +44,14 @@
* authCookieName secret token cookie name
* StationPrefsGr name of station preferences group
* AllGr name of 'all users' group
+ * TrashName name of trash folder (subfolder of the storageRoot)
* storageDir main directory for storing binary media files
* bufferDir directory for temporary files
* transDir directory for incomplete transferred files
* accessDir directory for symlinks to accessed files
* isArchive local/central flag
* validate enable/disable validator
+ * useTrash enable/disable safe delete (move to trash)
* storageUrlPathpath-URL-part of storageServer base dir
* storageXMLRPCXMLRPC server script address relative to storageUrlPath
* storageUrlHost, storageUrlPorthost and port of storageServer
@@ -58,6 +62,9 @@
* for login to archive
*
*/
+
+// these are the default values for the config
+
$config = array(
/* ================================================== basic configuration */
'dsn' => array(
@@ -68,15 +75,19 @@ $config = array(
'database' => 'ls_database',
),
'tblNamePrefix' => 'ls_',
+
+ /* ================================================ storage configuration */
'authCookieName'=> 'lssid',
'StationPrefsGr'=> 'StationPrefs',
'AllGr' => 'All',
+ 'TrashName' => '.trash',
'storageDir' => dirname(__FILE__).'/../../storageServer/var/stor',
'bufferDir' => dirname(__FILE__).'/../../storageServer/var/stor/buffer',
'transDir' => dirname(__FILE__).'/../../storageServer/var/trans',
'accessDir' => dirname(__FILE__).'/../../storageServer/var/access',
'isArchive' => FALSE,
'validate' => TRUE,
+ 'useTrash' => TRUE,
/* ==================================================== URL configuration */
'storageUrlPath' => 'ls_storageUrlPath',