discourse/spec/fixtures
jbrw 331236d6d7
Onebox improved error handling and support for Instagram Access Tokens (#11253)
* FEATURE: display error if Oneboxing fails due to HTTP error

- display warning if onebox URL is unresolvable
- display warning if attributes are missing

* FEATURE: Use new Instagram oEmbed endpoint if access token is configured

Instagram requires an Access Token to access their oEmbed endpoint. The requirements (from https://developers.facebook.com/docs/instagram/oembed/) are as follows:

- a Facebook Developer account, which you can create at developers.facebook.com
- a registered Facebook app
- the oEmbed Product added to the app
- an Access Token
- The Facebook app must be in Live Mode

The generated Access Token, once added to SiteSetting.facebook_app_access_token, will be passed to onebox. Onebox can then use this token to access the oEmbed endpoint to generate a onebox for Instagram.

* DEV: update user agent string

* DEV: don’t do HEAD requests against news.yahoo.com

* DEV: Bump onebox version from 2.1.5 to 2.1.6

* DEV: Avoid re-reading templates

* DEV: Tweaks to onebox mustache templates

* DEV: simplified error message for missing onebox data

* Apply suggestions from code review
Co-authored-by: Gerhard Schlager <mail@gerhard-schlager.at>
2020-11-18 12:55:16 -05:00
..
backups FIX: Backups should use relative paths for local uploads 2020-08-21 15:22:28 +02:00
csv PERF: Preload S3 inventory data for multisite clusters 2020-07-29 10:31:55 +01:00
db FIX: Restoring backup from PG12 could fail on PG10 2020-06-16 16:04:14 +02:00
emails FIX: use allowlist and blocklist terminology (#10209) 2020-07-27 10:23:54 +10:00
encodings FIX: Try detecting encoding of RSS feed 2018-08-01 10:41:20 +02:00
feed FIX: Try respecting charset in HTTP header of RSS feed 2018-08-01 10:41:20 +02:00
i18n FIX: Use correct locale when translating without cache 2019-06-05 14:19:56 +02:00
images FIX - don't attempt to optimized animated images (#11031) 2020-10-26 15:10:19 -04:00
json FIX: improve Vanilla importing (#10478) 2020-08-24 16:19:57 -04:00
md DEV: Update markdown-it from 8.4.1 to 10.0.0 (#8164) 2019-10-08 13:00:22 +02:00
media FIX: Add attachment content-disposition for all non-image files (#10058) 2020-06-17 11:16:37 +10:00
mmdb UX: Use user locale for locations. (#6527) 2018-10-25 10:54:01 +00:00
multisite Introduce multisite tests for better coverage. 2017-08-08 12:58:22 +09:00
onebox Onebox improved error handling and support for Instagram Access Tokens (#11253) 2020-11-18 12:55:16 -05:00
pdf FEATURE: Add attachments to outgoing emails 2019-07-25 15:57:45 +02:00
plugins DEV: Update MomentJS and highlightJS 2020-11-11 12:34:26 +11:00
scss DEV: Run prettier. (#6420) 2018-09-21 11:02:23 +00:00
site_settings FIX: fails loud if default setting is not set 2017-08-15 12:07:25 +02:00
theme_settings FEATURE: add support for upload format in theme settings. 2020-04-15 18:34:02 +05:30
themes FIX: Allow themes to upload and serve js files (#8188) 2019-10-14 15:40:33 +11:00
woff2 FEATURE: support uploads for themes 2017-05-10 15:47:11 -04:00