Commit Graph

4336 Commits

Author SHA1 Message Date
Neil Williams
6e97142cdc Disable subreddit stylesheets for old IEs.
Their CSS parsing is so poor that the risk of exploits is much higher.
2014-04-29 11:09:43 -07:00
Neil Williams
1424f2eb50 CSS Filter: move preview link/comment generation to r2.lib.pages.
These functions, while used in the CSS filter UI, are view code and
should be separate from the filter itself.
2014-04-29 11:09:43 -07:00
Neil Williams
02d5dca1d7 CSS Filter: remove unnecessary save_sr_image wrapper. 2014-04-29 11:09:43 -07:00
Neil Williams
1ceb9f20d8 Don't use general ValueError for specific wiki exception.
It masks bugs.
2014-04-29 11:09:43 -07:00
powerlanguage
55a7b1ec80 Update contact page.
Add advertising and more contact options.
2014-04-28 16:52:06 -07:00
GrandfatherOfSaul
723643433b Remove extra "ago" in comment's time seen through compact view. 2014-04-28 12:25:17 -07:00
Techwolf
9845ed5f7f Remove extra closing brace from "last edited" text. 2014-04-25 16:53:50 -07:00
umbrae
07d6eb399f Clean up registration/login validation errors. 2014-04-24 04:57:31 -07:00
Max Goodman
f93b5c42ed Quantize listing dates to "just now", like in JS. 2014-04-25 15:49:32 -07:00
Max Goodman
6a27c1bf78 Add iso8601 polyfill necessary for timetext in old browsers. 2014-04-25 15:49:32 -07:00
Max Goodman
f7d0587cf8 Add /explore variant to next/prev suggestions. 2014-04-25 15:49:32 -07:00
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