Commit Graph

814 Commits

Author SHA1 Message Date
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
Logan Hanks
769b0666c4 Fix logic for showing flairselectors to admins/mods. 2011-10-20 12:14:51 -07:00
Max Goodman
59e3f6c9f2 Update /reddits help text to the changed subscribe button text. 2011-10-20 12:14:51 -07:00
Neil Williams
cf0da8ebe0 Increase maximum password length and enforce it. 2011-10-20 11:32:05 -07:00
Neil Williams
a311805c85 Switch to bcrypt for password hashing.
Transparently upgrades passwords on next login.
2011-10-20 11:32:05 -07:00
Max Goodman
235bcabf81 Handle case where subdomain is None in is_subdomain. 2011-10-19 14:23:25 -07:00
bsimpson63
c72a8925bb Add empty WrappedUser.xml template. 2011-10-19 14:20:37 -07:00
Logan Hanks
77c9fb6df4 Complete the unfinished TabbedPane widget. 2011-10-19 14:10:35 -07:00
Logan Hanks
370c406cc5 Work around IE7's lack of display:inline-block support within the flair selector. 2011-10-19 14:09:37 -07:00
Logan Hanks
88a3a3e37b Fix some more flair-related cosmetic issues. 2011-10-19 14:08:09 -07:00
Logan Hanks
3e03341622 Hide the flair selector text customizer when it's disabled. 2011-10-19 14:08:09 -07:00
Logan Hanks
c6be86596b Make some cosmetic tweaks to the flair selector. 2011-10-19 14:03:24 -07:00
Logan Hanks
3769837d2a Change "select" link for flair to "edit". 2011-10-19 13:59:10 -07:00
Logan Hanks
54a7a252d4 Use chaining instead of repeating selectors in flair.js, and other cleanup. 2011-10-19 13:59:10 -07:00
Logan Hanks
8669771427 Add VFlairTemplateByID. 2011-10-19 13:59:10 -07:00
Logan Hanks
f881c48fea Add a simpler way to remove flair from a user. 2011-10-19 13:59:10 -07:00
Logan Hanks
49770e34d3 Add support for deleting flair templates. 2011-10-19 13:59:10 -07:00
Logan Hanks
4891330a79 Update flair selectors in-page consistently. 2011-10-19 13:59:10 -07:00
Logan Hanks
fb242d13a5 Fix post-submit updates of flair template entry form. 2011-10-19 13:59:10 -07:00
Logan Hanks
d992b18d22 Add selectors for other users in grant flair page. 2011-10-19 13:59:10 -07:00
Logan Hanks
53966d96e9 Impose a maximum number of flair templates. 2011-10-19 13:59:10 -07:00
Logan Hanks
a5efe4906b Add scrolling and ordering to flair selector. 2011-10-19 13:59:10 -07:00
Logan Hanks
584f4945de Don't show save button when no flair is available. 2011-10-19 13:59:10 -07:00
Logan Hanks
f18a473823 Add clearing of flair templates. 2011-10-19 13:59:10 -07:00