Commit Graph

90 Commits

Author SHA1 Message Date
Mario Vavti df84352385 make pdf preview 100% width and 300px height to match it openstreetmaps preview 2018-12-01 21:37:33 +01:00
Max Kostikov 339f95c647 Update oembed.php 2018-10-30 16:49:48 +01:00
Max Kostikov ec67e0ab22 Beautiful embedding for Hubzilla links 2018-10-30 15:38:19 +01:00
zotlabs e646684493 pdf embeds 2018-05-06 19:57:37 -07:00
zotlabs 33f446fcd0 malformed embeds from gfycat hubzilla issue #1108 2018-04-25 20:47:30 -07:00
zotlabs 3d6b606792 add the social "party" permission role 2018-03-20 04:08:36 -07:00
zotlabs 471449f539 regex was still broken 2017-09-10 22:59:26 -07:00
zotlabs 187fc9a51b fix regex 2017-09-10 17:40:40 -07:00
zotlabs 318643cf9a mastodon wraps oembed in an iframe - which we immediately purify our of existence and what we really want to purify is the content. So strip away the iframe, fetch the content and purify that instead. 2017-09-06 19:55:32 -07:00
zotlabs ddc454bd82 regression: allow position attributes in oembedable zcards by separating allow_position from the decision to allow zrls.
Should probably turn the entire zcard into a gd image as other consumers of zcards are also likely to purify the position attributes.
2017-07-09 16:04:45 -07:00
zotlabs c7f097ec84 make authenticated oembeds optional, default to false. 2017-06-03 16:00:14 -07:00
zotlabs f52c670c05 support reverse magic-auth in oembed requests. 2017-04-19 20:48:10 -07:00
zotlabs 7b065365e0 consolidate hubloc storage 2017-01-30 15:01:22 -08:00
zotlabs d96a7bc1fa block well-known from oembed 2017-01-24 18:33:41 -08:00
zotlabs 1798ebd395 improve oembed cache security 2016-12-19 15:38:42 -08:00
Jeroen van Riet Paap 5aeb8305fc Fix full screen for embedded videos 2016-12-03 11:47:10 +01:00
zotlabs 331412ddff remove more corporate code - https url conversion for youtube is now handled by std_embeds plugin 2016-10-20 17:53:15 -07:00
redmatrix 2c1cd99738 issue #170 2016-09-29 19:26:58 -07:00
redmatrix dca4db9d4d convert oembed tools to use json arrays rather than json objects 2016-09-24 05:15:06 -07:00
redmatrix 85d8300421 increase timeout on oembed remote fetches. This is a balancing act. Too short and many sites won't show up. Too long and you could be watching a spinner anxiously waiting for the page to load even if your own site is blindingly fast. 2016-08-30 17:23:14 -07:00
redmatrix c63deda71a embed filter adjustments 2016-08-11 17:33:28 -07:00
redmatrix 5238a27ab3 function order reversed 2016-08-09 20:50:33 -07:00
redmatrix 8566f91303 fail oembed if it is attempted and less than 80% of the original content is left after html filtering. For the original poster, this will fall back to linkinfo results. If the embed gets through their site but is filtered downstream (with more than 20% of the content removed), it will result in just a link. 2016-07-21 17:44:04 -07:00
redmatrix f66576f366 media (e.g. video) files weren't being detected correctly in oembed, causing the stream to try and load large videos (and failing) 2016-06-25 04:09:07 -07:00
redmatrix e5c66d94f2 relocate the cache class 2016-06-23 05:18:58 -07:00
redmatrix 80f2ba640e code cleanup 2016-05-24 20:49:23 -07:00
redmatrix b371c028ad more security stuff 2016-05-02 22:28:27 -07:00
redmatrix 2b7b26f4c0 a bit more oembed security - and document the shortcomings of this approach 2016-05-02 13:31:14 -07:00
redmatrix cd518625bf some much needed work on oembed security 2016-05-01 19:19:17 -07:00
redmatrix 9abd95fad3 static App 2016-03-31 16:06:03 -07:00
redmatrix 1cd3b41825 deprecate $a->get_baseurl() 2016-03-30 22:13:24 -07:00
redmatrix edc7c0837b remove bookmark identifier from embedded links since they aren't bookmarkable without an associated taxonomy entry. 2016-02-21 18:14:28 -08:00
redmatrix 40b00ab362 add system black/white list for embeds ahead of personal config 2016-02-04 16:09:36 -08:00
redmatrix 06dcaaa821 some zcard cleanup - still eneds a lot more work 2016-02-02 17:14:07 -08:00
redmatrix 7f453949a1 minor tweaks 2016-02-01 23:09:45 -08:00
redmatrix 38f385f67d slight formatting improvements 2016-02-01 21:23:47 -08:00
redmatrix ff487a0271 more oembed provider work - channel articles 2016-02-01 14:52:08 -08:00
redmatrix f26c698f4a add zid 2016-01-31 16:33:25 -08:00
redmatrix a341c889b7 add oembed provider for photos 2016-01-31 15:55:27 -08:00
redmatrix ea63f3312f personal oembed black/white list 2015-08-04 20:07:55 -07:00
redmatrix f594a7776c Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts:
	view/it/messages.po
	view/it/strings.php
2015-08-03 21:17:00 -07:00
friendica d80088f6f6 make embeds bookmarkable 2015-03-11 18:12:04 -07:00
friendica 1b3fee05e6 turn parse_url into the definitive url attaching mechanism 2015-03-11 18:04:43 -07:00
friendica 4776f62be9 recognise opus as an audio file 2015-01-25 12:41:08 -08:00
friendica 9ac12d6f32 oembed issues 2014-10-08 20:37:46 -07:00
friendica 1fc3138c37 soundcloud using a slightly different oembed mechanism - react accordingly 2014-10-08 06:09:15 -07:00
friendica 233e4e1363 remove some code duplication 2014-07-14 01:38:16 -07:00
friendica 57a9ba4574 this is a mess and makes a complicated security model that one can probably drive a truck through. It will have to be fixed. It does make youtubes work again. 2014-03-31 15:56:58 -07:00
friendica b00478d3b5 revise the sandbox 2014-03-30 15:01:51 -07:00
friendica ecb2e52a74 little fixes of hopefully nil significance 2014-03-16 20:34:21 -07:00