Thread: [Openupload-svn-update] SF.net SVN: openupload:[76] trunk/www/config.inc.php.example
Status: Beta
Brought to you by:
tsdogs
|
From: <ts...@us...> - 2008-10-24 09:37:14
|
Revision: 76
http://openupload.svn.sourceforge.net/openupload/?rev=76&view=rev
Author: tsdogs
Date: 2008-10-24 09:32:52 +0000 (Fri, 24 Oct 2008)
Log Message:
-----------
Add LDAP authentication configuration options
Modified Paths:
--------------
trunk/www/config.inc.php.example
Modified: trunk/www/config.inc.php.example
===================================================================
--- trunk/www/config.inc.php.example 2008-10-24 09:19:12 UTC (rev 75)
+++ trunk/www/config.inc.php.example 2008-10-24 09:32:52 UTC (rev 76)
@@ -33,12 +33,52 @@
$CONFIG['database']['name']='openupload';
/* TXT Database */
-//$CONFIG['database']['type']='txt';
-//$CONFIG['database']['rootdir']=$CONFIG['INSTALL_ROOT'].'/txtdb';
+# $CONFIG['database']['type']='txt';
+# $CONFIG['database']['rootdir']=$CONFIG['INSTALL_ROOT'].'/txtdb';
/* Table name prefix: should be common */
$CONFIG['database']['prefix']='';
+/* AUTHENTICATION MODULE */
+/* default uses the database table users */
+# $CONFIG['auth'] = 'ldap';
+$CONFIG['auth'] = 'default';
+
+/************************************************************
+ * LDAP detail configuration options *
+ ************************************************************/
+/* LDAP Host */
+# $CONFIG['ldap']['host'] = '127.0.0.1';
+/* Ldap bind user/password to get group and user information */
+# $CONFIG['ldap']['user'] = 'uid=readonly,ou=Users,dc=yourdomain,dc=com';
+# $CONFIG['ldap']['password'] = 'readonlypassword';
+/* BASE search DN */
+# $CONFIG['ldap']['basedn'] = 'dc=yourdomain,dc=com';
+
+/* users are part of this LDAP dn */
+# $CONFIG['ldap']['userdn'] = 'ou=Users,dc=yourdomain,dc=com';
+/* search objectClass for users */
+# $CONFIG['ldap']['userclass']='posixAccount';
+/* login corresponds to the 'uid' field */
+# $CONFIG['ldap']['uid']='uid';
+/* user field correspondence with application */
+# $CONFIG['ldap']['userfields'] = array ( 'uid' => 'login', 'displayname' => 'name', 'gidnumber' => 'group_id', 'mail' => 'email');
+
+/* Groups search base */
+# $CONFIG['ldap']['groupdn'] = 'ou=Groups,dc=yourdomain,dc=com';
+/* Group / SubGroup objectClass */
+# $CONFIG['ldap']['groupclass']='posixGroup';
+/* group id number which corresponds to main user group */
+# $CONFIG['ldap']['gid']='gidNumber';
+/* if the user can have more than 1 group search for other groups which contain the login in ther 'memberUid' */
+# $CONFIG['ldap']['sgid']='memberUid';
+
+/* group field correspondence with application */
+# $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'description' => 'description' );
+/* other group field correspondence with application */
+# $CONFIG['ldap']['sgroupfields'] = array ( 'cn' => 'name', 'description' => 'description' );
+
+
/* PLUGINS: here you enable the plugins
* they will need to enable the functionality
* on a group basis
@@ -73,6 +113,7 @@
/* SITE STYLE */
$CONFIG['site']['template'] = 'default';
+
/* ENABLE OR DISABLE SMARTY CACHING
* if enabled make sure a cache folder exsists
* and that it is writable
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ts...@us...> - 2008-10-24 11:13:02
|
Revision: 79
http://openupload.svn.sourceforge.net/openupload/?rev=79&view=rev
Author: tsdogs
Date: 2008-10-24 11:08:04 +0000 (Fri, 24 Oct 2008)
Log Message:
-----------
Add Active Directory Authentication sample options
Modified Paths:
--------------
trunk/www/config.inc.php.example
Modified: trunk/www/config.inc.php.example
===================================================================
--- trunk/www/config.inc.php.example 2008-10-24 11:07:40 UTC (rev 78)
+++ trunk/www/config.inc.php.example 2008-10-24 11:08:04 UTC (rev 79)
@@ -78,7 +78,25 @@
/* other group field correspondence with application */
# $CONFIG['ldap']['sgroupfields'] = array ( 'cn' => 'name', 'description' => 'description' );
+/* Active Directory */
+# $CONFIG['ldap']['host'] = '127.0.0.1';
+/* specify that it is an Active directory */
+# $CONFIG['ldap']['type'] = 'AD';
+# $CONFIG['ldap']['user'] = 'rea...@ro...';
+# $CONFIG['ldap']['password'] = 'readonlypassword';
+/* DOMAIN for user login */
+# $CONFIG['ldap']['domain'] = 'yourdomain.local';
+# $CONFIG['ldap']['basedn'] = 'dc=yourdomain,dc=local';
+# $CONFIG['ldap']['userdn'] = 'dc=yourdomain,dc=local';
+# $CONFIG['ldap']['userclass']='user';
+# $CONFIG['ldap']['uid']='cn';
+# $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name' => 'name', 'memberof' => 'group_id', 'mail' => 'email');
+# $CONFIG['ldap']['groupdn'] = 'dc=roverdom,dc=local';
+# $CONFIG['ldap']['groupclass']='group';
+# $CONFIG['ldap']['gid']='distinguishedname';
+# $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' => 'description' );
+
/* PLUGINS: here you enable the plugins
* they will need to enable the functionality
* on a group basis
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ts...@us...> - 2008-11-04 17:41:19
|
Revision: 103
http://openupload.svn.sourceforge.net/openupload/?rev=103&view=rev
Author: tsdogs
Date: 2008-11-04 17:41:13 +0000 (Tue, 04 Nov 2008)
Log Message:
-----------
change default value for WWW_ROOT which caused troubles on sites where is was main application
Modified Paths:
--------------
trunk/www/config.inc.php.example
Modified: trunk/www/config.inc.php.example
===================================================================
--- trunk/www/config.inc.php.example 2008-11-03 16:42:19 UTC (rev 102)
+++ trunk/www/config.inc.php.example 2008-11-04 17:41:13 UTC (rev 103)
@@ -9,8 +9,8 @@
/* define http:// address */
$CONFIG['WWW_SERVER']='http://yourdomain.com';
-/* define the additional web path */
-$CONFIG['WWW_ROOT']='/';
+/* define the additional web path i.e. /openupload */
+$CONFIG['WWW_ROOT']='';
/* Define where to store the uploaded files */
$CONFIG['DATA_PATH']=$CONFIG['INSTALL_ROOT'].'/data';
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ts...@us...> - 2008-11-19 17:52:17
|
Revision: 158
http://openupload.svn.sourceforge.net/openupload/?rev=158&view=rev
Author: tsdogs
Date: 2008-11-19 17:52:11 +0000 (Wed, 19 Nov 2008)
Log Message:
-----------
Add basic upload progress indicator support
Modified Paths:
--------------
trunk/www/config.inc.php.example
Modified: trunk/www/config.inc.php.example
===================================================================
--- trunk/www/config.inc.php.example 2008-11-19 17:41:46 UTC (rev 157)
+++ trunk/www/config.inc.php.example 2008-11-19 17:52:11 UTC (rev 158)
@@ -103,6 +103,12 @@
# $CONFIG['ldap']['gid']='distinguishedname';
# $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' => 'description' );
+/* UPLOAD PROGRESS: specify the type
+ * Requires php extensions to be installed
+ */
+# $CONFIG['progress'] = 'apc';
+# $CONFIG['progress'] = 'uploadprogress';
+$CONFIG['progress']='none';
/* PLUGINS: here you enable the plugins
* they will need to enable the functionality
@@ -153,9 +159,5 @@
/* SITE FOOTER STRING */
$CONFIG['site']['footer'] = '<a href="http://openupload.sf.net">Open Upload</a> - Created by Alessandro Briosi © 2008';
-/* PLUGINS SPECIFIC CONFIGURATION */
-$CONFIG['mimetypes'][]='application/pdf';
-$CONFIG['mimetypes'][]='image/jpeg';
-$CONFIG['mimetypes'][]='image/png';
?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ts...@us...> - 2009-02-05 15:51:45
|
Revision: 233
http://openupload.svn.sourceforge.net/openupload/?rev=233&view=rev
Author: tsdogs
Date: 2009-02-05 15:51:41 +0000 (Thu, 05 Feb 2009)
Log Message:
-----------
Add options for configuring ids length and form
Option for shorter links generation
Modified Paths:
--------------
trunk/www/config.inc.php.example
Modified: trunk/www/config.inc.php.example
===================================================================
--- trunk/www/config.inc.php.example 2009-02-05 15:44:52 UTC (rev 232)
+++ trunk/www/config.inc.php.example 2009-02-05 15:51:41 UTC (rev 233)
@@ -129,6 +129,19 @@
/* Set the number of files to be uploaded in 1 time */
$CONFIG['multiupload'] = '1';
+/* Generate shorter links for download / remove
+ * like ?action=d&id=123892347892 == ?a=d&i=123892347892
+ * Changing this will not affect the handling on one or the other link form
+ *
+ */
+$CONFIG['use_short_links'] = 'no';
+
+/* Defines the length of the generated IDs, suggested at least a value of 6 */
+$CONFIG['id_max_length'] = '10';
+
+/* Create alphanumerical IDs for files */
+$CONFIG['id_use_alpha'] = 'yes';
+
/* Set the progress upload method to be used */
/* requires an extension (APC or UPLOADPROGRESS */
/* possible values are: none, uploadprogress, apc */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ts...@us...> - 2009-02-07 13:44:46
|
Revision: 253
http://openupload.svn.sourceforge.net/openupload/?rev=253&view=rev
Author: tsdogs
Date: 2009-02-07 13:44:37 +0000 (Sat, 07 Feb 2009)
Log Message:
-----------
Add configurable security option.
Modified Paths:
--------------
trunk/www/config.inc.php.example
Modified: trunk/www/config.inc.php.example
===================================================================
--- trunk/www/config.inc.php.example 2009-02-07 13:44:23 UTC (rev 252)
+++ trunk/www/config.inc.php.example 2009-02-07 13:44:37 UTC (rev 253)
@@ -142,6 +142,10 @@
/* Create alphanumerical IDs for files */
$CONFIG['id_use_alpha'] = 'yes';
+/* This option allows the files to be removed without applying the
+ protection (i.e. password, captcha) the user choose for downloading */
+$CONFIG['allow_unprotected_removal'] = 'no';
+
/* Set the progress upload method to be used */
/* requires an extension (APC or UPLOADPROGRESS */
/* possible values are: none, uploadprogress, apc */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ts...@us...> - 2009-02-21 13:42:35
|
Revision: 264
http://openupload.svn.sourceforge.net/openupload/?rev=264&view=rev
Author: tsdogs
Date: 2009-02-21 13:42:30 +0000 (Sat, 21 Feb 2009)
Log Message:
-----------
Remove not necessary WEB_ROOT setting for templates
Modified Paths:
--------------
trunk/www/config.inc.php.example
Modified: trunk/www/config.inc.php.example
===================================================================
--- trunk/www/config.inc.php.example 2009-02-21 13:42:06 UTC (rev 263)
+++ trunk/www/config.inc.php.example 2009-02-21 13:42:30 UTC (rev 264)
@@ -4,9 +4,6 @@
/* Define the installation folder */
$CONFIG['INSTALL_ROOT']='/usr/local/share/openupload';
-/* Define the web root foder (for the application) */
-$CONFIG['WEB_ROOT']='/usr/local/share/openupload/www';
-
/* define http:// address */
$CONFIG['WWW_SERVER']='http://yourdomain.com';
/* define the additional web path i.e. /openupload */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ts...@us...> - 2009-04-28 21:52:47
|
Revision: 310
http://openupload.svn.sourceforge.net/openupload/?rev=310&view=rev
Author: tsdogs
Date: 2009-04-28 21:52:37 +0000 (Tue, 28 Apr 2009)
Log Message:
-----------
misspelled domain
Modified Paths:
--------------
trunk/www/config.inc.php.example
Modified: trunk/www/config.inc.php.example
===================================================================
--- trunk/www/config.inc.php.example 2009-04-28 21:52:20 UTC (rev 309)
+++ trunk/www/config.inc.php.example 2009-04-28 21:52:37 UTC (rev 310)
@@ -90,7 +90,7 @@
# $CONFIG['ldap']['host'] = '127.0.0.1';
/* specify that it is an Active directory */
# $CONFIG['ldap']['type'] = 'AD';
-# $CONFIG['ldap']['user'] = 'rea...@ro...';
+# $CONFIG['ldap']['user'] = 'rea...@yo...';
# $CONFIG['ldap']['password'] = 'readonlypassword';
/* DOMAIN for user login */
# $CONFIG['ldap']['domain'] = 'yourdomain.local';
@@ -99,7 +99,7 @@
# $CONFIG['ldap']['userclass']='user';
# $CONFIG['ldap']['uid']='cn';
# $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name' => 'name', 'memberof' => 'group_id', 'mail' => 'email');
-# $CONFIG['ldap']['groupdn'] = 'dc=roverdom,dc=local';
+# $CONFIG['ldap']['groupdn'] = 'dc=yourdomain,dc=local';
# $CONFIG['ldap']['groupclass']='group';
# $CONFIG['ldap']['gid']='distinguishedname';
# $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' => 'description' );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ts...@us...> - 2008-10-28 17:36:53
|
Revision: 88
http://openupload.svn.sourceforge.net/openupload/?rev=88&view=rev
Author: tsdogs
Date: 2008-10-28 17:36:43 +0000 (Tue, 28 Oct 2008)
Log Message:
-----------
Add translation config options
Modified Paths:
--------------
trunk/www/config.inc.php.example
Modified: trunk/www/config.inc.php.example
===================================================================
--- trunk/www/config.inc.php.example 2008-10-28 17:36:20 UTC (rev 87)
+++ trunk/www/config.inc.php.example 2008-10-28 17:36:43 UTC (rev 88)
@@ -44,6 +44,13 @@
# $CONFIG['auth'] = 'ldap';
$CONFIG['auth'] = 'default';
+
+/* TRANSLATION MODULE */
+//$CONFIG['translator']='gettext';
+$CONFIG['translator']='phparray';
+
+$CONFIG['defaultlang']='en';
+
/************************************************************
* LDAP detail configuration options *
************************************************************/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ts...@us...> - 2008-12-12 16:03:34
|
Revision: 200
http://openupload.svn.sourceforge.net/openupload/?rev=200&view=rev
Author: tsdogs
Date: 2008-12-12 16:03:29 +0000 (Fri, 12 Dec 2008)
Log Message:
-----------
update sample config file with additional options
Modified Paths:
--------------
trunk/www/config.inc.php.example
Modified: trunk/www/config.inc.php.example
===================================================================
--- trunk/www/config.inc.php.example 2008-12-12 15:50:45 UTC (rev 199)
+++ trunk/www/config.inc.php.example 2008-12-12 16:03:29 UTC (rev 200)
@@ -25,8 +25,11 @@
* it can be used when no database is available
*/
-/* MYSQL Database */
+/* MYSQL / POSTGRES Database */
+#$CONFIG['database']['type']='pgsql';
$CONFIG['database']['type']='mysql';
+
+/* Detail for dbconnection */
$CONFIG['database']['host']='localhost';
$CONFIG['database']['user']='databaseuser';
$CONFIG['database']['password']='databasepwd';
@@ -46,7 +49,8 @@
/* TRANSLATION MODULE */
-//$CONFIG['translator']='gettext';
+#$CONFIG['translator']='none';
+#$CONFIG['translator']='gettext';
$CONFIG['translator']='phparray';
$CONFIG['defaultlang']='en';
@@ -103,12 +107,6 @@
# $CONFIG['ldap']['gid']='distinguishedname';
# $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' => 'description' );
-/* UPLOAD PROGRESS: specify the type
- * Requires php extensions to be installed
- */
-# $CONFIG['progress'] = 'apc';
-# $CONFIG['progress'] = 'uploadprogress';
-$CONFIG['progress']='none';
/* PLUGINS: here you enable the plugins
* they will need to enable the functionality
@@ -118,6 +116,9 @@
$CONFIG['plugins'][] = 'email';
$CONFIG['plugins'][] = 'password';
$CONFIG['plugins'][] = 'captcha';
+$CONFIG['plugins'][] = 'filesize';
+$CONFIG['plugins'][] = 'expire';
+$CONFIG['plugins'][] = 'compress';
/* Set maximum default upload size in MB*/
$CONFIG['max_upload_size']=100;
@@ -125,6 +126,30 @@
/* Set the maximum time (in minutes) a download should take (putting it to 0 will disable the timeout, but it's not suggested) */
$CONFIG['max_download_time']=120;
+/* Set the number of files to be uploaded in 1 time */
+$CONFIG['multiupload'] = '1';
+
+/* Set the progress upload method to be used */
+/* requires an extension (APC or UPLOADPROGRESS */
+/* possible values are: none, uploadprogress, apc */
+$CONFIG['progress'] = 'none';
+
+/* Logging of the application */
+$CONFIG['logging']['enabled'] = 'yes';
+
+/* Level of logging to the database table */
+/* 0 = none */
+/* 1 = errors */
+/* 2 = security */
+/* 3 = warnings */
+/* 4 = statistics */
+/* 5 = info */
+/* 6 = debug */
+$CONFIG['logging']['db_level'] = '4';
+
+/* Level of logging to syslog */
+$CONFIG['logging']['syslog_level'] = '0';
+
/* if registration is enabled confirm it by e-amil ? */
$CONFIG['registration']['email_confirm']='yes';
@@ -141,7 +166,6 @@
/* registered user by default */
$CONFIG['register']['default_group']='registered';
-
/* SITE STYLE */
$CONFIG['site']['template'] = 'default';
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ts...@us...> - 2009-08-29 11:04:42
|
Revision: 351
http://openupload.svn.sourceforge.net/openupload/?rev=351&view=rev
Author: tsdogs
Date: 2009-08-29 11:04:36 +0000 (Sat, 29 Aug 2009)
Log Message:
-----------
fix default translation module
Modified Paths:
--------------
trunk/www/config.inc.php.example
Modified: trunk/www/config.inc.php.example
===================================================================
--- trunk/www/config.inc.php.example 2009-08-29 11:02:54 UTC (rev 350)
+++ trunk/www/config.inc.php.example 2009-08-29 11:04:36 UTC (rev 351)
@@ -46,7 +46,7 @@
/* TRANSLATION MODULE */
-#$CONFIG['translator']='none';
+#$CONFIG['translator']='null';
#$CONFIG['translator']='gettext';
$CONFIG['translator']='phparray';
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|