Ghost/core/server
Kevin Ansfield f27282bc3f
Added mobiledoc transform to populate missing image sizes on forced re-render (#11924)
no issue

- adds `populateImageSizes()` to our mobiledoc lib module
  - uses `image-size` lib to speed up reading of image dimensions
  - for local images, use storage adapter with same guards as used by `handle-image-sizes` middleware so that we don't insert srcsets for images that aren't transformable
  - for unsplash images, remove any width and crop params from the url so it points to the full-size image
- use `populateImageSizes(mobiledoc)` to modify post model's mobiledoc when re-rendering
2020-06-17 13:12:32 +01:00
..
adapters Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
api 🐛 Fixed embed/bookmark retrieval for sites that require cookies during redirects 2020-06-17 10:03:36 +01:00
data Removed "from address" overwrite in importer (#11914) 2020-06-15 12:22:55 +05:30
lib Added mobiledoc transform to populate missing image sizes on forced re-render (#11924) 2020-06-17 13:12:32 +01:00
models Added mobiledoc transform to populate missing image sizes on forced re-render (#11924) 2020-06-17 13:12:32 +01:00
public Renamed members ssr + api endpoints 2020-04-30 19:00:37 +01:00
services 🐛 Fixed missing text version in bulk email (#11919) 2020-06-15 15:31:09 +01:00
translations Added invalid import record errors and counts 2020-06-12 19:59:36 +12:00
views Update default 404 page 2019-07-15 14:47:01 +02:00
web 🐛 Fixed private blogging exposing 404 and robots (#11922) 2020-06-16 11:42:32 +01:00
analytics-events.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
ghost-server.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
index.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00