summaryrefslogtreecommitdiffstats
path: root/main/admin.py
AgeCommit message (Collapse)AuthorFilesLines
2010-05-17Add alphabetical sorting to mirrorlistsThayer Williams1-1/+0
Also unify the sorting at the model-level for donors and remove the now duplicate sorting in the admin for mirrors. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-19Remove Arch-Based ProjectsDan McGee1-2/+1
Add a link to the wiki instead. Also remove ExternalProject model and associated dealings. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-19Remove International CommunitiesDan McGee1-8/+1
Add link to wiki instead. Also remove AltForum model and associated dealings. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-19Remove Press model and adminDan McGee1-7/+1
A link to the wiki was already present, but the model and admin had not been removed. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27Move package maintainer off of package modelDan McGee1-2/+2
This is an attempt to fix our long-standing problems dealing with maintainer information. Move the actual maintainer information off of the package model into a PackageRelation object, which has some flexibility to later represent more than just maintainership. This solves multiple problems: * If a package gets accidentally deleted, so did the maintainer info * Testing packages have always shown up as orphans * With split packages, it was easy to miss some of the sub-packages This commit does not include the deletion of the original maintainer column; that will come at a later time when I feel more confident that the data was migrated correctly. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-11Make the new 'testing' flag on repo a bit clearerDan McGee1-1/+6
Since at least two repositories currently fall under this flag, add some help text and visibility to this column. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06Mirror tiering enhancementsDan McGee1-2/+8
Add ability to track tier and upstream mirror in the database. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-10Remove archweb prefix from all importsDan McGee1-1/+1
Unnecessary, and lets us standardize on not using it everywhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Kill a no longer necessary hack in the adminDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-11-10modified import paths from archweb_dev to archwebIsmael Carnales1-1/+1
2009-08-21Add an 'external projects' model and admin for managing the projects page.Dusty Phillips1-1/+2
2009-08-12Too many columns in mirror adminDusty Phillips1-1/+1
2009-08-12Add a couple columns to user admin at Aaron's request.Dusty Phillips1-0/+2
2009-08-12Add a couple fields to mirror admin at Aaron's requestDusty Phillips1-1/+1
2009-02-07Mirror rsync IP: allow netmask specificationDan McGee1-0/+17
Noticed this was necessary while trying to get all the rsync IPs into the database. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-02-06Ensure all mirror URLs are saved with a trailing slashDan McGee1-2/+14
Add a clean_url() function to a custom ModelForm to accomplish this. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-02-06Refactor mirror modelDan McGee1-5/+23
Break the original model down into a few different components that should give us a lot more flexibility. Mirror is now the top level entity with one-to-many relationships to both URLs and rsync IP addresses. This should allow the DB model to serve all of our currently unsynced needs. Signed-off-by: Dan McGee <dan@archlinux.org>
2008-12-06User profiles are cool. Go go power notebookDusty Phillips1-1/+12
2008-10-06port admin to django 1.0Dusty Phillips1-0/+38