Commit Graph

7 Commits

Author SHA1 Message Date
Dan McGee
2d407d9c1b mirrorlist: allow filtering by protocol
And add some more "static" URLs to access the non-country filtered lists.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-02 20:02:26 -05:00
Dan McGee
d29d23ecf3 Get mirrorlist view ready for general use
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-02 19:24:54 -05:00
Dan McGee
e5bd769432 Remove arch from mirrorlist generation
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-07-02 18:34:09 -05:00
Dan McGee
b3059dd3e8 Remove action when submitting to same URL
It looks like the `action="."` business was screwing up some browsers,
notably lynx and links. We don't need it as the default is to submit to the
same page anyway, so kill this gunk and see if it fixes a login CSRF issue.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-11 17:29:46 -05:00
Dan McGee
bad2825fab Updates for CSRF protection in Django 1.2.X
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-05 12:58:31 -05:00
Thayer Williams
780c19c209 Redesigned mirrorlist generator page
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17 14:49:44 -05:00
Ismael Carnales
6243f7ba66 added mirrors app from archweb_pub 2009-11-09 22:24:46 -02:00