Commit Graph

2987 Commits

Author SHA1 Message Date
bsimpson63
9329960f4b PromoteReport uses id36s rather than fullnames. 2013-06-12 15:08:45 -04:00
Chad Birch
121d947824 Add gold-restricted subreddits
Viewable by anyone, but only gold members can submit or comment.

Can only be set by admins.
2013-06-11 16:58:40 -06:00
Chad Birch
5246a66017 Add new gold partners
Empire Mayo, Goldbely, Uniqlo, Urbilis
2013-06-11 16:58:40 -06:00
Andre D
c1ab3c827a banning: Ensure reason note field actually gets loaded. 2013-06-11 16:58:40 -06:00
Andre D
1531c8e9b8 userrel: Add a **kw to by_thing _query(). 2013-06-11 16:58:40 -06:00
Andre D
ff46a47e3d jsonp: Ensure jsonp responds with application/javascript. 2013-06-11 15:30:07 -07:00
Andre D
ccea2e6588 markdown: Use explicit renderer names. 2013-06-11 15:30:06 -07:00
Andre D
94daebd746 wiki: Add wiki renderers. 2013-06-11 15:30:06 -07:00
Ricky Ramirez
003fcf8943 reddit_base: Stricter User Agent ratelimiting.
This stops ratelimit checking after the first hit so that more specific
matches won't get extra ratelimiting from a more generic match.
2013-06-11 15:08:04 -07:00
bsimpson63
99fb82d15b Don't prefill user email in share link form. 2013-06-11 15:06:36 -04:00
Chad Birch
22711f6688 Add ids to gold page sections for direct-linking 2013-06-07 17:17:15 -06:00
bsimpson63
7c03dc8e62 GoldException not GoldError. 2013-06-05 16:12:24 -04:00
bsimpson63
f4a595478b Make jobflows visible to all users. 2013-06-05 16:12:18 -04:00
bsimpson63
5b1f118e77 Don't show user flair on promoted links. 2013-06-05 16:12:12 -04:00
Brian Simpson
5c02cbdce8 PromoteReport: specify locale in format_currency. 2013-06-05 16:12:04 -04:00
bsimpson63
c71163997a Cleanup extension_handling variable in _edit_normal_reddit. 2013-06-05 16:11:56 -04:00
bsimpson63
4dcb6a9f85 Add extension_handling for GET_spamlisting. 2013-06-05 16:11:49 -04:00
Neil Williams
1fe74b4c36 Get a fresh sys.path when loading plugins.
This means that we don't need to kill the WSGI server master process to
load new plugins anymore.
2013-06-04 10:31:38 -07:00
Neil Williams
3276e408b4 Plugins: Make it possible to add errors to the error list. 2013-06-04 10:31:38 -07:00
Neil Williams
e063743c4b Make LESS stylesheets media="all".
This allows us to put queries like "@media print" in the less files and
have browsers accept it.
2013-06-04 10:31:38 -07:00
Max Goodman
a96643dde9 Add SECURITY.md.
Inspired by Adam Baldwin's JSConf 2013 "Builders and Breakers" talk.
http://blog.liftsecurity.io/post/52010883123/security-md
2013-06-03 15:07:10 -07:00
Andre D
835e7dc46a banning: Bulk load banned relations. 2013-05-31 11:52:36 -07:00
Chad Birch
ab90636069 Use decorator to close sqlalchemy session 2013-05-30 13:33:39 -07:00
Chad Birch
c9cb8af455 Make gold partner code read-only 2013-05-30 13:33:33 -07:00
Chad Birch
00cd02b533 Fix wiki anchors still referring to "reddits" 2013-05-30 13:33:25 -07:00
bsimpson63
50b5d4a551 Refactor get_scheduled and make_daily_promotions.
Don't assemble bysr dict until needed and operate on adweights.
2013-05-29 12:54:52 -04:00
bsimpson63
6076d48f70 make_daily_promotions: Detect all links that need to be promoted. 2013-05-29 12:54:52 -04:00
Chad Birch
3ec750698d Add reddit gold partners 2013-05-23 16:19:07 -07:00
Andre D
b8f0d49f48 listing: odd/even class should happen after keep_fn. 2013-05-23 15:55:31 -04:00
bsimpson63
399f0c691d Disable google wallet payments for comment gilding.
Comment gilding should be instant, google wallet takes up to an
hour to process.
2013-05-23 15:55:23 -04:00
Max Goodman
ae2b646e28 Add gold-specific sidebar message. 2013-05-22 15:41:35 -07:00
Max Goodman
757ee7e0f7 Nudge the comment gilded icon down 1px to avoid overflow. 2013-05-22 15:41:25 -07:00
Andre D
dec9fb7fc7 banning: Clean up form after adding. 2013-05-22 15:19:19 -07:00
Andre D
03c5b6a37d reddit: Add note to banning and friend json. 2013-05-22 15:19:19 -07:00
Andre D
bd8fe10405 banning: Ensure TOO_LONG is actually validated for note. 2013-05-22 15:19:19 -07:00
Andre D
b6607196a6 banning: Add the ability to set a note at ban time. 2013-05-22 15:19:19 -07:00
Andre D
3d447c9d18 reddit: Add missing length check on friend and banning note fields. 2013-05-22 15:19:19 -07:00
Andre D
7c3ebceb55 banning: Correct css on ban note. 2013-05-22 15:19:19 -07:00
Andre D
f86d531698 banning: Make banned list display note. 2013-05-22 15:19:19 -07:00
Andre D
1e1435be14 banning: Add an endpoint to add a note to banned users. 2013-05-22 15:19:19 -07:00
Andre D
163f206722 usertable: Make note generic based on type. 2013-05-22 15:19:19 -07:00
Jason Harvey
4c120e9449 Distinguish all admin-authored messages. 2013-05-22 13:27:37 -07:00
Neil Williams
726924067c butler: Don't send notifications if you're just spamming. 2013-05-22 13:23:45 -07:00
bsimpson63
127862df8a Pass all promoted links through builder for filtering. 2013-05-22 16:20:07 -04:00
bsimpson63
b658ce4e14 Don't show over18 ads to people that don't want to see them. 2013-05-22 16:19:59 -04:00
Neil Williams
e057278960 Gold Feature: "The Butler". Username monitoring in comments.
This is a new feature available only to Gold members. It defaults to on,
but may be turned off in preferences. When a username is mentioned on
the site in the /u/username format, and some conditions apply, the user
is notified by an orangered and a new type of item in the inbox. There
are several cases where notifications won't occur to reduce noise, see
butler.py for details.
2013-05-21 11:09:02 -07:00
Neil Williams
a66101f517 Use inbox rels to determine if a thing is valid cause for blocking.
This way we don't have to duplicate the logic that made the inbox rels
get created in the first place, but rather can just see if they do
exist.
2013-05-21 11:09:02 -07:00
Neil Williams
bf235052a7 Morris-Ganis
This reverts commit b1b506426f.
2013-05-17 12:22:52 -07:00
bsimpson63
8c2b48e8cc Hide author of deleted posts in user page comment listings. 2013-05-17 15:04:31 -04:00
Ricky Ramirez
2c250c1074 ratelimit: Stop advertising #reddit-ratelimit.
Since it's low traffic, I mostly don't notice until the user has already left.
Also, IRC illiterate users tend to expect a response in a few seconds.
2013-05-16 16:24:32 -07:00