discourse/app/assets/stylesheets
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
..
common Onebox improved error handling and support for Instagram Access Tokens (#11253) 2020-11-18 12:55:16 -05:00
desktop Remove extra padding, follow-up to 8be04ff (#11258) 2020-11-16 23:10:03 -05:00
mobile UX: bottom padding for menu panel on iOS notch devices (#11270) 2020-11-17 15:42:03 -05:00
vendor REFACTOR: Remove SweetAlert dependency (#11183) 2020-11-10 11:31:54 -05:00
admin.scss
color_definitions.scss FEATURE: Dark mode alternative logos (#10441) 2020-08-17 15:43:20 -04:00
common.scss DEV: Use a special import to declare font faces (#10583) 2020-09-04 16:25:50 +03:00
desktop_rtl.scss
desktop.scss Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse"" 2020-05-23 00:56:13 -04:00
embed.scss FIX: include font import for embedded comments (#10967) 2020-10-21 09:35:52 +11:00
mobile_rtl.scss
mobile.scss Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse"" 2020-05-23 00:56:13 -04:00
publish_desktop_rtl.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish_desktop.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish_mobile_rtl.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish_mobile.scss FEATURE: adds support for mobile view on page publishing (#10662) 2020-09-13 13:50:23 +02:00
publish.scss FIX: Fix css var issues + button :active gradient (#10469) 2020-08-18 14:25:38 -05:00
test_helper.css REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00
wcag.scss FEATURE: WCAG compliant color schemes (#10882) 2020-10-15 14:05:48 -04:00
wizard.scss REFACTOR: Remove SweetAlert dependency (#11183) 2020-11-10 11:31:54 -05:00