Add hard limit for the length of dependency lists
commitfbf3e5405781f0f7ded67e99ab83bebc0737499d
authorLukas Fleischer <lfleischer@archlinux.org>
Thu, 28 Apr 2016 17:28:23 +0000 (28 19:28 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Sun, 26 Jun 2016 06:53:55 +0000 (26 08:53 +0200)
treef1e0a2ea3259f8f7455e4a1839be1908d42808ab
parent0350de4b422b06e99ce769ba03d451577ecb0ee8
Add hard limit for the length of dependency lists

Introduce a configuration option max_depends which can be used to
specify a maximum number of (reverse) dependencies to display on the
package details pages.

Fixes FS#49059.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
conf/config.proto
web/lib/pkgfuncs.inc.php
web/template/pkg_details.php