##// END OF EJS Templates
sync alternative gravatar options to other .ini files...
marcink -
r2736:3aad896d beta
parent child Browse files
Show More
@@ -1,320 +1,329 b''
1 ################################################################################
1 ################################################################################
2 ################################################################################
2 ################################################################################
3 # RhodeCode - Pylons environment configuration #
3 # RhodeCode - Pylons environment configuration #
4 # #
4 # #
5 # The %(here)s variable will be replaced with the parent directory of this file#
5 # The %(here)s variable will be replaced with the parent directory of this file#
6 ################################################################################
6 ################################################################################
7
7
8 [DEFAULT]
8 [DEFAULT]
9 debug = true
9 debug = true
10 pdebug = false
10 pdebug = false
11 ################################################################################
11 ################################################################################
12 ## Uncomment and replace with the address which should receive ##
12 ## Uncomment and replace with the address which should receive ##
13 ## any error reports after application crash ##
13 ## any error reports after application crash ##
14 ## Additionally those settings will be used by RhodeCode mailing system ##
14 ## Additionally those settings will be used by RhodeCode mailing system ##
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 #email_prefix = [RhodeCode]
21
21
22 #smtp_server = mail.server.com
22 #smtp_server = mail.server.com
23 #smtp_username =
23 #smtp_username =
24 #smtp_password =
24 #smtp_password =
25 #smtp_port =
25 #smtp_port =
26 #smtp_use_tls = false
26 #smtp_use_tls = false
27 #smtp_use_ssl = true
27 #smtp_use_ssl = true
28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
29 #smtp_auth =
29 #smtp_auth =
30
30
31 [server:main]
31 [server:main]
32 ##nr of threads to spawn
32 ##nr of threads to spawn
33 #threadpool_workers = 5
33 #threadpool_workers = 5
34
34
35 ##max request before thread respawn
35 ##max request before thread respawn
36 #threadpool_max_requests = 10
36 #threadpool_max_requests = 10
37
37
38 ##option to use threads of process
38 ##option to use threads of process
39 #use_threadpool = true
39 #use_threadpool = true
40
40
41 #use = egg:Paste#http
41 #use = egg:Paste#http
42 use = egg:waitress#main
42 use = egg:waitress#main
43 host = 0.0.0.0
43 host = 0.0.0.0
44 port = 5000
44 port = 5000
45
45
46 [filter:proxy-prefix]
46 [filter:proxy-prefix]
47 # prefix middleware for rc
47 # prefix middleware for rc
48 use = egg:PasteDeploy#prefix
48 use = egg:PasteDeploy#prefix
49 prefix = /<your-prefix>
49 prefix = /<your-prefix>
50
50
51 [app:main]
51 [app:main]
52 use = egg:rhodecode
52 use = egg:rhodecode
53 #filter-with = proxy-prefix
53 #filter-with = proxy-prefix
54 full_stack = true
54 full_stack = true
55 static_files = true
55 static_files = true
56 # Optional Languages
56 # Optional Languages
57 # en, fr, ja, pt_BR, zh_CN, zh_TW
57 # en, fr, ja, pt_BR, zh_CN, zh_TW
58 lang = en
58 lang = en
59 cache_dir = %(here)s/data
59 cache_dir = %(here)s/data
60 index_dir = %(here)s/data/index
60 index_dir = %(here)s/data/index
61 app_instance_uuid = rc-develop
61 app_instance_uuid = rc-develop
62 cut_off_limit = 256000
62 cut_off_limit = 256000
63 force_https = false
63 force_https = false
64 commit_parse_limit = 25
64 commit_parse_limit = 25
65 use_gravatar = true
65 use_gravatar = true
66
67 ## alternative_gravatar_url allows you to use your own avatar server application
68 ## the following parts of the URL will be replaced
69 ## %(email)s user email
70 ## %(md5email)s md5 hash of the user email (like at gravatar.com)
71 ## %(size)s size of the image that is expected from the server application
72 #alternative_gravatar_url = http://myavatarserver.com/getbyemail/%(email)s/%(size)s
73 #alternative_gravatar_url = http://myavatarserver.com/getbymd5/%(md5email)s?s=%(size)s
74
66 container_auth_enabled = false
75 container_auth_enabled = false
67 proxypass_auth_enabled = false
76 proxypass_auth_enabled = false
68 default_encoding = utf8
77 default_encoding = utf8
69
78
70 ## overwrite schema of clone url
79 ## overwrite schema of clone url
71 ## available vars:
80 ## available vars:
72 ## scheme - http/https
81 ## scheme - http/https
73 ## user - current user
82 ## user - current user
74 ## pass - password
83 ## pass - password
75 ## netloc - network location
84 ## netloc - network location
76 ## path - usually repo_name
85 ## path - usually repo_name
77
86
78 #clone_uri = {scheme}://{user}{pass}{netloc}{path}
87 #clone_uri = {scheme}://{user}{pass}{netloc}{path}
79
88
80 ## issue tracking mapping for commits messages
89 ## issue tracking mapping for commits messages
81 ## comment out issue_pat, issue_server, issue_prefix to enable
90 ## comment out issue_pat, issue_server, issue_prefix to enable
82
91
83 ## pattern to get the issues from commit messages
92 ## pattern to get the issues from commit messages
84 ## default one used here is #<numbers> with a regex passive group for `#`
93 ## default one used here is #<numbers> with a regex passive group for `#`
85 ## {id} will be all groups matched from this pattern
94 ## {id} will be all groups matched from this pattern
86
95
87 issue_pat = (?:\s*#)(\d+)
96 issue_pat = (?:\s*#)(\d+)
88
97
89 ## server url to the issue, each {id} will be replaced with match
98 ## server url to the issue, each {id} will be replaced with match
90 ## fetched from the regex and {repo} is replaced with full repository name
99 ## fetched from the regex and {repo} is replaced with full repository name
91 ## including groups {repo_name} is replaced with just name of repo
100 ## including groups {repo_name} is replaced with just name of repo
92
101
93 issue_server_link = https://myissueserver.com/{repo}/issue/{id}
102 issue_server_link = https://myissueserver.com/{repo}/issue/{id}
94
103
95 ## prefix to add to link to indicate it's an url
104 ## prefix to add to link to indicate it's an url
96 ## #314 will be replaced by <issue_prefix><id>
105 ## #314 will be replaced by <issue_prefix><id>
97
106
98 issue_prefix = #
107 issue_prefix = #
99
108
100 ## instance-id prefix
109 ## instance-id prefix
101 ## a prefix key for this instance used for cache invalidation when running
110 ## a prefix key for this instance used for cache invalidation when running
102 ## multiple instances of rhodecode, make sure it's globally unique for
111 ## multiple instances of rhodecode, make sure it's globally unique for
103 ## all running rhodecode instances. Leave empty if you don't use it
112 ## all running rhodecode instances. Leave empty if you don't use it
104 instance_id =
113 instance_id =
105
114
106 ## alternative return HTTP header for failed authentication. Default HTTP
115 ## alternative return HTTP header for failed authentication. Default HTTP
107 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
116 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
108 ## handling that. Set this variable to 403 to return HTTPForbidden
117 ## handling that. Set this variable to 403 to return HTTPForbidden
109 auth_ret_code =
118 auth_ret_code =
110
119
111 ####################################
120 ####################################
112 ### CELERY CONFIG ####
121 ### CELERY CONFIG ####
113 ####################################
122 ####################################
114 use_celery = false
123 use_celery = false
115 broker.host = localhost
124 broker.host = localhost
116 broker.vhost = rabbitmqhost
125 broker.vhost = rabbitmqhost
117 broker.port = 5672
126 broker.port = 5672
118 broker.user = rabbitmq
127 broker.user = rabbitmq
119 broker.password = qweqwe
128 broker.password = qweqwe
120
129
121 celery.imports = rhodecode.lib.celerylib.tasks
130 celery.imports = rhodecode.lib.celerylib.tasks
122
131
123 celery.result.backend = amqp
132 celery.result.backend = amqp
124 celery.result.dburi = amqp://
133 celery.result.dburi = amqp://
125 celery.result.serialier = json
134 celery.result.serialier = json
126
135
127 #celery.send.task.error.emails = true
136 #celery.send.task.error.emails = true
128 #celery.amqp.task.result.expires = 18000
137 #celery.amqp.task.result.expires = 18000
129
138
130 celeryd.concurrency = 2
139 celeryd.concurrency = 2
131 #celeryd.log.file = celeryd.log
140 #celeryd.log.file = celeryd.log
132 celeryd.log.level = debug
141 celeryd.log.level = debug
133 celeryd.max.tasks.per.child = 1
142 celeryd.max.tasks.per.child = 1
134
143
135 #tasks will never be sent to the queue, but executed locally instead.
144 #tasks will never be sent to the queue, but executed locally instead.
136 celery.always.eager = false
145 celery.always.eager = false
137
146
138 ####################################
147 ####################################
139 ### BEAKER CACHE ####
148 ### BEAKER CACHE ####
140 ####################################
149 ####################################
141 beaker.cache.data_dir=%(here)s/data/cache/data
150 beaker.cache.data_dir=%(here)s/data/cache/data
142 beaker.cache.lock_dir=%(here)s/data/cache/lock
151 beaker.cache.lock_dir=%(here)s/data/cache/lock
143
152
144 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
153 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
145
154
146 beaker.cache.super_short_term.type=memory
155 beaker.cache.super_short_term.type=memory
147 beaker.cache.super_short_term.expire=10
156 beaker.cache.super_short_term.expire=10
148 beaker.cache.super_short_term.key_length = 256
157 beaker.cache.super_short_term.key_length = 256
149
158
150 beaker.cache.short_term.type=memory
159 beaker.cache.short_term.type=memory
151 beaker.cache.short_term.expire=60
160 beaker.cache.short_term.expire=60
152 beaker.cache.short_term.key_length = 256
161 beaker.cache.short_term.key_length = 256
153
162
154 beaker.cache.long_term.type=memory
163 beaker.cache.long_term.type=memory
155 beaker.cache.long_term.expire=36000
164 beaker.cache.long_term.expire=36000
156 beaker.cache.long_term.key_length = 256
165 beaker.cache.long_term.key_length = 256
157
166
158 beaker.cache.sql_cache_short.type=memory
167 beaker.cache.sql_cache_short.type=memory
159 beaker.cache.sql_cache_short.expire=10
168 beaker.cache.sql_cache_short.expire=10
160 beaker.cache.sql_cache_short.key_length = 256
169 beaker.cache.sql_cache_short.key_length = 256
161
170
162 beaker.cache.sql_cache_med.type=memory
171 beaker.cache.sql_cache_med.type=memory
163 beaker.cache.sql_cache_med.expire=360
172 beaker.cache.sql_cache_med.expire=360
164 beaker.cache.sql_cache_med.key_length = 256
173 beaker.cache.sql_cache_med.key_length = 256
165
174
166 beaker.cache.sql_cache_long.type=file
175 beaker.cache.sql_cache_long.type=file
167 beaker.cache.sql_cache_long.expire=3600
176 beaker.cache.sql_cache_long.expire=3600
168 beaker.cache.sql_cache_long.key_length = 256
177 beaker.cache.sql_cache_long.key_length = 256
169
178
170 ####################################
179 ####################################
171 ### BEAKER SESSION ####
180 ### BEAKER SESSION ####
172 ####################################
181 ####################################
173 ## Type of storage used for the session, current types are
182 ## Type of storage used for the session, current types are
174 ## dbm, file, memcached, database, and memory.
183 ## dbm, file, memcached, database, and memory.
175 ## The storage uses the Container API
184 ## The storage uses the Container API
176 ## that is also used by the cache system.
185 ## that is also used by the cache system.
177
186
178 ## db session ##
187 ## db session ##
179 #beaker.session.type = ext:database
188 #beaker.session.type = ext:database
180 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
189 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
181 #beaker.session.table_name = db_session
190 #beaker.session.table_name = db_session
182
191
183 ## encrypted cookie client side session, good for many instances ##
192 ## encrypted cookie client side session, good for many instances ##
184 #beaker.session.type = cookie
193 #beaker.session.type = cookie
185
194
186 ## file based cookies (default) ##
195 ## file based cookies (default) ##
187 #beaker.session.type = file
196 #beaker.session.type = file
188
197
189
198
190 beaker.session.key = rhodecode
199 beaker.session.key = rhodecode
191 ## secure cookie requires AES python libraries ##
200 ## secure cookie requires AES python libraries ##
192 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
201 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
193 #beaker.session.validate_key = 9712sds2212c--zxc123
202 #beaker.session.validate_key = 9712sds2212c--zxc123
194 ## sets session as invalid if it haven't been accessed for given amount of time
203 ## sets session as invalid if it haven't been accessed for given amount of time
195 beaker.session.timeout = 2592000
204 beaker.session.timeout = 2592000
196 beaker.session.httponly = true
205 beaker.session.httponly = true
197 #beaker.session.cookie_path = /<your-prefix>
206 #beaker.session.cookie_path = /<your-prefix>
198
207
199 ## uncomment for https secure cookie ##
208 ## uncomment for https secure cookie ##
200 beaker.session.secure = false
209 beaker.session.secure = false
201
210
202 ## auto save the session to not to use .save() ##
211 ## auto save the session to not to use .save() ##
203 beaker.session.auto = False
212 beaker.session.auto = False
204
213
205 ## default cookie expiration time in seconds `true` expire at browser close ##
214 ## default cookie expiration time in seconds `true` expire at browser close ##
206 #beaker.session.cookie_expires = 3600
215 #beaker.session.cookie_expires = 3600
207
216
208
217
209 ################################################################################
218 ################################################################################
210 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
219 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
211 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
220 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
212 ## execute malicious code after an exception is raised. ##
221 ## execute malicious code after an exception is raised. ##
213 ################################################################################
222 ################################################################################
214 #set debug = false
223 #set debug = false
215
224
216 ##################################
225 ##################################
217 ### LOGVIEW CONFIG ###
226 ### LOGVIEW CONFIG ###
218 ##################################
227 ##################################
219 logview.sqlalchemy = #faa
228 logview.sqlalchemy = #faa
220 logview.pylons.templating = #bfb
229 logview.pylons.templating = #bfb
221 logview.pylons.util = #eee
230 logview.pylons.util = #eee
222
231
223 #########################################################
232 #########################################################
224 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
233 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
225 #########################################################
234 #########################################################
226 #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db
235 #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db
227 sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode
236 sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode
228 sqlalchemy.db1.echo = false
237 sqlalchemy.db1.echo = false
229 sqlalchemy.db1.pool_recycle = 3600
238 sqlalchemy.db1.pool_recycle = 3600
230 sqlalchemy.db1.convert_unicode = true
239 sqlalchemy.db1.convert_unicode = true
231
240
232 ################################
241 ################################
233 ### LOGGING CONFIGURATION ####
242 ### LOGGING CONFIGURATION ####
234 ################################
243 ################################
235 [loggers]
244 [loggers]
236 keys = root, routes, rhodecode, sqlalchemy, beaker, templates, whoosh_indexer
245 keys = root, routes, rhodecode, sqlalchemy, beaker, templates, whoosh_indexer
237
246
238 [handlers]
247 [handlers]
239 keys = console, console_sql
248 keys = console, console_sql
240
249
241 [formatters]
250 [formatters]
242 keys = generic, color_formatter, color_formatter_sql
251 keys = generic, color_formatter, color_formatter_sql
243
252
244 #############
253 #############
245 ## LOGGERS ##
254 ## LOGGERS ##
246 #############
255 #############
247 [logger_root]
256 [logger_root]
248 level = NOTSET
257 level = NOTSET
249 handlers = console
258 handlers = console
250
259
251 [logger_routes]
260 [logger_routes]
252 level = DEBUG
261 level = DEBUG
253 handlers =
262 handlers =
254 qualname = routes.middleware
263 qualname = routes.middleware
255 # "level = DEBUG" logs the route matched and routing variables.
264 # "level = DEBUG" logs the route matched and routing variables.
256 propagate = 1
265 propagate = 1
257
266
258 [logger_beaker]
267 [logger_beaker]
259 level = DEBUG
268 level = DEBUG
260 handlers =
269 handlers =
261 qualname = beaker.container
270 qualname = beaker.container
262 propagate = 1
271 propagate = 1
263
272
264 [logger_templates]
273 [logger_templates]
265 level = INFO
274 level = INFO
266 handlers =
275 handlers =
267 qualname = pylons.templating
276 qualname = pylons.templating
268 propagate = 1
277 propagate = 1
269
278
270 [logger_rhodecode]
279 [logger_rhodecode]
271 level = DEBUG
280 level = DEBUG
272 handlers =
281 handlers =
273 qualname = rhodecode
282 qualname = rhodecode
274 propagate = 1
283 propagate = 1
275
284
276 [logger_sqlalchemy]
285 [logger_sqlalchemy]
277 level = INFO
286 level = INFO
278 handlers = console_sql
287 handlers = console_sql
279 qualname = sqlalchemy.engine
288 qualname = sqlalchemy.engine
280 propagate = 0
289 propagate = 0
281
290
282 [logger_whoosh_indexer]
291 [logger_whoosh_indexer]
283 level = DEBUG
292 level = DEBUG
284 handlers =
293 handlers =
285 qualname = whoosh_indexer
294 qualname = whoosh_indexer
286 propagate = 1
295 propagate = 1
287
296
288 ##############
297 ##############
289 ## HANDLERS ##
298 ## HANDLERS ##
290 ##############
299 ##############
291
300
292 [handler_console]
301 [handler_console]
293 class = StreamHandler
302 class = StreamHandler
294 args = (sys.stderr,)
303 args = (sys.stderr,)
295 level = DEBUG
304 level = DEBUG
296 formatter = color_formatter
305 formatter = color_formatter
297
306
298 [handler_console_sql]
307 [handler_console_sql]
299 class = StreamHandler
308 class = StreamHandler
300 args = (sys.stderr,)
309 args = (sys.stderr,)
301 level = DEBUG
310 level = DEBUG
302 formatter = color_formatter_sql
311 formatter = color_formatter_sql
303
312
304 ################
313 ################
305 ## FORMATTERS ##
314 ## FORMATTERS ##
306 ################
315 ################
307
316
308 [formatter_generic]
317 [formatter_generic]
309 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
318 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
310 datefmt = %Y-%m-%d %H:%M:%S
319 datefmt = %Y-%m-%d %H:%M:%S
311
320
312 [formatter_color_formatter]
321 [formatter_color_formatter]
313 class=rhodecode.lib.colored_formatter.ColorFormatter
322 class=rhodecode.lib.colored_formatter.ColorFormatter
314 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
323 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
315 datefmt = %Y-%m-%d %H:%M:%S
324 datefmt = %Y-%m-%d %H:%M:%S
316
325
317 [formatter_color_formatter_sql]
326 [formatter_color_formatter_sql]
318 class=rhodecode.lib.colored_formatter.ColorFormatterSql
327 class=rhodecode.lib.colored_formatter.ColorFormatterSql
319 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
328 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
320 datefmt = %Y-%m-%d %H:%M:%S
329 datefmt = %Y-%m-%d %H:%M:%S
@@ -1,710 +1,711 b''
1 .. _changelog:
1 .. _changelog:
2
2
3 =========
3 =========
4 Changelog
4 Changelog
5 =========
5 =========
6
6
7 1.4.0 (**2012-XX-XX**)
7 1.4.0 (**2012-XX-XX**)
8 ----------------------
8 ----------------------
9
9
10 :status: in-progress
10 :status: in-progress
11 :branch: beta
11 :branch: beta
12
12
13 news
13 news
14 ++++
14 ++++
15
15
16 - new codereview system
16 - new codereview system
17 - email map, allowing users to have multiple email addresses mapped into
17 - email map, allowing users to have multiple email addresses mapped into
18 their accounts
18 their accounts
19 - improved git-hook system. Now all actions for git are logged into journal
19 - improved git-hook system. Now all actions for git are logged into journal
20 including pushed revisions, user and IP address
20 including pushed revisions, user and IP address
21 - changed setup-app into setup-rhodecode and added default options to it.
21 - changed setup-app into setup-rhodecode and added default options to it.
22 - new git repos are created as bare now by default
22 - new git repos are created as bare now by default
23 - #464 added links to groups in permission box
23 - #464 added links to groups in permission box
24 - #465 mentions autocomplete inside comments boxes
24 - #465 mentions autocomplete inside comments boxes
25 - #469 added --update-only option to whoosh to re-index only given list
25 - #469 added --update-only option to whoosh to re-index only given list
26 of repos in index
26 of repos in index
27 - rhodecode-api CLI client
27 - rhodecode-api CLI client
28 - new git http protocol replaced buggy dulwich implementation.
28 - new git http protocol replaced buggy dulwich implementation.
29 Now based on pygrack & gitweb
29 Now based on pygrack & gitweb
30 - Improved RSS/ATOM feeds. Discoverable by browsers using proper headers, and
30 - Improved RSS/ATOM feeds. Discoverable by browsers using proper headers, and
31 reformated based on user suggestions. Additional rss/atom feeds for user
31 reformated based on user suggestions. Additional rss/atom feeds for user
32 journal
32 journal
33 - various i18n improvements
33 - various i18n improvements
34 - #478 permissions overview for admin in user edit view
34 - #478 permissions overview for admin in user edit view
35 - File view now displays small gravatars off all authors of given file
35 - File view now displays small gravatars off all authors of given file
36 - Implemented landing revisions. Each repository will get landing_rev attribute
36 - Implemented landing revisions. Each repository will get landing_rev attribute
37 that defines 'default' revision/branch for generating readme files
37 that defines 'default' revision/branch for generating readme files
38 - Implemented #509, RhodeCode enforces SSL for push/pulling if requested.
38 - Implemented #509, RhodeCode enforces SSL for push/pulling if requested.
39 - Import remote svn repositories to mercurial using hgsubversion
39 - Import remote svn repositories to mercurial using hgsubversion
40 - Fixed #508 RhodeCode now has a option to explicitly set forking permissions
40 - Fixed #508 RhodeCode now has a option to explicitly set forking permissions
41 - RhodeCode can use alternative server for generating avatar icons
41
42
42 fixes
43 fixes
43 +++++
44 +++++
44
45
45 - improved translations
46 - improved translations
46 - fixes issue #455 Creating an archive generates an exception on Windows
47 - fixes issue #455 Creating an archive generates an exception on Windows
47 - fixes #448 Download ZIP archive keeps file in /tmp open and results
48 - fixes #448 Download ZIP archive keeps file in /tmp open and results
48 in out of disk space
49 in out of disk space
49 - fixes issue #454 Search results under Windows include proceeding
50 - fixes issue #454 Search results under Windows include proceeding
50 backslash
51 backslash
51 - fixed issue #450. Rhodecode no longer will crash when bad revision is
52 - fixed issue #450. Rhodecode no longer will crash when bad revision is
52 present in journal data.
53 present in journal data.
53 - fix for issue #417, git execution was broken on windows for certain
54 - fix for issue #417, git execution was broken on windows for certain
54 commands.
55 commands.
55 - fixed #413. Don't disable .git directory for bare repos on deleting
56 - fixed #413. Don't disable .git directory for bare repos on deleting
56 - fixed issue #459. Changed the way of obtaining logger in reindex task.
57 - fixed issue #459. Changed the way of obtaining logger in reindex task.
57 - fixed #453 added ID field in whoosh SCHEMA that solves the issue of
58 - fixed #453 added ID field in whoosh SCHEMA that solves the issue of
58 reindexing modified files
59 reindexing modified files
59 - fixed #481 rhodecode emails are sent without Date header
60 - fixed #481 rhodecode emails are sent without Date header
60 - fixed #458 wrong count when no repos are present
61 - fixed #458 wrong count when no repos are present
61 - fixed issue #492 missing `\ No newline at end of file` test at the end of
62 - fixed issue #492 missing `\ No newline at end of file` test at the end of
62 new chunk in html diff
63 new chunk in html diff
63 - full text search now works also for commit messages
64 - full text search now works also for commit messages
64
65
65 1.3.6 (**2012-05-17**)
66 1.3.6 (**2012-05-17**)
66 ----------------------
67 ----------------------
67
68
68 news
69 news
69 ++++
70 ++++
70
71
71 - chinese traditional translation
72 - chinese traditional translation
72 - changed setup-app into setup-rhodecode and added arguments for auto-setup
73 - changed setup-app into setup-rhodecode and added arguments for auto-setup
73 mode that doesn't need user interaction
74 mode that doesn't need user interaction
74
75
75 fixes
76 fixes
76 +++++
77 +++++
77
78
78 - fixed no scm found warning
79 - fixed no scm found warning
79 - fixed __future__ import error on rcextensions
80 - fixed __future__ import error on rcextensions
80 - made simplejson required lib for speedup on JSON encoding
81 - made simplejson required lib for speedup on JSON encoding
81 - fixes #449 bad regex could get more than revisions from parsing history
82 - fixes #449 bad regex could get more than revisions from parsing history
82 - don't clear DB session when CELERY_EAGER is turned ON
83 - don't clear DB session when CELERY_EAGER is turned ON
83
84
84 1.3.5 (**2012-05-10**)
85 1.3.5 (**2012-05-10**)
85 ----------------------
86 ----------------------
86
87
87 news
88 news
88 ++++
89 ++++
89
90
90 - use ext_json for json module
91 - use ext_json for json module
91 - unified annotation view with file source view
92 - unified annotation view with file source view
92 - notification improvements, better inbox + css
93 - notification improvements, better inbox + css
93 - #419 don't strip passwords for login forms, make rhodecode
94 - #419 don't strip passwords for login forms, make rhodecode
94 more compatible with LDAP servers
95 more compatible with LDAP servers
95 - Added HTTP_X_FORWARDED_FOR as another method of extracting
96 - Added HTTP_X_FORWARDED_FOR as another method of extracting
96 IP for pull/push logs. - moved all to base controller
97 IP for pull/push logs. - moved all to base controller
97 - #415: Adding comment to changeset causes reload.
98 - #415: Adding comment to changeset causes reload.
98 Comments are now added via ajax and doesn't reload the page
99 Comments are now added via ajax and doesn't reload the page
99 - #374 LDAP config is discarded when LDAP can't be activated
100 - #374 LDAP config is discarded when LDAP can't be activated
100 - limited push/pull operations are now logged for git in the journal
101 - limited push/pull operations are now logged for git in the journal
101 - bumped mercurial to 2.2.X series
102 - bumped mercurial to 2.2.X series
102 - added support for displaying submodules in file-browser
103 - added support for displaying submodules in file-browser
103 - #421 added bookmarks in changelog view
104 - #421 added bookmarks in changelog view
104
105
105 fixes
106 fixes
106 +++++
107 +++++
107
108
108 - fixed dev-version marker for stable when served from source codes
109 - fixed dev-version marker for stable when served from source codes
109 - fixed missing permission checks on show forks page
110 - fixed missing permission checks on show forks page
110 - #418 cast to unicode fixes in notification objects
111 - #418 cast to unicode fixes in notification objects
111 - #426 fixed mention extracting regex
112 - #426 fixed mention extracting regex
112 - fixed remote-pulling for git remotes remopositories
113 - fixed remote-pulling for git remotes remopositories
113 - fixed #434: Error when accessing files or changesets of a git repository
114 - fixed #434: Error when accessing files or changesets of a git repository
114 with submodules
115 with submodules
115 - fixed issue with empty APIKEYS for users after registration ref. #438
116 - fixed issue with empty APIKEYS for users after registration ref. #438
116 - fixed issue with getting README files from git repositories
117 - fixed issue with getting README files from git repositories
117
118
118 1.3.4 (**2012-03-28**)
119 1.3.4 (**2012-03-28**)
119 ----------------------
120 ----------------------
120
121
121 news
122 news
122 ++++
123 ++++
123
124
124 - Whoosh logging is now controlled by the .ini files logging setup
125 - Whoosh logging is now controlled by the .ini files logging setup
125 - added clone-url into edit form on /settings page
126 - added clone-url into edit form on /settings page
126 - added help text into repo add/edit forms
127 - added help text into repo add/edit forms
127 - created rcextensions module with additional mappings (ref #322) and
128 - created rcextensions module with additional mappings (ref #322) and
128 post push/pull/create repo hooks callbacks
129 post push/pull/create repo hooks callbacks
129 - implemented #377 Users view for his own permissions on account page
130 - implemented #377 Users view for his own permissions on account page
130 - #399 added inheritance of permissions for users group on repos groups
131 - #399 added inheritance of permissions for users group on repos groups
131 - #401 repository group is automatically pre-selected when adding repos
132 - #401 repository group is automatically pre-selected when adding repos
132 inside a repository group
133 inside a repository group
133 - added alternative HTTP 403 response when client failed to authenticate. Helps
134 - added alternative HTTP 403 response when client failed to authenticate. Helps
134 solving issues with Mercurial and LDAP
135 solving issues with Mercurial and LDAP
135 - #402 removed group prefix from repository name when listing repositories
136 - #402 removed group prefix from repository name when listing repositories
136 inside a group
137 inside a group
137 - added gravatars into permission view and permissions autocomplete
138 - added gravatars into permission view and permissions autocomplete
138 - #347 when running multiple RhodeCode instances, properly invalidates cache
139 - #347 when running multiple RhodeCode instances, properly invalidates cache
139 for all registered servers
140 for all registered servers
140
141
141 fixes
142 fixes
142 +++++
143 +++++
143
144
144 - fixed #390 cache invalidation problems on repos inside group
145 - fixed #390 cache invalidation problems on repos inside group
145 - fixed #385 clone by ID url was loosing proxy prefix in URL
146 - fixed #385 clone by ID url was loosing proxy prefix in URL
146 - fixed some unicode problems with waitress
147 - fixed some unicode problems with waitress
147 - fixed issue with escaping < and > in changeset commits
148 - fixed issue with escaping < and > in changeset commits
148 - fixed error occurring during recursive group creation in API
149 - fixed error occurring during recursive group creation in API
149 create_repo function
150 create_repo function
150 - fixed #393 py2.5 fixes for routes url generator
151 - fixed #393 py2.5 fixes for routes url generator
151 - fixed #397 Private repository groups shows up before login
152 - fixed #397 Private repository groups shows up before login
152 - fixed #396 fixed problems with revoking users in nested groups
153 - fixed #396 fixed problems with revoking users in nested groups
153 - fixed mysql unicode issues + specified InnoDB as default engine with
154 - fixed mysql unicode issues + specified InnoDB as default engine with
154 utf8 charset
155 utf8 charset
155 - #406 trim long branch/tag names in changelog to not break UI
156 - #406 trim long branch/tag names in changelog to not break UI
156
157
157 1.3.3 (**2012-03-02**)
158 1.3.3 (**2012-03-02**)
158 ----------------------
159 ----------------------
159
160
160 news
161 news
161 ++++
162 ++++
162
163
163
164
164 fixes
165 fixes
165 +++++
166 +++++
166
167
167 - fixed some python2.5 compatibility issues
168 - fixed some python2.5 compatibility issues
168 - fixed issues with removed repos was accidentally added as groups, after
169 - fixed issues with removed repos was accidentally added as groups, after
169 full rescan of paths
170 full rescan of paths
170 - fixes #376 Cannot edit user (using container auth)
171 - fixes #376 Cannot edit user (using container auth)
171 - fixes #378 Invalid image urls on changeset screen with proxy-prefix
172 - fixes #378 Invalid image urls on changeset screen with proxy-prefix
172 configuration
173 configuration
173 - fixed initial sorting of repos inside repo group
174 - fixed initial sorting of repos inside repo group
174 - fixes issue when user tried to resubmit same permission into user/user_groups
175 - fixes issue when user tried to resubmit same permission into user/user_groups
175 - bumped beaker version that fixes #375 leap error bug
176 - bumped beaker version that fixes #375 leap error bug
176 - fixed raw_changeset for git. It was generated with hg patch headers
177 - fixed raw_changeset for git. It was generated with hg patch headers
177 - fixed vcs issue with last_changeset for filenodes
178 - fixed vcs issue with last_changeset for filenodes
178 - fixed missing commit after hook delete
179 - fixed missing commit after hook delete
179 - fixed #372 issues with git operation detection that caused a security issue
180 - fixed #372 issues with git operation detection that caused a security issue
180 for git repos
181 for git repos
181
182
182 1.3.2 (**2012-02-28**)
183 1.3.2 (**2012-02-28**)
183 ----------------------
184 ----------------------
184
185
185 news
186 news
186 ++++
187 ++++
187
188
188
189
189 fixes
190 fixes
190 +++++
191 +++++
191
192
192 - fixed git protocol issues with repos-groups
193 - fixed git protocol issues with repos-groups
193 - fixed git remote repos validator that prevented from cloning remote git repos
194 - fixed git remote repos validator that prevented from cloning remote git repos
194 - fixes #370 ending slashes fixes for repo and groups
195 - fixes #370 ending slashes fixes for repo and groups
195 - fixes #368 improved git-protocol detection to handle other clients
196 - fixes #368 improved git-protocol detection to handle other clients
196 - fixes #366 When Setting Repository Group To Blank Repo Group Wont Be
197 - fixes #366 When Setting Repository Group To Blank Repo Group Wont Be
197 Moved To Root
198 Moved To Root
198 - fixes #371 fixed issues with beaker/sqlalchemy and non-ascii cache keys
199 - fixes #371 fixed issues with beaker/sqlalchemy and non-ascii cache keys
199 - fixed #373 missing cascade drop on user_group_to_perm table
200 - fixed #373 missing cascade drop on user_group_to_perm table
200
201
201 1.3.1 (**2012-02-27**)
202 1.3.1 (**2012-02-27**)
202 ----------------------
203 ----------------------
203
204
204 news
205 news
205 ++++
206 ++++
206
207
207
208
208 fixes
209 fixes
209 +++++
210 +++++
210
211
211 - redirection loop occurs when remember-me wasn't checked during login
212 - redirection loop occurs when remember-me wasn't checked during login
212 - fixes issues with git blob history generation
213 - fixes issues with git blob history generation
213 - don't fetch branch for git in file history dropdown. Causes unneeded slowness
214 - don't fetch branch for git in file history dropdown. Causes unneeded slowness
214
215
215 1.3.0 (**2012-02-26**)
216 1.3.0 (**2012-02-26**)
216 ----------------------
217 ----------------------
217
218
218 news
219 news
219 ++++
220 ++++
220
221
221 - code review, inspired by github code-comments
222 - code review, inspired by github code-comments
222 - #215 rst and markdown README files support
223 - #215 rst and markdown README files support
223 - #252 Container-based and proxy pass-through authentication support
224 - #252 Container-based and proxy pass-through authentication support
224 - #44 branch browser. Filtering of changelog by branches
225 - #44 branch browser. Filtering of changelog by branches
225 - mercurial bookmarks support
226 - mercurial bookmarks support
226 - new hover top menu, optimized to add maximum size for important views
227 - new hover top menu, optimized to add maximum size for important views
227 - configurable clone url template with possibility to specify protocol like
228 - configurable clone url template with possibility to specify protocol like
228 ssh:// or http:// and also manually alter other parts of clone_url.
229 ssh:// or http:// and also manually alter other parts of clone_url.
229 - enabled largefiles extension by default
230 - enabled largefiles extension by default
230 - optimized summary file pages and saved a lot of unused space in them
231 - optimized summary file pages and saved a lot of unused space in them
231 - #239 option to manually mark repository as fork
232 - #239 option to manually mark repository as fork
232 - #320 mapping of commit authors to RhodeCode users
233 - #320 mapping of commit authors to RhodeCode users
233 - #304 hashes are displayed using monospace font
234 - #304 hashes are displayed using monospace font
234 - diff configuration, toggle white lines and context lines
235 - diff configuration, toggle white lines and context lines
235 - #307 configurable diffs, whitespace toggle, increasing context lines
236 - #307 configurable diffs, whitespace toggle, increasing context lines
236 - sorting on branches, tags and bookmarks using YUI datatable
237 - sorting on branches, tags and bookmarks using YUI datatable
237 - improved file filter on files page
238 - improved file filter on files page
238 - implements #330 api method for listing nodes ar particular revision
239 - implements #330 api method for listing nodes ar particular revision
239 - #73 added linking issues in commit messages to chosen issue tracker url
240 - #73 added linking issues in commit messages to chosen issue tracker url
240 based on user defined regular expression
241 based on user defined regular expression
241 - added linking of changesets in commit messages
242 - added linking of changesets in commit messages
242 - new compact changelog with expandable commit messages
243 - new compact changelog with expandable commit messages
243 - firstname and lastname are optional in user creation
244 - firstname and lastname are optional in user creation
244 - #348 added post-create repository hook
245 - #348 added post-create repository hook
245 - #212 global encoding settings is now configurable from .ini files
246 - #212 global encoding settings is now configurable from .ini files
246 - #227 added repository groups permissions
247 - #227 added repository groups permissions
247 - markdown gets codehilite extensions
248 - markdown gets codehilite extensions
248 - new API methods, delete_repositories, grante/revoke permissions for groups
249 - new API methods, delete_repositories, grante/revoke permissions for groups
249 and repos
250 and repos
250
251
251
252
252 fixes
253 fixes
253 +++++
254 +++++
254
255
255 - rewrote dbsession management for atomic operations, and better error handling
256 - rewrote dbsession management for atomic operations, and better error handling
256 - fixed sorting of repo tables
257 - fixed sorting of repo tables
257 - #326 escape of special html entities in diffs
258 - #326 escape of special html entities in diffs
258 - normalized user_name => username in api attributes
259 - normalized user_name => username in api attributes
259 - fixes #298 ldap created users with mixed case emails created conflicts
260 - fixes #298 ldap created users with mixed case emails created conflicts
260 on saving a form
261 on saving a form
261 - fixes issue when owner of a repo couldn't revoke permissions for users
262 - fixes issue when owner of a repo couldn't revoke permissions for users
262 and groups
263 and groups
263 - fixes #271 rare JSON serialization problem with statistics
264 - fixes #271 rare JSON serialization problem with statistics
264 - fixes #337 missing validation check for conflicting names of a group with a
265 - fixes #337 missing validation check for conflicting names of a group with a
265 repositories group
266 repositories group
266 - #340 fixed session problem for mysql and celery tasks
267 - #340 fixed session problem for mysql and celery tasks
267 - fixed #331 RhodeCode mangles repository names if the a repository group
268 - fixed #331 RhodeCode mangles repository names if the a repository group
268 contains the "full path" to the repositories
269 contains the "full path" to the repositories
269 - #355 RhodeCode doesn't store encrypted LDAP passwords
270 - #355 RhodeCode doesn't store encrypted LDAP passwords
270
271
271 1.2.5 (**2012-01-28**)
272 1.2.5 (**2012-01-28**)
272 ----------------------
273 ----------------------
273
274
274 news
275 news
275 ++++
276 ++++
276
277
277 fixes
278 fixes
278 +++++
279 +++++
279
280
280 - #340 Celery complains about MySQL server gone away, added session cleanup
281 - #340 Celery complains about MySQL server gone away, added session cleanup
281 for celery tasks
282 for celery tasks
282 - #341 "scanning for repositories in None" log message during Rescan was missing
283 - #341 "scanning for repositories in None" log message during Rescan was missing
283 a parameter
284 a parameter
284 - fixed creating archives with subrepos. Some hooks were triggered during that
285 - fixed creating archives with subrepos. Some hooks were triggered during that
285 operation leading to crash.
286 operation leading to crash.
286 - fixed missing email in account page.
287 - fixed missing email in account page.
287 - Reverted Mercurial to 2.0.1 for windows due to bug in Mercurial that makes
288 - Reverted Mercurial to 2.0.1 for windows due to bug in Mercurial that makes
288 forking on windows impossible
289 forking on windows impossible
289
290
290 1.2.4 (**2012-01-19**)
291 1.2.4 (**2012-01-19**)
291 ----------------------
292 ----------------------
292
293
293 news
294 news
294 ++++
295 ++++
295
296
296 - RhodeCode is bundled with mercurial series 2.0.X by default, with
297 - RhodeCode is bundled with mercurial series 2.0.X by default, with
297 full support to largefiles extension. Enabled by default in new installations
298 full support to largefiles extension. Enabled by default in new installations
298 - #329 Ability to Add/Remove Groups to/from a Repository via AP
299 - #329 Ability to Add/Remove Groups to/from a Repository via AP
299 - added requires.txt file with requirements
300 - added requires.txt file with requirements
300
301
301 fixes
302 fixes
302 +++++
303 +++++
303
304
304 - fixes db session issues with celery when emailing admins
305 - fixes db session issues with celery when emailing admins
305 - #331 RhodeCode mangles repository names if the a repository group
306 - #331 RhodeCode mangles repository names if the a repository group
306 contains the "full path" to the repositories
307 contains the "full path" to the repositories
307 - #298 Conflicting e-mail addresses for LDAP and RhodeCode users
308 - #298 Conflicting e-mail addresses for LDAP and RhodeCode users
308 - DB session cleanup after hg protocol operations, fixes issues with
309 - DB session cleanup after hg protocol operations, fixes issues with
309 `mysql has gone away` errors
310 `mysql has gone away` errors
310 - #333 doc fixes for get_repo api function
311 - #333 doc fixes for get_repo api function
311 - #271 rare JSON serialization problem with statistics enabled
312 - #271 rare JSON serialization problem with statistics enabled
312 - #337 Fixes issues with validation of repository name conflicting with
313 - #337 Fixes issues with validation of repository name conflicting with
313 a group name. A proper message is now displayed.
314 a group name. A proper message is now displayed.
314 - #292 made ldap_dn in user edit readonly, to get rid of confusion that field
315 - #292 made ldap_dn in user edit readonly, to get rid of confusion that field
315 doesn't work
316 doesn't work
316 - #316 fixes issues with web description in hgrc files
317 - #316 fixes issues with web description in hgrc files
317
318
318 1.2.3 (**2011-11-02**)
319 1.2.3 (**2011-11-02**)
319 ----------------------
320 ----------------------
320
321
321 news
322 news
322 ++++
323 ++++
323
324
324 - added option to manage repos group for non admin users
325 - added option to manage repos group for non admin users
325 - added following API methods for get_users, create_user, get_users_groups,
326 - added following API methods for get_users, create_user, get_users_groups,
326 get_users_group, create_users_group, add_user_to_users_groups, get_repos,
327 get_users_group, create_users_group, add_user_to_users_groups, get_repos,
327 get_repo, create_repo, add_user_to_repo
328 get_repo, create_repo, add_user_to_repo
328 - implements #237 added password confirmation for my account
329 - implements #237 added password confirmation for my account
329 and admin edit user.
330 and admin edit user.
330 - implements #291 email notification for global events are now sent to all
331 - implements #291 email notification for global events are now sent to all
331 administrator users, and global config email.
332 administrator users, and global config email.
332
333
333 fixes
334 fixes
334 +++++
335 +++++
335
336
336 - added option for passing auth method for smtp mailer
337 - added option for passing auth method for smtp mailer
337 - #276 issue with adding a single user with id>10 to usergroups
338 - #276 issue with adding a single user with id>10 to usergroups
338 - #277 fixes windows LDAP settings in which missing values breaks the ldap auth
339 - #277 fixes windows LDAP settings in which missing values breaks the ldap auth
339 - #288 fixes managing of repos in a group for non admin user
340 - #288 fixes managing of repos in a group for non admin user
340
341
341 1.2.2 (**2011-10-17**)
342 1.2.2 (**2011-10-17**)
342 ----------------------
343 ----------------------
343
344
344 news
345 news
345 ++++
346 ++++
346
347
347 - #226 repo groups are available by path instead of numerical id
348 - #226 repo groups are available by path instead of numerical id
348
349
349 fixes
350 fixes
350 +++++
351 +++++
351
352
352 - #259 Groups with the same name but with different parent group
353 - #259 Groups with the same name but with different parent group
353 - #260 Put repo in group, then move group to another group -> repo becomes unavailable
354 - #260 Put repo in group, then move group to another group -> repo becomes unavailable
354 - #258 RhodeCode 1.2 assumes egg folder is writable (lockfiles problems)
355 - #258 RhodeCode 1.2 assumes egg folder is writable (lockfiles problems)
355 - #265 ldap save fails sometimes on converting attributes to booleans,
356 - #265 ldap save fails sometimes on converting attributes to booleans,
356 added getter and setter into model that will prevent from this on db model level
357 added getter and setter into model that will prevent from this on db model level
357 - fixed problems with timestamps issues #251 and #213
358 - fixed problems with timestamps issues #251 and #213
358 - fixes #266 RhodeCode allows to create repo with the same name and in
359 - fixes #266 RhodeCode allows to create repo with the same name and in
359 the same parent as group
360 the same parent as group
360 - fixes #245 Rescan of the repositories on Windows
361 - fixes #245 Rescan of the repositories on Windows
361 - fixes #248 cannot edit repos inside a group on windows
362 - fixes #248 cannot edit repos inside a group on windows
362 - fixes #219 forking problems on windows
363 - fixes #219 forking problems on windows
363
364
364 1.2.1 (**2011-10-08**)
365 1.2.1 (**2011-10-08**)
365 ----------------------
366 ----------------------
366
367
367 news
368 news
368 ++++
369 ++++
369
370
370
371
371 fixes
372 fixes
372 +++++
373 +++++
373
374
374 - fixed problems with basic auth and push problems
375 - fixed problems with basic auth and push problems
375 - gui fixes
376 - gui fixes
376 - fixed logger
377 - fixed logger
377
378
378 1.2.0 (**2011-10-07**)
379 1.2.0 (**2011-10-07**)
379 ----------------------
380 ----------------------
380
381
381 news
382 news
382 ++++
383 ++++
383
384
384 - implemented #47 repository groups
385 - implemented #47 repository groups
385 - implemented #89 Can setup google analytics code from settings menu
386 - implemented #89 Can setup google analytics code from settings menu
386 - implemented #91 added nicer looking archive urls with more download options
387 - implemented #91 added nicer looking archive urls with more download options
387 like tags, branches
388 like tags, branches
388 - implemented #44 into file browsing, and added follow branch option
389 - implemented #44 into file browsing, and added follow branch option
389 - implemented #84 downloads can be enabled/disabled for each repository
390 - implemented #84 downloads can be enabled/disabled for each repository
390 - anonymous repository can be cloned without having to pass default:default
391 - anonymous repository can be cloned without having to pass default:default
391 into clone url
392 into clone url
392 - fixed #90 whoosh indexer can index chooses repositories passed in command
393 - fixed #90 whoosh indexer can index chooses repositories passed in command
393 line
394 line
394 - extended journal with day aggregates and paging
395 - extended journal with day aggregates and paging
395 - implemented #107 source code lines highlight ranges
396 - implemented #107 source code lines highlight ranges
396 - implemented #93 customizable changelog on combined revision ranges -
397 - implemented #93 customizable changelog on combined revision ranges -
397 equivalent of githubs compare view
398 equivalent of githubs compare view
398 - implemented #108 extended and more powerful LDAP configuration
399 - implemented #108 extended and more powerful LDAP configuration
399 - implemented #56 users groups
400 - implemented #56 users groups
400 - major code rewrites optimized codes for speed and memory usage
401 - major code rewrites optimized codes for speed and memory usage
401 - raw and diff downloads are now in git format
402 - raw and diff downloads are now in git format
402 - setup command checks for write access to given path
403 - setup command checks for write access to given path
403 - fixed many issues with international characters and unicode. It uses utf8
404 - fixed many issues with international characters and unicode. It uses utf8
404 decode with replace to provide less errors even with non utf8 encoded strings
405 decode with replace to provide less errors even with non utf8 encoded strings
405 - #125 added API KEY access to feeds
406 - #125 added API KEY access to feeds
406 - #109 Repository can be created from external Mercurial link (aka. remote
407 - #109 Repository can be created from external Mercurial link (aka. remote
407 repository, and manually updated (via pull) from admin panel
408 repository, and manually updated (via pull) from admin panel
408 - beta git support - push/pull server + basic view for git repos
409 - beta git support - push/pull server + basic view for git repos
409 - added followers page and forks page
410 - added followers page and forks page
410 - server side file creation (with binary file upload interface)
411 - server side file creation (with binary file upload interface)
411 and edition with commits powered by codemirror
412 and edition with commits powered by codemirror
412 - #111 file browser file finder, quick lookup files on whole file tree
413 - #111 file browser file finder, quick lookup files on whole file tree
413 - added quick login sliding menu into main page
414 - added quick login sliding menu into main page
414 - changelog uses lazy loading of affected files details, in some scenarios
415 - changelog uses lazy loading of affected files details, in some scenarios
415 this can improve speed of changelog page dramatically especially for
416 this can improve speed of changelog page dramatically especially for
416 larger repositories.
417 larger repositories.
417 - implements #214 added support for downloading subrepos in download menu.
418 - implements #214 added support for downloading subrepos in download menu.
418 - Added basic API for direct operations on rhodecode via JSON
419 - Added basic API for direct operations on rhodecode via JSON
419 - Implemented advanced hook management
420 - Implemented advanced hook management
420
421
421 fixes
422 fixes
422 +++++
423 +++++
423
424
424 - fixed file browser bug, when switching into given form revision the url was
425 - fixed file browser bug, when switching into given form revision the url was
425 not changing
426 not changing
426 - fixed propagation to error controller on simplehg and simplegit middlewares
427 - fixed propagation to error controller on simplehg and simplegit middlewares
427 - fixed error when trying to make a download on empty repository
428 - fixed error when trying to make a download on empty repository
428 - fixed problem with '[' chars in commit messages in journal
429 - fixed problem with '[' chars in commit messages in journal
429 - fixed #99 Unicode errors, on file node paths with non utf-8 characters
430 - fixed #99 Unicode errors, on file node paths with non utf-8 characters
430 - journal fork fixes
431 - journal fork fixes
431 - removed issue with space inside renamed repository after deletion
432 - removed issue with space inside renamed repository after deletion
432 - fixed strange issue on formencode imports
433 - fixed strange issue on formencode imports
433 - fixed #126 Deleting repository on Windows, rename used incompatible chars.
434 - fixed #126 Deleting repository on Windows, rename used incompatible chars.
434 - #150 fixes for errors on repositories mapped in db but corrupted in
435 - #150 fixes for errors on repositories mapped in db but corrupted in
435 filesystem
436 filesystem
436 - fixed problem with ascendant characters in realm #181
437 - fixed problem with ascendant characters in realm #181
437 - fixed problem with sqlite file based database connection pool
438 - fixed problem with sqlite file based database connection pool
438 - whoosh indexer and code stats share the same dynamic extensions map
439 - whoosh indexer and code stats share the same dynamic extensions map
439 - fixes #188 - relationship delete of repo_to_perm entry on user removal
440 - fixes #188 - relationship delete of repo_to_perm entry on user removal
440 - fixes issue #189 Trending source files shows "show more" when no more exist
441 - fixes issue #189 Trending source files shows "show more" when no more exist
441 - fixes issue #197 Relative paths for pidlocks
442 - fixes issue #197 Relative paths for pidlocks
442 - fixes issue #198 password will require only 3 chars now for login form
443 - fixes issue #198 password will require only 3 chars now for login form
443 - fixes issue #199 wrong redirection for non admin users after creating a repository
444 - fixes issue #199 wrong redirection for non admin users after creating a repository
444 - fixes issues #202, bad db constraint made impossible to attach same group
445 - fixes issues #202, bad db constraint made impossible to attach same group
445 more than one time. Affects only mysql/postgres
446 more than one time. Affects only mysql/postgres
446 - fixes #218 os.kill patch for windows was missing sig param
447 - fixes #218 os.kill patch for windows was missing sig param
447 - improved rendering of dag (they are not trimmed anymore when number of
448 - improved rendering of dag (they are not trimmed anymore when number of
448 heads exceeds 5)
449 heads exceeds 5)
449
450
450 1.1.8 (**2011-04-12**)
451 1.1.8 (**2011-04-12**)
451 ----------------------
452 ----------------------
452
453
453 news
454 news
454 ++++
455 ++++
455
456
456 - improved windows support
457 - improved windows support
457
458
458 fixes
459 fixes
459 +++++
460 +++++
460
461
461 - fixed #140 freeze of python dateutil library, since new version is python2.x
462 - fixed #140 freeze of python dateutil library, since new version is python2.x
462 incompatible
463 incompatible
463 - setup-app will check for write permission in given path
464 - setup-app will check for write permission in given path
464 - cleaned up license info issue #149
465 - cleaned up license info issue #149
465 - fixes for issues #137,#116 and problems with unicode and accented characters.
466 - fixes for issues #137,#116 and problems with unicode and accented characters.
466 - fixes crashes on gravatar, when passed in email as unicode
467 - fixes crashes on gravatar, when passed in email as unicode
467 - fixed tooltip flickering problems
468 - fixed tooltip flickering problems
468 - fixed came_from redirection on windows
469 - fixed came_from redirection on windows
469 - fixed logging modules, and sql formatters
470 - fixed logging modules, and sql formatters
470 - windows fixes for os.kill issue #133
471 - windows fixes for os.kill issue #133
471 - fixes path splitting for windows issues #148
472 - fixes path splitting for windows issues #148
472 - fixed issue #143 wrong import on migration to 1.1.X
473 - fixed issue #143 wrong import on migration to 1.1.X
473 - fixed problems with displaying binary files, thanks to Thomas Waldmann
474 - fixed problems with displaying binary files, thanks to Thomas Waldmann
474 - removed name from archive files since it's breaking ui for long repo names
475 - removed name from archive files since it's breaking ui for long repo names
475 - fixed issue with archive headers sent to browser, thanks to Thomas Waldmann
476 - fixed issue with archive headers sent to browser, thanks to Thomas Waldmann
476 - fixed compatibility for 1024px displays, and larger dpi settings, thanks to
477 - fixed compatibility for 1024px displays, and larger dpi settings, thanks to
477 Thomas Waldmann
478 Thomas Waldmann
478 - fixed issue #166 summary pager was skipping 10 revisions on second page
479 - fixed issue #166 summary pager was skipping 10 revisions on second page
479
480
480
481
481 1.1.7 (**2011-03-23**)
482 1.1.7 (**2011-03-23**)
482 ----------------------
483 ----------------------
483
484
484 news
485 news
485 ++++
486 ++++
486
487
487 fixes
488 fixes
488 +++++
489 +++++
489
490
490 - fixed (again) #136 installation support for FreeBSD
491 - fixed (again) #136 installation support for FreeBSD
491
492
492
493
493 1.1.6 (**2011-03-21**)
494 1.1.6 (**2011-03-21**)
494 ----------------------
495 ----------------------
495
496
496 news
497 news
497 ++++
498 ++++
498
499
499 fixes
500 fixes
500 +++++
501 +++++
501
502
502 - fixed #136 installation support for FreeBSD
503 - fixed #136 installation support for FreeBSD
503 - RhodeCode will check for python version during installation
504 - RhodeCode will check for python version during installation
504
505
505 1.1.5 (**2011-03-17**)
506 1.1.5 (**2011-03-17**)
506 ----------------------
507 ----------------------
507
508
508 news
509 news
509 ++++
510 ++++
510
511
511 - basic windows support, by exchanging pybcrypt into sha256 for windows only
512 - basic windows support, by exchanging pybcrypt into sha256 for windows only
512 highly inspired by idea of mantis406
513 highly inspired by idea of mantis406
513
514
514 fixes
515 fixes
515 +++++
516 +++++
516
517
517 - fixed sorting by author in main page
518 - fixed sorting by author in main page
518 - fixed crashes with diffs on binary files
519 - fixed crashes with diffs on binary files
519 - fixed #131 problem with boolean values for LDAP
520 - fixed #131 problem with boolean values for LDAP
520 - fixed #122 mysql problems thanks to striker69
521 - fixed #122 mysql problems thanks to striker69
521 - fixed problem with errors on calling raw/raw_files/annotate functions
522 - fixed problem with errors on calling raw/raw_files/annotate functions
522 with unknown revisions
523 with unknown revisions
523 - fixed returned rawfiles attachment names with international character
524 - fixed returned rawfiles attachment names with international character
524 - cleaned out docs, big thanks to Jason Harris
525 - cleaned out docs, big thanks to Jason Harris
525
526
526 1.1.4 (**2011-02-19**)
527 1.1.4 (**2011-02-19**)
527 ----------------------
528 ----------------------
528
529
529 news
530 news
530 ++++
531 ++++
531
532
532 fixes
533 fixes
533 +++++
534 +++++
534
535
535 - fixed formencode import problem on settings page, that caused server crash
536 - fixed formencode import problem on settings page, that caused server crash
536 when that page was accessed as first after server start
537 when that page was accessed as first after server start
537 - journal fixes
538 - journal fixes
538 - fixed option to access repository just by entering http://server/<repo_name>
539 - fixed option to access repository just by entering http://server/<repo_name>
539
540
540 1.1.3 (**2011-02-16**)
541 1.1.3 (**2011-02-16**)
541 ----------------------
542 ----------------------
542
543
543 news
544 news
544 ++++
545 ++++
545
546
546 - implemented #102 allowing the '.' character in username
547 - implemented #102 allowing the '.' character in username
547 - added option to access repository just by entering http://server/<repo_name>
548 - added option to access repository just by entering http://server/<repo_name>
548 - celery task ignores result for better performance
549 - celery task ignores result for better performance
549
550
550 fixes
551 fixes
551 +++++
552 +++++
552
553
553 - fixed ehlo command and non auth mail servers on smtp_lib. Thanks to
554 - fixed ehlo command and non auth mail servers on smtp_lib. Thanks to
554 apollo13 and Johan Walles
555 apollo13 and Johan Walles
555 - small fixes in journal
556 - small fixes in journal
556 - fixed problems with getting setting for celery from .ini files
557 - fixed problems with getting setting for celery from .ini files
557 - registration, password reset and login boxes share the same title as main
558 - registration, password reset and login boxes share the same title as main
558 application now
559 application now
559 - fixed #113: to high permissions to fork repository
560 - fixed #113: to high permissions to fork repository
560 - fixed problem with '[' chars in commit messages in journal
561 - fixed problem with '[' chars in commit messages in journal
561 - removed issue with space inside renamed repository after deletion
562 - removed issue with space inside renamed repository after deletion
562 - db transaction fixes when filesystem repository creation failed
563 - db transaction fixes when filesystem repository creation failed
563 - fixed #106 relation issues on databases different than sqlite
564 - fixed #106 relation issues on databases different than sqlite
564 - fixed static files paths links to use of url() method
565 - fixed static files paths links to use of url() method
565
566
566 1.1.2 (**2011-01-12**)
567 1.1.2 (**2011-01-12**)
567 ----------------------
568 ----------------------
568
569
569 news
570 news
570 ++++
571 ++++
571
572
572
573
573 fixes
574 fixes
574 +++++
575 +++++
575
576
576 - fixes #98 protection against float division of percentage stats
577 - fixes #98 protection against float division of percentage stats
577 - fixed graph bug
578 - fixed graph bug
578 - forced webhelpers version since it was making troubles during installation
579 - forced webhelpers version since it was making troubles during installation
579
580
580 1.1.1 (**2011-01-06**)
581 1.1.1 (**2011-01-06**)
581 ----------------------
582 ----------------------
582
583
583 news
584 news
584 ++++
585 ++++
585
586
586 - added force https option into ini files for easier https usage (no need to
587 - added force https option into ini files for easier https usage (no need to
587 set server headers with this options)
588 set server headers with this options)
588 - small css updates
589 - small css updates
589
590
590 fixes
591 fixes
591 +++++
592 +++++
592
593
593 - fixed #96 redirect loop on files view on repositories without changesets
594 - fixed #96 redirect loop on files view on repositories without changesets
594 - fixed #97 unicode string passed into server header in special cases (mod_wsgi)
595 - fixed #97 unicode string passed into server header in special cases (mod_wsgi)
595 and server crashed with errors
596 and server crashed with errors
596 - fixed large tooltips problems on main page
597 - fixed large tooltips problems on main page
597 - fixed #92 whoosh indexer is more error proof
598 - fixed #92 whoosh indexer is more error proof
598
599
599 1.1.0 (**2010-12-18**)
600 1.1.0 (**2010-12-18**)
600 ----------------------
601 ----------------------
601
602
602 news
603 news
603 ++++
604 ++++
604
605
605 - rewrite of internals for vcs >=0.1.10
606 - rewrite of internals for vcs >=0.1.10
606 - uses mercurial 1.7 with dotencode disabled for maintaining compatibility
607 - uses mercurial 1.7 with dotencode disabled for maintaining compatibility
607 with older clients
608 with older clients
608 - anonymous access, authentication via ldap
609 - anonymous access, authentication via ldap
609 - performance upgrade for cached repos list - each repository has its own
610 - performance upgrade for cached repos list - each repository has its own
610 cache that's invalidated when needed.
611 cache that's invalidated when needed.
611 - performance upgrades on repositories with large amount of commits (20K+)
612 - performance upgrades on repositories with large amount of commits (20K+)
612 - main page quick filter for filtering repositories
613 - main page quick filter for filtering repositories
613 - user dashboards with ability to follow chosen repositories actions
614 - user dashboards with ability to follow chosen repositories actions
614 - sends email to admin on new user registration
615 - sends email to admin on new user registration
615 - added cache/statistics reset options into repository settings
616 - added cache/statistics reset options into repository settings
616 - more detailed action logger (based on hooks) with pushed changesets lists
617 - more detailed action logger (based on hooks) with pushed changesets lists
617 and options to disable those hooks from admin panel
618 and options to disable those hooks from admin panel
618 - introduced new enhanced changelog for merges that shows more accurate results
619 - introduced new enhanced changelog for merges that shows more accurate results
619 - new improved and faster code stats (based on pygments lexers mapping tables,
620 - new improved and faster code stats (based on pygments lexers mapping tables,
620 showing up to 10 trending sources for each repository. Additionally stats
621 showing up to 10 trending sources for each repository. Additionally stats
621 can be disabled in repository settings.
622 can be disabled in repository settings.
622 - gui optimizations, fixed application width to 1024px
623 - gui optimizations, fixed application width to 1024px
623 - added cut off (for large files/changesets) limit into config files
624 - added cut off (for large files/changesets) limit into config files
624 - whoosh, celeryd, upgrade moved to paster command
625 - whoosh, celeryd, upgrade moved to paster command
625 - other than sqlite database backends can be used
626 - other than sqlite database backends can be used
626
627
627 fixes
628 fixes
628 +++++
629 +++++
629
630
630 - fixes #61 forked repo was showing only after cache expired
631 - fixes #61 forked repo was showing only after cache expired
631 - fixes #76 no confirmation on user deletes
632 - fixes #76 no confirmation on user deletes
632 - fixes #66 Name field misspelled
633 - fixes #66 Name field misspelled
633 - fixes #72 block user removal when he owns repositories
634 - fixes #72 block user removal when he owns repositories
634 - fixes #69 added password confirmation fields
635 - fixes #69 added password confirmation fields
635 - fixes #87 RhodeCode crashes occasionally on updating repository owner
636 - fixes #87 RhodeCode crashes occasionally on updating repository owner
636 - fixes #82 broken annotations on files with more than 1 blank line at the end
637 - fixes #82 broken annotations on files with more than 1 blank line at the end
637 - a lot of fixes and tweaks for file browser
638 - a lot of fixes and tweaks for file browser
638 - fixed detached session issues
639 - fixed detached session issues
639 - fixed when user had no repos he would see all repos listed in my account
640 - fixed when user had no repos he would see all repos listed in my account
640 - fixed ui() instance bug when global hgrc settings was loaded for server
641 - fixed ui() instance bug when global hgrc settings was loaded for server
641 instance and all hgrc options were merged with our db ui() object
642 instance and all hgrc options were merged with our db ui() object
642 - numerous small bugfixes
643 - numerous small bugfixes
643
644
644 (special thanks for TkSoh for detailed feedback)
645 (special thanks for TkSoh for detailed feedback)
645
646
646
647
647 1.0.2 (**2010-11-12**)
648 1.0.2 (**2010-11-12**)
648 ----------------------
649 ----------------------
649
650
650 news
651 news
651 ++++
652 ++++
652
653
653 - tested under python2.7
654 - tested under python2.7
654 - bumped sqlalchemy and celery versions
655 - bumped sqlalchemy and celery versions
655
656
656 fixes
657 fixes
657 +++++
658 +++++
658
659
659 - fixed #59 missing graph.js
660 - fixed #59 missing graph.js
660 - fixed repo_size crash when repository had broken symlinks
661 - fixed repo_size crash when repository had broken symlinks
661 - fixed python2.5 crashes.
662 - fixed python2.5 crashes.
662
663
663
664
664 1.0.1 (**2010-11-10**)
665 1.0.1 (**2010-11-10**)
665 ----------------------
666 ----------------------
666
667
667 news
668 news
668 ++++
669 ++++
669
670
670 - small css updated
671 - small css updated
671
672
672 fixes
673 fixes
673 +++++
674 +++++
674
675
675 - fixed #53 python2.5 incompatible enumerate calls
676 - fixed #53 python2.5 incompatible enumerate calls
676 - fixed #52 disable mercurial extension for web
677 - fixed #52 disable mercurial extension for web
677 - fixed #51 deleting repositories don't delete it's dependent objects
678 - fixed #51 deleting repositories don't delete it's dependent objects
678
679
679
680
680 1.0.0 (**2010-11-02**)
681 1.0.0 (**2010-11-02**)
681 ----------------------
682 ----------------------
682
683
683 - security bugfix simplehg wasn't checking for permissions on commands
684 - security bugfix simplehg wasn't checking for permissions on commands
684 other than pull or push.
685 other than pull or push.
685 - fixed doubled messages after push or pull in admin journal
686 - fixed doubled messages after push or pull in admin journal
686 - templating and css corrections, fixed repo switcher on chrome, updated titles
687 - templating and css corrections, fixed repo switcher on chrome, updated titles
687 - admin menu accessible from options menu on repository view
688 - admin menu accessible from options menu on repository view
688 - permissions cached queries
689 - permissions cached queries
689
690
690 1.0.0rc4 (**2010-10-12**)
691 1.0.0rc4 (**2010-10-12**)
691 --------------------------
692 --------------------------
692
693
693 - fixed python2.5 missing simplejson imports (thanks to Jens BΓ€ckman)
694 - fixed python2.5 missing simplejson imports (thanks to Jens BΓ€ckman)
694 - removed cache_manager settings from sqlalchemy meta
695 - removed cache_manager settings from sqlalchemy meta
695 - added sqlalchemy cache settings to ini files
696 - added sqlalchemy cache settings to ini files
696 - validated password length and added second try of failure on paster setup-app
697 - validated password length and added second try of failure on paster setup-app
697 - fixed setup database destroy prompt even when there was no db
698 - fixed setup database destroy prompt even when there was no db
698
699
699
700
700 1.0.0rc3 (**2010-10-11**)
701 1.0.0rc3 (**2010-10-11**)
701 -------------------------
702 -------------------------
702
703
703 - fixed i18n during installation.
704 - fixed i18n during installation.
704
705
705 1.0.0rc2 (**2010-10-11**)
706 1.0.0rc2 (**2010-10-11**)
706 -------------------------
707 -------------------------
707
708
708 - Disabled dirsize in file browser, it's causing nasty bug when dir renames
709 - Disabled dirsize in file browser, it's causing nasty bug when dir renames
709 occure. After vcs is fixed it'll be put back again.
710 occure. After vcs is fixed it'll be put back again.
710 - templating/css rewrites, optimized css. No newline at end of file
711 - templating/css rewrites, optimized css.
@@ -1,320 +1,329 b''
1 ################################################################################
1 ################################################################################
2 ################################################################################
2 ################################################################################
3 # RhodeCode - Pylons environment configuration #
3 # RhodeCode - Pylons environment configuration #
4 # #
4 # #
5 # The %(here)s variable will be replaced with the parent directory of this file#
5 # The %(here)s variable will be replaced with the parent directory of this file#
6 ################################################################################
6 ################################################################################
7
7
8 [DEFAULT]
8 [DEFAULT]
9 debug = true
9 debug = true
10 pdebug = false
10 pdebug = false
11 ################################################################################
11 ################################################################################
12 ## Uncomment and replace with the address which should receive ##
12 ## Uncomment and replace with the address which should receive ##
13 ## any error reports after application crash ##
13 ## any error reports after application crash ##
14 ## Additionally those settings will be used by RhodeCode mailing system ##
14 ## Additionally those settings will be used by RhodeCode mailing system ##
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 #email_prefix = [RhodeCode]
21
21
22 #smtp_server = mail.server.com
22 #smtp_server = mail.server.com
23 #smtp_username =
23 #smtp_username =
24 #smtp_password =
24 #smtp_password =
25 #smtp_port =
25 #smtp_port =
26 #smtp_use_tls = false
26 #smtp_use_tls = false
27 #smtp_use_ssl = true
27 #smtp_use_ssl = true
28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
29 #smtp_auth =
29 #smtp_auth =
30
30
31 [server:main]
31 [server:main]
32 ##nr of threads to spawn
32 ##nr of threads to spawn
33 #threadpool_workers = 5
33 #threadpool_workers = 5
34
34
35 ##max request before thread respawn
35 ##max request before thread respawn
36 #threadpool_max_requests = 10
36 #threadpool_max_requests = 10
37
37
38 ##option to use threads of process
38 ##option to use threads of process
39 #use_threadpool = true
39 #use_threadpool = true
40
40
41 #use = egg:Paste#http
41 #use = egg:Paste#http
42 use = egg:waitress#main
42 use = egg:waitress#main
43 host = 127.0.0.1
43 host = 127.0.0.1
44 port = 8001
44 port = 8001
45
45
46 [filter:proxy-prefix]
46 [filter:proxy-prefix]
47 # prefix middleware for rc
47 # prefix middleware for rc
48 use = egg:PasteDeploy#prefix
48 use = egg:PasteDeploy#prefix
49 prefix = /<your-prefix>
49 prefix = /<your-prefix>
50
50
51 [app:main]
51 [app:main]
52 use = egg:rhodecode
52 use = egg:rhodecode
53 #filter-with = proxy-prefix
53 #filter-with = proxy-prefix
54 full_stack = true
54 full_stack = true
55 static_files = true
55 static_files = true
56 # Optional Languages
56 # Optional Languages
57 # en, fr, ja, pt_BR, zh_CN, zh_TW
57 # en, fr, ja, pt_BR, zh_CN, zh_TW
58 lang = en
58 lang = en
59 cache_dir = %(here)s/data
59 cache_dir = %(here)s/data
60 index_dir = %(here)s/data/index
60 index_dir = %(here)s/data/index
61 app_instance_uuid = rc-production
61 app_instance_uuid = rc-production
62 cut_off_limit = 256000
62 cut_off_limit = 256000
63 force_https = false
63 force_https = false
64 commit_parse_limit = 50
64 commit_parse_limit = 50
65 use_gravatar = true
65 use_gravatar = true
66
67 ## alternative_gravatar_url allows you to use your own avatar server application
68 ## the following parts of the URL will be replaced
69 ## %(email)s user email
70 ## %(md5email)s md5 hash of the user email (like at gravatar.com)
71 ## %(size)s size of the image that is expected from the server application
72 #alternative_gravatar_url = http://myavatarserver.com/getbyemail/%(email)s/%(size)s
73 #alternative_gravatar_url = http://myavatarserver.com/getbymd5/%(md5email)s?s=%(size)s
74
66 container_auth_enabled = false
75 container_auth_enabled = false
67 proxypass_auth_enabled = false
76 proxypass_auth_enabled = false
68 default_encoding = utf8
77 default_encoding = utf8
69
78
70 ## overwrite schema of clone url
79 ## overwrite schema of clone url
71 ## available vars:
80 ## available vars:
72 ## scheme - http/https
81 ## scheme - http/https
73 ## user - current user
82 ## user - current user
74 ## pass - password
83 ## pass - password
75 ## netloc - network location
84 ## netloc - network location
76 ## path - usually repo_name
85 ## path - usually repo_name
77
86
78 #clone_uri = {scheme}://{user}{pass}{netloc}{path}
87 #clone_uri = {scheme}://{user}{pass}{netloc}{path}
79
88
80 ## issue tracking mapping for commits messages
89 ## issue tracking mapping for commits messages
81 ## comment out issue_pat, issue_server, issue_prefix to enable
90 ## comment out issue_pat, issue_server, issue_prefix to enable
82
91
83 ## pattern to get the issues from commit messages
92 ## pattern to get the issues from commit messages
84 ## default one used here is #<numbers> with a regex passive group for `#`
93 ## default one used here is #<numbers> with a regex passive group for `#`
85 ## {id} will be all groups matched from this pattern
94 ## {id} will be all groups matched from this pattern
86
95
87 issue_pat = (?:\s*#)(\d+)
96 issue_pat = (?:\s*#)(\d+)
88
97
89 ## server url to the issue, each {id} will be replaced with match
98 ## server url to the issue, each {id} will be replaced with match
90 ## fetched from the regex and {repo} is replaced with full repository name
99 ## fetched from the regex and {repo} is replaced with full repository name
91 ## including groups {repo_name} is replaced with just name of repo
100 ## including groups {repo_name} is replaced with just name of repo
92
101
93 issue_server_link = https://myissueserver.com/{repo}/issue/{id}
102 issue_server_link = https://myissueserver.com/{repo}/issue/{id}
94
103
95 ## prefix to add to link to indicate it's an url
104 ## prefix to add to link to indicate it's an url
96 ## #314 will be replaced by <issue_prefix><id>
105 ## #314 will be replaced by <issue_prefix><id>
97
106
98 issue_prefix = #
107 issue_prefix = #
99
108
100 ## instance-id prefix
109 ## instance-id prefix
101 ## a prefix key for this instance used for cache invalidation when running
110 ## a prefix key for this instance used for cache invalidation when running
102 ## multiple instances of rhodecode, make sure it's globally unique for
111 ## multiple instances of rhodecode, make sure it's globally unique for
103 ## all running rhodecode instances. Leave empty if you don't use it
112 ## all running rhodecode instances. Leave empty if you don't use it
104 instance_id =
113 instance_id =
105
114
106 ## alternative return HTTP header for failed authentication. Default HTTP
115 ## alternative return HTTP header for failed authentication. Default HTTP
107 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
116 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
108 ## handling that. Set this variable to 403 to return HTTPForbidden
117 ## handling that. Set this variable to 403 to return HTTPForbidden
109 auth_ret_code =
118 auth_ret_code =
110
119
111 ####################################
120 ####################################
112 ### CELERY CONFIG ####
121 ### CELERY CONFIG ####
113 ####################################
122 ####################################
114 use_celery = false
123 use_celery = false
115 broker.host = localhost
124 broker.host = localhost
116 broker.vhost = rabbitmqhost
125 broker.vhost = rabbitmqhost
117 broker.port = 5672
126 broker.port = 5672
118 broker.user = rabbitmq
127 broker.user = rabbitmq
119 broker.password = qweqwe
128 broker.password = qweqwe
120
129
121 celery.imports = rhodecode.lib.celerylib.tasks
130 celery.imports = rhodecode.lib.celerylib.tasks
122
131
123 celery.result.backend = amqp
132 celery.result.backend = amqp
124 celery.result.dburi = amqp://
133 celery.result.dburi = amqp://
125 celery.result.serialier = json
134 celery.result.serialier = json
126
135
127 #celery.send.task.error.emails = true
136 #celery.send.task.error.emails = true
128 #celery.amqp.task.result.expires = 18000
137 #celery.amqp.task.result.expires = 18000
129
138
130 celeryd.concurrency = 2
139 celeryd.concurrency = 2
131 #celeryd.log.file = celeryd.log
140 #celeryd.log.file = celeryd.log
132 celeryd.log.level = debug
141 celeryd.log.level = debug
133 celeryd.max.tasks.per.child = 1
142 celeryd.max.tasks.per.child = 1
134
143
135 #tasks will never be sent to the queue, but executed locally instead.
144 #tasks will never be sent to the queue, but executed locally instead.
136 celery.always.eager = false
145 celery.always.eager = false
137
146
138 ####################################
147 ####################################
139 ### BEAKER CACHE ####
148 ### BEAKER CACHE ####
140 ####################################
149 ####################################
141 beaker.cache.data_dir=%(here)s/data/cache/data
150 beaker.cache.data_dir=%(here)s/data/cache/data
142 beaker.cache.lock_dir=%(here)s/data/cache/lock
151 beaker.cache.lock_dir=%(here)s/data/cache/lock
143
152
144 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
153 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
145
154
146 beaker.cache.super_short_term.type=memory
155 beaker.cache.super_short_term.type=memory
147 beaker.cache.super_short_term.expire=10
156 beaker.cache.super_short_term.expire=10
148 beaker.cache.super_short_term.key_length = 256
157 beaker.cache.super_short_term.key_length = 256
149
158
150 beaker.cache.short_term.type=memory
159 beaker.cache.short_term.type=memory
151 beaker.cache.short_term.expire=60
160 beaker.cache.short_term.expire=60
152 beaker.cache.short_term.key_length = 256
161 beaker.cache.short_term.key_length = 256
153
162
154 beaker.cache.long_term.type=memory
163 beaker.cache.long_term.type=memory
155 beaker.cache.long_term.expire=36000
164 beaker.cache.long_term.expire=36000
156 beaker.cache.long_term.key_length = 256
165 beaker.cache.long_term.key_length = 256
157
166
158 beaker.cache.sql_cache_short.type=memory
167 beaker.cache.sql_cache_short.type=memory
159 beaker.cache.sql_cache_short.expire=10
168 beaker.cache.sql_cache_short.expire=10
160 beaker.cache.sql_cache_short.key_length = 256
169 beaker.cache.sql_cache_short.key_length = 256
161
170
162 beaker.cache.sql_cache_med.type=memory
171 beaker.cache.sql_cache_med.type=memory
163 beaker.cache.sql_cache_med.expire=360
172 beaker.cache.sql_cache_med.expire=360
164 beaker.cache.sql_cache_med.key_length = 256
173 beaker.cache.sql_cache_med.key_length = 256
165
174
166 beaker.cache.sql_cache_long.type=file
175 beaker.cache.sql_cache_long.type=file
167 beaker.cache.sql_cache_long.expire=3600
176 beaker.cache.sql_cache_long.expire=3600
168 beaker.cache.sql_cache_long.key_length = 256
177 beaker.cache.sql_cache_long.key_length = 256
169
178
170 ####################################
179 ####################################
171 ### BEAKER SESSION ####
180 ### BEAKER SESSION ####
172 ####################################
181 ####################################
173 ## Type of storage used for the session, current types are
182 ## Type of storage used for the session, current types are
174 ## dbm, file, memcached, database, and memory.
183 ## dbm, file, memcached, database, and memory.
175 ## The storage uses the Container API
184 ## The storage uses the Container API
176 ## that is also used by the cache system.
185 ## that is also used by the cache system.
177
186
178 ## db session ##
187 ## db session ##
179 #beaker.session.type = ext:database
188 #beaker.session.type = ext:database
180 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
189 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
181 #beaker.session.table_name = db_session
190 #beaker.session.table_name = db_session
182
191
183 ## encrypted cookie client side session, good for many instances ##
192 ## encrypted cookie client side session, good for many instances ##
184 #beaker.session.type = cookie
193 #beaker.session.type = cookie
185
194
186 ## file based cookies (default) ##
195 ## file based cookies (default) ##
187 #beaker.session.type = file
196 #beaker.session.type = file
188
197
189
198
190 beaker.session.key = rhodecode
199 beaker.session.key = rhodecode
191 ## secure cookie requires AES python libraries ##
200 ## secure cookie requires AES python libraries ##
192 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
201 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
193 #beaker.session.validate_key = 9712sds2212c--zxc123
202 #beaker.session.validate_key = 9712sds2212c--zxc123
194 ## sets session as invalid if it haven't been accessed for given amount of time
203 ## sets session as invalid if it haven't been accessed for given amount of time
195 beaker.session.timeout = 2592000
204 beaker.session.timeout = 2592000
196 beaker.session.httponly = true
205 beaker.session.httponly = true
197 #beaker.session.cookie_path = /<your-prefix>
206 #beaker.session.cookie_path = /<your-prefix>
198
207
199 ## uncomment for https secure cookie ##
208 ## uncomment for https secure cookie ##
200 beaker.session.secure = false
209 beaker.session.secure = false
201
210
202 ## auto save the session to not to use .save() ##
211 ## auto save the session to not to use .save() ##
203 beaker.session.auto = False
212 beaker.session.auto = False
204
213
205 ## default cookie expiration time in seconds `true` expire at browser close ##
214 ## default cookie expiration time in seconds `true` expire at browser close ##
206 #beaker.session.cookie_expires = 3600
215 #beaker.session.cookie_expires = 3600
207
216
208
217
209 ################################################################################
218 ################################################################################
210 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
219 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
211 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
220 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
212 ## execute malicious code after an exception is raised. ##
221 ## execute malicious code after an exception is raised. ##
213 ################################################################################
222 ################################################################################
214 set debug = false
223 set debug = false
215
224
216 ##################################
225 ##################################
217 ### LOGVIEW CONFIG ###
226 ### LOGVIEW CONFIG ###
218 ##################################
227 ##################################
219 logview.sqlalchemy = #faa
228 logview.sqlalchemy = #faa
220 logview.pylons.templating = #bfb
229 logview.pylons.templating = #bfb
221 logview.pylons.util = #eee
230 logview.pylons.util = #eee
222
231
223 #########################################################
232 #########################################################
224 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
233 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
225 #########################################################
234 #########################################################
226 #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db
235 #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db
227 sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode
236 sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode
228 sqlalchemy.db1.echo = false
237 sqlalchemy.db1.echo = false
229 sqlalchemy.db1.pool_recycle = 3600
238 sqlalchemy.db1.pool_recycle = 3600
230 sqlalchemy.db1.convert_unicode = true
239 sqlalchemy.db1.convert_unicode = true
231
240
232 ################################
241 ################################
233 ### LOGGING CONFIGURATION ####
242 ### LOGGING CONFIGURATION ####
234 ################################
243 ################################
235 [loggers]
244 [loggers]
236 keys = root, routes, rhodecode, sqlalchemy, beaker, templates, whoosh_indexer
245 keys = root, routes, rhodecode, sqlalchemy, beaker, templates, whoosh_indexer
237
246
238 [handlers]
247 [handlers]
239 keys = console, console_sql
248 keys = console, console_sql
240
249
241 [formatters]
250 [formatters]
242 keys = generic, color_formatter, color_formatter_sql
251 keys = generic, color_formatter, color_formatter_sql
243
252
244 #############
253 #############
245 ## LOGGERS ##
254 ## LOGGERS ##
246 #############
255 #############
247 [logger_root]
256 [logger_root]
248 level = NOTSET
257 level = NOTSET
249 handlers = console
258 handlers = console
250
259
251 [logger_routes]
260 [logger_routes]
252 level = DEBUG
261 level = DEBUG
253 handlers =
262 handlers =
254 qualname = routes.middleware
263 qualname = routes.middleware
255 # "level = DEBUG" logs the route matched and routing variables.
264 # "level = DEBUG" logs the route matched and routing variables.
256 propagate = 1
265 propagate = 1
257
266
258 [logger_beaker]
267 [logger_beaker]
259 level = DEBUG
268 level = DEBUG
260 handlers =
269 handlers =
261 qualname = beaker.container
270 qualname = beaker.container
262 propagate = 1
271 propagate = 1
263
272
264 [logger_templates]
273 [logger_templates]
265 level = INFO
274 level = INFO
266 handlers =
275 handlers =
267 qualname = pylons.templating
276 qualname = pylons.templating
268 propagate = 1
277 propagate = 1
269
278
270 [logger_rhodecode]
279 [logger_rhodecode]
271 level = DEBUG
280 level = DEBUG
272 handlers =
281 handlers =
273 qualname = rhodecode
282 qualname = rhodecode
274 propagate = 1
283 propagate = 1
275
284
276 [logger_sqlalchemy]
285 [logger_sqlalchemy]
277 level = INFO
286 level = INFO
278 handlers = console_sql
287 handlers = console_sql
279 qualname = sqlalchemy.engine
288 qualname = sqlalchemy.engine
280 propagate = 0
289 propagate = 0
281
290
282 [logger_whoosh_indexer]
291 [logger_whoosh_indexer]
283 level = DEBUG
292 level = DEBUG
284 handlers =
293 handlers =
285 qualname = whoosh_indexer
294 qualname = whoosh_indexer
286 propagate = 1
295 propagate = 1
287
296
288 ##############
297 ##############
289 ## HANDLERS ##
298 ## HANDLERS ##
290 ##############
299 ##############
291
300
292 [handler_console]
301 [handler_console]
293 class = StreamHandler
302 class = StreamHandler
294 args = (sys.stderr,)
303 args = (sys.stderr,)
295 level = INFO
304 level = INFO
296 formatter = generic
305 formatter = generic
297
306
298 [handler_console_sql]
307 [handler_console_sql]
299 class = StreamHandler
308 class = StreamHandler
300 args = (sys.stderr,)
309 args = (sys.stderr,)
301 level = WARN
310 level = WARN
302 formatter = generic
311 formatter = generic
303
312
304 ################
313 ################
305 ## FORMATTERS ##
314 ## FORMATTERS ##
306 ################
315 ################
307
316
308 [formatter_generic]
317 [formatter_generic]
309 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
318 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
310 datefmt = %Y-%m-%d %H:%M:%S
319 datefmt = %Y-%m-%d %H:%M:%S
311
320
312 [formatter_color_formatter]
321 [formatter_color_formatter]
313 class=rhodecode.lib.colored_formatter.ColorFormatter
322 class=rhodecode.lib.colored_formatter.ColorFormatter
314 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
323 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
315 datefmt = %Y-%m-%d %H:%M:%S
324 datefmt = %Y-%m-%d %H:%M:%S
316
325
317 [formatter_color_formatter_sql]
326 [formatter_color_formatter_sql]
318 class=rhodecode.lib.colored_formatter.ColorFormatterSql
327 class=rhodecode.lib.colored_formatter.ColorFormatterSql
319 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
328 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
320 datefmt = %Y-%m-%d %H:%M:%S
329 datefmt = %Y-%m-%d %H:%M:%S
@@ -1,337 +1,339 b''
1 ################################################################################
1 ################################################################################
2 ################################################################################
2 ################################################################################
3 # RhodeCode - Pylons environment configuration #
3 # RhodeCode - Pylons environment configuration #
4 # #
4 # #
5 # The %(here)s variable will be replaced with the parent directory of this file#
5 # The %(here)s variable will be replaced with the parent directory of this file#
6 ################################################################################
6 ################################################################################
7
7
8 [DEFAULT]
8 [DEFAULT]
9 debug = true
9 debug = true
10 pdebug = false
10 pdebug = false
11 ################################################################################
11 ################################################################################
12 ## Uncomment and replace with the address which should receive ##
12 ## Uncomment and replace with the address which should receive ##
13 ## any error reports after application crash ##
13 ## any error reports after application crash ##
14 ## Additionally those settings will be used by RhodeCode mailing system ##
14 ## Additionally those settings will be used by RhodeCode mailing system ##
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 #email_prefix = [RhodeCode]
21
21
22 #smtp_server = mail.server.com
22 #smtp_server = mail.server.com
23 #smtp_username =
23 #smtp_username =
24 #smtp_password =
24 #smtp_password =
25 #smtp_port =
25 #smtp_port =
26 #smtp_use_tls = false
26 #smtp_use_tls = false
27 #smtp_use_ssl = true
27 #smtp_use_ssl = true
28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
29 #smtp_auth =
29 #smtp_auth =
30
30
31 [server:main]
31 [server:main]
32 ##nr of threads to spawn
32 ##nr of threads to spawn
33 #threadpool_workers = 5
33 #threadpool_workers = 5
34
34
35 ##max request before thread respawn
35 ##max request before thread respawn
36 #threadpool_max_requests = 10
36 #threadpool_max_requests = 10
37
37
38 ##option to use threads of process
38 ##option to use threads of process
39 #use_threadpool = true
39 #use_threadpool = true
40
40
41 #use = egg:Paste#http
41 #use = egg:Paste#http
42 use = egg:waitress#main
42 use = egg:waitress#main
43 host = 127.0.0.1
43 host = 127.0.0.1
44 port = 5000
44 port = 5000
45
45
46 [filter:proxy-prefix]
46 [filter:proxy-prefix]
47 # prefix middleware for rc
47 # prefix middleware for rc
48 use = egg:PasteDeploy#prefix
48 use = egg:PasteDeploy#prefix
49 prefix = /<your-prefix>
49 prefix = /<your-prefix>
50
50
51 [app:main]
51 [app:main]
52 use = egg:rhodecode
52 use = egg:rhodecode
53 #filter-with = proxy-prefix
53 #filter-with = proxy-prefix
54 full_stack = true
54 full_stack = true
55 static_files = true
55 static_files = true
56 # Optional Languages
56 # Optional Languages
57 # en, fr, ja, pt_BR, zh_CN, zh_TW
57 # en, fr, ja, pt_BR, zh_CN, zh_TW
58 lang = en
58 lang = en
59 cache_dir = %(here)s/data
59 cache_dir = %(here)s/data
60 index_dir = %(here)s/data/index
60 index_dir = %(here)s/data/index
61 app_instance_uuid = ${app_instance_uuid}
61 app_instance_uuid = ${app_instance_uuid}
62 cut_off_limit = 256000
62 cut_off_limit = 256000
63 force_https = false
63 force_https = false
64 commit_parse_limit = 50
64 commit_parse_limit = 50
65 use_gravatar = true
65 use_gravatar = true
66
66 ## alternative_gravatar_url allows you to use your own avatar server application
67 ## alternative_gravatar_url allows you to use your own avatar server application
67 ## the following parts of the URL will be replaced
68 ## the following parts of the URL will be replaced
68 ## %(email)s user email
69 ## %(email)s user email
69 ## %(md5email)s md5 hash of the user email (like at gravatar.com)
70 ## %(md5email)s md5 hash of the user email (like at gravatar.com)
70 ## %(size)s size of the image that is expected from the server application
71 ## %(size)s size of the image that is expected from the server application
71 #alternative_gravatar_url = http://myavatarserver.com/getbyemail/%(email)s/%(size)s
72 #alternative_gravatar_url = http://myavatarserver.com/getbyemail/%(email)s/%(size)s
72 #alternative_gravatar_url = http://myavatarserver.com/getbymd5/%(md5email)s?s=%(size)s
73 #alternative_gravatar_url = http://myavatarserver.com/getbymd5/%(md5email)s?s=%(size)s
74
73 container_auth_enabled = false
75 container_auth_enabled = false
74 proxypass_auth_enabled = false
76 proxypass_auth_enabled = false
75 default_encoding = utf8
77 default_encoding = utf8
76
78
77 ## overwrite schema of clone url
79 ## overwrite schema of clone url
78 ## available vars:
80 ## available vars:
79 ## scheme - http/https
81 ## scheme - http/https
80 ## user - current user
82 ## user - current user
81 ## pass - password
83 ## pass - password
82 ## netloc - network location
84 ## netloc - network location
83 ## path - usually repo_name
85 ## path - usually repo_name
84
86
85 #clone_uri = {scheme}://{user}{pass}{netloc}{path}
87 #clone_uri = {scheme}://{user}{pass}{netloc}{path}
86
88
87 ## issue tracking mapping for commits messages
89 ## issue tracking mapping for commits messages
88 ## comment out issue_pat, issue_server, issue_prefix to enable
90 ## comment out issue_pat, issue_server, issue_prefix to enable
89
91
90 ## pattern to get the issues from commit messages
92 ## pattern to get the issues from commit messages
91 ## default one used here is #<numbers> with a regex passive group for `#`
93 ## default one used here is #<numbers> with a regex passive group for `#`
92 ## {id} will be all groups matched from this pattern
94 ## {id} will be all groups matched from this pattern
93
95
94 issue_pat = (?:\s*#)(\d+)
96 issue_pat = (?:\s*#)(\d+)
95
97
96 ## server url to the issue, each {id} will be replaced with match
98 ## server url to the issue, each {id} will be replaced with match
97 ## fetched from the regex and {repo} is replaced with full repository name
99 ## fetched from the regex and {repo} is replaced with full repository name
98 ## including groups {repo_name} is replaced with just name of repo
100 ## including groups {repo_name} is replaced with just name of repo
99
101
100 issue_server_link = https://myissueserver.com/{repo}/issue/{id}
102 issue_server_link = https://myissueserver.com/{repo}/issue/{id}
101
103
102 ## prefix to add to link to indicate it's an url
104 ## prefix to add to link to indicate it's an url
103 ## #314 will be replaced by <issue_prefix><id>
105 ## #314 will be replaced by <issue_prefix><id>
104
106
105 issue_prefix = #
107 issue_prefix = #
106
108
107 ## instance-id prefix
109 ## instance-id prefix
108 ## a prefix key for this instance used for cache invalidation when running
110 ## a prefix key for this instance used for cache invalidation when running
109 ## multiple instances of rhodecode, make sure it's globally unique for
111 ## multiple instances of rhodecode, make sure it's globally unique for
110 ## all running rhodecode instances. Leave empty if you don't use it
112 ## all running rhodecode instances. Leave empty if you don't use it
111 instance_id =
113 instance_id =
112
114
113 ## alternative return HTTP header for failed authentication. Default HTTP
115 ## alternative return HTTP header for failed authentication. Default HTTP
114 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
116 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
115 ## handling that. Set this variable to 403 to return HTTPForbidden
117 ## handling that. Set this variable to 403 to return HTTPForbidden
116 auth_ret_code =
118 auth_ret_code =
117
119
118 ####################################
120 ####################################
119 ### CELERY CONFIG ####
121 ### CELERY CONFIG ####
120 ####################################
122 ####################################
121 use_celery = false
123 use_celery = false
122 broker.host = localhost
124 broker.host = localhost
123 broker.vhost = rabbitmqhost
125 broker.vhost = rabbitmqhost
124 broker.port = 5672
126 broker.port = 5672
125 broker.user = rabbitmq
127 broker.user = rabbitmq
126 broker.password = qweqwe
128 broker.password = qweqwe
127
129
128 celery.imports = rhodecode.lib.celerylib.tasks
130 celery.imports = rhodecode.lib.celerylib.tasks
129
131
130 celery.result.backend = amqp
132 celery.result.backend = amqp
131 celery.result.dburi = amqp://
133 celery.result.dburi = amqp://
132 celery.result.serialier = json
134 celery.result.serialier = json
133
135
134 #celery.send.task.error.emails = true
136 #celery.send.task.error.emails = true
135 #celery.amqp.task.result.expires = 18000
137 #celery.amqp.task.result.expires = 18000
136
138
137 celeryd.concurrency = 2
139 celeryd.concurrency = 2
138 #celeryd.log.file = celeryd.log
140 #celeryd.log.file = celeryd.log
139 celeryd.log.level = debug
141 celeryd.log.level = debug
140 celeryd.max.tasks.per.child = 1
142 celeryd.max.tasks.per.child = 1
141
143
142 #tasks will never be sent to the queue, but executed locally instead.
144 #tasks will never be sent to the queue, but executed locally instead.
143 celery.always.eager = false
145 celery.always.eager = false
144
146
145 ####################################
147 ####################################
146 ### BEAKER CACHE ####
148 ### BEAKER CACHE ####
147 ####################################
149 ####################################
148 beaker.cache.data_dir=%(here)s/data/cache/data
150 beaker.cache.data_dir=%(here)s/data/cache/data
149 beaker.cache.lock_dir=%(here)s/data/cache/lock
151 beaker.cache.lock_dir=%(here)s/data/cache/lock
150
152
151 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
153 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
152
154
153 beaker.cache.super_short_term.type=memory
155 beaker.cache.super_short_term.type=memory
154 beaker.cache.super_short_term.expire=10
156 beaker.cache.super_short_term.expire=10
155 beaker.cache.super_short_term.key_length = 256
157 beaker.cache.super_short_term.key_length = 256
156
158
157 beaker.cache.short_term.type=memory
159 beaker.cache.short_term.type=memory
158 beaker.cache.short_term.expire=60
160 beaker.cache.short_term.expire=60
159 beaker.cache.short_term.key_length = 256
161 beaker.cache.short_term.key_length = 256
160
162
161 beaker.cache.long_term.type=memory
163 beaker.cache.long_term.type=memory
162 beaker.cache.long_term.expire=36000
164 beaker.cache.long_term.expire=36000
163 beaker.cache.long_term.key_length = 256
165 beaker.cache.long_term.key_length = 256
164
166
165 beaker.cache.sql_cache_short.type=memory
167 beaker.cache.sql_cache_short.type=memory
166 beaker.cache.sql_cache_short.expire=10
168 beaker.cache.sql_cache_short.expire=10
167 beaker.cache.sql_cache_short.key_length = 256
169 beaker.cache.sql_cache_short.key_length = 256
168
170
169 beaker.cache.sql_cache_med.type=memory
171 beaker.cache.sql_cache_med.type=memory
170 beaker.cache.sql_cache_med.expire=360
172 beaker.cache.sql_cache_med.expire=360
171 beaker.cache.sql_cache_med.key_length = 256
173 beaker.cache.sql_cache_med.key_length = 256
172
174
173 beaker.cache.sql_cache_long.type=file
175 beaker.cache.sql_cache_long.type=file
174 beaker.cache.sql_cache_long.expire=3600
176 beaker.cache.sql_cache_long.expire=3600
175 beaker.cache.sql_cache_long.key_length = 256
177 beaker.cache.sql_cache_long.key_length = 256
176
178
177 ####################################
179 ####################################
178 ### BEAKER SESSION ####
180 ### BEAKER SESSION ####
179 ####################################
181 ####################################
180 ## Type of storage used for the session, current types are
182 ## Type of storage used for the session, current types are
181 ## dbm, file, memcached, database, and memory.
183 ## dbm, file, memcached, database, and memory.
182 ## The storage uses the Container API
184 ## The storage uses the Container API
183 ## that is also used by the cache system.
185 ## that is also used by the cache system.
184
186
185 ## db session ##
187 ## db session ##
186 #beaker.session.type = ext:database
188 #beaker.session.type = ext:database
187 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
189 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
188 #beaker.session.table_name = db_session
190 #beaker.session.table_name = db_session
189
191
190 ## encrypted cookie client side session, good for many instances ##
192 ## encrypted cookie client side session, good for many instances ##
191 #beaker.session.type = cookie
193 #beaker.session.type = cookie
192
194
193 ## file based cookies (default) ##
195 ## file based cookies (default) ##
194 #beaker.session.type = file
196 #beaker.session.type = file
195
197
196
198
197 beaker.session.key = rhodecode
199 beaker.session.key = rhodecode
198 ## secure cookie requires AES python libraries ##
200 ## secure cookie requires AES python libraries ##
199 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
201 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
200 #beaker.session.validate_key = 9712sds2212c--zxc123
202 #beaker.session.validate_key = 9712sds2212c--zxc123
201 ## sets session as invalid if it haven't been accessed for given amount of time
203 ## sets session as invalid if it haven't been accessed for given amount of time
202 beaker.session.timeout = 2592000
204 beaker.session.timeout = 2592000
203 beaker.session.httponly = true
205 beaker.session.httponly = true
204 #beaker.session.cookie_path = /<your-prefix>
206 #beaker.session.cookie_path = /<your-prefix>
205
207
206 ## uncomment for https secure cookie ##
208 ## uncomment for https secure cookie ##
207 beaker.session.secure = false
209 beaker.session.secure = false
208
210
209 ## auto save the session to not to use .save() ##
211 ## auto save the session to not to use .save() ##
210 beaker.session.auto = False
212 beaker.session.auto = False
211
213
212 ## default cookie expiration time in seconds `true` expire at browser close ##
214 ## default cookie expiration time in seconds `true` expire at browser close ##
213 #beaker.session.cookie_expires = 3600
215 #beaker.session.cookie_expires = 3600
214
216
215
217
216 ################################################################################
218 ################################################################################
217 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
219 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
218 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
220 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
219 ## execute malicious code after an exception is raised. ##
221 ## execute malicious code after an exception is raised. ##
220 ################################################################################
222 ################################################################################
221 set debug = false
223 set debug = false
222
224
223 ##################################
225 ##################################
224 ### LOGVIEW CONFIG ###
226 ### LOGVIEW CONFIG ###
225 ##################################
227 ##################################
226 logview.sqlalchemy = #faa
228 logview.sqlalchemy = #faa
227 logview.pylons.templating = #bfb
229 logview.pylons.templating = #bfb
228 logview.pylons.util = #eee
230 logview.pylons.util = #eee
229
231
230 #########################################################
232 #########################################################
231 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
233 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
232 #########################################################
234 #########################################################
233
235
234 # SQLITE [default]
236 # SQLITE [default]
235 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db
237 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db
236
238
237 # POSTGRESQL
239 # POSTGRESQL
238 # sqlalchemy.db1.url = postgresql://user:pass@localhost/rhodecode
240 # sqlalchemy.db1.url = postgresql://user:pass@localhost/rhodecode
239
241
240 # MySQL
242 # MySQL
241 # sqlalchemy.db1.url = mysql://user:pass@localhost/rhodecode
243 # sqlalchemy.db1.url = mysql://user:pass@localhost/rhodecode
242
244
243 # see sqlalchemy docs for others
245 # see sqlalchemy docs for others
244
246
245 sqlalchemy.db1.echo = false
247 sqlalchemy.db1.echo = false
246 sqlalchemy.db1.pool_recycle = 3600
248 sqlalchemy.db1.pool_recycle = 3600
247 sqlalchemy.db1.convert_unicode = true
249 sqlalchemy.db1.convert_unicode = true
248
250
249 ################################
251 ################################
250 ### LOGGING CONFIGURATION ####
252 ### LOGGING CONFIGURATION ####
251 ################################
253 ################################
252 [loggers]
254 [loggers]
253 keys = root, routes, rhodecode, sqlalchemy, beaker, templates, whoosh_indexer
255 keys = root, routes, rhodecode, sqlalchemy, beaker, templates, whoosh_indexer
254
256
255 [handlers]
257 [handlers]
256 keys = console, console_sql
258 keys = console, console_sql
257
259
258 [formatters]
260 [formatters]
259 keys = generic, color_formatter, color_formatter_sql
261 keys = generic, color_formatter, color_formatter_sql
260
262
261 #############
263 #############
262 ## LOGGERS ##
264 ## LOGGERS ##
263 #############
265 #############
264 [logger_root]
266 [logger_root]
265 level = NOTSET
267 level = NOTSET
266 handlers = console
268 handlers = console
267
269
268 [logger_routes]
270 [logger_routes]
269 level = DEBUG
271 level = DEBUG
270 handlers =
272 handlers =
271 qualname = routes.middleware
273 qualname = routes.middleware
272 # "level = DEBUG" logs the route matched and routing variables.
274 # "level = DEBUG" logs the route matched and routing variables.
273 propagate = 1
275 propagate = 1
274
276
275 [logger_beaker]
277 [logger_beaker]
276 level = DEBUG
278 level = DEBUG
277 handlers =
279 handlers =
278 qualname = beaker.container
280 qualname = beaker.container
279 propagate = 1
281 propagate = 1
280
282
281 [logger_templates]
283 [logger_templates]
282 level = INFO
284 level = INFO
283 handlers =
285 handlers =
284 qualname = pylons.templating
286 qualname = pylons.templating
285 propagate = 1
287 propagate = 1
286
288
287 [logger_rhodecode]
289 [logger_rhodecode]
288 level = DEBUG
290 level = DEBUG
289 handlers =
291 handlers =
290 qualname = rhodecode
292 qualname = rhodecode
291 propagate = 1
293 propagate = 1
292
294
293 [logger_sqlalchemy]
295 [logger_sqlalchemy]
294 level = INFO
296 level = INFO
295 handlers = console_sql
297 handlers = console_sql
296 qualname = sqlalchemy.engine
298 qualname = sqlalchemy.engine
297 propagate = 0
299 propagate = 0
298
300
299 [logger_whoosh_indexer]
301 [logger_whoosh_indexer]
300 level = DEBUG
302 level = DEBUG
301 handlers =
303 handlers =
302 qualname = whoosh_indexer
304 qualname = whoosh_indexer
303 propagate = 1
305 propagate = 1
304
306
305 ##############
307 ##############
306 ## HANDLERS ##
308 ## HANDLERS ##
307 ##############
309 ##############
308
310
309 [handler_console]
311 [handler_console]
310 class = StreamHandler
312 class = StreamHandler
311 args = (sys.stderr,)
313 args = (sys.stderr,)
312 level = INFO
314 level = INFO
313 formatter = generic
315 formatter = generic
314
316
315 [handler_console_sql]
317 [handler_console_sql]
316 class = StreamHandler
318 class = StreamHandler
317 args = (sys.stderr,)
319 args = (sys.stderr,)
318 level = WARN
320 level = WARN
319 formatter = generic
321 formatter = generic
320
322
321 ################
323 ################
322 ## FORMATTERS ##
324 ## FORMATTERS ##
323 ################
325 ################
324
326
325 [formatter_generic]
327 [formatter_generic]
326 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
328 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
327 datefmt = %Y-%m-%d %H:%M:%S
329 datefmt = %Y-%m-%d %H:%M:%S
328
330
329 [formatter_color_formatter]
331 [formatter_color_formatter]
330 class=rhodecode.lib.colored_formatter.ColorFormatter
332 class=rhodecode.lib.colored_formatter.ColorFormatter
331 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
333 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
332 datefmt = %Y-%m-%d %H:%M:%S
334 datefmt = %Y-%m-%d %H:%M:%S
333
335
334 [formatter_color_formatter_sql]
336 [formatter_color_formatter_sql]
335 class=rhodecode.lib.colored_formatter.ColorFormatterSql
337 class=rhodecode.lib.colored_formatter.ColorFormatterSql
336 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
338 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
337 datefmt = %Y-%m-%d %H:%M:%S
339 datefmt = %Y-%m-%d %H:%M:%S
General Comments 0
You need to be logged in to leave comments. Login now