Commit Graph

598 Commits

Author SHA1 Message Date
Max Goodman
dd5f750bad Allow a default url to be set per trophy codename. 2013-05-01 14:08:49 -07:00
bsimpson63
75d5b709f2 Allow subreddit spam queries to be limited to links or comments. 2013-04-30 17:00:46 -04:00
Chad Birch
8eac5bf1e6 Add indicators of hidden score to API and HTML
If the score is hidden, data-ups and data-downs will both be 0, and
the comment will also have the "score-hidden" class
2013-04-30 12:31:57 -06:00
Chad Birch
69cd0d08ec Allow subreddits to hide comment scores initially
Adds a new subreddit setting that allows defining a period
of time after posting that comment scores will be hidden.
2013-04-30 12:31:57 -06:00
bsimpson63
37f005b30e WikiRevision: id36 return_dict gives id36 keys so don't convert. 2013-04-26 14:56:23 -04:00
bsimpson63
31a2ee07ff Exclude subscriptions from Random and RandomNSFW. 2013-04-18 13:56:18 -04:00
Chad Birch
9a90e42679 Fixes related to exclude_banned_modqueue setting
Make sure that setting is always sent, and add description for mod log
2013-04-17 16:52:21 -06:00
Keith Mitchell
702b58565f Disallow submitting to banned Subreddits via API 2013-04-11 14:53:08 -07:00
Keith Mitchell
21f07e8c52 Filter banned subreddits from search results 2013-04-11 14:53:08 -07:00
Chad Birch
fe1ce21109 Allow mods to set custom labels for submit buttons 2013-04-10 14:41:34 -06:00
Chad Birch
256f724328 Remove limit on /r/all- and add info to gold page 2013-04-08 12:56:16 -06:00
Neil Williams
3520ea5389 Add hook to Printable.add_props. 2013-03-31 15:47:37 -07:00
bsimpson63
1994ce083f Add comment.new hook. 2013-03-31 15:47:37 -07:00
bsimpson63
08ae778e9a Add hook for Comment._gild(). 2013-03-31 15:47:37 -07:00
Neil Williams
e66ee5ad8c Add some request-related global hooks. 2013-03-31 15:47:37 -07:00
Donald Curtis
afc5bb5885 Some whitespace changes. 2013-03-29 15:37:09 -06:00
Neil Williams
7ef0f8e12e Remove stuff related to the 300x100 sponsorships.
These are taken care of automatically by tandem ads via Adzerk through
reddit-plugin-adzerk.
2013-03-28 15:01:49 -07:00
Neil Williams
ddbb6d71ab Remove obsolete house ad system.
This has been replaced by reddit-plugin-adzerk and Adzerk.net.
2013-03-28 15:01:49 -07:00
bsimpson63
a9b0ab823b Update the other gold expiration message. 2013-03-27 16:35:47 -07:00
Keith Mitchell
dfebca519e Fix award claim POST url 2013-03-27 16:34:59 -07:00
Max Goodman
be18845864 Add missing imports required for admin golding. 2013-03-21 16:54:38 -07:00
Keith Mitchell
fc9abd1dcb Award-claiming via one-time links. 2013-03-21 16:54:38 -07:00
Max Goodman
4358b3c11c Proxy stylesheet hash in DefaultSR for front page stylin'.
Without a truthy stylesheet_hash property, the reddit.html template will
not include the stylesheet.
2013-03-21 16:54:37 -07:00
Keith Mitchell
ab1fded8c2 url_escape expects unicode objects 2013-03-21 16:54:37 -07:00
Neil Williams
8af415476b Update and fix license headers for 2013.
Angst!
2013-03-19 20:03:40 -07:00
Chad Birch
9354da77cd Change "reddit" to "subreddit" where appropriate
This also adds new routes for /subreddits/ replacing /reddits/, though
the old routes are kept as well for backwards-compatibility
2013-03-13 13:30:00 -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
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
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
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
e1263edce1 send_system_message raises MessageError if inbox full. 2013-03-06 16:16:50 -05: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
Ricky Ramirez
252d81e64d report: Don't bomb on thing.ignore_reports. 2013-03-01 11:01:00 -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
4bcf604f74 Add sendreplies attribute to Link. 2013-02-28 13:51:45 -08:00
bsimpson63
f7f346afa7 Client side shuffling spotlight content. 2013-02-27 17:16:11 -05:00
Logan Hanks
c751ff0132 Allow limited mods to demod themselves. 2013-02-27 14:01:57 -08:00
Jason Harvey
c28061e1e4 Display default thumbnail on deleted or removed links. 2013-02-25 06:02:43 -08:00
Logan Hanks
a3c7dd0b10 Check for posts permission in spam/reported/modqueue/unmoderated queries on multireddits and /r/mod. 2013-02-20 13:12:34 -08:00
Logan Hanks
4d252de134 Make sure is_moderator always returns permissions support. 2013-02-20 13:12:34 -08:00
Logan Hanks
56e310105b Add moderator permission for mail. 2013-02-20 13:12:34 -08:00
Logan Hanks
9a23deb878 Move permissions (and related strings) to lib. 2013-02-20 13:12:34 -08:00
Logan Hanks
890916859f Add moderator permission for managing subreddit config. 2013-02-20 13:12:34 -08:00