summaryrefslogtreecommitdiffstats
path: root/urls.py
AgeCommit message (Collapse)AuthorFilesLines
2010-09-22Add link to mirror status toolDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-21Add mirror status viewDan McGee1-0/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-21Rename generate mirrorlist viewDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-21Auto-populate slug on news item creationDan McGee1-1/+1
And make sure it is unique through a few queries and some magic. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-21Update news views to use slug instead of IDDan McGee1-6/+8
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-28PyLint suggested cleanupsDan McGee1-2/+0
We had a bunch of extra imports, non-conventional variable names, spacing issues, etc. that were relatively low-hanging fruit to clean up. Fix them and make the code a bit cleaner in the process. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-28Add a package groups sitemapDan McGee1-4/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-28Add a package group overview pageDan McGee1-0/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-28Add a group details viewDan McGee1-0/+3
This makes the support asked for in FS#19801 a lot more useful since we actually have an overview page for the entire group. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25Package Differences by Architecture viewDan McGee1-0/+1
Implements FS#20416. Port over the architecture differences view from archlinux.de and reimplement in Django with our DB schema. Also use a far simpler SQL query to do the dirty work rather than the triple UNION operation. This is accomplished by doing a bit more of the fetching work in code once we know what packages are actually involved. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Add a basic view for todo listsDusty Phillips1-0/+1
Dan: rename template and view to something a bit more concise. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-07Format all news items using markdownDan McGee1-0/+1
Implements FS#13741. A preview function is also added so working with news items is easier to make sure you get the formatting right. This will result in some older news items looking a bit weird if they didn't put linebreaks in all the right places, we can fix a few of these as we notice them. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-03mirrorlist: allow filtering by protocolDan McGee1-0/+4
And add some more "static" URLs to access the non-country filtered lists. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-03Get mirrorlist view ready for general useDan McGee1-3/+3
Make the page much more flexible- allow multiple countries to be selected rather than just one in the form. Also add a lot more text to the page, and move the 'all' option out into its own subheading rather than being in the same form. Both GET and POST requests are now allowed for ease of use from non-browser scenarios or those that wish to update their mirrorlist automatically and submit parameters to the URL. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-03Remove arch from mirrorlist generationDan McGee1-4/+1
With pacman 3.4.0, we can now use the $arch variable so we don't need architecture-specific mirrorlists. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-08Update feeds to new 1.2 frameworkDan McGee1-8/+6
Feeds are now views-based and don't need the dictionary anymore. get_object() now takes named arguments as well making it a bit more understandable when reading the code. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-26Add ability to download package from web interfaceDan McGee1-0/+2
After adding filename to the database, this is a rather simple request (see FS#19546). Right now the "randomly" chosen mirror happens to always be mirrors.kernel.org as it is the only one filed under the 'Any' country which is what we screen on. Perhaps this logic could be improved in the future but I don't see these links being all that high traffic anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-26Move package flagging URLs below the packageDan McGee1-4/+6
We were still using the user-facing package IDs here which we have eliminated everywhere else Change it to use the same user-friendly URL pattern we are using elsewhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-19Remove Arch-Based ProjectsDan McGee1-1/+0
Add a link to the wiki instead. Also remove ExternalProject model and associated dealings. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-19Remove International CommunitiesDan McGee1-1/+0
Add link to wiki instead. Also remove AltForum model and associated dealings. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-04-19Remove IRC ChannelsDan McGee1-1/+0
And link to wiki instead. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-20Switch some hardcoded urls to url tag usageDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-12urls: add several named URL patternsDan McGee1-16/+15
This will allow us to kill some hardcoded paths elsewhere as well as play some games with the sitemap. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-10Sitemaps: split and index, add package filesDan McGee1-5/+8
Split it up as it is growing rather large, and add all the package files views to the mix so Google or anyone can pick those up. They get a slightly lower priority (if that even matters). Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Bring package files view up to speedDan McGee1-1/+2
Move it away from the numeric pkgid-based view of old to the new pretty URL format. This does nothing to actually make the view show files (or even provide a link to it), but that will come in future commits. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-10Remove archweb prefix from all importsDan McGee1-47/+47
Unnecessary, and lets us standardize on not using it everywhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-09Move /jsi18n/ back out of /admin/ appDan McGee1-0/+3
This way we can skip the redirect to HTTPS on the real site that is not necessary by any means, and it works out for the best. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-09Add OpenSearch support to the siteDan McGee1-0/+1
Implements FS#14185. It is a bit more complex than listed there as I wanted to not hardcode the URLs in the descriptor file; to do this we need to make it a template and fill some things in. We also need to serve the file using the correct mime type. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-05feeds: add per arch, per repo feed abilityDan McGee1-0/+1
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-2/+3
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-02-01Get the calendar widget workingDan McGee1-2/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-11-10added missing packages views from archweb_pubIsmael Carnales1-0/+8
2009-11-10added mirrors app from archweb_pubIsmael Carnales1-0/+6
2009-11-10added sitemaps from archweb_pubIsmael Carnales1-0/+8
2009-11-10added feeds from archweb_pubIsmael Carnales1-0/+11
2009-11-10use direct_to_template to replace static viewsIsmael Carnales1-4/+5
2009-11-10changed landing viewIsmael Carnales1-1/+0
- moved devel.views.siteindex to public.views.index - using template from public view with added devel menu - added extra styles and images
2009-11-10added public appIsmael Carnales1-0/+15
2009-11-10modified import paths from archweb_dev to archwebIsmael Carnales1-28/+28
2009-09-26Make community-testing accessableDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-16Add a basic mirror view for the dev siteDan McGee1-0/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-10Add a page to aid Aaron in user creation.Dusty Phillips1-1/+3
2009-08-04Change deprecated admin site urls for 1.1.Dusty Phillips1-1/+1
2008-10-11drop useless viewDusty Phillips1-1/+0
2008-10-11change of style, I decided I like to have a wrapper for all generic viewsDusty Phillips1-6/+2
2008-10-10drop search/ url and just go to packagesDusty Phillips1-4/+6
2008-10-08drop id based searchingDusty Phillips1-2/+1
2008-10-07make form submit some but not all valuesDusty Phillips1-0/+1
2008-10-07replace package search with a nonfunctional newformDusty Phillips1-1/+0
2008-10-07drop extraneous commentsDusty Phillips1-3/+0