summaryrefslogtreecommitdiff
path: root/public/views.py
AgeCommit message (Collapse)Author
2010-02-04feeds: add per arch, per repo feed abilityDan McGee
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 McGee
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 McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-11-10Fix highlighting on main site tabsDan McGee
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 Carnales
2009-11-09made every public view return a RequestContextIsmael Carnales
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 Carnales
2009-11-09changed landing viewIsmael Carnales
- 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 Carnales
2007-12-29Removed public appeliott
2007-12-29Moved some things around.eliott
2007-12-29Massive retab fest.eliott
Also added vim command comment to the end of files.
2007-12-29Modified render_template and renamed it to render_response (consistent witheliott
archweb_pub conventions). Moved pkgmaint_guide to a template.
2007-12-29Moved common to publiceliott
2007-12-22added robots.txteliott
2007-12-22renamed importseliott
2007-11-03Initial import for public release...eliott
Special Note Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!