Commit Graph

3697 Commits

Author SHA1 Message Date
Brian Simpson
2af8fe6703 promote: create Decimal from string not float.
Creating a Decimal from a float results in precision loss.
2013-10-28 11:51:27 -04:00
Brian Simpson
38c8faf140 Don't memoize campaign_history.
campaign_history is used to look up traffic for links in batch
and the return can be too large for memoize. The query is fast and
only used by admins so not memoizing it shouldn't be a problem.
2013-10-28 11:51:27 -04:00
Brian Simpson
1e29502b9b Fix typo in refund emailer. 2013-10-28 11:51:21 -04:00
Max Goodman
2a94a7e7d8 Hide focus outline browser styles on link titles.
Now that link titles have tabindex, several browsers outline them when
focused. Let's override that behavior so that they act the way they did
before the tabindexes.
2013-10-25 16:29:29 -07:00
Neil Williams
5154319f90 Add "clicked" back to JSON for clients relying on it. 2013-10-25 16:29:29 -07:00
Josh Wardle
a2b7967133 Feedback page update 2013-10-24 16:03:36 -07:00
Neil Williams
db119b9197 POST_store_visits: Add VModhash requirement. 2013-10-24 16:03:35 -07:00
Ricky Ramirez
30c1df3a8f Add anchor-top-left class for idn-help bubble. 2013-10-24 16:03:34 -07:00
Ricky Ramirez
9ea230760b Show IDN on domain listings when appropriate. 2013-10-24 16:03:33 -07:00
Ricky Ramirez
727fe14c2e r.ui.Bubble: Don't position a Bubble off screen. 2013-10-24 16:02:17 -07:00
Ricky Ramirez
ebe1f7a9fa Remove obsolete selfserviceoatmeal.html 2013-10-24 16:02:17 -07:00
Ricky Ramirez
1c4b0de378 routing: Remove route for /doquery.
This should have gone in 5f916f5812.
2013-10-24 16:02:16 -07:00
Max Goodman
703336a3d8 Add frontend for new gold feature: "remember my visits". 2013-10-24 13:11:42 -07:00
David King
ff002a4bce Add backend for new gold feature: "remember my visits".
Store and mark what links users have already read, even between
computers.
2013-10-24 13:11:42 -07:00
Max Goodman
a54d977db5 Add tab index to listing links.
This makes it slightly easier to browse listings by keyword.
2013-10-24 13:11:42 -07:00
shlurbee
98fcc996ed Make public multis visible again.
Moves route for viewing what you've gilded after the multi route so it
doesn't catch multi urls.
2013-10-22 18:38:00 -07:00
Chad Birch
7872ff802f Userpage: add /gilded/given
Shows things that the user has given gold to - currently only viewable
by the user themselves and admins.
2013-10-22 12:43:23 -06:00
Chad Birch
05c06df947 Userpage gildings tab: start writing
Includes backfill script to be run before the other commit that actually
adds the tab
2013-10-22 12:43:19 -06:00
Chad Birch
6c62017040 Wiki revisions: convert UUID to string 2013-10-22 12:43:12 -06:00
Chad Birch
a74c8a4ba1 Gilded icon: link to subreddit gilded listing 2013-10-22 12:43:02 -06:00
Chad Birch
0d9d2c111a Comments: always set subreddit_path 2013-10-22 12:42:56 -06:00
Chad Birch
83961185fb Frontpage: /comments from subscribed subreddits
Previously, going to /comments on the frontpage would show the same as
visiting /r/all/comments. This switches to showing only comments from
the user's subscribed subreddits.
2013-10-22 12:42:44 -06:00
Chad Birch
076bf8d12c Comment sort menu: fix extra padding 2013-10-22 12:42:27 -06:00
Neil Williams
8fbf688701 gold progress bar: Add fallback color and gradient for Safari.
The progress bar was blank on older iOS and Safari 6. This should
provide a proper gradient for those browsers as well as a flat fallback
color for anything else.
2013-10-21 11:37:17 -07:00
Max Goodman
aaf1e51abb write-live-config: Update to reflect PluginLoader API change. 2013-10-21 11:37:17 -07:00
Neil Williams
75f548b941 Remove old goldvertisement config. 2013-10-19 15:56:47 -07:00
Neil Williams
134b09a79a Replace goldvertisement with daily progress bar.
Many thanks to @chromakode for design and copy.

The old goldvertisement live config is left in for now so that old code
continues to function during rollout.
2013-10-19 15:56:47 -07:00
Max Goodman
48aed9f88f Add images for goldvertisement progress bar. 2013-10-19 15:56:47 -07:00
Neil Williams
c814bb8e6b r.ui.Bubble: Add anchored-top-centered bubble mode. 2013-10-19 15:56:47 -07:00
Logan Hanks
10e2ab8b42 Use constant_time_compare to check oauth2 secrets. 2013-10-17 16:33:10 -07:00
Brian Simpson
5901ead106 Redirect users to their original destination after verifying email.
Particularly useful for redirecting back to /promoted for selfserve
advertisers.
2013-10-16 20:31:27 -04:00
Brian Simpson
50e5931cc3 Note about tricky redirects in PromoteController.GET_listing. 2013-10-16 20:31:27 -04:00
Brian Simpson
f5f3fa4043 Give the user a message when they verify their email. 2013-10-16 20:31:27 -04:00
Brian Simpson
799f3bf3f9 get_sold_pageviews: filter out campaigns with voided transactions. 2013-10-16 20:31:27 -04:00
Brian Simpson
96f35ab496 Only count booked inventory from paid campaigns. 2013-10-16 20:31:22 -04:00
Jason Harvey
5ce5d303e3 Fix: ensure input element exists even if it initially has no value.
reddit.js will insert a value in this element, so it must exist. Without
it, things like message replies break.
2013-10-16 17:26:52 -07:00
Jason Harvey
21d4f41476 Fix pre-existing info leak on deleted comments. 2013-10-16 16:09:21 -07:00
Jason Harvey
2f0fa46e89 Remove comment ID references for deleted comments. 2013-10-16 16:09:20 -07:00
Brian Simpson
53a24a9849 Update campaigns when a link that should be live is approved. 2013-10-16 03:56:38 -04:00
Brian Simpson
545d07ce31 Make widths consistent in the promo-form. 2013-10-16 03:55:04 -04:00
Brian Simpson
0d8c24b28e Textarea for promoted link selftext is rounded. 2013-10-16 03:55:04 -04:00
Brian Simpson
b5a94475d7 Class for UserText textarea. 2013-10-16 03:55:04 -04:00
Brian Simpson
e291d0a592 Allow sponsors to change nsfw status of promoted links. 2013-10-16 03:55:04 -04:00
Brian Simpson
22ec6dcfbc Timeout for r.spotlight.requestPromo. 2013-10-16 03:54:59 -04:00
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