Brian Simpson
d2d325ce7f
CreditGild needs a value for period.
2013-11-15 05:00:14 -05:00
Brian Simpson
929e1db472
Need to use hasattr to check for stripe_customer_id.
2013-11-15 05:00:14 -05:00
Brian Simpson
5c64272668
complete_gold_purchase is a classmethod of GoldPaymentController.
2013-11-15 05:00:14 -05:00
Brian Simpson
1a03651dee
Don't allow multiple gold subscriptions on an account.
2013-11-15 05:00:14 -05:00
Brian Simpson
19d9968455
Don't PM users with gold subscription about expiration.
2013-11-15 05:00:14 -05:00
Brian Simpson
89ffb73378
Renable submit button on all stripe exceptions.
2013-11-15 05:00:14 -05:00
Brian Simpson
a0d39d680e
Stripe gold subscriptions.
2013-11-15 05:00:14 -05:00
Brian Simpson
8db4d6721a
Show a status message immediately when user submits credit card.
2013-11-15 05:00:14 -05:00
Brian Simpson
e20e9eb7a0
ipn: move state to Webhook object.
2013-11-15 05:00:02 -05:00
Brian Simpson
89f6f1ad9c
Delete cython versions of normalized_hot.
2013-11-14 02:09:21 -05:00
Brian Simpson
82a1e0dde7
find_preview_comments/links: use sr rather than c.site.
2013-11-14 02:09:21 -05:00
Brian Simpson
380140f0aa
Use sgm to cache each subreddit's normalized_hot links.
2013-11-14 02:09:14 -05:00
Ricky Ramirez
1f4682ce8a
set_subreddit: Protect against IDNA encoding errors.
2013-11-13 22:30:12 -05:00
Brian Simpson
c827dea143
Add timer around normalized_hot.
2013-11-13 22:30:12 -05:00
Brian Simpson
bdfecf27c5
sgm: use the time parameter.
2013-11-13 22:30:12 -05:00
Brian Simpson
683c88baf8
Count clicks on the "comments" link for a selftext promoted link.
2013-11-13 22:30:03 -05:00
Brian Simpson
5b0f8f3efd
Promotion_Summary: comment explaining campaign accounting.
2013-11-12 16:44:00 -05:00
Brian Simpson
1f5dbcb6f4
Promotion_Summary: subtract refund_amount.
2013-11-12 16:44:00 -05:00
Brian Simpson
27986fc2bf
PromotionWeights: delete get_schedule and bid_history.
2013-11-12 16:44:00 -05:00
Brian Simpson
c5ce5f851d
Delete unused promote.traffic_totals.
2013-11-12 16:44:00 -05:00
Brian Simpson
fe93947f85
Move inventory multiplier to INVENTORY_FACTOR constant.
2013-11-12 16:44:00 -05:00
Brian Simpson
3281b27ae9
Better handling of ignore in inventory methods.
2013-11-12 16:44:00 -05:00
Brian Simpson
55ac9f7aed
PromoteInventory page.
2013-11-12 16:44:00 -05:00
Brian Simpson
f4a03851ea
inventory: split out get_predicted_pageviews.
2013-11-12 16:44:00 -05:00
Brian Simpson
0db61fcc9b
inventory: get_campaigns_by_date method.
2013-11-12 16:44:00 -05:00
Brian Simpson
c48b98554f
PromotionWeights.get_campaigns can filter by sr_name.
2013-11-12 16:44:00 -05:00
Brian Simpson
0dce9b97a7
Delete Promote_Graph.
2013-11-12 16:44:00 -05:00
Brian Simpson
0a652a9513
Stop using Promote_Graph in Promotion_Summary.
2013-11-12 16:44:00 -05:00
Brian Simpson
19af2d5f33
Revert "Promo admin tool"
...
This reverts commit 301512551aca1231f7bc3cbd7bca96720415ef35.
2013-11-12 16:43:53 -05:00
Brian Simpson
7e14f37921
Remove Google Checkout.
...
The service is being discontinued.
2013-11-12 15:59:16 -05:00
Brian Simpson
d9611d6c58
Rename variable in stripeResponseHandler.
...
The error span is named 'status' and we don't want to overwrite it.
2013-11-11 16:51:59 -08:00
Neil Williams
1daefe4ad7
gold progress: Use Pacific time.
...
Additionally, this adds a function for fetching revenue by day in batch.
2013-11-11 16:51:59 -08:00
Chad Birch
e97767715d
Gold goal: allow employees to see actual goals
2013-11-11 16:51:59 -08:00
Chad Birch
c4e3c9fa35
Gold goal: switch to dynamic goal
...
Previously the goal was simply a static amount, this changes it so that
it is set to 110% of the average revenue from the previous 7 days
(disregarding highest and lowest revenues). To prevent too large of
swings due to "spikes", the goal is restricted to no more than a 20%
change from the previous day's goal.
2013-11-11 16:51:59 -08:00
powerlanguage
9a135ac379
contact us: Add password/username recovery detail
2013-11-11 16:51:17 -08:00
Roger Ostrander
18a57c3f40
JSON: Don't include spam settings for non-moderators
2013-11-11 16:45:56 -08:00
Brian Simpson
ec845b9d9e
PromoteReport: use promote.charged_or_not_needed.
2013-11-07 22:58:15 -05:00
Brian Simpson
370314ed1d
Show house campaigns on the traffic page.
2013-11-07 22:58:07 -05:00
Neil Williams
2f5d8cd4fa
Add a middleware to sanitize response splitting attempts.
...
Thanks to Jordan Milne (/u/largenocream) for reporting this and
joyent/node@3c293ba272 for inspiration for
this solution.
2013-11-07 13:04:09 -08:00
Andre D
909ce5fefb
submit_text: Solve race condition issues by aborting old requests.
2013-11-06 13:03:35 -08:00
Roger Ostrander
533d3765d7
Subreddit Creation: Display defaults for spam
2013-11-06 13:03:35 -08:00
Brian Simpson
969ee4cc46
Only run analytics stuff in an organic listing.
...
Prevents counting impressions and clicks on pages where the ad is being
managed.
2013-11-06 13:03:35 -08:00
Brian Simpson
98e874a97d
Show self-serve advertising button on traffic pages.
2013-11-06 13:03:34 -08:00
Chad Birch
c47a6ad28e
Yesterday's gold goal: tiny alignment tweaks
2013-11-06 13:03:34 -08:00
Chad Birch
bbda62606e
Daily gold goal: add countdown to end time
2013-11-06 13:03:34 -08:00
Chad Birch
3458468355
Gold: move about/partners to plugin
2013-11-06 13:03:34 -08:00
Chad Birch
c4d053b802
Gold pages: update buy gold link
2013-11-06 12:50:45 -08:00
Max Goodman
dcf6281afb
spotlight: Advance to next item if an ad fails to load.
2013-11-06 12:50:45 -08:00
Max Goodman
4eb7d56ed0
spotlight: Increase promo timeout to 1s.
...
500s isn't seeming to cut it... :(
2013-11-06 12:50:45 -08:00
Brian Simpson
142b80e806
Clean up logging in promote.
2013-11-06 12:50:45 -08:00