- 08 Nov, 2014 1 commit
-
-
Dan McGee authored
Yay for way improved performance. Local testing showed render times going from 265 ms to 135 ms. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 01 Sep, 2014 1 commit
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 29 Mar, 2014 1 commit
-
-
Dan McGee authored
This will make it easier in the future to clear out inactive mirrors that haven't been touched in a while. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 19 Dec, 2013 1 commit
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 15 Dec, 2013 1 commit
-
-
Dan McGee authored
This will allow those that care about mirrors to zoom into URL-level details for each mirror and examine the individual check results. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 14 Dec, 2013 2 commits
-
-
Dan McGee authored
This looks really crazy on our current Tier 1 mirrors, as some of them have tons of downstream mirrors. Instead, do what we did on the package details page and allow wrapping of the comma-separated list. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 27 Nov, 2013 1 commit
-
-
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:
Dan McGee <dan@archlinux.org>
-
- 07 Nov, 2013 1 commit
-
-
Dan McGee authored
PendingDeprecationWarning: 'The `cycle` template tag is changing to escape its arguments; the non-autoescaping version is deprecated. Load it from the `future` tag library to start using the new behavior. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 13 Jul, 2013 1 commit
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 22 May, 2013 1 commit
-
-
Dan McGee authored
For those that have permissions to do so. Makes it a heck of a lot easier to navigate around and enable or disable mirrors as necessary. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 10 May, 2013 1 commit
-
-
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:
Dan McGee <dan@archlinux.org>
-
- 20 Apr, 2013 1 commit
-
-
Dan McGee authored
I added this a while back, but didn't roll it out to all templates. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 14 Apr, 2013 2 commits
-
-
Dan McGee authored
Rather than lump it all together and have odd spikes depending on which side of the Atlantic checked a mirror in a given timeslot, draw a chart per check location. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
-
- 09 Feb, 2013 1 commit
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 16 Jan, 2013 1 commit
-
-
Dan McGee authored
This uses a new template tag to avoid repeating construction of the necessary HTML element all over the place. The site should look exactly as it did before, except now you don't have to download 20+ images to see some pages. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 14 Jan, 2013 1 commit
-
-
Dan McGee authored
We now always look for this information at the URL level, not the mirror level. This simplifies quite a bit of code in and around the mirror views. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 27 Dec, 2012 1 commit
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 13 Nov, 2012 1 commit
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 10 Nov, 2012 1 commit
-
-
Dan McGee authored
Still have some hardcoded stuff to rip out and replace to make this a bit more dynamic on things like sizing, but for now, this is a great start. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 09 Jul, 2012 1 commit
-
-
Dan McGee authored
And use it everywhere we were including the file before. This should make updating the version a heck of a lot easier. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 26 Apr, 2012 1 commit
-
-
Dan McGee authored
These are all used purely for decoration, and the country name itself is right next to the flag image, so we can safely mark these as "invisible" to screen readers, text browsers, etc. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 25 Apr, 2012 3 commits
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
* Add a migration to drop the old countries field. * Update all templates/views/utility methods to point at the new country field and dereference it as necessary. * Add the flags images to a few views where it makes sense. * Cleanup the download page layout quite a bit. * Bump the mirror status JSON version to 3; add country_code attribute. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
Dan McGee authored
We're going to move to using ISO 2 character codes via django countries, so start by moving the old data out of the way first. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 24 Mar, 2012 1 commit
-
-
Dan McGee authored
This is a lot more flexible and will allow more than just simple prefixing of the static file resources. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 06 Dec, 2011 1 commit
-
-
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:
Dan McGee <dan@archlinux.org>
-
- 17 Aug, 2011 1 commit
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 29 Mar, 2011 1 commit
-
-
Dan McGee authored
Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 28 Mar, 2011 1 commit
-
-
Dan McGee authored
Get the URLs with their performance data showing up, and simplify the top part for non-authenticated users while adding more detail for logged-in users. Signed-off-by:
Dan McGee <dan@archlinux.org>
-
- 25 Sep, 2010 1 commit
-
-
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:
Dan McGee <dan@archlinux.org>
-