codepot/codepot/etc/codepot.ini.in
2010-02-26 14:41:56 +00:00

124 lines
5.5 KiB
INI

;------------------------------------------------------------------------------
; default site ID
;------------------------------------------------------------------------------
default_siteid = "default";
;------------------------------------------------------------------------------
; banner to display when no project id is available
;------------------------------------------------------------------------------
default_banner = "@PACKAGE@"
;------------------------------------------------------------------------------
; database settings
;------------------------------------------------------------------------------
database_username =
database_password =
database_name =
database_driver =
database_prefix =
;------------------------------------------------------------------------------
; ldap settings
;------------------------------------------------------------------------------
; The userid format and the password format can contain
; ${userid} and ${password} to represent the actual user ID
; and the password respectively.
;------------------------------------------------------------------------------
ldap_server_host = "127.0.0.1"
ldap_server_port = "389"
ldap_server_protocol_version = "3"
ldap_userid_format = "${userid}"
ldap_password_format = "${password}"
;------------------------------------------------------------------------------
; default langage to use. set it to 'auto' to detect it automatically.
; available languages are:
; english, korean, indonesian
;------------------------------------------------------------------------------
language = "auto"
;------------------------------------------------------------------------------
; Use websvn as a repository browser.
;------------------------------------------------------------------------------
enable_websvn = "no"
;------------------------------------------------------------------------------
; When set to yes, viewing pages require a user to sign in.
;------------------------------------------------------------------------------
singin_compulsory = "no"
;------------------------------------------------------------------------------
; 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.
;------------------------------------------------------------------------------
https_compulsory = "no"
https_url = "https://${SERVER_NAME}${REQUEST_URI}"
;------------------------------------------------------------------------------
; API base URL
;------------------------------------------------------------------------------
api_base_url = "http://127.0.0.1"
;------------------------------------------------------------------------------
; Subversion base URL
;------------------------------------------------------------------------------
; 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.
;------------------------------------------------------------------------------
svn_base_url = "http://${SERVER_NAME}:${SERVER_PORT}/svn"
;------------------------------------------------------------------------------
; Login model to use.
;------------------------------------------------------------------------------
login_model = "LdapLoginModel"
;------------------------------------------------------------------------------
; Comma separated list of system administrator IDs
;------------------------------------------------------------------------------
; sysadmin_userids = tom, dick, jane
;------------------------------------------------------------------------------
sysadmin_userids =
;------------------------------------------------------------------------------
; Maximum file upload size in Kbytes
;------------------------------------------------------------------------------
max_upload_size = "10000"
;------------------------------------------------------------------------------
; Maximum number of latest projects to show in the front page
;------------------------------------------------------------------------------
max_latest_projects = "10"
;------------------------------------------------------------------------------
; Maximum number of svn commits to show in the front page
;------------------------------------------------------------------------------
max_svn_commits = "10"
;------------------------------------------------------------------------------
; Maximum number of svn commits to show in the project home page
;------------------------------------------------------------------------------
max_svn_commits_in_project = "5"
;------------------------------------------------------------------------------
; directory to accomodate subversion repositories
;------------------------------------------------------------------------------
svnrepo_dir = "@DEPOTDIR@/svnrepo"
;------------------------------------------------------------------------------
; directory to store uploaded files
;------------------------------------------------------------------------------
file_dir = "@DEPOTDIR@/files"
;------------------------------------------------------------------------------
; 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