codepot/codepot/etc/codepot.ini.in

248 lines
12 KiB
INI
Raw Normal View History

;------------------------------------------------------------------------------
2010-03-21 14:50:08 +00:00
; default site language
;------------------------------------------------------------------------------
default_site_language = "english"
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
;------------------------------------------------------------------------------
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.
;
; 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
;------------------------------------------------------------------------------
ldap_server_uri = "ldap://127.0.0.1:389"
2010-01-24 14:34:03 +00:00
ldap_server_protocol_version = "3"
ldap_auth_mode = 2
ldap_userid_format = "cn=${userid},ou=users,dc=codepot,dc=org"
2010-01-24 14:34:03 +00:00
ldap_password_format = "${password}"
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"
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
;------------------------------------------------------------------------------
; 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.
;------------------------------------------------------------------------------
singin_compulsory = "no"
2010-01-24 14:34:03 +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
;------------------------------------------------------------------------------
https_compulsory = "no"
https_url = "https://${SERVER_NAME}${REQUEST_URI}"
2010-01-24 14:34:03 +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"
;------------------------------------------------------------------------------
; 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.
; You may specify multiple URLs separated with a comma as shown below:
; "http://${SERVER_NAME}/svn, https://${SERVER_NAME}/svn"
; 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.
;------------------------------------------------------------------------------
#login_model = "LdapLoginModel"
login_model = "DbLoginModel"
2010-01-24 14:34:03 +00:00
;------------------------------------------------------------------------------
; Comma separated list of system administrator IDs
2010-01-24 14:34:03 +00:00
;------------------------------------------------------------------------------
; sysadmin_userids = "tom, dick, jane"
;------------------------------------------------------------------------------
sysadmin_userids = ""
2010-01-24 14:34:03 +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"
;------------------------------------------------------------------------------
; Maximum number of latest projects to show in the front page
2010-01-24 14:34:03 +00:00
;------------------------------------------------------------------------------
max_latest_projects = "10"
;------------------------------------------------------------------------------
; Maximum number of projects to show
;------------------------------------------------------------------------------
max_projects_per_page = "100"
;------------------------------------------------------------------------------
; Maximum number of issues to show
;------------------------------------------------------------------------------
max_issues_per_page = "50"
;------------------------------------------------------------------------------
; Maximum number of log entries to show per details page
;------------------------------------------------------------------------------
max_logs_per_page = "50"
;------------------------------------------------------------------------------
; Maximum number of log entries to show in the front page
;------------------------------------------------------------------------------
max_logs_in_site_home = "20"
;------------------------------------------------------------------------------
; Maximum number of log entries to show in the project home page
;------------------------------------------------------------------------------
max_logs_in_project_home = "10"
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"
;------------------------------------------------------------------------------
; directory to store wiki attachments
;------------------------------------------------------------------------------
attachment_dir = "@DEPOTDIR@/attachments"
;------------------------------------------------------------------------------
; directory to store user icons
;------------------------------------------------------------------------------
usericon_dir = "@DEPOTDIR@/usericons"
;------------------------------------------------------------------------------
; 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
;------------------------------------------------------------------------------
; 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"
;------------------------------------------------------------------------------
; 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"
;------------------------------------------------------------------------------
; 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"
;------------------------------------------------------------------------------
; 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.
;------------------------------------------------------------------------------
svn_read_access = "member"
;------------------------------------------------------------------------------
; The length of a commit message must be as long as this value.
;------------------------------------------------------------------------------
svn_min_commit_message_length = "0"
;------------------------------------------------------------------------------
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
;------------------------------------------------------------------------------
svn_restricted_topdirs = ""
svn_restriction_allowed_subdir_depth_min = 0
svn_restriction_allowed_subdir_depth_max = 0
;------------------------------------------------------------------------------
; 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";