Commit Graph

2915 Commits

Author SHA1 Message Date
bsimpson63
aa16ccd352 Show gold creddit balance even if user doesn't have gold. 2013-05-14 15:03:49 -04:00
David Hu
54d5becaaf Submit page subreddit suggestion obeys user's over_18 preference. 2013-05-13 15:09:45 -04:00
bsimpson63
a2f0a9e35c PromoteReport for generating traffic reports on promoted links. 2013-05-13 15:09:45 -04:00
bsimpson63
9442f16cb4 traffic: Add campaign_history for querying targeting things. 2013-05-13 15:09:39 -04:00
Andre D
0e34dd7d6a wiki: Add wiki page name to body class. 2013-05-13 11:30:32 -07:00
Andre D
2c905548fe wiki: Add page name to title. 2013-05-13 11:30:32 -07:00
Andre D
4dcd7c2ec7 wiki: Ensure spammed users cannot create pages. 2013-05-13 11:30:32 -07:00
Andre D
1ae0ad796b wiki: Allow dashes in page names. 2013-05-13 11:30:32 -07:00
Andre D
24a4511beb wiki: Fix an xss fixed server side already. 2013-05-13 11:30:32 -07:00
Andre D
533ae1f8dc wiki: unsafe() diff html on conflict. 2013-05-13 11:30:32 -07:00
Andre D
f3c9c753b3 wiki: Ensure users who cannot revise do not get a create link. 2013-05-13 11:30:31 -07:00
Andre D
2e36cab7d4 wiki: Ensure wiki page not found gives a 404. 2013-05-13 11:30:31 -07:00
Andre D
1e57168013 wiki: Ensure wiki less gets evalulated before custom css. 2013-05-13 11:30:31 -07:00
Andre D
618f16cce6 reddit: Decompose stylesheet inclusion into functions. 2013-05-13 11:30:31 -07:00
cswider
833583b39d Adjust numbered lists margin to show two digits. 2013-05-10 16:33:12 -04:00
Chad Birch
6211d82f7a Use correct fullname prefixes for message parents
Previously, all parent_id values would be prefixed with t4_ (message),
even if the message was from a comment, which would actually have either
a comment or link parent.
2013-05-10 14:23:52 -06:00
Neil Williams
810bbc1096 Don't use referrer as a fallback in VDestination.
Since the referrer is not included in cache keys for pagecache or
Akamai, this can result in weird stuff getting cached and causing
downstream users to get redirected after login/registration to
unexpected destinations.
2013-05-10 11:00:27 -07:00
Neil Williams
6ba84d7ab9 /dev/api: Add an explanation of modhashes to the overview. 2013-05-09 14:42:57 -07:00
Neil Williams
d1ae49b4d9 /dev/api: Add an overview section and explain fullnames. 2013-05-09 14:42:57 -07:00
Neil Williams
60f9ce7af3 /dev/api: Add api_type to parameters where appropriate. 2013-05-09 14:42:57 -07:00
David Hu
23ee164ab0 Fix unexpected captcha iden when API call fails and captcha is not needed. 2013-05-09 13:49:38 -04:00
David Hu
77a591df37 Fix unexpected captcha iden in response of successful API calls. 2013-05-09 13:49:38 -04:00
Steve C
bfd5f69d7f Follow oauth2 expires_in spec. 2013-05-09 13:49:32 -04:00
bsimpson63
e04e0714cc Use EST to get fixed UTC-5 for traffic date displays. 2013-05-08 17:14:15 -04:00
bsimpson63
0e3017788f Let promote.get_total_run figure out dates for get_traffic_dates. 2013-05-08 17:14:15 -04:00
bsimpson63
1322668a1e Return datetimes with tzinfo=g.tz from get_total_run. 2013-05-08 17:14:15 -04:00
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