Commit Graph

2889 Commits

Author SHA1 Message Date
bsimpson63
97caffc934 Take PromoCampaigns as inputs in promote.get_total_run. 2013-05-08 17:14:15 -04:00
bsimpson63
b717296dd6 Delete old campaign traffic pages. 2013-05-08 17:14:15 -04:00
bsimpson63
bc23801d4e Redesign PromotedLinkTraffic. 2013-05-08 17:14:14 -04:00
bsimpson63
00623614c9 PromotedLinkTraffic: set chart date to EST. 2013-05-08 17:14:14 -04:00
bsimpson63
1ea76b8f28 Reclass traffic-table to traffic_viewer-table.
The table was picking up the odd/even highlighting.
2013-05-08 17:14:14 -04:00
bsimpson63
1f64bf6e83 Use the correct selector in POST_traffic_viewer. 2013-05-08 17:14:14 -04:00
bsimpson63
89a2638bd7 Don't show empty UserList table. 2013-05-08 17:14:14 -04:00
bsimpson63
2cebd2881f Add promotion_history to targeted traffic classes. 2013-05-08 17:14:14 -04:00
bsimpson63
6ca97cca5e Sum promotion_history for all rows with the same interval/codename/date.
Also don't return uniques because their summed values are not meaningful.
2013-05-08 17:14:14 -04:00
bsimpson63
637b5770c0 Get correct width in zip_timeseries. 2013-05-08 17:14:07 -04:00
Neil Williams
f5ed4ea99f error_mapper: Make sure it's safe to use "c" before using it.
This was breaking subreddit.reddit.com -> reddit.com/r/subreddit
redirects because `c` was not registered at the point that the redirect
was generated.
2013-05-07 15:12:42 -07:00
bsimpson63
7e09ded784 Add 'transfer.paid' noop event. 2013-05-07 14:50:21 -04:00
bsimpson63
6727ca4e55 Add noop event for Stripe transfer.created. 2013-05-07 14:50:21 -04:00
bsimpson63
c641ea0821 Add logging for stripe failures. 2013-05-07 14:50:21 -04:00
bsimpson63
2e0923ea6a Convert dates to EST for display on PromotedLinkTraffic. 2013-05-07 14:50:21 -04:00
bsimpson63
6a67f2f11c Let the user set file type for promoted link thumbnail. 2013-05-07 14:50:21 -04:00
Neil Williams
d5324f87e0 error_mapper: Don't redirect to ErrorController for pagecached errors.
This prevents a situation where we get a cached error (e.g. a 404) back
from the pagecache and then the error_mapper (called by the
ErrorDocuments middleware) sees that status code and redirects the app
to the ErrorController which then re-renders the error and inserts it
into the pagecache at the end of the request.
2013-05-07 11:47:11 -07:00
Max Goodman
aa0739b428 Add a reddiquette link to the comment form. 2013-05-06 14:59:53 -07:00
Max Goodman
6e7cbd6e41 Don't position:fixed the login/language popups. 2013-05-06 14:59:53 -07:00
bsimpson63
00e86bcb8b Don't charge google checkout orders with bad amounts. 2013-05-06 15:03:50 -04:00
Neil Williams
7b35405280 Add author_slow property to Message. 2013-05-03 11:54:02 -07:00
Neil Williams
611a1dda25 Add a tool for generating subreddit traffic reports. 2013-05-03 11:54:02 -07:00
Neil Williams
123473021d memcache: Reduce compression threshold for main caches. 2013-05-03 11:53:51 -07:00
Neil Williams
92cbd69367 memcache: Reduce compression threshold for permacache. 2013-05-03 11:53:51 -07:00
Neil Williams
b623c052f1 memcache: Reduce compression threshold for page/rendercache. 2013-05-03 11:53:51 -07:00
Neil Williams
8367895b13 memcache: Make minimum size for compression configurable per chain.
This allows us to trade off CPU time for bandwidth / cache space in
different amounts on different cache chains since they have distinct
behaviours.
2013-05-03 11:53:51 -07:00
bsimpson63
424290efe1 Convert PromoCampaign dates to tz aware datetimes. 2013-05-03 13:21:34 -04:00
bsimpson63
c33882ff4f Utility to convert dates to datetimes. 2013-05-03 13:21:34 -04:00
bsimpson63
3d8bdf2175 Better menus for promoted links and add filtering by subreddit. 2013-05-03 13:21:34 -04:00
bsimpson63
356b6fa3ed Add get_live_subreddits method for LiveAdWeights. 2013-05-03 13:21:28 -04:00
bsimpson63
fa69542e70 Only check moderator permissions for Multi or ModSR cached queries. 2013-05-02 17:49:11 -04:00
Neil Williams
14eb7c3a4f logging: Improve the quality of tracebacks from ErrorController. 2013-05-02 13:39:26 -07:00
Neil Williams
58a6496694 Allow boto to gather AWS credentials from alternate sources.
If the relevant configuration options are left blank in the ini file, we
will pass None to boto for credentials allowing it to look in other
places, including the AWS instance metadata used by Roles for EC2.
2013-05-02 13:39:26 -07:00
Chad Birch
ed6e60bab4 Add "[score hidden]" markers to alternate views 2013-05-02 13:39:26 -07:00
Max Goodman
341ad93d4e Tolerate a missing registration info wiki page. 2013-05-01 16:54:32 -07:00
Max Goodman
b3c3153d0e Fix scope mixup in template. 2013-05-01 16:54:32 -07:00
Max Goodman
b4b07a3e08 Cache registration info html in memcache. 2013-05-01 16:54:32 -07:00
Max Goodman
bbdb8e4045 Collapse minor edits into policy page revisions. 2013-05-01 16:54:32 -07:00
Max Goodman
04300321a5 Update legal footer links. 2013-05-01 14:10:51 -07:00
Max Goodman
a64dfee54a Add privacy policy updated notice to footer. 2013-05-01 14:10:51 -07:00
Max Goodman
d735a0a289 Tighten up login box checkbox spacing. 2013-05-01 14:10:51 -07:00
Max Goodman
ff80fac8d5 Make registration form labels / ui more width efficient. 2013-05-01 14:10:51 -07:00
Max Goodman
a6c252e683 Display privacy philosophy on registration form. 2013-05-01 14:10:51 -07:00
Max Goodman
c1ae86745d Remove dead param. 2013-05-01 14:10:51 -07:00
Max Goodman
3fdfabd408 Use view class for popup login form. 2013-05-01 14:10:50 -07:00
Max Goodman
4b53396821 Privacy policy and user agreement viewer. 2013-05-01 14:10:50 -07:00
Max Goodman
20fd53b124 Add scrollFixed util. 2013-05-01 14:08:50 -07:00
Max Goodman
356a90b947 Add class to ToC <li>s. 2013-05-01 14:08:50 -07:00
Max Goodman
fb28149495 Add target param to wikimarkdown. 2013-05-01 14:08:50 -07:00
Max Goodman
ebe3e3693d Allow class attribute on markdown generated tags in souptest. 2013-05-01 14:08:50 -07:00