summaryrefslogtreecommitdiff
path: root/urls.py
AgeCommit message (Collapse)Author
2011-12-03Merge https://projects.archlinux.org/git/archwebJohannes Krampf
2011-11-30Add master key overview pageDan McGee
And a bunch of text that may suck, but is better than nothing. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-26Merged with archweb trunkJohannes Krampf
2011-11-11Add a split packages sitemaprelease_2011-11-11Dan McGee
With very low priority, but this should at least give a few more cross-linking pages to any crawlers using sitemaps. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-27Add some legacy URL redirectsDan McGee
Amazing that we still see hits on these URLs... Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-11Pylint suggested and other cleanupsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-07Cache static /jsi18n/ resource for one weekDan McGee
Rather than the default middleware page cache length of only minutes. This will save clients a lot of requests when browsing packages. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-05Add package visualizations pageDan McGee
Why the hell not? Have fun clicking all the pretty buttons. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-03Merge branch 'master' of git://projects.archlinux.org/archwebNicolás Reynolds
Conflicts: packages/urls.py templates/packages/details.html
2011-06-15Add a base pages sitemapDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-10Added HTTPS only messageNicolás Reynolds
2011-05-21Merge branch 'master' of git://projects.archlinux.org/archwebNicolás Reynolds
Conflicts: devel/views.py feeds.py templates/devel/index.html templates/packages/flag.html templates/public/index.html todolists/views.py urls.py
2011-04-28Rename isotests to relengDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28isotests: modelines, imports, url and passTom Willemsen
* Added vim modelines to files. * Rearranged import statements. * Moved the arch releng isos url to settings.py. * Fixed some issues that arose from forgetting to import the isotests urls package. * removed redundant str() calls. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-07Convert generic views in urls.py to class-basedDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-06Merge branch 'master' of git://projects.archlinux.org/archwebNicolás Reynolds
Conflicts: media/archweb.css public/views.py urls.py
2011-03-04Remove multiple account login/logout URLsDan McGee
And slightly spruce up the logout template with a header. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-27Slight refactor of user list viewsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-22Modularize URLsDan McGee
Make some additional URL config files that can be included so we aren't trying to do so much in the top level config. This also allows us to branch a bit more rather than go linear down the rather lengthy list. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-09Merge branch 'master' of git://projects.archlinux.org/archwebNicolás Reynolds
2011-02-01Use os.path.join for path manipulationDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-19Merge branch 'master' of git://projects.archlinux.org/archwebNicolás Reynolds
Conflicts: templates/devel/clock.html templates/packages/group_details.html templates/packages/groups.html
2011-01-18Add arch-specific group overview pagesDan McGee
This is easy enough to refactor and support with our current infrastructure and group-fetching functions. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-31Fixed urls.pyParabola
2010-12-31Merge git://projects.archlinux.org/archwebNicolás Reynolds
Conflicts: templates/public/index.html urls.py
2010-12-29Revert "Various changes, plus licenses are now pointing to the real ↵Parabola
licenses. (gtklocker)" This reverts commit d8fe78f471f2b7821a99f7c2697e0e2ab0a374c1. Conflicts: media/devs/gtklocker.png
2010-12-27Various changes, plus licenses are now pointing to the real licenses. ↵Parabola
(gtklocker)
2010-12-14Fix urls precedence in mirror viewsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Move more URLs out of root urlconfDan McGee
Things are a bit cleaner now. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Move news urls into own fileDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Split urls.py up by view prefixDan McGee
This makes things a lot cleaner and easier to read; we were getting quite clunky. It also sets the stage for url inclusion rather than one base urls.py file. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Add a mirror status JSON viewDan McGee
Requested in FS#21144. This should provide most if not all of the data that was provided on the archlinux.de website, although there are some differences in what is returned to the user. It is nearly the same data as that provided in the HTML view, the difference being things are a bit more machine-friendly and the list is not split into good and bad portions. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-11-17urls.py now serve static content, modified download.html and delete arch logosJoshua Ismael Haase Hernández
2010-11-15changes from 15 novParabola
2010-09-24Add a basic mirror details pageDan McGee
Still some work to do here, but this covers the basics of the public view we can show for mirrors and their associated data. The upstream and downstream links should be working OK to aid navigation, but right now we have some potential dead links for non-authenticated users if they click a link to a "private" mirror. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-24Make general mirror list view publicDan McGee
Hide some columns when not logged in because they aren't relevant for the general public, but this will work nicely as a base page for all of our known mirrors. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-21Add link to mirror status toolDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-21Add mirror status viewDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-21Rename generate mirrorlist viewDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-21Auto-populate slug on news item creationDan McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-28PyLint suggested cleanupsDan McGee
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-27Add a package groups sitemapDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add a package group overview pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add a group details viewDan McGee
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 McGee
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 Phillips
Dan: rename template and view to something a bit more concise. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-06Format all news items using markdownDan McGee
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-02mirrorlist: allow filtering by protocolDan McGee
And add some more "static" URLs to access the non-country filtered lists. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-02Get mirrorlist view ready for general useDan McGee
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>