Mercurial > kallithea
comparison test.ini @ 2165:dc2584ba5fbc
merged beta into default branch
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 28 Mar 2012 19:54:16 +0200 |
parents | 82a88013a3fd 50aa7cb78cfe |
children | 63e58ef80ef1 |
comparison
equal
deleted
inserted
replaced
2097:8fd6650bb436 | 2165:dc2584ba5fbc |
---|---|
15 ################################################################################ | 15 ################################################################################ |
16 #email_to = admin@localhost | 16 #email_to = admin@localhost |
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 = |
23 #smtp_password = | 24 #smtp_password = |
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 |
30 threadpool_workers = 5 | 33 threadpool_workers = 5 |
31 | 34 |
51 force_https = false | 54 force_https = false |
52 commit_parse_limit = 25 | 55 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 #### |
59 #################################### | 98 #################################### |
60 use_celery = false | 99 use_celery = false |
84 #################################### | 123 #################################### |
85 ### BEAKER CACHE #### | 124 ### BEAKER CACHE #### |
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 |
92 beaker.cache.super_short_term.expire=1 | 132 beaker.cache.super_short_term.expire=1 |
93 beaker.cache.super_short_term.key_length = 256 | 133 beaker.cache.super_short_term.key_length = 256 |
116 ### BEAKER SESSION #### | 156 ### BEAKER SESSION #### |
117 #################################### | 157 #################################### |
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. |
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 | |
171 | |
122 beaker.session.type = file | 172 beaker.session.type = file |
123 | |
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 |
130 | 185 |
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 ## |
138 ## execute malicious code after an exception is raised. ## | 193 ## execute malicious code after an exception is raised. ## |
139 ################################################################################ | 194 ################################################################################ |
149 ######################################################### | 204 ######################################################### |
150 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### | 205 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### |
151 ######################################################### | 206 ######################################################### |
152 sqlalchemy.db1.url = sqlite:///%(here)s/test.db | 207 sqlalchemy.db1.url = sqlite:///%(here)s/test.db |
153 #sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode_tests | 208 #sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode_tests |
154 #sqlalchemy.db1.echo = false | 209 #sqlalchemy.db1.url = mysql://root:qwe123qwe@localhost/rhodecode_tests |
155 #sqlalchemy.db1.pool_recycle = 3600 | 210 |
156 sqlalchemy.convert_unicode = true | 211 sqlalchemy.db1.echo = false |
212 sqlalchemy.db1.pool_recycle = 3600 | |
213 sqlalchemy.db1.convert_unicode = true | |
157 | 214 |
158 ################################ | 215 ################################ |
159 ### LOGGING CONFIGURATION #### | 216 ### LOGGING CONFIGURATION #### |
160 ################################ | 217 ################################ |
161 [loggers] | 218 [loggers] |
162 keys = root, routes, rhodecode, sqlalchemy, beaker, templates | 219 keys = root, routes, rhodecode, sqlalchemy, beaker, templates, whoosh_indexer |
163 | 220 |
164 [handlers] | 221 [handlers] |
165 keys = console | 222 keys = console |
166 | 223 |
167 [formatters] | 224 [formatters] |
202 [logger_sqlalchemy] | 259 [logger_sqlalchemy] |
203 level = ERROR | 260 level = ERROR |
204 handlers = console | 261 handlers = console |
205 qualname = sqlalchemy.engine | 262 qualname = sqlalchemy.engine |
206 propagate = 0 | 263 propagate = 0 |
264 | |
265 [logger_whoosh_indexer] | |
266 level = DEBUG | |
267 handlers = | |
268 qualname = whoosh_indexer | |
269 propagate = 1 | |
207 | 270 |
208 ############## | 271 ############## |
209 ## HANDLERS ## | 272 ## HANDLERS ## |
210 ############## | 273 ############## |
211 | 274 |