Ghost/core/server
Vijay Kandy ffd3ec563a fix: "url" field is undefined when restricting returned fields (#7089)
closes #6625

- "url" and "author" fields depend on {id, published_at, slug, author_id} to construct post url.
- implemented a generic solution by defining defaultColumnsToFetch() in
  base class for models.
- findPage() calls defaultColumnsToFetch() before loading models
- results are transformed by filtering out additional properties to return just the requested fields
- Added a test case to check for url and author fields
- Renamed allColumns as requestedColumns and used _.map instead of Promise.map
2016-07-18 22:21:47 +02:00
..
api improvement: mail structure (#7033) 2016-06-28 20:13:01 +02:00
apps Fix: back link on the subscribe page (#7059) 2016-07-14 17:09:40 +02:00
config feature: maintenance mode (#7019) 2016-07-15 17:22:41 +01:00
controllers internal tags feature 2016-06-11 09:12:04 -06:00
data feature: maintenance mode (#7019) 2016-07-15 17:22:41 +01:00
errors feature: maintenance mode (#7019) 2016-07-15 17:22:41 +01:00
events post-scheduling 2016-06-14 10:52:13 +02:00
helpers meta referrer improvements (#7088) 2016-07-14 18:14:59 +02:00
mail HTML newsletter template for subscribers (#7045) 2016-07-08 21:40:32 -06:00
middleware feature: maintenance mode (#7019) 2016-07-15 17:22:41 +01:00
models fix: "url" field is undefined when restricting returned fields (#7089) 2016-07-18 22:21:47 +02:00
permissions deps: lodash@4.13.1 2016-06-11 13:13:55 -06:00
routes feature: maintenance mode (#7019) 2016-07-15 17:22:41 +01:00
scheduling post-scheduling: delete job but time is null (#7035) 2016-06-28 20:14:29 +02:00
storage Allow @ in image name for retina JS support (#7081) 2016-07-15 17:50:41 +01:00
translations feature: maintenance mode (#7019) 2016-07-15 17:22:41 +01:00
utils Node version check w/o semver (#7097) 2016-07-16 01:20:05 +02:00
views move private-blogging functionality into an internal app 2016-04-11 08:58:41 -05:00
filters.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00
ghost-server.js Harvest server side strings 2015-12-19 12:12:16 +01:00
i18n.js improvement: general fixes 2016-06-01 07:07:20 +02:00
index.js feature: maintenance mode (#7019) 2016-07-15 17:22:41 +01:00
overrides.js deps: lodash@4.13.1 2016-06-11 13:13:55 -06:00
update-check.js deps: bluebird@3.3.3 2016-03-01 15:17:20 -06:00