0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/web/shared/middlewares
Naz Gargol abda6e6338
Migrated to use url-utils from Ghost-SDK (#10787)
closes #10773

- The refactoring is a substitute for `urlService.utils` used previously throughout the codebase and now extracted into the separate module in Ghost-SDK
- Added url-utils stubbing utility for test suites
- Some tests had to be refactored to avoid double mocks (when url's are being reset inside of rested 'describe' groups)
2019-06-18 15:13:55 +02:00
..
api Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
image 🎨 Use unoptimised image when possible for dynamic images (#10314) 2019-01-08 10:00:15 +00:00
validation Changed error type for missing file in /uploads 2019-02-14 20:52:51 +00:00
admin-redirects.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
brute.js Added brute protection to content api (#10343) 2019-01-07 20:03:46 +07:00
cache-control.js
custom-redirects.js 🐛 Fixed redirects to absolute URLs (#10777) 2019-06-10 12:48:37 +07:00
emit-events.js Added new site.changed event and webhook trigger service (#10019) 2018-10-19 00:01:30 +05:30
error-handler.js 🐛 Fixed admin error page on startup 2019-04-01 15:06:00 +08:00
frontend-client.js Updated blog site components to respect the api version 2018-10-18 19:41:07 +02:00
ghost-locals.js 🐛 Fixed crash on startup when no active theme (#10426) 2019-01-28 22:36:47 +05:30
index.js 🐛 Fixed files staying in temp directory after upload is done 2019-01-30 09:24:29 +00:00
labs.js Refactored labs middleware to remove duplication 2019-04-24 12:46:00 +02:00
log-request.js
maintenance.js
pretty-urls.js
serve-favicon.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
serve-public-file.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
static-theme.js
uncapitalise.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
update-user-last-seen.js 🐛 Fix last seen for users (#10141) 2018-11-13 18:27:10 +07:00
upload.js 🐛 Fixed files staying in temp directory after upload is done 2019-01-30 09:24:29 +00:00
url-redirects.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00