summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-04-06reporead: dramatically reduce number of queriesDan McGee1-3/+7
Commit 789b5445cf originally set out to fix this problem but was not complete. When doing an update of [extra], the code still did > 2000 database queries because of an ill-placed call to QuerySet.get(). By using a dictionary lookup, we reduce the number of database queries to a measly 4 when updating extra and no new packages are present. Signed-off-by: Dan McGee <dan@archlinux.org>
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-07Update admin_media to latest Django versionDan McGee16-36/+258
Signed-off-by: Dan McGee <dan@archlinux.org>
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-07Remove unneeded link for the dev siteDan McGee1-1/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-02-07remove unneeded scriptDan McGee1-17/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-02-06Use __unicode__ over __str__Dusty Phillips1-8/+8
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 McGee2-12/+54
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-02-06Misc script changes that haven't been committed.Dusty Phillips2-4/+7
2009-01-31Put maintainer list by last name.Dusty Phillips1-1/+1
2009-01-31Add package count to the top of the search table.Dusty Phillips1-1/+26
2009-01-19Apparently its not available on https. Bad Dan.Dusty Phillips1-1/+1
2009-01-19Add Dan's stats page to the dev menu.Dusty Phillips1-0/+1
2009-01-17Make the dashboard stats collapsed by default.Dusty Phillips2-6/+29
2009-01-16Copyright infringementDusty Phillips1-1/+1
2009-01-01fix my flagged packages urls.Dusty Phillips1-1/+1
2009-01-01Insert the license field into the package database when packages are updated.Dusty Phillips1-1/+4
2009-01-01display the license field on package descriptionsDusty Phillips2-0/+4
2008-12-06User profiles are cool. Go go power notebookDusty Phillips1-1/+12
2008-11-28Remove caching crud from archweb_devDan McGee1-8/+0
We aren't going to enable this because it is a restricted-access site, so no need in keeping the crud around. Signed-off-by: Dan McGee <dan@archlinux.org>
2008-11-26reporead: force load of package list from databaseDan McGee1-2/+6
Rather than load one package at a time and put unnecessary load on the database, load them all at once upfront since we are going to need 99% of them anyway. This shifts the burden of work from the database to the python script itself. Signed-off-by: Dan McGee <dan@archlinux.org>
2008-11-15alphabetical order on maintainers and packagesDusty Phillips2-1/+2
2008-11-11proper columns on my flagged packages.Dusty Phillips1-1/+1
2008-11-09don't show inactive users in dev listDusty Phillips1-1/+1
2008-10-31only show dev toolbar if user is logged inDusty Phillips1-9/+11
2008-10-23finished commentDusty Phillips1-1/+1
2008-10-13backport some archweb_pub changes into archweb_devDusty Phillips1-3/+13
2008-10-13drop seeveral unnecessary templatesDusty Phillips8-112/+0
2008-10-12drop a bunch more media filesDusty Phillips9-0/+0
2008-10-12drop some extra media (may have to restore)Dusty Phillips14-231/+0
2008-10-12drop calendar dependency (use admin version instead)Dusty Phillips2-2398/+0
2008-10-12drop jquery dependencyDusty Phillips5-62/+0
2008-10-12drop some print statementsDusty Phillips1-3/+1
2008-10-12drop a couple completed to-dos and blank linesDusty Phillips2-5/+0
2008-10-12refactor duplicate signoff codeDusty Phillips1-8/+4
2008-10-12drop some unused templatetagsDusty Phillips1-18/+5
2008-10-12separate copyrighted middleware from my additionsDusty Phillips2-16/+2
2008-10-12simplify both look and code for dashboardDusty Phillips4-39/+37
2008-10-11use RequestContext because its standardDusty Phillips5-24/+19
2008-10-11drop useless viewDusty Phillips3-10/+3
2008-10-11update documentationDusty Phillips3-4/+12
2008-10-11fix broken maintainer packages linksDusty Phillips2-20/+8
2008-10-11fix another inefficient queryDusty Phillips1-21/+1
2008-10-11replace an ugly query with a nice queryDusty Phillips1-10/+4
2008-10-11drop wiki appDusty Phillips1-1/+0
2008-10-11port to django 1.0Dusty Phillips1-12/+14
2008-10-11change of style, I decided I like to have a wrapper for all generic viewsDusty Phillips1-6/+2