Commit Graph

6 Commits

Author SHA1 Message Date
Dan McGee
82289ebb44 Add a rematch_packager management command
This allows quick resolution of all unmatched packages, especially after
tweaking the way find_user works.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-23 20:11:07 -05:00
Dan McGee
9156003d2d Turn find_user into UserFinder class
This moves the cache inside an instance. Also add a few more tests.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-23 19:50:46 -05:00
Dan McGee
26c54d0171 find_user: add tests and fix no email address case
If a packager string was passed in without an email address, we would
blow up on the matcher and not try to find a user.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-23 19:35:47 -05:00
Dan McGee
aaae7e599e Fix out of date test
A version of this view is now publicly available, so it returns 200.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15 15:53:44 -05:00
Dan McGee
710ec0a9de Remove devel notify view
All of this can just be set on the main profile page.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-03 14:44:02 -06:00
Ismael Carnales
3f8fe75d36 Add credential requirements tests to devel app
* Add models.py required file to app
* Use user_passes_test instead of custom superuser checking in
  new_user_form as it implements the same "next" redirection as
  login_required

Signed-off-by: Ismael Carnales <icarnales@gmail.com>
2009-12-01 23:26:14 -02:00