Commit graph

6 commits

Author SHA1 Message Date
Tomas Kopecek
51358cfd09 simplify py3 tests 2020-06-18 15:41:35 +02:00
Tomas Kopecek
7f6b717eb6 python-modernize -f libmodernize.fixes.fix_import 2018-07-11 17:37:39 -04:00
Tomas Kopecek
c68396c059 Use unittest2 for rhel6 compatibility
Fixes: https://pagure.io/koji/issue/830
2018-06-07 09:39:39 -04:00
Ralph Bean
0f411d9821 Make HiddenUser into HiddenUsers.
At @mikeb's suggestion in the code review, this makes HiddenUsers plural.

This makes the whole changeset a little more invasive than it was before, so please review carefully.
2016-05-16 13:43:39 -04:00
Ralph Bean
5d6305e4de Remove unused var. 2016-05-16 13:43:39 -04:00
Ralph Bean
708b6a411c Allow hiding a user from the frontpage task list.
This adds new query arguments to the taskList hub xmlrpc endpoint, and then
makes use of those arguments in koji-web.  A new optional configuration value
is added for koji-web: `HiddenUser`, which can be used to specify which user
account should be hidden.  This could be useful for deployments that have a
continuous-integration account, the spam from which makes the frontpage
difficult to read.

Unit test cases are also added for some functions of the hub taskList endpoint.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2016-05-16 13:43:39 -04:00