0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server
cotko 65a66ac007 Included relations if static resource is post | page (#10148)
refs #10082

- this is a requirement if a static route represents a single resource

e.g. `data: page.team`

- the page resource will no longer live on it's original static url
- instead, it now lives somewhere else
- that means the whole site needs to act the same than the original static url
  - the resource does not contain any relations
  - we don't forward the correct context (page, post, user?)
- we override the `include` property for now
  - need to wait for more use cases or bug reports for this controller
- more changes will follow asap
2018-12-03 19:26:21 +01:00
..
adapters Refactored direct usages of api controllers 2018-09-21 15:18:22 +02:00
api 🐛 Protected Ghost blog against invalid uploaded routes.yaml (#10100) 2018-11-26 16:28:22 +07:00
apps Renamed /users to /authors for Content API V2 (#10096) 2018-11-07 15:29:37 +01:00
config Parsed nconf env values (#10077) 2018-10-28 20:06:44 +01:00
data 🐛Removed user reference warning from importer report if post is a draft (#10169) 2018-12-03 17:48:03 +01:00
helpers Renamed /users to /authors for Content API V2 (#10096) 2018-11-07 15:29:37 +01:00
lib 🐛 Fixed image optimisation for input image being smaller than optimized one 2018-11-13 13:19:31 +01:00
models 🐛 Fixed edit permission of the common article by multiple authors (#10214) 2018-12-03 17:44:23 +01:00
public Removed change frequency and priority fields from sitemap generator (#9771) 2018-09-24 19:16:31 +02:00
services Included relations if static resource is post | page (#10148) 2018-12-03 19:26:21 +01:00
translations Renamed /users to /authors for Content API V2 (#10096) 2018-11-07 15:29:37 +01:00
views Fixed error trying to render 404 for missing asset 2017-12-22 20:08:59 +00:00
web Renamed API -> Api for v2 auth logic (#10142) 2018-12-03 18:08:57 +01:00
analytics-events.js Cleared out old unused events 2017-12-13 09:08:25 +00:00
filters.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
ghost-server.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
index.js Refactored method urlFor to use versionType instead of admin: true 2018-10-04 16:49:55 +05:30
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Migrated update check to use api v2 2018-10-18 00:13:31 +02:00