summaryrefslogtreecommitdiffstats
path: root/main/admin.py
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01Add created column to Donor modelDan McGee1-2/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-19Add a "Report a Bug" linkDan McGee1-1/+2
We need Flyspray category data to make this more useful, and we can prefill the Subject and Category fields (along with putting it on the right project). Implements FS#23751. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-08Show a few more fields in package adminDan McGee1-1/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-23Add basic todo list admin siteDan McGee1-1/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-23Add 'staging' field to Repo modelDan McGee1-2/+2
First steps towards implementing FS#23298. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-01Allow donors to be invisibleDan McGee1-0/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08Add metadata to Arch tableDan McGee1-1/+6
Add a column flagging whether this architecture is agnostic (e.g. 'any') or not. This will remove the hardcoded name checks we have all over the place and replace it with a boolean. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08Remove explicit ordering from admin specsDan McGee1-2/+0
The default ordering from the model itself will apply so no need to specify it here as well. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-06Move mirror models out of main appDan McGee1-58/+1
South actually makes this relatively painless if you get everything right, so might as well start getting these out of the legacy main application to eventually eliminate models being separate from their views. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25Add more metadata to repo modelDan McGee1-1/+1
Things like the flyspray project ID and SVN repo path should go here rather than being hardcoded in the code. Signed-off-by: Dan McGee <dan@archlinux.org>
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