summaryrefslogtreecommitdiff
path: root/main
AgeCommit message (Collapse)Author
2010-01-31Add initial South migration for 'main' appDan McGee
Thanks to Evangelos Foutras for the inspiration. Recreated from scratch only to make sure everything is in sync. From this point on, you will need to have the 'south' Django/Python package installed to use archweb. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Fix todolist bug with select_related()Dan McGee
Hey, what do you know? Using a relational DB in a non-relational way can come back to bite you. Go foreign keys! Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-30Drastically reduce loading time of Todo listsEvangelos Foutras
Use Django's select_related() on the TodolistPkg QuerySet to avoid making 4 database queries per package. This way we're making just one query, regardless of the number of packages in the Todo list. Local testing with 1000 entries in a Todo list show that the loading time has been reduced from 2675 ms to around 560 ms, while the number of queries has been cut down from 8005, to only 5. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-11-09removed RequireLoginMiddlewareIsmael Carnales
2009-11-09modified import paths from archweb_dev to archwebIsmael Carnales
2009-10-18Adjust SVN links to the WebSVN URL schemeThomas Bächler
2009-10-17Port archweb_pub commit 1f96c7a1182ef75279c18986b708e683f89dd690 to ↵Thomas Bächler
archweb_dev. This is the original commit message by Dan: "Make package SVN links always work This should clean up the links for all varieties of things- different arches (including any), different repos (community and community-testing), and split packages. All of the logic is in one place now and any further changes should be made to the method on the package object."
2009-10-07Set verify_exists=False on ExternalProjects modelAaron Griffin
This causes issues when entering some URLs. See http://code.djangoproject.com/ticket/9918 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-25Update reporead and model to store pkgbaseDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-20Add an 'external projects' model and admin for managing the projects page.Dusty Phillips
2009-08-12Too many columns in mirror adminDusty Phillips
2009-08-12Add a couple columns to user admin at Aaron's request.Dusty Phillips
2009-08-12Add a couple fields to mirror admin at Aaron's requestDusty Phillips
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-07Mirror rsync IP: allow netmask specificationDan McGee
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-06Use __unicode__ over __str__Dusty Phillips
2009-02-06Ensure all mirror URLs are saved with a trailing slashDan McGee
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 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-12-05User profiles are cool. Go go power notebookDusty Phillips
2008-11-15alphabetical order on maintainers and packagesDusty Phillips
2008-10-12backport some archweb_pub changes into archweb_devDusty Phillips
2008-10-11separate copyrighted middleware from my additionsDusty Phillips
2008-10-11simplify both look and code for dashboardDusty Phillips
2008-10-10use RequestContext because its standardDusty Phillips
2008-10-10fix another inefficient queryDusty Phillips
2008-10-10replace an ugly query with a nice queryDusty Phillips
2008-10-07need better than ids for optionsDusty Phillips
2008-10-07fairly invasive refactor to developer dashboard to be more django friendlyDusty Phillips
2008-10-07these tests will be broken and should have some real tests written laterDusty Phillips
2008-10-07optimize get_flag_statsDusty Phillips
2008-10-05drop references to the wikiDusty 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-10-05use an autouser middleware to set the creator of an objectDusty 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