Commit Graph

3065 Commits

Author SHA1 Message Date
Ricky Ramirez
4eb3336f7b reddit_base: Make appengine regex deal with custom User-Agents.
Previously, the AppEngine UA was forced. Now it is only force appended.
https://developers.google.com/appengine/docs/python/urlfetch/?hl=en
2013-07-12 16:14:02 -07:00
Chad Birch
8f4ced9e74 gold partners: Updates and additions
Add Bart's Bakery, iFixit, Outgrow.me, redditgifts, and Uber
Various copy/logo updates
2013-07-12 12:20:58 -06:00
David King
7b98726dca Missed commits from the recommender skeleton pull request. 2013-07-12 11:14:36 -07:00
Chad Birch
a933fa2195 Gold partners: add giveaway rules/terms 2013-07-09 15:57:37 -06:00
Chad Birch
9149c94461 gold welcome message: Add /r/goldbenefits link 2013-07-09 15:57:37 -06:00
Chad Birch
cd83995d4c send_system_message: allow defining other options 2013-07-09 15:57:37 -06:00
Brian Simpson
c49a1c399e Don't show subreddits a user can't view in saved links listing. 2013-07-09 15:57:37 -06:00
Roger Ostrander
eea87be65d Moderators: Check spam status for demote / permission change 2013-07-09 15:57:37 -06:00
Chad Birch
14c4b0177b gold partners: fix missing buttons 2013-07-09 15:57:28 -06:00
Chad Birch
ff55992ee4 Mod invite: Ensure that user is an unlimited mod
This was previously being enforced in the frontend but not the API.
2013-07-08 14:49:20 -06:00
David King
fdb6739624 Add models and skeleton for recommender 2013-07-08 13:43:20 -07:00
David King
d1be71d8b6 Remove trailing whitespace. 2013-07-08 13:43:13 -07:00
Chad Birch
bd8f72400e Add 'post-' prefix to body linkflair classes 2013-07-02 14:33:02 -06:00
Neil Williams
cecbe7c5e6 log_q: Add SystemExit to the ignore list.
This is what will happen if gunicorn receives a SIGTERM (indicating
non-graceful worker shutdown -- likely because the worker has overstayed
its welcome) and so it's not actually useful information.
2013-07-02 11:54:19 -07:00
Neil Williams
b70f9608e2 subreddit traffic: Link to subreddit search by time period.
Traffic spikes on the subreddit traffic pages are currently very opaque.
There's no simple way to determine what could have caused a big change.

This makes the date/time column of subreddit traffic tables link to
timestamp-limited subreddit search for that subreddit.  While this
doesn't cover external referrers etc. it should give some insight into
traffic.
2013-07-02 11:54:19 -07:00
Andre D
23704c8362 modaction: Add filter by admins. 2013-07-02 11:54:19 -07:00
Andre D
0202ad2036 modaction: Allow querying by multiple moderators. 2013-07-02 11:54:19 -07:00
Chad Birch
e4f7d4e1fe Add linkflair classes to body
This will allow styling comments pages differently depending on the
linkflair of the submission.
2013-07-02 11:54:19 -07:00
Neil Williams
b6c457aa13 Make it possible to hide subscribers on arbitrary subreddits.
This is a generalization of existing code for /r/lounge intended to
allow similar hiding for /r/elves.
2013-06-28 15:23:09 -07:00
Roger Ostrander
92c5508799 Domain ban: Use new form of is_banned_domain 2013-06-26 12:48:54 -07:00
Chad Birch
b9ddfde0bc gold partners: don't show "buy gold" buttons
There is already a large button at both the top and bottom of the list,
there's no need to have one for every individual item as well.
2013-06-21 12:25:07 -06:00
Chad Birch
dded823364 gold partners: fix Goldbely button 2013-06-21 12:25:02 -06:00
Max Goodman
c09326bd29 gold page: sparklepants positioning tweak. 2013-06-20 15:27:11 -07:00
Max Goodman
b5f54defd7 gold page: sparklepants. 2013-06-20 14:56:23 -07:00
Chad Birch
ac289b21bd gold pages: Tweak image sizes to be consistent. 2013-06-20 14:56:23 -07:00
Chad Birch
5e5690e0d7 gold partners: add Betabrand 2013-06-20 14:56:23 -07:00
Chad Birch
da1d933958 gold partners: link logos to sites 2013-06-20 14:56:23 -07:00
Max Goodman
df321bcb0e gold page: Remove unneeded gold header offset. 2013-06-20 14:56:23 -07:00
Max Goodman
6d9b19f924 gold page: Partners and Yishan letter update. 2013-06-20 14:56:23 -07:00
Max Goodman
c067044194 gold partners: Use "last" class to remove spurious separator. 2013-06-20 14:56:23 -07:00
Ricky Ramirez
ae8a100d98 Send notification when a user's email is changed. 2013-06-20 12:23:17 -07:00
Ricky Ramirez
592e6d34cc api: Send notifications of password changes. 2013-06-19 16:16:41 -07:00
Ricky Ramirez
14b95b843f Add methods to send a password change notification. 2013-06-19 16:16:41 -07:00
Ricky Ramirez
ce2cd86bdf mail_queue: Remove extraneous imports. 2013-06-19 16:16:40 -07:00
Ricky Ramirez
4256f3b221 mail_queue: Remove extraneous whitespace. 2013-06-19 16:16:40 -07:00
Ricky Ramirez
13177e72f2 emailer: Remove extraneous whitespace. 2013-06-19 16:16:39 -07:00
Ricky Ramirez
a1b1bc81ad emailer: Remove extraneous imports. 2013-06-19 16:16:39 -07:00
Ricky Ramirez
3b93eb3e27 front: Remove duplicate import.
has_opted_out is defined in mail_queue, but is also exported from
models/__init__.py
2013-06-19 16:16:39 -07:00
Ricky Ramirez
48f36d28dd token: Protect against null tokens. 2013-06-19 16:16:39 -07:00
Neil Williams
26f2dd6de3 amqp: Make it possible to add application headers to messages.
Useful for carrying extra information out-of-band from the content.
2013-06-19 16:12:24 -07:00
Neil Williams
713a8ee112 Shard commentstree_q processing by Link ID.
This should better isolate large threads and increase batch
effectiveness.
2013-06-19 16:12:24 -07:00
Neil Williams
bcea327b51 manage-consumers: Allow for subtyped consumers.
This is immediately useful for commentstree_q but may also help if we
move vote_q procs onto a single box.
2013-06-19 16:12:24 -07:00
Andre D
a27c63c12a payments: Add an amount field to the stripe payment form. 2013-06-19 10:28:36 -06:00
Chad Birch
5f3d7c0d4b Pre-fill reply box with quoted selected text
When "reply" is clicked, any text that the user has selected will be
pre-filled into the reply box, inside a blockquote. Allows a user to
select the text they're planning to reply to before clicking reply,
instead of needing to select, copy, paste, and add in "> " chars for
each line that they're quoting.
2013-06-19 10:27:52 -06:00
Chad Birch
54a40d4b2f Add approval checkmark to comments as well 2013-06-19 10:27:52 -06:00
Chad Birch
8d20462115 Add 'other discussions' tab for self-posts
Shows submissions linking to the self-post
2013-06-19 10:27:51 -06:00
Neil Williams
61a1c77f1c Remove mailmap. 2013-06-18 16:59:54 -07:00
Andre D
2b627b5cb2 wiki: Ensure wiki_edit_age is forwarded in the Frontpage.
The Frontpage was getting a min edit age from the defaults set as it was not forwarded from _base.
2013-06-18 15:13:08 -07:00
Neil Williams
6319051d8a Send timings for previous_visits to graphite.
The log statement only gives us the bad cases. This should give us a
fuller picture.
2013-06-17 15:35:09 -07:00
Neil Williams
f6bc67018d memoize: Stop dual-writing to old cache pool. 2013-06-16 22:35:40 -07:00