Go to file
Kevin Ansfield 9768476a02 Fixed Ember Data deprecation warnings for `queryRecord` response returning array
no issue

- our API always returns an array whether we're performing a browse or find request but Ember Data expects explicit find requests to return a single object and throws deprecations when it sees an array
  - https://deprecations.emberjs.com/ember-data/v2.x/#toc_store-queryrecord-array-response-with-restserializer
- we previously had `normalizeSingleResponse` overrides in specific models that we use with `queryRecord` but we've since introduced `queryRecord` usage on more models but the associated "fix" was not duplicated in the serializers for those models leading to many deprecation warnings logged to the console in development and when testing
- moved the fix to the application serializer so it applies to all models
  - explicitly excluded `setting` model because that's a special-case and has it's own array-into-object serialization to represent multiple settings records as a single model instance
2022-02-10 14:50:58 +00:00
.github [chore] adds ember-template-lint and fixes all fixable issues (#2238) 2022-02-02 16:09:43 +00:00
app Fixed Ember Data deprecation warnings for `queryRecord` response returning array 2022-02-10 14:50:58 +00:00
config Removed deprecated ember-keyboard options 2022-01-17 17:38:24 +00:00
lib [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
mirage Fixed linter error 2022-01-19 13:15:19 +00:00
public/assets Updated empty states for posts, pages, and tags 2022-02-09 09:34:12 +01:00
tests Fixed test 2022-02-09 10:56:21 +01:00
.csscomb.json Unsplash integration 2017-08-15 16:01:12 +01:00
.editorconfig deps: ember-cli@2.8.0 2016-10-07 17:32:30 +01:00
.ember-cli Co-located component template files 2020-05-18 13:14:08 +01:00
.eslintignore Updated Ember dependencies to 3.24 (#2221) 2022-01-22 11:24:26 +00:00
.eslintrc.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
.gitignore Updated Ember dependencies to 3.24 (#2221) 2022-01-22 11:24:26 +00:00
.lint-todo Updated .lint-todo file 2022-02-10 10:26:55 +00:00
.template-lintrc.js Disabled linting rule that forbids use of `<style>` elements 2022-02-07 15:22:32 +00:00
.watchmanconfig deps: ember-cli@1.13.13 2015-11-30 11:21:39 -06:00
Gruntfile.js Bower => NPM (#972) 2018-03-19 17:56:09 +00:00
LICENSE 2022 2022-01-05 12:41:56 +00:00
README.md 2022 2022-01-05 12:41:56 +00:00
SECURITY.md Updated links to ghost.org sites 2021-01-19 13:18:59 +13:00
ember-cli-build.js Initial ember-promise-modals implementation 2021-09-13 13:01:12 +01:00
ember-cli-update.json Updated core files to match ember-cli new output 2020-08-03 09:24:58 +01:00
package.json Pin dependencies (#2257) 2022-02-10 11:01:35 +00:00
renovate.json Added `faker` to ignored deps in Renovate config 2022-01-06 10:59:24 +00:00
testem.js Increased testem's `browser_start_timeout` to 120s 2020-07-20 12:20:26 +01:00
yarn.lock Pin dependencies (#2257) 2022-02-10 11:01:35 +00:00

README.md

Ghost-Admin

This is the home of Ember.js based admin client that ships with Ghost.

Do you want to set up a Ghost blog? Check the getting started guide

Do you want to modify or contribute to Ghost-Admin? Please read how to install from source and swing by our forum if you need any help 😄

Have a bug or issue?

Bugs and issues (even if they only affect the admin client) should be opened on the core Ghost repository.

Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license. Ghost and the Ghost Logo are trademarks of Ghost Foundation Ltd. Please see our trademark policy for info on acceptable usage.