Commit Graph

6 Commits

Author SHA1 Message Date
Dan McGee
0cad22a5ec Add a JSON view for retrieving mirror check locations
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-04-14 13:59:49 -05:00
Dan McGee
0f6a0a1cd0 Support mirror status JSON by tier
Just as we do for the normal status HTML view.

Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-14 08:54:33 -06:00
Dan McGee
4ab5d69477 Add mirror extended status JSON view
When asking for status for a single mirror, we can include logs from the
past 24 hours in addition to the normal information we provide. This is
slated for usage by a frontend graph still to come, similar to those on
the NTP pool website.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-10 14:14:25 -06:00
Dan McGee
ae1c526ffb Add ability to restrict status report to single tier
This should make it easier to catch errors in our Tier 1 mirrors.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-05-13 20:37:27 -05:00
Dan McGee
b8c20439c0 Change Django urls.py import
Until Django 1.3, the functions include(), patterns() and url() plus
handler404, handler500 were located in a django.conf.urls.defaults
module.

In Django 1.4, they live in django.conf.urls.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-23 19:54:40 -05:00
Dan McGee
b9fdcd0622 Modularize URLs
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-22 15:29:10 -06:00