Commit Graph

3653 Commits

Author SHA1 Message Date
Brian Simpson
dbadf7d9d0 Set the site when requesting a promoted link.
This lets us do over18 thumbnail hiding correctly.
2013-10-16 03:54:50 -04:00
Brian Simpson
cc3af6e8ff Use lang_override for all "en" variants. 2013-10-16 03:53:10 -04:00
Brian Simpson
2f46f90123 Separate language used for translation from page language. 2013-10-16 03:53:05 -04:00
Neil Williams
3e846946be Make ListingChooser full-height on short pages.
The JS check in ListingChooser.initialize only takes care of the case
where the list of multis is longer than the body. However, when there
are very few multis *and* the page content is short, you get a weird
truncated listing chooser. This fixes that by setting a min-height on
body which works because html is already height: 100%.
2013-10-15 15:31:12 -07:00
Jason Harvey
5cd9d0099e Add max_depth parameter to CommentPane cache key. 2013-10-14 15:00:52 -07:00
Neil Williams
f8ec402dba install-reddit: Ensure consumer-count.d is owned by the right user. 2013-10-14 13:55:56 -07:00
Neil Williams
8bdc62314a scraper_q: Gracefully degrade to thumbnail-only when no embedly.
Between the local filesystem media provider and this change, scraper_q
is workable after a default install now.
2013-10-14 13:55:56 -07:00
Neil Williams
b9f146d1e5 /prefs/apps: Make app icon URLs HTTPS friendly. 2013-10-14 13:55:56 -07:00
Neil Williams
8ea249eea4 POST_setappicon: Use VUploadLength.
This endpoint was missed when fixing file uploads after the
request.post -> request.POST deduplication fixup.
2013-10-14 13:55:56 -07:00
Neil Williams
8f7db4f3da Media Provider: Add "filesystem" provider for local nginx.
This media provider is for simple single-server installations where an
HTTP server running on the same machine handles serving of the static
media files.

An appropriate setup with nginx is now the default in the new install
script.
2013-10-14 13:55:56 -07:00
Neil Williams
5cbea9cdf4 Factor S3 media uploads out to new provider system.
This introduces a new "provider" system which allows core pieces of
code to be swapped out for different hosting setups.
2013-10-14 13:55:56 -07:00
Max Goodman
71099cdf02 Linkify user names in gold server seconds box. 2013-10-10 12:27:30 -07:00
Max Goodman
ba5d54c399 Embolden gold server seconds metric. 2013-10-10 12:27:30 -07:00
Max Goodman
daf5f8df27 Make gold expiration / gold server seconds boxes consistent. 2013-10-10 12:27:30 -07:00
Max Goodman
91930028be Tighten up gold server seconds box layout. 2013-10-10 12:27:30 -07:00
Max Goodman
a9da42be3e LESSify gold server seconds styles. 2013-10-10 12:27:30 -07:00
Brian Simpson
84fe26ed1e Gold gifts don't record pennies, calculate them from days. 2013-10-10 02:23:13 -04:00
Neil Williams
9bd172a32a /about/stylesheet: Add a link to revision history in the wiki. 2013-10-09 15:07:08 -07:00
Neil Williams
fd6cbff581 /about/stylesheet: Remove "show default stylesheet" option.
The main stylesheet is written in LESS now and so the raw CSS that's
visible on site is not very human-readable nor is it terribly useful.
2013-10-09 15:07:08 -07:00
Brian Simpson
e59925e5d6 ServerSecondsBar: filter out postcard gold. 2013-10-09 16:29:05 -04:00
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