summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-05-17Redesigned flag pageThayer Williams1-22/+34
* form accessibility * descriptive href titles * better semantics Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned Package Details pageThayer Williams1-113/+145
* better semantics * removed unnecessary CSS * form accessibility * dynamic/descriptive href titles throughout Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned home pageThayer Williams1-101/+165
* descriptive IDs and classes * descriptive href titles throughout * linear headings and other semantics * accessible forms * re-arranged sidebar links * added paypal donation button Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned base templateThayer Williams1-63/+80
* content now above sidebar text in source code * new dev navbar * descriptive href titles * added body class block * cleaned up footer Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Add alphabetical sorting to mirrorlistsThayer Williams2-1/+7
Also unify the sorting at the model-level for donors and remove the now duplicate sorting in the admin for mirrors. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Updated error page semanticsThayer Williams3-12/+12
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17New and legacy logo files for Artwork pageThayer Williams38-0/+2922
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Added new stylesheets which will eventually go CDNThayer Williams2-0/+293
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redirect to root url after loginDan McGee1-0/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Fix display issues in IE/Chrome on developer list pageDan McGee1-1/+1
They did not like the self-closing anchor tag, causing the link style to get applied to the entire profile section. Not too cool. Gecko didn't seem to have a problem with it but IE and Chrome (all Webkit?) did. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Make group membership use Django groupsDan McGee1-2/+2
Rather than our home-baked roles field, which is free text so we really shouldn't be checking against anyway. It also prevents people from being both a developer and a TU. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17A few more changes to the download pageDan McGee1-13/+17
Update links and styles, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Remove a bunch of unused stylesDan McGee1-56/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Donor page rework for list formattingDan McGee3-35/+24
Instead of doing slicing and ugly table-based layout, move to a CSS-based organization of the donor list. Shoot for 4 columns but should degrade gracefully to fewer, and will look just fine with no CSS at all (one big tall list). Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Switch out donate button imageDan McGee1-1/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17New donate button for donate and home pagesThayer Williams1-0/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-16Update download page for new releaseDan McGee1-42/+25
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-16Ensure protocol order is stable on download pageDan McGee1-1/+1
Sometimes http was first, other times ftp was first. Add an order by clause to ensure it is the same for all mirrors. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-15Make CDN not dependent on DEBUG settingDan McGee1-3/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-04Add a hacked version of Django UpdateCacheMiddlewareDan McGee2-1/+53
This is to address a rather large issue with caching of feed objects in Django. Because they are built up using an XML library that does multiple writes on a file-like object, a single feed object, even when pulled from memcached, generates 1582 writes to the open socket rather than the optimal one it could do. Some version of this fix will be making it upstream, but I need to figure out how to approach that before I do so and for now this will address one of our larger performance issues on the live site since the packages feed is hit as often as it is. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-04Fix invalid template syntaxDan McGee1-2/+2
Django 1.1 doesn't support arbitrary logic in if statements, but we can use ifnotequal instead. Fixes breakage from commit 58566e. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-04todo: fix maintainer display textDan McGee1-1/+1
We were showing 'orphan' for every package due to our maintainer information moving. This is going to make the page a bit slow again, but we'll try and fix that later using some other tricks if possible. Fixes FS#18920. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-04Ensure changing profile email doesn't reset passwordDan McGee1-9/+6
We weren't checking to see if the password form fields were empty before setting the user password, causing it to get reset if anything was filled out and submitted on this page. FS#19345. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-04feeds: move link from method to attributeDan McGee1-3/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-29Package details view: Show the pkgbase if it differs from pkgnameThomas Bächler1-1/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-28Add a link to AirVM to the front page and the donations pageThomas Bächler3-0/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-28Dedupe entries in required by listDan McGee1-1/+1
Use distinct() on a query. Fixes FS#19195. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-19Updated maintainer in AUTHORS fileThayer Williams1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-19Migration to remove external projectsDan McGee1-0/+197
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-19Remove Arch-Based ProjectsDan McGee7-50/+3
Add a link to the wiki instead. Also remove ExternalProject model and associated dealings. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-19Migration to delete AltForum modelDan McGee1-0/+204
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-19Remove International CommunitiesDan McGee7-69/+3
Add link to wiki instead. Also remove AltForum model and associated dealings. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-19Migration to remove press modelDan McGee1-0/+210
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-19Remove Press model and adminDan McGee2-17/+1
A link to the wiki was already present, but the model and admin had not been removed. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-19Re-add italics for testing styleDan McGee1-1/+1
Lost this when I moved the links from the package name to the architecture. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-19Remove IRC ChannelsDan McGee4-78/+1
And link to wiki instead. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-17Improve front page recent updates listDan McGee2-7/+18
Instead of linking the package name, link the architecture. This will prevent the lost links we had when we collapsed the list to show multiple architectures at the same time. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-17Maintainer doesn't exist on package anymoreDan McGee1-1/+1
So remove it from the select_related() call on todo lists. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-17reporead: allow removal of last package in an archDan McGee1-10/+8
We had a situation where the last 'any' architecture package was present in the [testing] repo and never got removed because we never did the db_update() call on that architecture. Instead of looping all possible architectures and only calling if len() > 0, always call db_update() for both the primary architecture and the 'any' architecture. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-03Fix filelists AJAX replacementDan McGee2-12/+12
We were double nesting the filelist div. Have the AJAX call only return the contents and not the enclosing div. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-03Improve flag out-of-date logicDan McGee1-2/+2
Attempt to mark all packages built from the same PKGBUILD out of date at the same time by using pkgbase instead of pkgname. Ensure testing and non-testing repos are segregated as well. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-03Fix package URL in todo list emailsDan McGee1-1/+1
Fixes FS#18935. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-30Fix todolist dealing with package maintainersDan McGee1-3/+3
Forgot to update this, whoops. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-28Simplify code now that pkgbase is always definedDan McGee3-13/+7
This allows some of our queries to get a lot simpler as well as removing the pkgbase_safe property added earlier. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-28Make pkgbase non-null and indexedDan McGee2-1/+212
Now that we always populate it, this change will make it a lot easier to use when relating to other tables, such as our maintainer relations. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-28Make reporead always populate pkgbaseDan McGee2-1/+212
And also add a data migration to add the value retroactively for anything already in our database. We simply fall back to pkgname if pkgbase isn't available. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27Drop maintainer column off packages modelDan McGee2-1/+211
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27Move package maintainer off of package modelDan McGee12-45/+410
This is an attempt to fix our long-standing problems dealing with maintainer information. Move the actual maintainer information off of the package model into a PackageRelation object, which has some flexibility to later represent more than just maintainership. This solves multiple problems: * If a package gets accidentally deleted, so did the maintainer info * Testing packages have always shown up as orphans * With split packages, it was easy to miss some of the sub-packages This commit does not include the deletion of the original maintainer column; that will come at a later time when I feel more confident that the data was migrated correctly. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-23s/newsletter/magazine/ on front pageDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-23Make sure 'More' links don't wrapDan McGee1-2/+2
They look kind of silly on the front page when they are wrapped even though the text is extremely short. Add a CSS property to hopefully prevent wrapping. Signed-off-by: Dan McGee <dan@archlinux.org>