Commit Graph

4325 Commits

Author SHA1 Message Date
umbrae
379fc9f556 Allow certain media types to be expanded by default.
Current need: liveupdate.
2014-04-25 15:49:32 -07:00
Max Goodman
013a29e221 Escape inlined JSPreload JSON data. 2014-04-25 15:49:31 -07:00
Jack Lawson
7744fc7283 Move timestamp live-timestamp class for less whitespace 2014-04-25 15:49:31 -07:00
Matt Lee
73609acab7 Replace quote cycling with new static layout. 2014-04-25 15:46:48 -07:00
Matt Lee
f4d838aea7 Change ad testimonials. 2014-04-25 15:46:48 -07:00
Matt Lee
b9a3d06a25 Move help text to infobar. 2014-04-25 15:46:47 -07:00
Matt Lee
9d990e2b59 Handle long target/location values better 2014-04-25 15:46:47 -07:00
Matt Lee
62757a9375 Clean up alignment on edit_promo page. 2014-04-25 15:46:46 -07:00
Matt Lee
ecfc903488 Hide 'cancel' button on edit_promo when there are no existing campaigns. 2014-04-25 15:46:46 -07:00
Matt Lee
1e150af2de Cleanup js and unused image. 2014-04-25 15:34:05 -07:00
Matt Lee
fdc19edc17 Migrate advertising page styles to LESS. 2014-04-25 15:34:05 -07:00
Matt Lee
40dc1bb6ff Change URL to Ad. Manual download to point at S3. 2014-04-25 15:34:04 -07:00
Jack Lawson
16abccafe5 Add live-updating to timestamps. 2014-04-23 20:08:26 -07:00
Max Goodman
a8346c0b26 Add scrollupdater.js. 2014-04-23 14:50:38 -07:00
Neil Williams
cf7577ba00 Add timetext.js. 2014-04-23 14:50:26 -07:00
Matt Lee
fb65a0feec Add link to download ads manual pdf to advertising page 2014-04-23 10:58:07 -07:00
Matt Lee
1b8811ab95 Fix links on advertising page 2014-04-23 10:58:06 -07:00
Matt Lee
053fe2505e Update advertising page 2014-04-23 10:58:06 -07:00
Brian Simpson
b061209aaf Initialize datepickers when there are no campaigns. 2014-04-22 17:15:16 -04:00
Brian Simpson
8c2e7a7e6c Change display wording from geotargeting to location. 2014-04-22 17:15:16 -04:00
Brian Simpson
e7e8ed4c88 Geotargeting: show the country name rather than just the code. 2014-04-22 17:15:16 -04:00
Brian Simpson
cd540cbf19 Make CPM prices in the ini file the absolute price, not additive. 2014-04-22 17:15:16 -04:00
Brian Simpson
392a382daf Allow different prices for country and metro level geotargeting. 2014-04-22 17:15:16 -04:00
Brian Simpson
fd604d802f Campaign Editor: make padding of td the same as th. 2014-04-22 17:15:16 -04:00
Brian Simpson
2af3f17183 Enable geotargeting for all users.
Unlike admins they will only be able to geotarget on the frontpage.
2014-04-22 17:15:16 -04:00
Brian Simpson
7f2f2f09fd PromoteLinkForm: add a link to the FAQ. 2014-04-22 17:15:15 -04:00
Brian Simpson
ff3cd281cc PromoteLinkForm: remove notes. 2014-04-22 17:15:02 -04:00
Brian Simpson
928aecd311 Fix layout of geotarget-notice icon. 2014-04-18 17:05:05 -04:00
Jason Harvey
5fd838ac4d Move zk auth data into KazooClient constructor.
This ensures that reconnections after lost TCP sessions are properly
authenticated.
2014-04-18 13:02:54 -07:00
Brian Simpson
ca4ba0b45b Add a notification on comments page when promoted link is geotargeted. 2014-04-18 14:04:09 -04:00
umbrae
a453758924 Add a preference for trending on the front page 2014-04-17 15:26:17 -07:00
Max Goodman
245cd4582f Add a little more spacing around trending subreddits list. 2014-04-17 15:26:17 -07:00
Max Goodman
b83f920160 Fix trending bar alignnment for compressed links. 2014-04-17 15:26:09 -07:00
Max Goodman
8a21371deb Ugly hacks to make trending subreddits align with links. 2014-04-17 15:26:09 -07:00
Brian Simpson
a1ea0e9ed0 Clean up the layout for the adminnotes area. 2014-04-17 17:26:02 -04:00
Keith Mitchell
7e11695dad /dev/api: Put /api/store_visits in the API docs
api_doc notes' plumbing was changed slightly so
that VGold() endpoints automatically state that
they require a gold subscription in the docs.

"save" OAuth2 scope added to the store_visits endpoint.
2014-04-17 12:50:07 -07:00
Keith Mitchell
b3bf59b4b6 OAuth2: Expose several endpoints
Endpoints getting "read" scope:
* /api/search_reddit_names
* /api/subreddits_by_topic
* /api/recommend/sr/{srnames}
* /subreddits
* /subreddits/new
* /subreddits/popular

Endpoint getting "modconfig" scope:
* /r/{subreddit}/about/edit
2014-04-17 12:50:01 -07:00
Keith Mitchell
d6848c8d14 [OAuth2] Don't send unnecessary modhash to OAuth clients 2014-04-17 12:49:48 -07:00
Brian Simpson
4150c399ee Use a different inventory factor for default frontpage subreddits. 2014-04-16 16:44:43 -04:00
Brian Simpson
f214f11c2f Use a MoreRecursion for too-deep child comments. 2014-04-16 16:44:43 -04:00
Brian Simpson
9590c0afa7 PromoteListingController: return 403 for non-sponsors on special sorts. 2014-04-16 16:44:43 -04:00
Brian Simpson
f973a6b1e0 Message: Don't check to_id when determining if an item is new. 2014-04-16 16:44:43 -04:00
Brian Simpson
ffd8600e8b Message.add_props: Delete obsolete incorrect comment. 2014-04-16 16:44:43 -04:00
Brian Simpson
06d2e9b5b3 POST_comment: delete unused is_comment. 2014-04-16 16:44:43 -04:00
Brian Simpson
47d89dfa00 Move redditgifts_webhook to vault. 2014-04-16 16:44:43 -04:00
Brian Simpson
38caa5d18a Move coinbase_webhook to vault. 2014-04-16 16:44:43 -04:00
Brian Simpson
aec5e33cb8 Move paypal secret to vault. 2014-04-16 16:44:43 -04:00
Brian Simpson
1cb817c23c Move Authorize.net secrets to vault. 2014-04-16 16:44:43 -04:00
Brian Simpson
3aece568d7 Move stripe secrets to vault. 2014-04-16 16:44:42 -04:00
Neil Williams
8e3aa67d74 WebSockets: websafe_json all payloads to prevent XSS. 2014-04-15 17:15:56 -07:00