Commit Graph

473 Commits

Author SHA1 Message Date
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
Neil Williams
676f71a211 Upgrade to pylibmc 1.1.1.
* Fixes app segfaults when memcache not available.
* Remove "time" parameter from r2.lib.cache.CMemcache.delete_multi
  since it never worked anyway and was removed from pylibmc.
2011-05-09 14:13:05 -07:00
Neil Williams
4007764965 Don't crash when children not viewable. 2011-05-02 23:36:00 -07:00
idonthack
2c3379c5e3 comment permalinks in xml feeds are now valid URIs
previously, comment permalinks in xml feeds were missing the scheme and
authority segments (protocol and hostname). this caused problems with
feed readers and other programs that expected to encounter a valid URI.
2011-04-20 15:27:03 -07:00
Neil Williams
400910ec0a Optimized a whole 'nother bunch of PNGs. 2011-04-20 14:05:38 -07:00
Janne
3462a4b23d Recompressed PNG images for smaller size
Ran the PNG files in static/ through OptiPNG and AdvPNG for smaller file
size.
2011-04-20 11:57:15 -07:00
Neil Williams
68a06c568b April 2011 Merge
* Show "this post is archived" message for things we won't allow votes on.
* Don't mark messages read when pulled via RSS
* Make compact (smartphone) interface respect user's toolbar
* preferences.
* Make mobile interface more friendly for kindles.
* Fix bug that caused comment tree corruption.
* Use cachebuster on traffic pixel for more accurate tracking.
* Make apps restart themselves after a configurable number of requests.
* Move to pycassa 1.0.8.
* Fix bug in calculations for "best" sort.
* Fixes for Firefox Mobile
* Add a global flag to disable editing of the wiki.
* Move the child-comment collapse button to the left.
* Updated list of disallows in robots.txt to save needless hits from
  crawlers.
* Fix vote_q by splitting it into vote_link_q and vote_comment_q.
* Fix bug where /reddits crashes due to 'promos' subreddit.
2011-04-18 16:30:48 -07:00
ketralnis
7fff900bbe February 2011 Merge
* Upgrade discount to 1.6.8
* Start reading Votes, Saves, and Hides from Cassandra (while still dual-writing all three)
* Some XSS fixes
* Significant Gold buying and gifting improvements
  - Move /api/ipn to /ipn
* Allow non-US countries to buy sponsored links
* Increase embed.ly scope
* redd.it support
* Allow postgres port number to be specified in ini file (this changes the format of the .ini file)
* Upgrade Cassandra to 0.7
  - Change g.urlcache to LinksByURL
  - Translate storage-conf.xml to cassandra.yaml
  - TTL support (and enable on Hides)
  - Move permacache keyspace to inside reddit keyspace
* The stalecache: a local memcached that contains slightly old information to speed up some lookups
* Switch to patched Paste that is hopefully download.gz-proof
* Don't store votes on things > 30 days old
* Many many bugfixes/small features
2011-02-23 12:00:44 -08:00
Ryan G
c78f27b4ae Add gold to the footer (thanks gelob) 2010-10-20 10:11:06 -07:00