Mercurial > kallithea
comparison pylons_app/config/routing.py @ 485:9836541b0509 celery
added limit for showing pygemntized source codes larger than 250kb.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 18 Sep 2010 00:50:54 +0200 |
parents | a3d9d24acbec |
children | 87d80c84df09 |
comparison
equal
deleted
inserted
replaced
484:d3f701d912bd | 485:9836541b0509 |
---|---|
128 #OTHERS | 128 #OTHERS |
129 map.connect('changeset_home', '/{repo_name:.*}/changeset/{revision}', | 129 map.connect('changeset_home', '/{repo_name:.*}/changeset/{revision}', |
130 controller='changeset', revision='tip', | 130 controller='changeset', revision='tip', |
131 conditions=dict(function=check_repo)) | 131 conditions=dict(function=check_repo)) |
132 map.connect('raw_changeset_home', '/{repo_name:.*}/raw-changeset/{revision}', | 132 map.connect('raw_changeset_home', '/{repo_name:.*}/raw-changeset/{revision}', |
133 controller='changeset',action='raw_changeset', revision='tip', | 133 controller='changeset', action='raw_changeset', revision='tip', |
134 conditions=dict(function=check_repo)) | 134 conditions=dict(function=check_repo)) |
135 map.connect('summary_home', '/{repo_name:.*}/summary', | 135 map.connect('summary_home', '/{repo_name:.*}/summary', |
136 controller='summary', conditions=dict(function=check_repo)) | 136 controller='summary', conditions=dict(function=check_repo)) |
137 map.connect('shortlog_home', '/{repo_name:.*}/shortlog', | 137 map.connect('shortlog_home', '/{repo_name:.*}/shortlog', |
138 controller='shortlog', conditions=dict(function=check_repo)) | 138 controller='shortlog', conditions=dict(function=check_repo)) |
146 controller='files', revision='tip', f_path='', | 146 controller='files', revision='tip', f_path='', |
147 conditions=dict(function=check_repo)) | 147 conditions=dict(function=check_repo)) |
148 map.connect('files_diff_home', '/{repo_name:.*}/diff/{f_path:.*}', | 148 map.connect('files_diff_home', '/{repo_name:.*}/diff/{f_path:.*}', |
149 controller='files', action='diff', revision='tip', f_path='', | 149 controller='files', action='diff', revision='tip', f_path='', |
150 conditions=dict(function=check_repo)) | 150 conditions=dict(function=check_repo)) |
151 map.connect('files_raw_home', '/{repo_name:.*}/rawfile/{revision}/{f_path:.*}', | 151 map.connect('files_rawfile_home', '/{repo_name:.*}/rawfile/{revision}/{f_path:.*}', |
152 controller='files', action='rawfile', revision='tip', f_path='', | 152 controller='files', action='rawfile', revision='tip', f_path='', |
153 conditions=dict(function=check_repo)) | |
154 map.connect('files_raw_home', '/{repo_name:.*}/raw/{revision}/{f_path:.*}', | |
155 controller='files', action='raw', revision='tip', f_path='', | |
153 conditions=dict(function=check_repo)) | 156 conditions=dict(function=check_repo)) |
154 map.connect('files_annotate_home', '/{repo_name:.*}/annotate/{revision}/{f_path:.*}', | 157 map.connect('files_annotate_home', '/{repo_name:.*}/annotate/{revision}/{f_path:.*}', |
155 controller='files', action='annotate', revision='tip', f_path='', | 158 controller='files', action='annotate', revision='tip', f_path='', |
156 conditions=dict(function=check_repo)) | 159 conditions=dict(function=check_repo)) |
157 map.connect('files_archive_home', '/{repo_name:.*}/archive/{revision}/{fileformat}', | 160 map.connect('files_archive_home', '/{repo_name:.*}/archive/{revision}/{fileformat}', |