0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server
Nazar Gargol 0faf89b5ab Added ability to resize and compress images on upload ()
refs 

* On by default

* Added config to disable resizing

* Added basic image optimization processing

* Added dep: sharp (optional dep)

* Added resize middleware

* Take care of rotation based on EXIF information

* Removed all meta data from optimised image

* Added handling if sharp could not get installed

* Do not read ext twice - optimisation

* Do not call sharp if config is disabled

* Do not remove the original image which was uploaded (store 2 images)

* Support of `req.files` for internal logic

* Disabled cache to enable file removal on Windows
2018-08-30 17:30:36 +01:00
..
adapters Moved knex-migrator execution into Ghost 2018-08-16 12:13:24 +02:00
api Added ability to resize and compress images on upload () 2018-08-30 17:30:36 +01:00
apps 🎨 Added additional parameters to subscribe_form and input_email helpers () 2018-08-30 17:17:27 +01:00
config Added ability to resize and compress images on upload () 2018-08-30 17:30:36 +01:00
data Optimised fixture replacement migration script () 2018-08-22 13:35:58 +02:00
helpers 🎨 Added additional parameters to subscribe_form and input_email helpers () 2018-08-30 17:17:27 +01:00
lib Added ability to resize and compress images on upload () 2018-08-30 17:30:36 +01:00
models 🐛Fixed count.posts respecting co authors () 2018-08-30 17:05:29 +01:00
public
services Fixed RPC pings () 2018-08-23 15:20:29 +02:00
translations Changed maintenance messages 2018-08-16 12:13:24 +02:00
views
web Added ability to resize and compress images on upload () 2018-08-30 17:30:36 +01:00
analytics-events.js
filters.js
ghost-server.js Changed where we trigger server start/stop announcement () 2018-08-22 13:28:31 +02:00
index.js Added timeout before exiting the process 2018-08-16 12:13:24 +02:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Updated docs links 2018-08-16 12:13:24 +02:00