Commit Graph

862 Commits

Author SHA1 Message Date
Neil Williams
5acbd952ee Remove strange space character from link template. 2011-11-14 22:10:02 -08:00
Max Goodman
61fb725bf9 Fix tabmenu in opera. 2011-11-14 22:09:55 -08:00
Neil Williams
cfb4f75795 Update header image to transparent version. 2011-11-14 20:45:39 -08:00
Neil Williams
2b61f9f236 Add static() equivalent on client-side.
and make sure the code uses it.
2011-11-14 20:45:34 -08:00
Neil Williams
4200c37874 Make sure static URLs go through static(). 2011-11-14 20:45:29 -08:00
Max Goodman
67172823ec Fix sprited header image in IE7. 2011-11-14 20:45:22 -08:00
Neil Williams
8350d3f457 Sprite some more of all the things!
Had to convert the three special thumbnail images
to 32-bit PNGs rather than PNG8 with indexed alpha
since PIL does not support the latter. ImageMagick was
awesome for this.
2011-11-14 20:45:17 -08:00
Max Goodman
22ad1f432d Transparent orangered is much cooler. 2011-11-14 20:45:11 -08:00
Neil Williams
0a5e08b005 Rewrite spriter to lay out sprites more intelligently.
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.
2011-11-14 20:45:06 -08:00
Neil Williams
af61995c48 Add script for uploading static files to S3. 2011-11-14 20:45:01 -08:00
Neil Williams
50a5daa60c Allow static files to be served from other domains. 2011-11-14 20:44:51 -08:00
Neil Williams
97c14e0f22 Use relative URLs for CSS images. 2011-11-14 20:44:46 -08:00
Neil Williams
ba8e1da19f Remove a bunch of unused stuff.
* 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
2011-11-14 20:44:40 -08:00
Neil Williams
034e1f151b generate_static_names: Fix case where no base specified. 2011-11-14 20:44:36 -08:00
Neil Williams
4d2c3c2835 Generate gzipped versions of JS/CSS static files.
Also, flip the symlinking so that unmangled points to the latest
mangled file.
2011-11-14 20:44:31 -08:00
Neil Williams
07072d0a61 Fix path to non-CDN jQuery. 2011-11-14 20:44:26 -08:00
Neil Williams
8e0e90d76f Use default python in Makefile. 2011-11-14 20:44:19 -08:00
Keith Mitchell
7bceffaed1 Redirect /i18n to /r/r18n 2011-11-14 15:14:53 -08:00
Max Goodman
cd25825d07 Force proper scaling of logos in compact. 2011-11-11 13:30:19 -08:00
Max Goodman
1945c6b838 Use the default subreddit's header size for the main logo. 2011-11-11 13:30:04 -08:00
Max Goodman
9c5d73f3df Return JSON including the user fullname in user lists. 2011-11-10 23:59:09 -08:00
bl0ckeduser
e0b8043d04 Internationalize username / password input placeholders. 2011-11-10 23:59:09 -08:00
Max Goodman
09a3fda9ac Remove unused text_with_js util. 2011-11-10 23:59:09 -08:00
Max Goodman
087552494e Link to https page in the header login/register link. 2011-11-10 23:59:09 -08:00
Max Goodman
cfa0582858 Generalize link arguments in text_with_links util. 2011-11-10 23:59:09 -08:00
Max Goodman
8d802164a7 Remove unused text_with_links imports. 2011-11-10 23:59:09 -08:00
Max Goodman
94ac558ca4 Add JSON api access to various user lists. 2011-11-10 15:04:41 -08:00
Keith Mitchell
2a63d862f4 Make r2.pot generation work again
Also, blame a random admin on failure
2011-11-10 11:48:43 -08:00
Max Goodman
39a556a602 Move r.setup config data into a python dict. 2011-11-09 14:36:37 -08:00
Max Goodman
777efab2df Move r.config into an r.setup() call after modules load.
The inline script now has id="config" and is in JSONP format, which will
make it easier for browser extensions and greasemonkey scripts to access
reddit config variables in isolated environments.
2011-11-09 14:36:18 -08:00
Max Goodman
3ef79bf5ee Remove an unused template file invoking js_preamble(). 2011-11-09 14:36:13 -08:00
Max Goodman
172f869e33 Add an example subdomain for payment_domain in example.ini.
The value of payment_domain needs to be different from the standard
g.domain so that c.secure is only set for the payment pages.
2011-11-08 16:25:21 -08:00
Max Goodman
b1cbc05f49 Move login throttling logic to a reusable validator. 2011-11-08 16:25:20 -08:00
Max Goodman
ea1fb6f97d Redesign the account deletion page.
Provide better information about the effect of deleting an account, and
possible alternatives. Require username/password authentication before
deleting accounts. Add an optional message box so users can explain why
they deleted their account.
2011-11-08 16:25:20 -08:00
Max Goodman
894733727e Update trademark line in the footer. 2011-11-08 16:25:20 -08:00
Max Goodman
77fbe5ae58 Add c.secure to the render and page cache keys. 2011-11-04 14:11:42 -07:00
Max Goodman
5df8723c19 Preliminary OAuth2 for new API call authentication. 2011-11-04 14:11:42 -07:00
Max Goodman
3d55cea886 Use VModhash fatal param for over18 modhash check. 2011-11-04 14:11:42 -07:00
Max Goodman
a088dca1bb Add stubbed "fatal" parameter to VModhash. 2011-11-04 14:11:42 -07:00
Max Goodman
f301826077 Add option to omit div wrapper from safemarkdown. 2011-11-04 14:11:42 -07:00
Max Goodman
0ebeda5e52 Add utilty function to get the handler method for a request. 2011-11-04 14:11:42 -07:00
Max Goodman
b57dff70a1 Preserve secure host when generating URLs with add_sr. 2011-11-04 14:11:42 -07:00
Max Goodman
b3297db343 Add support for simple framebusting/prevention. 2011-11-04 14:11:42 -07:00
Max Goodman
35e3f83238 Move extension mapping to a config module. 2011-11-04 14:11:42 -07:00
Logan Hanks
0911df4160 Fix FlairTemplateBySubredditIndex.insert logic. 2011-11-03 12:10:25 -07:00
Andre D
4eaaf5d451 Fix regression that broke replacing SR-image of same CSS name. 2011-11-01 15:33:06 -07:00
Logan Hanks
acf5d348ed Allow multiple CSS classes to be assigned via flaircsv. 2011-10-31 13:24:01 -07:00
Logan Hanks
1aa8b6fd2b Make it possible to unflair deleted accounts. 2011-10-31 13:24:00 -07:00
Logan Hanks
6930d843d2 Preserve the viewing user's flair preference when rendering comments. 2011-10-31 13:24:00 -07:00
Logan Hanks
15e4a5cdae Apply flair prefs to cache keys, even for UnloggedUser.
This is necessary because comment rendering makes a pass using
UnloggedUser, but needs to preserve the actual signed-in user's
preferences.
2011-10-28 12:40:48 -07:00