Commit Graph

849 Commits

Author SHA1 Message Date
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
Logan Hanks
c911b30479 Ignore deleted accounts when editing flair. 2011-10-28 12:40:40 -07:00
Andre D
20afca608c Corrected an issue where thumbnails had the wrong size. 2011-10-27 12:23:19 -07:00
Andre D
bd0144d528 Fix issues in uploaded subreddit image processing.
* Large jpg files (above 64k) will no longer fail.
* PNG to PNG no longer processes through PIL.
2011-10-27 12:23:09 -07:00
Neil Williams
24afcee3f2 Make a bunch of Subreddit._by_name lookups stale. 2011-10-26 12:00:34 -07:00
Logan Hanks
4194ced616 Add a user preference for whether to show flair. 2011-10-26 11:16:16 -07:00
Logan Hanks
6a00abf7b9 Hide flair when a comment is collapsed. 2011-10-26 11:16:12 -07:00
Keith Mitchell
32cbe6b382 Fix 'manage existing ads' link on /ad_inq 2011-10-26 10:03:56 -07:00
Andre D
f86d90165b Thumbs, sponsorships, and headers have width/height in the DOM. 2011-10-25 15:51:24 -07:00
Andre D
4653c16a72 Split thumbnails and sr images across multiple buckets.
This allows for HTTP parallelization.
Also, allow users to select JPEG or PNG for SR images.
2011-10-25 15:51:15 -07:00
Andre D
a8e2d55348 Use JPEG and reduced redundancy for thumbnails. 2011-10-25 15:50:50 -07:00
Logan Hanks
ef03b0018c Fix bug not allowing mods to assign flair when self-assign is disabled. 2011-10-24 10:53:07 -07:00
Neil Williams
2e364c1ac2 Remove password length maximum.
bcrypt only pays attention to the first 72 characters
anyway, so there's no harm done to us. The new effective
limit is the maximum POST size: 500Kb :)
2011-10-21 09:49:01 -07:00
Logan Hanks
c66c995803 Fix logic error allowing users to assign flair to others. 2011-10-20 19:18:57 -07:00