Commit Graph

858 Commits

Author SHA1 Message Date
Andre D
8eb63214ae Suggest Title decodes html entities 2011-11-21 14:32:17 -08:00
Neil Williams
fea1cf81a2 Add # and ircs:// to valid URL scheme list. 2011-11-21 14:32:17 -08:00
Neil Williams
8865943a4a Add snudown as a markdown backend. 2011-11-17 12:11:51 -08:00
Neil Williams
385fb24282 Fix default stylesheet lookup in editor. 2011-11-16 15:02:50 -08:00
Neil Williams
f5c9fca234 Fix bad selector causing crazy sprite on submitbox.
Didn't show up before because sprite images were arranged differently
before padding.
2011-11-15 16:39:24 -08:00
Neil Williams
17921e1be6 Fix pagename span floating crazily in opera. 2011-11-15 16:39:18 -08:00
Neil Williams
ba3ceadd8a Add slight padding to sprites for zoomy users.
Zoomed in users sometimes get weird junk at the edges
of sprites 'cus everything's so close together.
2011-11-15 16:39:14 -08:00
Max Goodman
4a02f99c61 Fix concatenation of JS modules.
Without a semicolon separator, it's possible that concatenated modules
can be interpreted as valid JS expressions.
2011-11-15 16:39:08 -08:00
Neil Williams
df270a022a optimize_png: Accept second parameter specifying path to optipng. 2011-11-15 15:04:07 -08:00
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
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