Chad Birch
6976b8d4e6
'reddit this ad' to 'discuss this ad on reddit'
...
Also delete a static ad file that's no longer used
2013-03-13 13:29:49 -06:00
Chad Birch
ebb1e2d568
Add title attribute to linkflair span
...
The default stylesheet sets a low max-width on the linkflair span,
so long flair is often cut off on the front page. This will allow
mousing over the flair to see the full text.
2013-03-11 12:21:15 -06:00
Roger Ostrander
8730de1220
Domainban: Take TLDs into account
2013-03-08 16:20:53 -08:00
Jason Harvey
1acb2351c5
Show childless deleted comments if c.user_is_admin.
2013-03-08 16:20:53 -08:00
Neil Williams
ce7776f59d
Add author_slow to Comment as queries.ban needs it.
2013-03-08 16:20:53 -08:00
bsimpson63
b0d307eaab
Don't show hidden promoted links.
2013-03-08 16:20:53 -08:00
bsimpson63
ae14afc909
Open stripe to all countries.
2013-03-08 16:20:53 -08:00
bsimpson63
baf48978e1
Do better job of disabling/enabling stripe button.
2013-03-08 16:20:53 -08:00
Max Goodman
c32fdd1adf
Batched, on-demand tracker hash fetching.
...
Instead of fetching tracking hashes for all applicable elements on the
page, fetch only the visible ones. Uses _.debounce() to batch up
requests during the init process.
2013-03-08 16:20:53 -08:00
Max Goodman
a31296f972
Add request_origin helper property to c.
2013-03-08 16:20:53 -08:00
Max Goodman
41d57da103
Remove dupe spotlight.js module file.
2013-03-08 16:20:52 -08:00
Max Goodman
b92059a5cf
Load r.strings in "reddit-init" module.
...
This enables LocalizedModule strings use if the "reddit" module was not
included.
2013-03-08 16:20:52 -08:00
Max Goodman
ba72f6aec8
Add back id alias to sponsored link listing container.
...
This fixes having two elements with the id "siteTable" on subreddit
pages containing a single sponsored link.
Thanks for the heads-up, /u/honestbleeps!
2013-03-08 14:08:37 -08:00
Neil Williams
3574a64992
Add an optional paste-filter compatible Gzipping middleware.
...
The paste-supplied gzip middleware is primarily for testing and is
insufficient in that it:
1) is unable to require a minimum size for gzipping
2) does not correctly add the "Vary: Accept-Encoding" header
it is also somewhat difficult to add those features given its structure.
2013-03-07 15:21:01 -08:00
bsimpson63
238a790807
Spotlight handles campaigns better.
2013-03-07 16:22:39 -05:00
bsimpson63
820cf02fd2
Make a stub for each campaign.
2013-03-07 16:22:39 -05:00
bsimpson63
bc8b254c04
Set data attributes on stubs.
2013-03-07 16:22:39 -05:00
bsimpson63
51ef005052
Clean up lookups in spotlight.
2013-03-07 16:22:39 -05:00
bsimpson63
c15a87be86
Loggedin spotlight: pick winner in advance.
2013-03-07 16:22:39 -05:00
bsimpson63
94a7ee0eb9
Delete randomized_promotion_list.
2013-03-07 16:22:39 -05:00
bsimpson63
ab31259c52
Split up the spotlight.
2013-03-07 16:22:39 -05:00
bsimpson63
d8c9db9af8
CampaignBuilder don't combine campaigns on same link.
2013-03-07 16:22:39 -05:00
bsimpson63
f61587c7af
Cleanup in get_promotion_list.
2013-03-07 16:22:39 -05:00
bsimpson63
ecea06bf90
Add caching to get_promotion_list and use namedtuple.
2013-03-07 16:22:39 -05:00
bsimpson63
d578e3a3a3
Rename get_promoted_links to sample_promoted_links.
2013-03-07 16:22:38 -05:00
bsimpson63
8075fa83c3
Stop get_promotions_cached from combining campaigns on same link.
2013-03-07 16:22:32 -05:00
bsimpson63
7398916b88
Send users a system message when they buy gold with google wallet.
2013-03-07 13:29:29 -05:00
Chad Birch
a769dd6666
Add /r/myrandom (gold only for now)
...
Takes you to a random subreddit you subscribe to
2013-03-07 11:04:41 -07:00
bsimpson63
c295ea07f3
ipn: Log errors related to send_system_message.
2013-03-06 16:16:56 -05:00
bsimpson63
e1263edce1
send_system_message raises MessageError if inbox full.
2013-03-06 16:16:50 -05:00
bsimpson63
9d44e89fe2
Add MessageError.
2013-03-06 16:16:43 -05:00
Neil Williams
93243e526a
Make sure fastlaned comments still show up in /comments.
2013-03-06 12:24:15 -08:00
Neil Williams
bafc86a571
Automatically ignore fastlane comments in normal commentstree_q.
...
This is safer than skip_commentstree_q as it's tied to the live config
rather than a data attribute that we can forget to change back.
2013-03-06 12:24:15 -08:00
Chad Birch
3b02c44f4d
mobile/compact still needs save_thing() and unsave_thing()
2013-03-06 12:12:34 -07:00
Chad Birch
9691a1ae91
Allow subreddits to exclude banned users' posts from their modqueue
...
Many subreddits just use scripts or AutoModerator to automatically
confirm removal of all posts by site-wide banned users from their
modqueue. This will eliminate the need for third-party tools for it.
2013-03-06 12:12:20 -07:00
bsimpson63
bfe3b3511b
Wrap sqlalchemy sum to handle BigInteger.
2013-03-06 12:52:45 -05:00
bsimpson63
d77e21374b
AdImpressionsByCodename total needs to be BigInteger.
2013-03-05 11:37:51 -05:00
bsimpson63
fddeb888f4
PageviewsByLanguage total is now a BigInteger.
2013-03-05 11:37:44 -05:00
Chad Birch
034dacdb67
Redirect to subreddit search if subreddit name includes a hyphen
2013-03-04 14:55:08 -07:00
Max Goodman
137c46113b
Add nodejs to install dependencies.
2013-03-01 16:56:32 -08:00
Joe Alcorn
f0cc1506af
Add first_message_name to MessageJsonTemplate, a fullname version of the current first_message
2013-03-01 15:06:11 -07:00
Chad Birch
67046e613a
Fix exceptions caused by plain_link with no path
2013-03-01 15:04:56 -07:00
Chad Birch
4e74f1c28a
Fix top-level distinguished comment messages
...
The new "sendreplies" feature introduced a conflict since this
feature was assuming that self-posts would always send messages for
replies and that links never would. That's no longer true.
2013-03-01 15:04:48 -07:00
Ricky Ramirez
252d81e64d
report: Don't bomb on thing.ignore_reports.
2013-03-01 11:01:00 -08:00
Ricky Ramirez
da1e71f164
log: Add single line summary for errors.
2013-02-28 16:38:50 -08:00
Jason Harvey
94abab2c45
Ensure checkboxes and radios don't set form fields when unchecked.
2013-02-28 13:52:29 -08:00
Jason Harvey
d1b2541c4a
Allow gold users to optionally receive inbox replies to posts.
2013-02-28 13:52:07 -08:00
Jason Harvey
71f274762e
Modify js to allow checkboxes to send their checked state when desired.
...
If a checkbox has data-send-checked, send is(":checked") to the form field
instead of the checkbox's value (which is always 'on').
Allows for sending explicit unchecked state.
2013-02-28 13:51:58 -08:00
Jason Harvey
4bcf604f74
Add sendreplies attribute to Link.
2013-02-28 13:51:45 -08:00
Ricky Ramirez
56100fe108
rulespage: Fix anchor to vote cheating wiki page.
2013-02-28 13:51:34 -08:00