It takes a tonne of memory. If the countries.json file is present
(generated by "make countries") then the app will prefer to use it
saving itself megabytes of space.
This is for non-moderators to be able to view the commented / unminified
CSS so they can learn / cherry-pick bits from it.
This uses highlight.js from
isagalaev/highlight.js@45c03cd045.
Note that pylons.wsgiapp uses pylons.i18n's get_lang()
and friends, instead of our modified versions in
r2.lib.translation. This means that setting 'lang' in the
conf causes it to try and 'help' us by looking up PO files
in r2/i18n. Changing the ini files to use 'site_lang' as the
key gets around that.
* Upgrade flot and include the new timeseries flot plugin.
(flot/flot@ca050b26c2)
* All times mentioned by traffic are now in UTC, not "local."
* Traffic data is generated as actual tables and JavaScript
generates the Flot charts from the tables for accessibility.
* Many pieces of traffic data that were only accessible from the
old traffic app are now moved into the reddit app.
* Traffic backend lag time is indicated on the graphs for clarity.
* Use excanvas with Flot instead of Google Charts for old-IE fallback.
Static file mangling now renames files to their mangled form and
symlinks the original name. This cleanup rule deleted only the mangled
names, leaving broken symlinks. The quick'n'dirty solution is to clear
out all of the mangled and unmangled filenames so we don't leave things
in an inconsistent state.
Currently results in a ~10% decrease in sprite file size.
This required some tweaks to the way some sprites were clipped
since there's no longer a huge amount of padding around them,
these changes incidentally fix the issues with other sprites
showing up where they shouldn't when text ran too long etc.
* spreadshirt support which was discontinued in 1684da9 (Jun 2010)
* old socialite page css
* image preload markup
* lipstick.com, frame.css, and wired comments css
* "reddit is down" page
Login UI code has been simplified and moved into the client side. CORS
is used for the cross-domain POST if available, otherwise an iframe and
cookie polling technique is used. Start fleshing out the new JS tree. :)