summaryrefslogtreecommitdiff
path: root/main/models.py
AgeCommit message (Collapse)Author
2009-07-24Allow setting allowed repos to empty.Dusty Phillips
2009-07-24Repo-based permissions when adopting packages.Dusty Phillips
2009-04-02Make donor name uniqueDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-02-08Store IP address as a char fieldDan McGee
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-07Add DB index on country fieldDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-02-06Use __unicode__ over __str__Dusty Phillips
2009-02-06Refactor mirror modelDan McGee
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 Phillips
2008-11-15alphabetical order on maintainers and packagesDusty Phillips
2008-10-12backport some archweb_pub changes into archweb_devDusty Phillips
2008-10-11simplify both look and code for dashboardDusty Phillips
2008-10-10fix another inefficient queryDusty Phillips
2008-10-10replace an ugly query with a nice queryDusty Phillips
2008-10-07fairly invasive refactor to developer dashboard to be more django friendlyDusty Phillips
2008-10-07optimize get_flag_statsDusty Phillips
2008-10-05drop a bunch of unusued importsDusty Phillips
2008-10-05port admin to django 1.0Dusty Phillips
2008-10-05port news to django 1.0 using generic viewsDusty Phillips
2008-09-16drop a bunch of stuff not necessary for django 1.0Dusty Phillips
2008-08-16#10340 Integrated Signoffs completed but untestedDusty Phillips
2008-08-16add signoff model for capturing signoffsDusty Phillips
2008-07-08attempt to reduce missing packagesDusty Phillips
2008-07-05 #10213 make package urls be pretty cool, if not awesomeDusty Phillips
2008-07-03make url field non validatyDusty Phillips
2008-06-27make package names uniqueDusty Phillips
2008-06-27refactor todo packages a bitDusty Phillips
2008-06-21make the package model part of the adminDusty Phillips
2008-06-19order by last update on package viewDusty Phillips
2008-05-23Added more meta to the admin interface for the press model.eliott
2008-04-17Modified get_depends handling slightlyeliott
2008-04-17Formatting adjustmenteliott
2008-04-17added more clarity to required_by fieldseliott
2008-04-17fixed comment wordingeliott
2008-04-16fixed issue where testing and unstable packages caused errors in get_dependseliott
2008-04-16Add sorting of required_by valueseliott
2008-04-16Changed url field type.eliott
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-11Refactored the urlize sections to remove display/view data from the model.eliott
Renamed methods, and methods now return raw data to the view layer.
2008-04-09Fix for required_by issue where all dependencies were listed, regardless of theeliott
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-09Changed to arches and repos in the db.eliott
Added them to the django admin interface as well.
2008-04-05cleanupeliott
2008-04-05fix for require query.eliott
2008-04-05renamed todolist tableeliott
2008-04-05Fix for FS#9554eliott
Backported and modified from 'master'
2008-03-22Refactored the model to remove arch and repo tables.eliott
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-08some model fixeseliott
2008-03-08small model changeeliott
2008-03-08Renamed more tables for consistencyeliott
2008-03-08renamed some tableseliott
2008-03-08More changes to the multiarch model.eliott
2008-03-08Added/fixed package depends urlize logiceliott