Commit Graph

481 Commits

Author SHA1 Message Date
Max Goodman
12db75ee85 Remove dead code. 2011-06-06 12:36:50 -07:00
Max Goodman
95865f8772 Disable template reload checks upon template rendering. 2011-06-06 12:36:40 -07:00
Neil Williams
b15470271c Update embed.ly domain list. 2011-06-06 12:36:32 -07:00
Neil Williams
46aad179b2 __eq__ must be paired with __ne__ for sanity. 2011-06-06 12:36:13 -07:00
Neil Williams
b14ab0d422 Add Subreddit.__eq__ to fix == comparisons.
This fixes several bugs that were using the default (identity
comparison) to check if two subreddits were the same. Sometimes
the two subreddit objects referred to the same subreddit but
weren't the same instance.

Fixes:
https://github.com/reddit/reddit/issues/42
https://github.com/reddit/reddit/issues/47
2011-06-03 10:18:20 -07:00
Max Goodman
9194116766 Update the footer link to the reddit source code. 2011-06-02 12:31:38 -07:00
Max Goodman
279a0dbc74 Fix comments panel toggling logic. 2011-06-02 12:27:16 -07:00
Max Goodman
bb7e1b6921 Add toolbar comments panel as an external frame so hide/show requests work. 2011-06-02 12:27:16 -07:00
Max Goodman
8b0e4c07af Remove dead code that was causing a JS exception. 2011-06-02 12:27:16 -07:00
Max Goodman
f99959c7eb Skip firing a tracking pixel if we're on a secure domain. 2011-06-01 13:57:36 -07:00
Max Goodman
c6f0b6ffa8 Display powered_by_reddit logo in https if on a secure domain. 2011-06-01 13:57:36 -07:00
Max Goodman
20069e7c93 Use https urls for s3 hosted header images when we're on a secure domain. 2011-06-01 13:57:36 -07:00
Max Goodman
d89e79ad66 Include the host ports in the secure_domains set. 2011-06-01 13:57:35 -07:00
Max Goodman
6a7ebd7e7b Load jQuery from a secure source on secure domains. 2011-06-01 13:57:31 -07:00
Neil Williams
2ed20d4b1a Display removed selftext as "[deleted]".
When a self-post is manually removed (via the "remove" button)
by an admin or a moderator, the text of that self post will be
displayed as "[deleted]" unless the viewer is an admin, mod of
the subreddit the post is in, or the author of the content.
2011-06-01 13:39:30 -07:00
Max Goodman
8c56f89663 Load unauthed button requests via JSONP from buttons.reddit.com. 2011-05-27 16:01:14 -07:00
Max Goodman
d1ae1650bf Pass buttons.reddit.com requests through the subreddit redirect logic. 2011-05-27 16:01:13 -07:00
Max Goodman
6087bddfe5 Move buttons to jQuery 1.6.1. 2011-05-27 16:01:13 -07:00
Max Goodman
2d6e16014f Point buttons to compressed assets. Clean up headers. 2011-05-27 16:01:13 -07:00
Max Goodman
99b2839032 Add site speed tracking to Google Analytics. 2011-05-27 16:01:13 -07:00
Max Goodman
77b7cfac36 Add loggedin/logged out differentiation to Google Analytics. 2011-05-27 16:01:13 -07:00
Neil Williams
a34347914b code.reddit.com -> github.com/reddit 2011-05-25 10:40:36 -07:00
Neil Williams
3e4df6cb10 Merge pull request #77 from andre-d/bugfix2
Fix #62
2011-05-23 11:10:57 -07:00
Andre D
d0b285e9fd Fixed https://github.com/reddit/reddit/issues/55 2011-05-20 15:52:11 -07:00
Neil Williams
e992c16d99 Fix incorrect use of abort in submit perms check 2011-05-20 15:05:00 -07:00
Neil Williams
cf00e28619 Better handle invalid IndexTank queries. 2011-05-20 15:04:27 -07:00
Andre d
cbb217cbc5 Fixed https://github.com/reddit/reddit/issues/62 2011-05-20 15:36:20 -04:00
Andre D
5a33ecca90 Fixed searching for a url without being logged in 2011-05-19 15:10:13 -07:00
Max Goodman
319dbc036a Properly handle a nonexistent shortlink. 2011-05-18 12:55:26 -07:00
Max Goodman
d7d608e240 Fix the type of the fetch_links links parameter.
Since updating jQuery, the library has new behavior for deep serializing
objects and arrays. This old code accidentally passed in an array, which
triggered the new serialization code. The old code was taking advantage
of the older shallow jQuery parameter serialization, which calls
toString(), combined with the fact that singleton Arrays in JS stringify
into their first item stringified.
2011-05-18 12:55:26 -07:00
Max Goodman
0506b124c5 Fix /submit captcha 404 on reddit mobile. 2011-05-17 17:42:01 -07:00
Max Goodman
f685046d13 Update mobile to jQuery 1.6.1. 2011-05-17 16:13:19 -07:00
Max Goodman
81c7705556 Merge pull request #67 from jsocol/master
Add protocol to <link rel="shorturl">
2011-05-17 15:54:09 -07:00
James Socol
fb7fedee2e Add protocol to shorturl header link. 2011-05-17 18:36:49 -04:00
Max Goodman
18cdeee38d Add is_gold parameter to user JSON. 2011-05-17 15:17:45 -07:00
James Socol
2566c0c13e Add canonical shorturls to the header. 2011-05-17 15:17:44 -07:00
Max Goodman
2db04c9085 Do not wait until jQuery ready before firing a pixel. 2011-05-17 15:17:44 -07:00
Max Goodman
c5fd5ecd55 Remove reddit.css and sprite.png upon make clean. 2011-05-17 15:17:44 -07:00
Max Goodman
13894a7a10 Convert to RGBA to fix an alpha channel rendering issue with PIL/nymph.py. 2011-05-17 15:17:44 -07:00
Max Goodman
5e2f134b95 Make template_debug skip stripping whitespace. 2011-05-17 15:17:44 -07:00
Max Goodman
e4fd6a267d Fix styling of the sponsored link targeting subreddit completion dropdown. 2011-05-17 15:17:44 -07:00
Max Goodman
618b9e8d1d Upgrade to jQuery 1.6.1 loaded from the Google CDN. 2011-05-17 15:17:44 -07:00
Max Goodman
69fb28cc32 Update Socialite static files for 1.4.0 release. 2011-05-17 15:17:44 -07:00
Neil Williams
14fa058d32 Make disable_ads a boolean property. 2011-05-16 14:53:45 -07:00
gabe
92fdd422fb Added option to disable captcha verification 2011-05-16 14:53:20 -07:00
westmaas
e6178bedb1 Make default header image URL configurable. 2011-05-16 14:52:15 -07:00
gabe
63d518f4c9 Make min age for subreddit creation configurable. 2011-05-16 14:52:09 -07:00
westmaas
d411cd55a6 Added support for disabling adds via config file 2011-05-16 14:52:03 -07:00
Max Goodman
2b3b0616c1 Add /api/me resource to fetch user info + modhash. 2011-05-09 14:15:25 -07:00
Max Goodman
d8348f6c87 Modify validate_json semantics to work properly for pure JSON api resources. 2011-05-09 14:15:17 -07:00