Commit Graph

6 Commits

Author SHA1 Message Date
Dan McGee
c5b370f432 Admin setup tweaks
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-22 16:42:06 -05:00
Dan McGee
5f0916a8df Move country filter last in mirror admin
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-28 18:26:23 -05:00
Dan McGee
6d5909ca5d Auto-resolve mirror URLs on save
This prevents people from having to mess with these checkboxes at all in
the admin, and we incur no delay on their initial values being correct
waiting for the cron job to run.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-27 12:44:30 -06:00
Dan McGee
db1524fd64 Auto map the protocol URL field
And perform better validation when doing so.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-27 12:31:12 -06:00
Dan McGee
3ebe31bdad Add is_download field to mirror protocols
This will replace all the usages of '!= rsync' and 'is ftp or http' we have
in the code with one check on a boolean flag.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-30 14:20:45 -05:00
Dan McGee
7dba848eaf Move mirror models out of main app
South actually makes this relatively painless if you get everything right,
so might as well start getting these out of the legacy main application to
eventually eliminate models being separate from their views.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-06 12:01:46 -05:00