2010-02-19 09:27:33 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2010-03-21 14:50:08 +00:00
|
|
|
; default site language
|
2010-02-19 09:27:33 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2010-04-28 14:33:25 +00:00
|
|
|
default_site_language = "english"
|
2010-02-19 09:27:33 +00:00
|
|
|
|
2010-01-24 14:34:03 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2010-03-21 14:50:08 +00:00
|
|
|
; default site name
|
2010-01-24 14:34:03 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2010-03-21 14:50:08 +00:00
|
|
|
default_site_name = "@PACKAGE@"
|
2010-01-24 14:34:03 +00:00
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; database settings
|
|
|
|
;------------------------------------------------------------------------------
|
2010-04-12 12:39:08 +00:00
|
|
|
database_hostname = "localhost"
|
|
|
|
database_username = ""
|
|
|
|
database_password = ""
|
|
|
|
database_name = ""
|
|
|
|
database_driver = ""
|
|
|
|
database_prefix = ""
|
2010-01-24 14:34:03 +00:00
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; ldap settings
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; The userid format and the password format can contain
|
|
|
|
; ${userid} and ${password} to represent the actual user ID
|
|
|
|
; and the password respectively.
|
2011-09-15 14:24:54 +00:00
|
|
|
;
|
|
|
|
; If ldap_auth_mode is 1, authentication is performed by binding to
|
|
|
|
; a LDAP server specified using ldap_userid_format as a binddn and
|
|
|
|
; ldap_password_format as a password.
|
|
|
|
;
|
|
|
|
; If ldap_auth_mode is 2, it finds a binddn by searching a subtree
|
|
|
|
; under ldap_userid_search_base using ldap_userid_search_filter
|
|
|
|
; after having bound with ldap_admin_binddn and ldap_admin_password.
|
|
|
|
; The binddn found is used for subsequent binding for authentication.
|
|
|
|
; ldap_userid_format is unused in this mode.
|
2010-01-24 14:34:03 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2010-04-27 14:56:11 +00:00
|
|
|
ldap_server_uri = "ldap://127.0.0.1:389"
|
2010-01-24 14:34:03 +00:00
|
|
|
ldap_server_protocol_version = "3"
|
2014-05-20 01:55:47 +00:00
|
|
|
ldap_auth_mode = 2
|
2011-09-15 14:24:54 +00:00
|
|
|
ldap_userid_format = "cn=${userid},ou=users,dc=codepot,dc=org"
|
2010-01-24 14:34:03 +00:00
|
|
|
ldap_password_format = "${password}"
|
2011-09-15 14:24:54 +00:00
|
|
|
ldap_admin_binddn = "cn=admin,dc=codepot,dc=org"
|
|
|
|
ldap_admin_password = "admin-password"
|
|
|
|
ldap_userid_search_filter = "(uid=${userid})"
|
|
|
|
ldap_userid_search_base = "ou=users,dc=codepot,dc=org"
|
2010-04-11 14:30:49 +00:00
|
|
|
ldap_mail_attribute_name = ""
|
2010-01-24 14:34:03 +00:00
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
2010-02-21 11:27:50 +00:00
|
|
|
; default langage to use. set it to 'auto' to detect it automatically.
|
|
|
|
; available languages are:
|
|
|
|
; english, korean, indonesian
|
2010-01-24 14:34:03 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2010-02-21 11:27:50 +00:00
|
|
|
language = "auto"
|
2010-01-24 14:34:03 +00:00
|
|
|
|
2010-08-03 05:55:12 +00:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; Name of the index page. If you want to hide the index page name from
|
|
|
|
; the URL by rewriting it (e.g. mod_rewrite), you have to change this
|
|
|
|
; properly to match the rewriting rule
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
index_page = "index.php"
|
|
|
|
|
2010-01-24 14:34:03 +00:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; When set to yes, viewing pages require a user to sign in.
|
|
|
|
;------------------------------------------------------------------------------
|
2010-02-22 11:58:55 +00:00
|
|
|
singin_compulsory = "no"
|
2010-01-24 14:34:03 +00:00
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
2010-02-22 11:58:55 +00:00
|
|
|
; When set to yes, non-http access is diverted to https using
|
|
|
|
; the base URL specified in https_base_url. api calls are not affected.
|
|
|
|
; change api_base_url to force https api calls instead.
|
2010-01-24 14:34:03 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2010-02-22 11:58:55 +00:00
|
|
|
https_compulsory = "no"
|
|
|
|
https_url = "https://${SERVER_NAME}${REQUEST_URI}"
|
2010-01-24 14:34:03 +00:00
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
2014-05-20 01:55:47 +00:00
|
|
|
; API base URL (Deprecated as of v0.1.2. Not useful anymore)
|
2010-01-24 14:34:03 +00:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
api_base_url = "http://127.0.0.1"
|
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
2010-07-27 01:37:22 +00:00
|
|
|
; Command-separated list of subversion base URLs
|
2010-01-24 14:34:03 +00:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; This URL depends on the webdav configuration for subversion repository.
|
|
|
|
; If you have your repository enabled with SSL under /svn, you can set this to
|
|
|
|
; https://${SERVER_NAME}/svn.
|
2010-07-27 01:37:22 +00:00
|
|
|
; You may specify multiple URLs separated with a comma as shown below:
|
|
|
|
; "http://${SERVER_NAME}/svn, https://${SERVER_NAME}/svn"
|
2014-10-12 13:05:40 +00:00
|
|
|
; All specified URLs are shown in the repository list of the project overview
|
|
|
|
; page.
|
|
|
|
; You may use various items available in $_SERVER when composing the URL.
|
|
|
|
; For example, ${HTTP_HOST} maps to $_SERVER{'HTTP_HOST'}.
|
|
|
|
; Additionally, $_SERVER{'REQUEST_PROTOCOL'} added by config/config.php
|
|
|
|
; can be referenced with ${REQUEST_PROTOCOL} and it is resolved to either
|
|
|
|
; http or https.
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
;svn_base_url = "${REQUEST_PROTOCOL}://${SERVER_NAME}:${SERVER_PORT}/svn"
|
|
|
|
svn_base_url = "${REQUEST_PROTOCOL}://${HTTP_HOST}/svn"
|
2010-01-24 14:34:03 +00:00
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; Login model to use.
|
|
|
|
;------------------------------------------------------------------------------
|
2014-05-20 01:55:47 +00:00
|
|
|
#login_model = "LdapLoginModel"
|
|
|
|
login_model = "DbLoginModel"
|
2010-01-24 14:34:03 +00:00
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
2010-02-26 14:41:56 +00:00
|
|
|
; Comma separated list of system administrator IDs
|
2010-01-24 14:34:03 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2010-07-27 01:37:22 +00:00
|
|
|
; sysadmin_userids = "tom, dick, jane"
|
2010-02-26 14:41:56 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2010-07-27 01:37:22 +00:00
|
|
|
sysadmin_userids = ""
|
2010-01-24 14:34:03 +00:00
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
2010-07-27 01:37:22 +00:00
|
|
|
; Maximum file upload size in Kbytes. You may have to adjust PHP settings
|
|
|
|
; for a large value to work.
|
2010-01-24 14:34:03 +00:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
max_upload_size = "10000"
|
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
2010-02-19 12:03:51 +00:00
|
|
|
; Maximum number of latest projects to show in the front page
|
2010-01-24 14:34:03 +00:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
max_latest_projects = "10"
|
|
|
|
|
2010-03-28 13:44:24 +00:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; Maximum number of projects to show
|
|
|
|
;------------------------------------------------------------------------------
|
2015-04-09 05:43:06 +00:00
|
|
|
max_projects_per_page = "100"
|
2010-03-28 13:44:24 +00:00
|
|
|
|
2010-03-18 12:37:45 +00:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; Maximum number of issues to show
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
max_issues_per_page = "50"
|
|
|
|
|
2010-02-28 01:22:17 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2010-03-04 12:40:27 +00:00
|
|
|
; Maximum number of log entries to show per details page
|
2010-02-28 01:22:17 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2010-03-04 12:40:27 +00:00
|
|
|
max_logs_per_page = "50"
|
2010-02-28 01:22:17 +00:00
|
|
|
|
2010-02-19 12:03:51 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2010-03-04 12:40:27 +00:00
|
|
|
; Maximum number of log entries to show in the front page
|
2010-02-19 12:03:51 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2015-04-09 05:43:06 +00:00
|
|
|
max_logs_in_site_home = "20"
|
2010-02-19 12:03:51 +00:00
|
|
|
|
2010-02-26 14:41:56 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2010-03-04 12:40:27 +00:00
|
|
|
; Maximum number of log entries to show in the project home page
|
2010-02-26 14:41:56 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2015-04-09 05:43:06 +00:00
|
|
|
max_logs_in_project_home = "10"
|
2010-02-19 12:03:51 +00:00
|
|
|
|
2010-01-24 14:34:03 +00:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; directory to accomodate subversion repositories
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
svnrepo_dir = "@DEPOTDIR@/svnrepo"
|
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; directory to store uploaded files
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
file_dir = "@DEPOTDIR@/files"
|
2010-02-23 13:46:25 +00:00
|
|
|
|
2010-04-27 14:56:11 +00:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; directory to store wiki attachments
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
attachment_dir = "@DEPOTDIR@/attachments"
|
|
|
|
|
2014-06-24 15:10:31 +00:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; directory to store user icons
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
usericon_dir = "@DEPOTDIR@/usericons"
|
|
|
|
|
2010-02-23 13:46:25 +00:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; log threshold
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; 0 = Disables logging, Error logging TURNED OFF
|
|
|
|
; 1 = Error Messages (including PHP errors)
|
|
|
|
; 2 = Debug Messages
|
|
|
|
; 3 = Informational Messages
|
|
|
|
; 4 = All Messages
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
log_threshold = 0
|
2010-03-20 13:11:42 +00:00
|
|
|
|
2010-04-18 12:43:37 +00:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; When yes, a project member can delete a non-empty project containing
|
|
|
|
; wiki pages, file uploads, etc. An empty project can be deleted any time
|
|
|
|
; regardless of this option. A system administrator(sysadmin_userids) is
|
|
|
|
; allowed to delete a non-empty project also regardless of this option.
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
force_project_delete = "no"
|
|
|
|
|
2014-05-25 04:26:23 +00:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; When yes, a codepot page can use set_time_limit() to adjust the maximum
|
|
|
|
; execution time to override the global value. For example, the code search
|
|
|
|
; page can take very long if the code repository is very large. You can
|
|
|
|
; set this item to yes to allow such a page to complete its processing.
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
allow_set_time_limit = "no"
|
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; When yes, a user must sign in to be able to search code.
|
|
|
|
; When no, an anonymous user can search code.
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
signin_for_code_search = "yes"
|
|
|
|
|
2015-02-16 12:27:25 +00:00
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; customized footer
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; Leave this empty for the default footer message
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
footer = ""
|
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; CLOC command
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; Full path to the CLOC command
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
cloc_command_path = "@CFGDIR@/cloc.pl"
|
|
|
|
|
2014-05-25 06:53:16 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2014-05-26 06:18:30 +00:00
|
|
|
; Subversion read access is limited to the specified user type. The types
|
|
|
|
; include anonymous, authenticated, member. This applies to a public project
|
|
|
|
; only. Write access to any projects and read access to a non-public project
|
|
|
|
; require membership regardless of this item.
|
2014-05-25 06:53:16 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2014-05-26 06:18:30 +00:00
|
|
|
svn_read_access = "member"
|
2014-05-25 06:53:16 +00:00
|
|
|
|
2014-06-23 10:07:08 +00:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; The length of a commit message must be as long as this value.
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
svn_min_commit_message_length = "0"
|
|
|
|
|
2010-03-20 13:11:42 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2015-04-09 05:21:47 +00:00
|
|
|
; Operations on the files under one of svn_restricted_topdirs
|
|
|
|
; are limited. The value can be separated by a comma.
|
|
|
|
; To allow 1 subdirectory under the tags directory, set the followings:
|
|
|
|
; svn_restricted_topdirs = "tags"
|
|
|
|
; svn_restriction_allowed_subdir_depth_min = 0
|
|
|
|
; svn_restriction_allowed_subdir_depth_max = 1
|
2010-03-20 13:11:42 +00:00
|
|
|
;------------------------------------------------------------------------------
|
2015-02-16 12:27:25 +00:00
|
|
|
svn_restricted_topdirs = ""
|
2015-02-16 12:32:49 +00:00
|
|
|
svn_restriction_allowed_subdir_depth_min = 0
|
|
|
|
svn_restriction_allowed_subdir_depth_max = 0
|
2015-04-09 09:33:04 +00:00
|
|
|
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
; List of README files to show in the code folder view.
|
|
|
|
; The first file found is shown. You can specify multiple file name
|
|
|
|
; separated by a comma.
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
code_folder_readme = "README.wiki,README.txt,README";
|