Commit Graph

65 Commits

Author SHA1 Message Date
4034dee3dc Add screenr to oneboxer whitelist 2013-08-13 15:54:43 -04:00
de3c657ea3 FIX: Oneboxes with incorrect URL 2013-08-05 16:15:16 -04:00
Sam
2b3cdf9f38 allow onebox whitelist to be extended 2013-08-02 15:48:35 +10:00
29519ece23 Merge branch 'add-audio-onebox' of git://github.com/jamesaanderson/discourse into jamesaanderson-add-audio-onebox
Conflicts:
	app/assets/stylesheets/application/compose.css.scss
	app/assets/stylesheets/application/topic-post.css.scss
2013-07-26 11:30:40 -04:00
d7d3be1130 Add audio onebox
http://meta.discourse.org/t/audio-html5-tag/8168
2013-07-25 19:03:23 -07:00
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
5cda0e556c Merge pull request #1111 from jamesaanderson/flash-video-onebox
Add flash video onebox support
2013-07-09 06:55:56 -07:00
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
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
d51a3cf50f Add flash video onebox as disabled setting by default 2013-07-08 06:37:44 -07:00
635ec38222 Use existing image_html method 2013-06-29 11:20:18 -07:00
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
7835b71a9c HTML5 video fallsback to link 2013-06-21 00:12:51 -04:00
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
32b05673d3 add correct header to github blob onebox 2013-06-14 13:43:01 -07:00
4491b1f06f Link hashtags in Twitter onebox 2013-06-13 21:09:37 -07:00
b84ee29c43 Link Twitter handles in Twitter onebox 2013-06-13 21:00:47 -07:00
e25f65e482 Link to Twitter user in Twitter onebox 2013-06-12 22:43:39 -07:00
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
1fb0b424ed Add Stack Exchange onebox 2013-06-10 09:27:13 -07:00
7bdb73bcb0 Update github commit onebox to match pr onebox 2013-06-09 21:31:48 -07:00
d741798d9c Add onebox for GitHub pull requests 2013-06-08 11:01:06 -07:00
1df5a50324 Link to category slug instead of name in onebox 2013-06-07 12:31:39 -07:00
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
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
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
ea5d86a533 Remove imdb onebox for legal reasons 2013-04-30 11:59:22 -04:00
94a578e4b2 ignore assets
fix runner so it works on mac
get rid of some test warnings
2013-04-30 12:43:59 +10:00
d27164f045 fix to add slideshare to the whitelist 2013-04-29 19:42:52 +02:00
2ff244a7ca new oneboxer for Slideshare 2013-04-29 15:31:29 +02:00
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
0cd7c592ec remove HTML from amazon byline 2013-04-19 13:45:22 -07:00
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
ee23a088ea Add SoundcloudOnebox to support http and https 2013-04-17 16:24:00 -04:00
d080ae4d2d don't track links in oneboxes 2013-04-08 02:24:12 +02:00
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
9d4ecd7ef8 Oneboxes should use a sorted array for ordering, not a hash. 2013-03-21 11:47:01 -04:00
908bba8c13 First stab at oneboxing of meta.discourse.org 2013-03-08 15:59:12 -05:00
621995f35a globalized wikipedia onebox 2013-03-07 03:30:40 +01:00
239cbd2d58 enforce coding convention
replaced every `and` by `&&` and every `or` by `||`
2013-03-05 01:42:44 +01:00
eaef66a423 Fix display host for onebox 2013-03-02 00:46:55 +01:00
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
cafc75b238 remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00