Commit Graph

2876 Commits

Author SHA1 Message Date
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
Max Goodman
f353cc852a Modularize wiki ToC generation. 2013-05-01 14:08:50 -07:00
Max Goodman
0911ee0180 Move viewport tag to its own overridable template function. 2013-05-01 14:08:49 -07:00
Max Goodman
0fba8b7419 Add noop str config parser for documentation.
This allows str config params to be specified in plugins so their param
delcarations can be comprehensive.
2013-05-01 14:08:49 -07:00
Max Goodman
1ac081150f Remove unused mappings and inline scripts. 2013-05-01 14:08:49 -07:00
Max Goodman
882ccd3428 Remove unused store route. 2013-05-01 14:08:49 -07:00
Max Goodman
2916817499 Use "invalid" name for timings of requests without a handler. 2013-05-01 14:08:49 -07:00
Max Goodman
62bfccf441 Exclude domain listings from not_in_sr routing test.
This prevents matching urls starting with /domain/something.com due to
the way our domain middleware works.
2013-05-01 14:08:49 -07:00
Max Goodman
430f3b6e06 Render spotlight box as soon as we have data. 2013-05-01 14:08:49 -07:00
Max Goodman
dd5f750bad Allow a default url to be set per trophy codename. 2013-05-01 14:08:49 -07:00
Max Goodman
587abe5808 Expose the memoized function when decorated with @memoize. 2013-05-01 14:08:49 -07:00
Max Goodman
c9683902e2 Don't add cache bust to static(''). 2013-05-01 14:08:49 -07:00
Chad Birch
d0394a1169 Add report count to active "ignore reports" button 2013-04-30 17:00:46 -04:00
bsimpson63
f860b95ca5 Change menu text: reports can be links or comments. 2013-04-30 17:00:46 -04:00