Ghost/ghost/admin/lib/koenig-editor
arsereg cc276486f0 Updated Tenor API to v2 (#2418)
refs: https://github.com/TryGhost/Ghost/issues/14980
refs: https://github.com/TryGhost/Ghost/pull/15087

- The Tenor v1 API has been decommissioned https://developers.google.com/tenor/guides/migrate-from-v1
- Updated the API to v2, but there are some differences we have to account for 
- Swapped from using the old "trending" API to the new "featured" API, which at present seem to be the same thing
- Added a new client_key, which identifies the integration using the google API key, as google API keys can be used for multiple APIs and projects
-  Fixed up the error handling to support Google's error format, and also caught and replaced the error that everyone with old keys will see to make it clearer. This includes adding an htmlError property so that we can output HTML safely in the frontend.

There is still an active TODO with the naming of the config key, but we will resolve this after merging admin into the monorepo.

Co-authored-by: Hannah Wolfe <github.erisds@gmail.com>
2022-08-03 14:11:55 +01:00
..
addon Updated Tenor API to v2 (#2418) 2022-08-03 14:11:55 +01:00
app Removed unnecessary koenig-media-selector-tenor export file 2022-01-04 09:29:24 +00:00
docs/specs Koenig reboot - rich text (#952) 2018-01-30 10:01:07 +00:00
public/icons/koenig Little tweaks for header settings panel and added add icon 2021-12-15 19:09:17 +00:00
index.js Koenig reboot - rich text (#952) 2018-01-30 10:01:07 +00:00
package.json Fixed "Could not find module 'ember-keyboard'" error thrown by gif card 2022-08-02 15:51:59 +01:00