summaryrefslogtreecommitdiffstats
path: root/main/models.py
AgeCommit message (Collapse)AuthorFilesLines
2009-08-12Add a couple fields to mirror admin at Aaron's requestDusty Phillips1-0/+4
2009-07-24Allow setting allowed repos to empty.Dusty Phillips1-1/+1
2009-07-24Repo-based permissions when adopting packages.Dusty Phillips1-0/+1
2009-04-03Make donor name uniqueDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-02-08Store IP address as a char fieldDan McGee1-1/+1
Otherwise the netmask portion can get cut off because of the way Django by default limits IP Address fields to 15 characters. Oops. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-02-08Add DB index on country fieldDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-02-06Use __unicode__ over __str__Dusty Phillips1-8/+8
2009-02-06Refactor mirror modelDan McGee1-7/+31
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>
2009-01-01display the license field on package descriptionsDusty Phillips1-0/+1
2008-11-15alphabetical order on maintainers and packagesDusty Phillips1-0/+1
2008-10-13backport some archweb_pub changes into archweb_devDusty Phillips1-3/+13
2008-10-12simplify both look and code for dashboardDusty Phillips1-2/+2
2008-10-11fix another inefficient queryDusty Phillips1-21/+1
2008-10-11replace an ugly query with a nice queryDusty Phillips1-10/+4
2008-10-07fairly invasive refactor to developer dashboard to be more django friendlyDusty Phillips1-19/+5
2008-10-07optimize get_flag_statsDusty Phillips1-9/+8
2008-10-06drop a bunch of unusued importsDusty Phillips1-1/+0
2008-10-06port admin to django 1.0Dusty Phillips1-32/+0
2008-10-06port news to django 1.0 using generic viewsDusty Phillips1-1/+3
2008-09-17drop a bunch of stuff not necessary for django 1.0Dusty Phillips1-42/+37
2008-08-16#10340 Integrated Signoffs completed but untestedDusty Phillips1-6/+12
2008-08-16add signoff model for capturing signoffsDusty Phillips1-0/+11
2008-07-09attempt to reduce missing packagesDusty Phillips1-3/+2
2008-07-06 #10213 make package urls be pretty cool, if not awesomeDusty Phillips1-1/+2
2008-07-04make url field non validatyDusty Phillips1-1/+1
2008-06-28make package names uniqueDusty Phillips1-1/+1
2008-06-28refactor todo packages a bitDusty Phillips1-0/+9
2008-06-22make the package model part of the adminDusty Phillips1-2/+24
2008-06-20order by last update on package viewDusty Phillips1-0/+1
2008-05-24Added more meta to the admin interface for the press model.eliott1-0/+1
2008-04-18Modified get_depends handling slightlyeliott1-3/+3
2008-04-18Formatting adjustmenteliott1-3/+12
2008-04-18added more clarity to required_by fieldseliott1-7/+4
2008-04-17fixed comment wordingeliott1-1/+1
2008-04-17fixed issue where testing and unstable packages caused errors in get_dependseliott1-7/+8
2008-04-17Add sorting of required_by valueseliott1-0/+4
2008-04-17Changed url field type.eliott1-1/+1
Default url field oddly enough in django appears to be 200 chars long. A url is valid up to 255 chars I believe.
2008-04-12Refactored the urlize sections to remove display/view data from the model.eliott1-13/+24
Renamed methods, and methods now return raw data to the view layer.
2008-04-10Fix for required_by issue where all dependencies were listed, regardless of theeliott1-2/+3
architecture of the dep. Modified it so that only the current package's arch, as well as the 'any' arch, are valid for required by listing.
2008-04-10Changed to arches and repos in the db.eliott1-52/+48
Added them to the django admin interface as well.
2008-04-06cleanupeliott1-3/+5
2008-04-06fix for require query.eliott1-8/+6
2008-04-06renamed todolist tableeliott1-2/+2
2008-04-05Fix for FS#9554eliott1-6/+14
Backported and modified from 'master'
2008-03-23Refactored the model to remove arch and repo tables.eliott1-32/+47
Refactored the model to remove the arch and repo tables. Those data points are now encapsulated in the package table as an ENUM field. Changes to models and templates as needed.
2008-03-09some model fixeseliott1-6/+8
2008-03-08small model changeeliott1-1/+1
2008-03-08Renamed more tables for consistencyeliott1-4/+4
2008-03-08renamed some tableseliott1-5/+6
2008-03-08More changes to the multiarch model.eliott1-8/+20