Brian Simpson
fb19fc689d
Allow subtracting subreddits from /r/mod.
2014-01-12 10:07:38 -05:00
Brian Simpson
3dfe258407
is_charged_transaction: refunded is still charged.
2014-01-12 10:07:29 -05:00
Jason Harvey
7cadf9fc7a
Update link LastModified if link or thread comment is removed.
2014-01-08 16:40:38 -08:00
Neil Williams
c9448d5360
Add timer for authentication step of RedditController.pre.
...
Somewhere in the base-pre step is going slow, this should help narrow it
down.
2014-01-08 16:12:10 -08:00
Neil Williams
5b370eb422
/dev/api: Add uses_site to /api/info.
...
You can specify the subreddit to clamp results to that subreddit.
2014-01-08 16:12:10 -08:00
Chad Birch
e8e2b3fc64
randstr: Allow specifying valid chars directly
...
Removes the "really_random" argument from the randstr util function, and
replaces it with an argument that allows specifying the character
choices instead of just having the two options available.
2014-01-08 13:19:07 -07:00
Andre D
79ddb15072
oauth: Add an authorize.compact support.
2014-01-07 12:40:13 -05:00
Chad Birch
e21b1863aa
Links: allow re-queuing for scrape if unsuccessful
...
If the scrape of a link fails for some reason, this will add a "retry
thumb" button to the link, which will re-add it to the queue to try
again. This will appear to similar people as the "nsfw" button - either
mods of the subreddit, the submitter, or the sponsor for a promoted
link.
2014-01-03 18:44:11 -07:00
Chad Birch
0ac994bad9
Sent messages: don't hide removed messages
2013-12-30 20:37:30 -07:00
shlurbee
c806017af8
Filter private subreddits from the explore tab.
...
Private subreddits are filtered out of the recommendations but could show
up in the rising links.
2013-12-30 15:19:02 -08:00
Chad Birch
13fd5ed51a
UrlParser: tolerate port attribute being unset
2013-12-23 15:16:56 -07:00
Max Goodman
644d2da840
Finagle README.md logo image position on GitHub.
2013-12-23 08:51:37 -08:00
Roger Ostrander
18624371fe
Signup/login: Enable account spotchecks
2013-12-20 13:46:35 -08:00
David Ehrmann
f5db68a80f
Never mark comments by promoters on their own promotions as spam
2013-12-18 15:42:46 -08:00
shlurbee
95da24e94c
Don't fade comments in RES nightmode.
2013-12-18 12:57:07 -08:00
Brian Simpson
4ab1d14bab
Don't show promos without paid campaigns in "future_promos".
2013-12-18 05:32:16 -05:00
Brian Simpson
19be2d267d
Only sponsors can unmarknsfw on promoted links.
2013-12-17 16:44:24 -05:00
Brian Simpson
6571a697a3
Add override to prevent setting promoted links over_18.
2013-12-17 16:44:24 -05:00
Brian Simpson
48288b2177
Let sponsors safely terminate a live campaign.
...
This will set the campaign's end_date to now so all traffic and
billing information is retained.
2013-12-17 16:44:24 -05:00
Brian Simpson
59ec220dd0
get_time_points must return valid traffic times.
2013-12-17 16:44:24 -05:00
Brian Simpson
b0c6e48840
to_datetime: only convert datetime.date objects.
...
When d is of type datetime.datetime isinstance(d, datetime.date)
returns True.
2013-12-17 16:44:24 -05:00
Brian Simpson
595999ddfa
edit_campaign: record more details in PromotionLog.
2013-12-17 15:58:59 -05:00
Brian Simpson
61fa8895a8
Unset trans_id when voiding a campaign's transaction.
2013-12-17 15:58:59 -05:00
Brian Simpson
536434030b
Use correct check for live campaigns when editing bid.
2013-12-17 15:58:59 -05:00
Chad Birch
faca1d1a05
reddit_gold table: index on secret non-unique
2013-12-17 11:45:12 -07:00
Andre D
ce17aea0fc
wiki: Add option to remove wiki pages from list
...
When combined with a mod only page, this allows users to delete and
undelete pages. This also allows users to "move" pages by unlisting
the old one.
2013-12-16 12:23:14 -07:00
Max Goodman
a2aae81077
policy pages: Handle periods in heading ids.
2013-12-13 15:33:13 -08:00
Ben Newhouse
7774fc8d3f
scraper_q: Add gzip support.
...
Helpful because Amazon S3 doesn't support switching between gzipped and
non-gzipped content so often times resources are uploaded directly
gzipped with gzipped headers. Because all modern browsers support gzip,
S3 always serves gzip and it's not generally a problem. Urllib, however,
doesn't support gzip so gzipped resource currently fail to decode when
scraped.
2013-12-13 12:31:33 -08:00
Kevin Ji
4729b88f5e
Fix typo: hel -> help
2013-12-13 12:31:17 -08:00
Chad Birch
a17328dcfd
Gold revenue: support longer-term memoization
2013-12-13 09:31:44 -08:00
Max Goodman
82a3a80f09
Revert "Add temporary Secret Santa sidebar link."
...
This reverts commit 73a4e09ed360020b0fd7bef8aa4b948668bb7abe.
2013-12-13 09:31:43 -08:00
Chad Birch
787cae2bcc
Gold goal: cast to float for percent calculation
2013-12-13 09:31:43 -08:00
Chad Birch
59e4551709
GoldRevenueGoalByDate: cast value to int
2013-12-13 09:31:43 -08:00
Chad Birch
36d7ad8e50
JSON: add saved to comments
2013-12-13 09:28:24 -08:00
Brian Simpson
1c8fa745bc
get_campaigns_by_date: Don't lookup transactions if there are none.
2013-12-12 09:41:02 -05:00
Brian Simpson
4a6103963e
Don't mention the gold lounge after a completed paypal purchase.
...
User may have bought gift as a gold and not have gold themself. The
user receiving the gold will get a PM once the transaction is complete
and that message will let them know about the gold lounge.
2013-12-12 09:41:02 -05:00
Brian Simpson
1caaf029e3
keep_fresh_links: skip promoted links.
2013-12-12 09:40:56 -05:00
shlurbee
c15f4af2fe
Make explore headlines the usual size.
2013-12-12 12:32:53 -08:00
shlurbee
e6d5182d3a
Fix font size in explore taglines.
2013-12-12 12:32:53 -08:00
shlurbee
f190447566
Fix recommend url in API docs.
...
Automatically generated url doesn't match the true route.
2013-12-12 12:32:52 -08:00
shlurbee
50f130af69
Fix explore page title style.
...
The "explore-page" css class was removed at some point but it's needed for
correct placement of the "Explore" title (since this page doesn't have hot,
new, etc tabs.)
2013-12-12 12:32:51 -08:00
shlurbee
aae622d56e
Update recommend endpoint and validation.
...
get_recommendations was recently changed to accept id36s instead of subreddit
objects for the omit list. This change updates the recommender api endpoint
to match. It also makes the VSRByNames() validator return an empty dict in
case of error so it's safe to call .values() on the result.
Note: Fixes the broken "more suggestions" link in multi recommendations.
2013-12-12 12:32:51 -08:00
Andre D
d847228dca
/dev/api: Document /by_id.
2013-12-11 07:17:49 -05:00
Brian Simpson
3e74706a20
Allow sponsors to approve unpaid promoted links.
2013-12-11 07:17:35 -05:00
Brian Simpson
25cab88345
PromoteReport: don't fail when there are no links.
2013-12-11 07:17:35 -05:00
Brian Simpson
4950837f49
Fix typo in POST_freebie variable name.
2013-12-11 07:17:34 -05:00
Brian Simpson
924b244e65
RenderableCampaign: Fix freebie logic.
...
Don't let users change the bid of a freebie'd campaign and
make sure to show the "freebie" span.
2013-12-11 07:17:30 -05:00
Brian Simpson
5d5c1622e5
paymentform: clean up translations.
2013-12-11 05:04:12 -05:00
Brian Simpson
dea8040368
sponsored.js edit_campaign: use _.each to fill form inputs.
2013-12-11 05:04:12 -05:00
Brian Simpson
1ae3fd0791
promotelinkform: clean up usage of id36 and fullname.
2013-12-11 05:04:12 -05:00