##// END OF EJS Templates
updated test.ini to latest ini format
marcink -
r2110:bc24ef53 beta
parent child Browse files
Show More
@@ -17,6 +17,7 b' pdebug = false'
17 #error_email_from = paste_error@localhost
17 #error_email_from = paste_error@localhost
18 #app_email_from = rhodecode-noreply@localhost
18 #app_email_from = rhodecode-noreply@localhost
19 #error_message =
19 #error_message =
20 #email_prefix = [RhodeCode]
20
21
21 #smtp_server = mail.server.com
22 #smtp_server = mail.server.com
22 #smtp_username =
23 #smtp_username =
@@ -24,6 +25,8 b' pdebug = false'
24 #smtp_port =
25 #smtp_port =
25 #smtp_use_tls = false
26 #smtp_use_tls = false
26 #smtp_use_ssl = true
27 #smtp_use_ssl = true
28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
29 #smtp_auth =
27
30
28 [server:main]
31 [server:main]
29 ##nr of threads to spawn
32 ##nr of threads to spawn
@@ -53,6 +56,42 b' commit_parse_limit = 25'
53 use_gravatar = true
56 use_gravatar = true
54 container_auth_enabled = false
57 container_auth_enabled = false
55 proxypass_auth_enabled = false
58 proxypass_auth_enabled = false
59
60
61 ## overwrite schema of clone url
62 ## available vars:
63 ## scheme - http/https
64 ## user - current user
65 ## pass - password
66 ## netloc - network location
67 ## path - usually repo_name
68
69 #clone_uri = {scheme}://{user}{pass}{netloc}{path}
70
71 ## issue tracking mapping for commits messages
72 ## comment out issue_pat, issue_server, issue_prefix to enable
73
74 ## pattern to get the issues from commit messages
75 ## default one used here is #<numbers> with a regex passive group for `#`
76 ## {id} will be all groups matched from this pattern
77
78 issue_pat = (?:\s*#)(\d+)
79
80 ## server url to the issue, each {id} will be replaced with match
81 ## fetched from the regex and {repo} is replaced with repository name
82
83 issue_server_link = https://myissueserver.com/{repo}/issue/{id}
84
85 ## prefix to add to link to indicate it's an url
86 ## #314 will be replaced by <issue_prefix><id>
87
88 issue_prefix = #
89
90 ## instance-id prefix
91 ## a prefix key for this instance used for cache invalidation when running
92 ## multiple instances of rhodecode, make sure it's globally unique for
93 ## all running rhodecode instances. Leave empty if you don't use it
94 instance_id =
56
95
57 ####################################
96 ####################################
58 ### CELERY CONFIG ####
97 ### CELERY CONFIG ####
@@ -86,6 +125,7 b' celery.always.eager = false'
86 ####################################
125 ####################################
87 beaker.cache.data_dir=/tmp/data/cache/data
126 beaker.cache.data_dir=/tmp/data/cache/data
88 beaker.cache.lock_dir=/tmp/data/cache/lock
127 beaker.cache.lock_dir=/tmp/data/cache/lock
128
89 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
129 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
90
130
91 beaker.cache.super_short_term.type=memory
131 beaker.cache.super_short_term.type=memory
@@ -118,12 +158,27 b' beaker.cache.sql_cache_long.key_length ='
118 ## Type of storage used for the session, current types are
158 ## Type of storage used for the session, current types are
119 ## dbm, file, memcached, database, and memory.
159 ## dbm, file, memcached, database, and memory.
120 ## The storage uses the Container API
160 ## The storage uses the Container API
121 ##that is also used by the cache system.
161 ## that is also used by the cache system.
122 beaker.session.type = file
162
163 ## db session example
164
165 #beaker.session.type = ext:database
166 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
167 #beaker.session.table_name = db_session
168
169 ## encrypted cookie session, good for many instances
170 #beaker.session.type = cookie
123
171
172 beaker.session.type = file
124 beaker.session.key = rhodecode
173 beaker.session.key = rhodecode
125 beaker.session.secret = g654dcno0-9873jhgfreyu
174 # secure cookie requires AES python libraries
175 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
176 #beaker.session.validate_key = 9712sds2212c--zxc123
126 beaker.session.timeout = 36000
177 beaker.session.timeout = 36000
178 beaker.session.httponly = true
179
180 ## uncomment for https secure cookie
181 beaker.session.secure = false
127
182
128 ##auto save the session to not to use .save()
183 ##auto save the session to not to use .save()
129 beaker.session.auto = False
184 beaker.session.auto = False
@@ -131,7 +186,7 b' beaker.session.auto = False'
131 ##true exire at browser close
186 ##true exire at browser close
132 #beaker.session.cookie_expires = 3600
187 #beaker.session.cookie_expires = 3600
133
188
134
189
135 ################################################################################
190 ################################################################################
136 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
191 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
137 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
192 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
@@ -159,7 +214,7 b' sqlalchemy.convert_unicode = true'
159 ### LOGGING CONFIGURATION ####
214 ### LOGGING CONFIGURATION ####
160 ################################
215 ################################
161 [loggers]
216 [loggers]
162 keys = root, routes, rhodecode, sqlalchemy, beaker, templates
217 keys = root, routes, rhodecode, sqlalchemy, beaker, templates, whoosh_indexer
163
218
164 [handlers]
219 [handlers]
165 keys = console
220 keys = console
@@ -205,6 +260,12 b' handlers = console'
205 qualname = sqlalchemy.engine
260 qualname = sqlalchemy.engine
206 propagate = 0
261 propagate = 0
207
262
263 [logger_whoosh_indexer]
264 level = DEBUG
265 handlers =
266 qualname = whoosh_indexer
267 propagate = 1
268
208 ##############
269 ##############
209 ## HANDLERS ##
270 ## HANDLERS ##
210 ##############
271 ##############
General Comments 0
You need to be logged in to leave comments. Login now