summaryrefslogtreecommitdiffstats
path: root/public/views.py
AgeCommit message (Collapse)AuthorFilesLines
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-04-18Remove Arch-Based ProjectsDan McGee1-7/+1
Add a link to the wiki instead. Also remove ExternalProject model and associated dealings. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-18Remove International CommunitiesDan McGee1-7/+1
Add link to wiki instead. Also remove AltForum model and associated dealings. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-10Remove archweb prefix from all importsDan McGee1-2/+2
Unnecessary, and lets us standardize on not using it everywhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-05Make recent updates group multiple architecturesDan McGee1-3/+5
It isn't the most elegant operation in the world, but attempt to only show one line per package, grouping by architecture if multiple were updated in the same go. This makes the recent packages view a bit more useful as a heads up view. Implements FS#17304. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-04feeds: add per arch, per repo feed abilityDan McGee1-0/+7
Make the feed framework a lot more flexible and give the possibility to have a feed for each architecture. You can drill down even more than also get a feed for a particular repo; some might find this helpful for something like tracking [testing]. Implements FS#12939. I also bumped up the number of items available in each of these feeds; since it is full of a bunch of small items it might be more helpful to have more available and it should also prevent fewer ones from being missed. The UI isn't exactly spectacular, but I figured some sort of page is better than none listing all the various feeds you can pull from. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Spruce up the developer view pagesDan McGee1-15/+18
Quite a few changes here. Unify the developer view pages into one actual django view and template, and use different dispatches from urls.py to set up the three different queries for who to display and what message and group name to show. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Use select_related() to make a few more places more performantDan McGee1-1/+1
Especially when looking at packages, we always want the arch and repo. Another big hunk of changes deals with the very inefficient signoffs code. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Don't exclude testing packages from recently updatedDan McGee1-2/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-11-10Fix highlighting on main site tabsDan McGee1-2/+1
We should always highlight 'Home' when on the Django site. The sole exception is the download page which has its own special place. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-11-09corrected context variable names in index viewIsmael Carnales1-3/+3
2009-11-09made every public view return a RequestContextIsmael Carnales1-12/+18
RequestContexts are needed to check if the user is logged in NOTE: Generic views as direct_to_template and object_list always return a request context, so is good to use them :) Later will add a render_template shortcut that adds the RequestContext automatically
2009-11-09use direct_to_template to replace static viewsIsmael Carnales1-13/+0
2009-11-09changed landing viewIsmael Carnales1-8/+10
- moved devel.views.siteindex to public.views.index - using template from public view with added devel menu - added extra styles and images
2009-11-09"imported" public app files from archweb_pubIsmael Carnales1-0/+80
2007-12-29Removed public appeliott1-62/+0
2007-12-29Moved some things around.eliott1-1/+1
2007-12-29Massive retab fest.eliott1-0/+3
Also added vim command comment to the end of files.
2007-12-29Modified render_template and renamed it to render_response (consistent witheliott1-26/+26
archweb_pub conventions). Moved pkgmaint_guide to a template.
2007-12-29Moved common to publiceliott1-1/+1
2007-12-22added robots.txteliott1-0/+3
2007-12-22renamed importseliott1-5/+5
2007-11-03Initial import for public release...eliott1-0/+56
Special Note Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!