Commit Graph

669 Commits

Author SHA1 Message Date
Thayer Williams
49651ce0d5 Redesigned developer profiles
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
035fff3328 Redesigned artwork page with updated image paths
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
3945c52682 Redesigned News Pages
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
06f5261352 Updated template page semantics
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
465a74eddb Updated generic form for accessibility
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Dan McGee
7aa129155f Touch up download page a tad more
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
780c19c209 Redesigned mirrorlist generator page
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
23c99a7472 Redesigned login and logout pages
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
5c8f957904 Redesigned flaghelp page
* better semantics
* consistent appearance with archweb theme
* descriptive href titles

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
d7d0b26593 Redesigned flag page
* form accessibility
* descriptive href titles
* better semantics

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
b26e0d1fd6 Redesigned Package Details page
* better semantics
* removed unnecessary CSS
* form accessibility
* dynamic/descriptive href titles throughout

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Thayer Williams
febca4d7ee Redesigned home page
* 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-17 14:49:43 -05:00
Thayer Williams
55f562a19b Redesigned base template
* 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-17 14:49:43 -05:00
Thayer Williams
958bc63113 Add alphabetical sorting to mirrorlists
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-17 14:49:43 -05:00
Thayer Williams
dd9f1e3e91 Updated error page semantics
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:43 -05:00
Thayer Williams
3be33a91a3 New and legacy logo files for Artwork page
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:43 -05:00
Thayer Williams
278162de20 Added new stylesheets which will eventually go CDN
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:43 -05:00
Dan McGee
6f9308abd9 Redirect to root url after login
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:43 -05:00
Dan McGee
04f5b3e2f7 Fix display issues in IE/Chrome on developer list page
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-17 10:51:44 -05:00
Dan McGee
8116500afc Make group membership use Django groups
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-17 10:38:44 -05:00
Dan McGee
c7e8686f19 A few more changes to the download page
Update links and styles, etc.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 10:23:21 -05:00
Dan McGee
6b543b65e7 Remove a bunch of unused styles
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 10:20:52 -05:00
Dan McGee
e7a58b9d57 Donor page rework for list formatting
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-17 10:19:24 -05:00
Dan McGee
073e00ca70 Switch out donate button image
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 10:19:21 -05:00
Thayer Williams
ad9f0811e9 New donate button for donate and home pages
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 10:16:07 -05:00
Dan McGee
dde4bbcd5f Update download page for new release
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-16 14:04:32 -05:00
Dan McGee
a3dc482016 Ensure protocol order is stable on download page
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-16 14:02:09 -05:00
Dan McGee
0bdcc7ded0 Make CDN not dependent on DEBUG setting
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-14 17:00:23 -05:00
Dan McGee
4b7335f713 Add a hacked version of Django UpdateCacheMiddleware
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-04 10:53:40 -05:00
Dan McGee
c546630ad8 Fix invalid template syntax
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-04 10:49:33 -05:00
Dan McGee
c4a953c388 todo: fix maintainer display text
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-04 10:31:24 -05:00
Dan McGee
8291b1d5b7 Ensure changing profile email doesn't reset password
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-04 10:25:11 -05:00
Dan McGee
2b1256434c feeds: move link from method to attribute
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-04 10:03:00 -05:00
Thomas Bächler
58566e82d9 Package details view: Show the pkgbase if it differs from pkgname
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-29 11:11:11 -05:00
Thomas Bächler
8c3a4e77e7 Add a link to AirVM to the front page and the donations page
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-27 18:47:12 -05:00
Dan McGee
9412ca2803 Dedupe entries in required by list
Use distinct() on a query. Fixes FS#19195.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-27 18:45:29 -05:00
Thayer Williams
0f383fa3cd Updated maintainer in AUTHORS file
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18 23:36:33 -05:00
Dan McGee
9b4df2b838 Migration to remove external projects
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18 23:35:34 -05:00
Dan McGee
ec59440262 Remove Arch-Based Projects
Add a link to the wiki instead. Also remove ExternalProject model and
associated dealings.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18 23:27:27 -05:00
Dan McGee
d9e4a36fc9 Migration to delete AltForum model
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18 23:25:56 -05:00
Dan McGee
1709def7f1 Remove International Communities
Add link to wiki instead. Also remove AltForum model and associated
dealings.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18 23:14:53 -05:00
Dan McGee
94b735a181 Migration to remove press model
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18 22:56:42 -05:00
Dan McGee
8e6bb3d794 Remove Press model and admin
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-18 22:54:10 -05:00
Dan McGee
d38d1cbd34 Re-add italics for testing style
Lost this when I moved the links from the package name to the architecture.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18 22:52:07 -05:00
Dan McGee
c4ddff2f48 Remove IRC Channels
And link to wiki instead.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18 22:40:01 -05:00
Dan McGee
ad33813bc1 Improve front page recent updates list
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-17 11:10:26 -05:00
Dan McGee
8ea4aa21d1 Maintainer doesn't exist on package anymore
So remove it from the select_related() call on todo lists.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-17 11:09:31 -05:00
Dan McGee
8ec2e40451 reporead: allow removal of last package in an arch
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-16 20:02:22 -05:00
Dan McGee
5fb2fca70a Fix filelists AJAX replacement
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-02 17:53:33 -05:00
Dan McGee
5c7d507eea Improve flag out-of-date logic
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-02 17:39:41 -05:00