Commit Graph

3633 Commits

Author SHA1 Message Date
Brian Simpson
e1ef6f3a35 Show gifts received by the user in ServerSecondsBar. 2013-10-09 16:29:05 -04:00
Brian Simpson
8c9b31d244 ServerSecondsBar can be made public. 2013-10-09 16:29:05 -04:00
Brian Simpson
57d17b4060 Higher precision version of format_timedelta. 2013-10-09 16:28:58 -04:00
Brian Simpson
5202a824c6 Show how many server seconds the user has paid for. 2013-10-09 16:28:43 -04:00
Brian Simpson
53c6a41e49 Update Babel to 1.0. 2013-10-09 16:28:43 -04:00
Brian Simpson
1406a36ee2 gold.py: lookup transactions by user. 2013-10-09 16:28:43 -04:00
Brian Simpson
e43c7f4f62 Bid: add charge_amount property. 2013-10-09 16:28:37 -04:00
Brian Simpson
e6f010b90c Fix another corner case in promote.accept_promotion.
Campaign that has been charged but won't go live until the future must
be updated. Also added a comment for the other corner case.
2013-10-09 16:28:24 -04:00
Brian Simpson
9fcf488269 get_billable_amount round down to nearest penny. 2013-10-09 11:41:53 -07:00
Brian Simpson
61e4e4a849 refund_campaign handles refund calculation. 2013-10-09 11:41:53 -07:00
Brian Simpson
7a515b0f98 Pass billable_impressions to refund_campaign. 2013-10-09 11:41:53 -07:00
Brian Simpson
9c6bdd6368 Fix typo in refund_campaign. 2013-10-09 11:41:53 -07:00
Andreas Damgaard Pedersen
db53124d47 /dev/api: Document usage of gilded userpage tab 2013-10-09 11:41:53 -07:00
Kevin Steck
847ee8ffec Fixed a bug if the <head> isn't in the first 1kb. 2013-10-09 11:41:53 -07:00
Matic Žgur
4f1a5fdf19 compact: Fix .cover to be overylayed over the whole screen. 2013-10-09 11:41:53 -07:00
Chad Birch
9019e77fa8 Gold partners: update Homejoy description 2013-10-09 11:41:53 -07:00
Chad Birch
24081ca7cd Frontpage: support /gilded 2013-10-09 11:43:14 -06:00
Chad Birch
4f1e173da2 /r/friends: add gilded tab 2013-10-09 11:43:08 -06:00
Chad Birch
1fd197869e Domain page: remove gilded tab 2013-10-09 11:43:03 -06:00
Jason Harvey
96fdb4dcb5 Cleanup temp files if dying due to replication lag. 2013-10-07 16:57:18 -07:00
Chad Birch
1bba953dc7 Userpage: add gilded tab 2013-10-07 15:45:20 -06:00
Chad Birch
23bb9ad339 Subreddits: add gilded tab 2013-10-07 15:45:14 -06:00
Chad Birch
7722a73d15 Userpage gilded tab: start writing
Includes backfill script to be run before second commit to actually add
tab is deployed.
2013-10-07 15:45:06 -06:00
Chad Birch
a72430538b Gold partners: October update 2013-10-07 15:45:01 -06:00
Brian Simpson
ab63ba22a1 Reword pref option to show self-serve advertising tab. 2013-10-07 14:20:59 -04:00
Brian Simpson
c6bd60ef0a No non-admin Promote_Graph.
Page was confusing/obsolete with switch to CPM.
2013-10-07 14:20:54 -04:00
Neil Williams
a51f4576f3 configparse: Defer timeinterval_fromstr import until runtime.
timeinterval_fromstr is implemented in Cython. ConfigParse is imported
in various plugin __init__s. This causes makefile issues on clean
builds.
2013-10-07 14:20:47 -04:00
Brian Simpson
fd5292457c Add SponsorSidebar. 2013-10-07 14:20:37 -04:00
Neil Williams
9cb14a15a8 Remove unused r2.lib.utils.reporting. 2013-10-04 11:53:47 -07:00
Neil Williams
f2cf180597 Remove remnants of legacy stylesheet systems. 2013-10-04 11:53:47 -07:00
Neil Williams
d81b953053 Revert "upload_static_files_to_s3: Don't list the whole bucket to find changes."
This reverts commit c67d688c9da437a87e8cf2fa1f94aa32be4de29f.
2013-10-04 11:53:47 -07:00
Max Goodman
1116847b5c Fix midcol sizing on subreddits listing. 2013-10-03 17:19:59 -07:00
Max Goodman
51fc3101d7 Line up rank and midcol elements using a <style> element.
This is a hack to scale the .rank and .midcol elements consistently
across the spotlight box and link listings. We don't know the maximum
link score length until we get to the link listing, at which point we
output a <style> tag to space things globally on the page. It's horribly
ugly, but maybe not as ugly as the style tags and jQuery measurement
hacks it replaces...
2013-10-03 16:04:49 -07:00
Roger Ostrander
e041c348cd JSON: Include spam_* settings for subreddits 2013-10-03 14:07:24 -07:00
Roger Ostrander
16ad702fe0 Builder: Do bulk domain-ban lookups 2013-10-03 14:07:14 -07:00
David Ehrmann
45a6dc3573 Update link to self-serve advertising rules on new promoted link page 2013-10-03 15:13:50 -04:00
Max Goodman
3341b2049e Add suggestions for next areas to browse in next/prev line. 2013-10-02 14:04:13 -07:00
Max Goodman
97ee5639e5 /dev/api: Document POST_search_reddit_names. 2013-10-02 14:04:06 -07:00
Max Goodman
0e3fdf1462 toolbar: Restore frame name attributes.
This fixes the comments pane opening in a new window on Firefox.
2013-10-02 14:04:06 -07:00
Brian Simpson
359f4987de Allow sponsors to create promoted links as other users. 2013-10-02 14:13:07 -04:00
Chad Birch
8096fb3a1d Subreddit routing: add /about/sticky redirect
Redirects to the subreddit's current sticky post
2013-10-01 18:20:15 -06:00
Roger Ostrander
fbfe49442d Pages: Disable 'approve' button for spam accounts 2013-10-01 17:16:35 -07:00
Max Goodman
55241e4b16 Remove invisible numcolmargin reference in compact. 2013-10-01 15:12:50 -07:00
Max Goodman
feba33d374 LESSify .nextprev styles. 2013-10-01 15:12:45 -07:00
Max Goodman
f99c41f434 toolbar: Add sandbox attribute to prevent JS redirection.
Thanks to Mathias Karlsson for suggesting this change.
2013-10-01 15:12:25 -07:00
Max Goodman
54fbe84fe6 toolbar: Convert inner frame to using iframes. 2013-10-01 15:12:20 -07:00
Max Goodman
b547a11d00 Fix validating uploads post-"storify" removal.
Refactoring out the old "storify" function and duplicated request data
params changed the semantics of file uploads. Uploads are now presented
as cgi.FieldStorage values to our validators, and need to be referenced
by their `.value` property to get the data.
2013-10-01 15:11:55 -07:00
Max Goodman
e692b01b01 Clean up lowercase duplications of request.GET/request.POST. 2013-10-01 15:11:52 -07:00
Brian Simpson
ee2c0028d7 Sponsors can create campaigns a year in advance. 2013-10-01 10:02:07 -04:00
Max Goodman
a9fdaf9c9c Normalize multi URLs generated by share button.
This ensures that share button URLs don't carry over subdomains.
2013-09-27 18:21:25 -07:00