summaryrefslogtreecommitdiffstats
path: root/public
AgeCommit message (Collapse)AuthorFilesLines
2010-02-27Only group packages if they are in the same repoDan McGee1-1/+1
Fixes FS#18436. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-10Remove archweb prefix from all importsDan McGee2-3/+3
Unnecessary, and lets us standardize on not using it everywhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-06Make recent updates group multiple architecturesDan McGee2-3/+24
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-05feeds: 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-02-01Spruce 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-12-02Add basic tests to public appIsmael Carnales2-0/+49
The addition of a models.py file in public app is needed for django to recognize it as an application for testing. Signed-off-by: Ismael Carnales <icarnales@gmail.com>
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-10corrected context variable names in index viewIsmael Carnales1-3/+3
2009-11-10made 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-10use direct_to_template to replace static viewsIsmael Carnales1-13/+0
2009-11-10changed 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-10"imported" public app files from archweb_pubIsmael Carnales2-0/+80
2007-12-30Removed public appeliott2-62/+0
2007-12-30Moved some things around.eliott4-68/+1
2007-12-30Massive retab fest.eliott3-6/+14
Also added vim command comment to the end of files.
2007-12-30Modified render_template and renamed it to render_response (consistent witheliott1-26/+26
archweb_pub conventions). Moved pkgmaint_guide to a template.
2007-12-30Moved common to publiceliott4-1/+63
2007-12-23added robots.txteliott1-0/+3
2007-12-22renamed importseliott1-5/+5
2007-11-03Initial import for public release...eliott2-0/+56
Special Note Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!