Mercurial > kallithea
comparison rhodecode/controllers/changelog.py @ 1130:1cecc7db3106 beta
fixed some limits in changesets and changelogs
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 13 Mar 2011 13:38:07 +0100 |
parents | 41a695e604ba |
children | 6832ef664673 |
comparison
equal
deleted
inserted
replaced
1129:fe7fa9942015 | 1130:1cecc7db3106 |
---|---|
2 """ | 2 """ |
3 rhodecode.controllers.changelog | 3 rhodecode.controllers.changelog |
4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
5 | 5 |
6 changelog controller for rhodecode | 6 changelog controller for rhodecode |
7 | 7 |
8 :created_on: Apr 21, 2010 | 8 :created_on: Apr 21, 2010 |
9 :author: marcink | 9 :author: marcink |
10 :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> | 10 :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> |
11 :license: GPLv3, see COPYING for more details. | 11 :license: GPLv3, see COPYING for more details. |
12 """ | 12 """ |
47 @LoginRequired() | 47 @LoginRequired() |
48 @HasRepoPermissionAnyDecorator('repository.read', 'repository.write', | 48 @HasRepoPermissionAnyDecorator('repository.read', 'repository.write', |
49 'repository.admin') | 49 'repository.admin') |
50 def __before__(self): | 50 def __before__(self): |
51 super(ChangelogController, self).__before__() | 51 super(ChangelogController, self).__before__() |
52 c.affected_files_cut_off = 60 | |
52 | 53 |
53 def index(self): | 54 def index(self): |
54 limit = 100 | 55 limit = 100 |
55 default = 20 | 56 default = 20 |
56 if request.params.get('size'): | 57 if request.params.get('size'): |