1. 27 Nov, 2013 1 commit
    • Dan McGee's avatar
      Stop using Django-provided floatformat template tag · 9adc2e53
      Dan McGee authored
      
      
      It turns out this is a HUGE part of our slow mirror status template
      rendering, due to the internal workings. Everything is converted to a
      Python decimal object which is way slower than just staying in native
      floating point. Given we are always dealing with floats when we need to
      do our formatting, a home-rolled template tag can accomplish this much
      faster.
      
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
      9adc2e53
  2. 07 Nov, 2013 1 commit
  3. 13 Jul, 2013 1 commit
  4. 22 May, 2013 1 commit
  5. 10 May, 2013 1 commit
    • Dan McGee's avatar
      Add mirror error logs to mirror details page · 8097a1fd
      Dan McGee authored
      
      
      Give a window of 7 days for logs here rather than the default 24 hours
      we do on the main status page since we are only retrieving details for a
      single mirror with a handful of URLs. This should make it easier to have
      all information regarding one mirror in a single location.
      
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
      8097a1fd
  6. 20 Apr, 2013 1 commit
  7. 14 Apr, 2013 2 commits
  8. 09 Feb, 2013 1 commit
  9. 16 Jan, 2013 1 commit
  10. 14 Jan, 2013 1 commit
  11. 27 Dec, 2012 1 commit
  12. 13 Nov, 2012 1 commit
  13. 10 Nov, 2012 1 commit
  14. 09 Jul, 2012 1 commit
  15. 26 Apr, 2012 1 commit
  16. 25 Apr, 2012 3 commits
  17. 24 Mar, 2012 1 commit
  18. 06 Dec, 2011 1 commit
    • Dan McGee's avatar
      Convert to and enable staticfiles contrib application · 943ef2e8
      Dan McGee authored
      
      
      This moves our site static files into the sitestatic directory if they
      are shared resources, and also moves a handful of things (such as the
      artwork logos) into application-specific static/ directories. This
      allows the staticfiles contrib app to work after a few settings tweaks,
      a run of collectstatic, and massaging the hardcoded '/media/' prefix out
      of our templates.
      
      Django 1.4 is going to make this a lot easier to move things to a CDN
      and provides better template tags; for now this is setting the stage
      before we can move to that.
      
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
      943ef2e8
  19. 17 Aug, 2011 1 commit
  20. 29 Mar, 2011 1 commit
  21. 28 Mar, 2011 1 commit
  22. 25 Sep, 2010 1 commit
    • Dan McGee's avatar
      Add a basic mirror details page · bc5a5781
      Dan McGee authored
      
      
      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: default avatarDan McGee <dan@archlinux.org>
      bc5a5781