Commit Graph

60 Commits

Author SHA1 Message Date
Robin Ward e83cd9d111 FIX: If you don't have permission to onebox a post, just show the link instead of crashing out 2013-07-15 15:10:05 -04:00
Robin Ward 5cda0e556c Merge pull request #1111 from jamesaanderson/flash-video-onebox
Add flash video onebox support
2013-07-09 06:55:56 -07:00
Robin Ward 437175b102 Merge pull request #1166 from jamesaanderson/mobile-and-tablet-video-rendering-fix
Mobile and tablet video rendering fix
2013-07-09 06:44:49 -07:00
James Anderson 171e703e11 Mobile and tablet video rendering fix
http://meta.discourse.org/t/chrome-for-ipad-iphone-breaks-with-this-video-embed/7983
2013-07-08 17:22:25 -07:00
James A. Anderson & Jalil Mohammed d51a3cf50f Add flash video onebox as disabled setting by default 2013-07-08 06:37:44 -07:00
James A. Anderson & Jalil Mohammed 635ec38222 Use existing image_html method 2013-06-29 11:20:18 -07:00
James A. Anderson & Jalil Mohammed 34dc6a41d9 Add flash video onebox support
http://meta.discourse.org/t/will-there-be-flash-videos-in-the-future/7787
2013-06-29 10:53:03 -07:00
James A. Anderson 7835b71a9c HTML5 video fallsback to link 2013-06-21 00:12:51 -04:00
James A. Anderson 974634bbe9 Add video onebox support 2013-06-20 23:52:28 -04:00
Sam 4650ce3556 Merge pull request #1026 from chrishunt/link-twitter-handles
Link Twitter handles and hashtags in Twitter onebox
2013-06-16 16:50:57 -07:00
Jeff Atwood 32b05673d3 add correct header to github blob onebox 2013-06-14 13:43:01 -07:00
Chris Hunt 4491b1f06f Link hashtags in Twitter onebox 2013-06-13 21:09:37 -07:00
Chris Hunt b84ee29c43 Link Twitter handles in Twitter onebox 2013-06-13 21:00:47 -07:00
Chris Hunt e25f65e482 Link to Twitter user in Twitter onebox 2013-06-12 22:43:39 -07:00
Chris Hunt 742b44a977 Use Twitter 1.1 OAuth for Twitter onebox 2013-06-12 22:42:54 -07:00
Sam c47239b536 comment out twitter onebox, it is bust 2013-06-13 09:39:32 +10:00
Sam 54d8c963d0 fix tests and allow SE onebox to onebox Meta cause I need that for an post I am writing 2013-06-12 12:23:24 +10:00
Chris Hunt 1fb0b424ed Add Stack Exchange onebox 2013-06-10 09:27:13 -07:00
Chris Hunt 7bdb73bcb0 Update github commit onebox to match pr onebox 2013-06-09 21:31:48 -07:00
Chris Hunt d741798d9c Add onebox for GitHub pull requests 2013-06-08 11:01:06 -07:00
Chris Hunt 1df5a50324 Link to category slug instead of name in onebox 2013-06-07 12:31:39 -07:00
Ian Christian Myers cbf3845e99 Added Findery and Zappos entries to the Oneboxer::Whitelist.
Both Findery and Zappos support OpenGraph and work with the OpenGraphOneboxer. Added a comment at the top of whitelist.rb asking developers to check for OpenGraph support prior to creating a custom Onebox.
2013-06-04 08:34:14 -07:00
Régis Hanol 336d59391e FIX: Oneboix link target is discourse instance
This is the quickest fix to get Techcrunch oneboxing working.
The right fix would be to update the oembed onebox to work properly for the "link" type.
2013-05-13 23:12:05 +02:00
Régis Hanol bda04664b0 prevent warning message about already defined constants 2013-05-04 01:06:05 +02:00
Sam e4a76812a6 this is a slightly round about way of making our self oneboxes sane
shrunk avatar to 60px, added global whitelisting
2013-05-01 16:38:13 +10:00
Neil Lalonde ea5d86a533 Remove imdb onebox for legal reasons 2013-04-30 11:59:22 -04:00
Sam Saffron 94a578e4b2 ignore assets
fix runner so it works on mac
get rid of some test warnings
2013-04-30 12:43:59 +10:00
Pablo Corral d27164f045 fix to add slideshare to the whitelist 2013-04-29 19:42:52 +02:00
Pablo Corral 2ff244a7ca new oneboxer for Slideshare 2013-04-29 15:31:29 +02:00
Ryan Boland 9bc8faeaf2 added rottentomatoes.com onebox 2013-04-28 16:24:03 -04:00
Sam 7abdd61354 truncate gist titles at 120 2013-04-25 18:00:02 +10:00
Jeff Atwood 0cd7c592ec remove HTML from amazon byline 2013-04-19 13:45:22 -07:00
Jeff Atwood ec0525ff37 add HTG to the onebox opengraph whitelist 2013-04-19 12:51:06 -07:00
Sam 2a65dd41d4 some safety 2013-04-18 10:04:42 +10:00
Neil Lalonde ee23a088ea Add SoundcloudOnebox to support http and https 2013-04-17 16:24:00 -04:00
Régis Hanol d080ae4d2d don't track links in oneboxes 2013-04-08 02:24:12 +02:00
Régis Hanol cf3eb98321 add GitHub commit onebox 2013-04-03 03:36:38 +02:00
Sam 6ac8911a4e critical bug, onion not whitelisted, how could this be 2013-04-02 12:11:03 +11:00
Robin Ward 9d4ecd7ef8 Oneboxes should use a sorted array for ordering, not a hash. 2013-03-21 11:47:01 -04:00
Robin Ward 908bba8c13 First stab at oneboxing of meta.discourse.org 2013-03-08 15:59:12 -05:00
Régis Hanol 621995f35a globalized wikipedia onebox 2013-03-07 03:30:40 +01:00
Régis Hanol 239cbd2d58 enforce coding convention
replaced every `and` by `&&` and every `or` by `||`
2013-03-05 01:42:44 +01:00
Tijmen Brommet eaef66a423 Fix display host for onebox 2013-03-02 00:46:55 +01:00
Robin Ward 1221c393a3 Merge branch 'whitespace-cleanese' of git://github.com/goshakkk/discourse
Conflicts:
	lib/oneboxer.rb
	lib/oneboxer/whitelist.rb
	spec/controllers/robots_txt_controller_spec.rb
2013-02-26 10:42:49 -05:00
Gosha Arinich cafc75b238 remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
tms 2e230d2661 Be more selective about when we allow oembed discovery 2013-02-25 20:48:17 -05:00
Jeremy Banks a7a2dcebac Include /^http... prefix in onebox whitelist URLs regexes to prevent XSS. 2013-02-25 20:06:16 -05:00
Jeff Atwood 11bf337b52 add thinkgeek to onebox whitelist 2013-02-25 14:19:07 -08:00
Robin Ward e461c84253 Clean up JS, add YUIDoc support, automatically create IIFE via asset pipeline 2013-02-25 17:16:57 -05:00
Robin Ward 13b0b874fb Merge branch 'onebox-safety' of git://github.com/tms/discourse 2013-02-19 16:15:35 -05:00