82bb3aaea1
no issue - if you import a JSON file with a post, which has an unknown author, the target user was removed from the blog - Ghost can handle this case and still succeeds with import - but we have stored an `author_id` in the database, which does not map to any user and won't map in the future - this can trouble if we add support for multiple authors - currently, we only return the `author_id` to the client and the client can map with `author_id` with users fetched by the API - if it does not find a user, it just falls back to a different user - but multiple authors have to be included explicit (`include=authors`) and we will return a mapped (author_id => user) result - it won't be able to find the user, because we lookup the database - this would result in an error - there is in general no reason to import (or store) an unknown/invalid `author_id` into the database - on import, we show you a warning and you can choose a different author if you want - solution: fallback to owner user and extend warning - it's not a behaviour change, you still can import unknown author id's and the import won't fail - but we ensure valid author id's - updated test - further more: returning `author={}` when requesting `include=author` could trouble with ember currently - it expects the author to be returned |
||
---|---|---|
.github | ||
content | ||
core | ||
.editorconfig | ||
.eslintrc.json | ||
.gitignore | ||
.gitmodules | ||
.npmignore | ||
.travis.yml | ||
Gruntfile.js | ||
index.js | ||
LICENSE | ||
MigratorConfig.js | ||
package.json | ||
PRIVACY.md | ||
README.md | ||
SECURITY.md | ||
yarn.lock |
The project is maintained by a non-profit organisation called the Ghost Foundation, along with an amazing group of independent contributors. We're trying to make publishing software that changes the shape of online journalism.
- Ghost.org
- Supported Node Versions
- Latest Release
- Help & Support
- Theme Docs
- API Docs
- Contributing Guide
- Developer Blog
- Self-hoster Docs
NOTE: If you’re stuck, can’t get something working or need some help, please head on over and join our Slack community rather than opening an issue.
Hosting a live Ghost site
The easiest way to deploy Ghost is with our official Ghost(Pro) managed service. You can have a fresh instance up and running in a couple of clicks with a worldwide CDN, backups, security and maintenance all done for you.
Not only will it save you hours of maintenance per month, but all revenue goes to the Ghost Foundation, which funds the maintenance and further development of Ghost itself. So you’ll be supporting open source software and getting a great service at the same time! Talk about win/win. 🏆
Self-Hosters
Other options are also available if you prefer playing around with servers by yourself, of course. The freedom of choice is in your hands.
Theme Developers
If you are developing a Ghost theme for your own site or creating themes for others to use we recommend installing Ghost on your own local machine. Luckily we have a brand new Ghost CLI to make this really easy 😄
Contributors & Advanced Developers
For anyone wishing to contribute to Ghost or to hack/customise core files we recommend following our development setup guides:
Staying Up to Date
When a new version of Ghost comes out, you'll want to look over these upgrade instructions for what to do next.
You can talk to other Ghost users and developers in our public Slack team (it's pretty awesome).
New releases are announced on the dev blog. You can subscribe by email or follow @TryGhost_Dev on Twitter, if you prefer your updates bite-sized and facetious. 🎷🐢
Copyright & License
Copyright (c) 2013-2018 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.