Ghost/core/server
kirrg001 89e4201b67 Clarify the behaviour of defaultColumnsToFetch in the post model
no issue

- add a big comment
- describe:
  - how this works
  - why this is in place
  - what does currently not work
  - and why it will work with channels
- @TODO:
  - figure out how to disallow:
  - `models.Post.findAll({columns: id})`
  - `post.save(data)`
  - this will trigger bookshelf events and model events
  - url generation currently needs a set of attributes (e.g. slug, published_at)
    - will be auto-fixed with channels, because you can call `urlService.getUrl(post.id)`
  - but what doesn't get solved is our model events
    - e.g. `emitChange` needs `post.get('page')` to determine if it's a page
2018-04-06 13:32:10 +02:00
..
adapters Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
api Extended the API object validation 2018-04-05 18:51:58 +02:00
apps Redirected /amp links to original post when AMP is disabled (#9496) 2018-03-19 16:11:48 +07:00
config Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
controllers Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
data Fixed migration script 1.22 for invalid authors 2018-04-02 12:27:06 +02:00
helpers Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
lib Fix Node.js 4.x compatibility (#9503) 2018-03-15 09:50:25 +00:00
models Clarify the behaviour of defaultColumnsToFetch in the post model 2018-04-06 13:32:10 +02:00
public 🛠 🙈 Rename ghost-url.js to ghost-sdk.js (#8767) 2017-07-28 18:23:32 +04:00
services Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
translations Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
views Fixed error trying to render 404 for missing asset 2017-12-22 20:08:59 +00:00
web 🐛Fixed asset redirects (#9455) 2018-02-14 17:21:31 +01:00
analytics-events.js Cleared out old unused events 2017-12-13 09:08:25 +00:00
filters.js Moved pipeline/sequence to lib/promise 2017-12-13 22:20:02 +01:00
ghost-server.js Always require fs-extra - consistency change 2017-12-13 20:57:11 +01:00
index.js Theme translations and blog localisation (#8437) 2018-01-09 14:50:57 +01:00
overrides.js Set Promise to be Bluebird globally 2017-12-13 20:57:11 +01:00
update-check.js Update Notification improvements (#9123) 2018-01-09 15:20:00 +01:00