gitweb: polish the content tags support
commiteeb5011b56a0fb5b0f570070e62a1f43fbf0ef83
authorPetr Baudis <pasky@ucw.cz>
Wed, 4 Nov 2009 00:04:13 +0000 (4 01:04 +0100)
committerKyle J. McKay <mackyle@gmail.com>
Sat, 4 Apr 2015 14:16:30 +0000 (4 07:16 -0700)
treeef07eba8a6db501e94d4de2465365084cc787e2c
parent456a44f81b5920ef71afc19d343b1c2bceb98323
gitweb: polish the content tags support

This patch integrates the tag filtering CGI parameter into the framework
for parameter passing, dropping 'by_tag' and instead using query name 't'
and symbolic name 'ctag_filter'. Compatibility support for 'by_tag' query
name is retained.

This means that content tag links are now created using $cgi->a() and
the href() method, and that they now point to the proper action;
project_list in case of global content tags, forks in case of per-fork
content tags. Also any other arguments like sorting order of projects
are replayed within the links.

This patch also restores the ability to add tags if the ctags feature
is set to a POST action rather than a positive integer.

Signed-off-by: Petr Baudis <pasky@ucw.cz>
Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
gitweb/gitweb.perl