summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-10-07Set verify_exists=False on ExternalProjects modelAaron Griffin1-1/+1
This causes issues when entering some URLs. See http://code.djangoproject.com/ticket/9918 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-05reporead: ensure we catch all testing repos in ratio checkDan McGee1-8/+9
With community testing, we want to ignore the ratio check failure there as well. Clean up the whole check a bit and store the percentage in a variable as it is useful in both checks and for output purposes. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-26reporead: do all DB updates in one transactionDan McGee1-0/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-26Make community-testing accessableDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-26reporead: join multivalue attributes with ', 'Dan McGee1-1/+1
Fixes FS#14270. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-26Update reporead and model to store pkgbaseDan McGee2-2/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-16Add a basic mirror view for the dev siteDan McGee4-1/+41
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-12Fix community links.Dusty Phillips2-2/+3
2009-08-21Add an 'external projects' model and admin for managing the projects page.Dusty Phillips2-1/+10
2009-08-18Apparently you couldn't view the packages page if the user wasn't logged ↵Dusty Phillips2-1/+36
into the admin.
2009-08-12Too many columns in mirror adminDusty Phillips1-1/+1
2009-08-12Merge branch 'master' of /srv/projects/git/archweb_devDusty Phillips2-1/+7
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 Phillips2-1/+5
2009-08-12merge fixDusty Phillips2-4/+3
2009-08-11So now the created user passwords should work and Aaron will be less pissed ↵Dusty Phillips1-4/+4
off at me.
2009-08-10Merge branch 'master' of ssh://archlinux.org/srv/projects/git/archweb_devDusty Phillips1-1/+1
2009-08-10Dan's patch applied.Dusty Phillips1-1/+1
2009-08-10Sometimes its better if you test your code before deploying. Other times, ↵Dusty Phillips1-0/+1
you just fix the missing imports in a second commit.
2009-08-10Add a page to aid Aaron in user creation.Dusty Phillips5-3/+147
2009-08-05Whoops! Got to clear that dep list firstDan McGee1-0/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-04Change deprecated admin site urls for 1.1.Dusty Phillips1-1/+1
2009-08-04Fix Dan's package population patch. Now it is tested.Dusty Phillips1-4/+5
2009-08-04reporead: unify add and update package codeDan McGee1-36/+29
We had a bit of a disparity between the add and update sections in reporead, causing issues like FS#12400 to only manifest themselves on updated packages rather than brand new ones. Unify the code into a function that does the updating so this doesn't happen again. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Dusty Phillips <buchuki@gmail.com>
2009-07-24Allow setting allowed repos to empty.Dusty Phillips1-1/+1
2009-07-24Repo-based permissions when adopting packages.Dusty Phillips2-3/+15
2009-07-13Fixes #12273. Patch supplied by Henning Garus.Dusty Phillips1-1/+1
2009-05-25Mark news as safe so people can enter HTML.Dusty Phillips1-1/+1
2009-05-05No More DohDusty Phillips1-0/+1
2009-05-05DOHDusty Phillips1-0/+0
2009-05-05Fix link to packages in todo lists.Dusty Phillips2-1/+1
2009-05-05Fix a bug when someone accesses the update page without POSTINg adopt or ↵Dusty Phillips1-6/+10
disown. Probably occurred by a press of the back button.
2009-04-14FS#11325. Add a 'Target Repo' column to the signoffs page.Dusty Phillips2-2/+13
2009-04-14Aaron says maintainer column isn't necessary (FS#11325)Dusty Phillips1-2/+0
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