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
Neil Williams
501ea33f0f
memoize: Start reading from new memoize cache pool.
2013-06-16 22:35:40 -07:00
Neil Williams
b5c57aa7ed
Add new dedicated memoize cache pool and start dual-writing.
...
Memoize creates very large objects that take up lots of space
and has weird behaviour when it gets evicted. We get some isolation
and monitoring by moving it to its own pool. Since it is sensitive
to split-brain stuff, we start out here by dual-writing to the new
pool.
2013-06-16 22:35:40 -07:00
Neil Williams
2265908f20
upload_static_files_to_s3: Don't list the whole bucket to find changes.
...
The static files S3 bucket has been getting a lot larger recently,
between subreddit stylesheets being in there and the static file cleaner
being disabled due to a bug. This is causing the deploy process to take
upwards of 3 minutes just to determine that no files need to be uploaded
to the bucket.
As a short-term workaround, this changes the uploader to check each key
individually with an S3 HEAD request rather than listing the whole
bucket. This is slower than best case of listing the bucket, but is
significantly faster than the current condition (~25 second runtime
now).
2013-06-16 22:35:40 -07:00
Chad Birch
e01ed5d957
Enable comment-highlighting and butler by default
2013-06-13 11:20:21 -06:00
Andre D
31321e7cf1
approval: Add timesince to approval title text.
2013-06-13 11:19:59 -06:00
Josh
45b5e7a001
Removed unused css and image
2013-06-13 11:19:59 -06:00
Josh
73c6e4542f
Feedback page: new arrow and margins
...
It is now slightly less hideous
2013-06-13 11:19:59 -06:00
David Hu
c7f918754e
Fix discussion page's "limit", "after", "reverse", "count" params.
2013-06-13 11:19:59 -06:00
Andre D
952e300c74
wiki: Add a view source button.
2013-06-13 11:19:59 -06:00