Ghost/ghost/admin/app/services
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
..
ajax.js Reverted Accept-Version header usage in Admin API communication 2022-04-06 10:12:09 +08:00
billing.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
clock.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
config.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
custom-theme-settings.js Dropped ember-concurrency-decorators dependency 2022-02-09 10:49:38 +00:00
custom-views.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
dashboard-mocks.js Fixed usage of nullish coalescing in dashboard mocking (missing file) 2022-05-18 10:54:50 +02:00
dashboard-stats.js 🐛 Excluded plan changes from paid subscribers graph in dashboard 2022-07-13 13:46:45 +02:00
data-cache.js Added data-cache service for managing limited-lifetime cached data 2022-01-21 18:15:06 +00:00
dropdown.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
event-bus.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
feature.js Added explore alpha feature flag 2022-07-27 13:14:40 +01:00
frontend.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
ghost-paths.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
lazy-loader.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
limit.js Update dependency eslint-plugin-ghost to v2.14.0 (#2441) 2022-08-03 12:21:16 +01:00
media-queries.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
media.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
member-import-validator.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
members-count-cache.js Fixed "memberssubscribers" text in editor status for scheduled posts 2022-05-18 10:55:31 +01:00
members-stats.js Dropped ember-concurrency-decorators dependency 2022-02-09 10:49:38 +00:00
members-utils.js 🐛 Fixed unreliable paid members enabled checks (#2405) 2022-05-24 16:53:03 +02:00
modals.js Fixed modalOptions.ignoreBackdropClick not always being picked up 2022-07-13 16:02:34 +01:00
navigation.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
notifications.js Fixed raw JS error messages appearing in alerts (#2407) 2022-05-27 11:52:39 +01:00
resize-detector.js Migrated <GhUnsplash> to glimmer component 2022-02-07 16:53:12 +00:00
session.js Improved authentication timing in setup flow 2022-03-10 11:53:37 +00:00
settings.js Added Comment access dropdown to membership settings 2022-07-06 11:01:57 +02:00
slug-generator.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
tenor.js Updated Tenor API to v2 (#2418) 2022-08-03 14:11:55 +01:00
theme-management.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
ui.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
unsplash.js Fixed multiple no-shadow linting errors 2020-06-17 09:35:46 +01:00
upgrade-status.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
utils.js Added utils service with downloadFile() method 2021-10-05 14:21:19 +01:00
whats-new.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00