Ghost/core/test/integration
kirrg001 5a4dd6b792 Increased speed of importer
no issue

- change behaviour from updating user references after the actual import to update the user reference before the actual import
  - updating user references after the import is way less case intense
  - that was the initial decision for updating the references afterwards
  - but that does not play well with adding nested relations by identifier
- the refactoring is required for multiple authors
  - if we e.g. store invalid author id's, we won't be able to add a belongs-to-many relation for multiple authors
  - bookshelf-relations is generic and always tries to find a matching target before attching a model
  - invalid user references won't work anymore
- this change has a very good side affect
  - 17mb takes on master ~1,5seconds
    - on this branch it takes ~45seconds
  - also the memory usage is way lower and stabler
  - 40mb takes 1,6s (times out on master)
2018-02-20 09:56:45 +01:00
..
api Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
data/importer/importers Increased speed of importer 2018-02-20 09:56:45 +01:00
model Added missing test cases for post.author 2018-02-17 15:57:24 +01:00
export_spec.js Moved ghost-version to lib 2017-12-14 22:14:55 +01:00
migration_spec.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
site_spec.js 🐛Fixed asset redirects (#9455) 2018-02-14 17:21:31 +01:00
update_check_spec.js 🐛 Fixed showing old release notifications in the about page 2018-01-18 12:19:55 +01:00