Ghost/core/server/web/shared/middlewares
Rishabh Garg 8ad951d7f3
Added new site.changed event and webhook trigger service (#10019)
refs #9942

* Added new middleware to trigger events

* Refactored webhooks service
- added new trigger service, moved listen service to its own file
- started listening to new site.changed event
- cleaned up trigger service to work with new webhook fields
- cleaned up tests
- removed redundant trigger method in v0.1 controller
2018-10-19 00:01:30 +05:30
..
api Refactored how we require shared middlewares from web/ (#9893) 2018-09-21 16:17:11 +05:30
image Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
validation Added new endpoint to upload square profile images with dimension validation (#9862) 2018-09-24 21:42:58 +02:00
admin-redirects.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
brute.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
cache-control.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
custom-redirects.js Optimised web/ debug logs 2018-10-04 17:43:08 +02: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 Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
frontend-client.js Updated blog site components to respect the api version 2018-10-18 19:41:07 +02:00
ghost-locals.js Attached api version to res.locals context 2018-10-18 19:41:07 +02:00
index.js Added new site.changed event and webhook trigger service (#10019) 2018-10-19 00:01:30 +05:30
labs.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
log-request.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
maintenance.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
pretty-urls.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
serve-favicon.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
serve-public-file.js Refactored method urlFor to use versionType instead of admin: true 2018-10-04 16:49:55 +05:30
static-theme.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
uncapitalise.js Extended uncapitalise unit tests (#9891) 2018-09-20 22:27:38 +02:00
url-redirects.js Optimised web/ debug logs 2018-10-04 17:43:08 +02:00