0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit
Kevin Ansfield bffb3dbd90
Webhooks support for subscriber events (#9230)
no issue

Support for http://resthooks.org style webhooks that can be used with Zapier triggers. This can currently be used in two ways:

a) adding a webhook record to the DB manually
b) using the API with password auth and POSTing to /webhooks/ (this is private API so not documented)

⚠️ only _https_ URLs are supported in the webhook `target_url` field 🚨

- add `webhooks` table to store event names and target urls
- add `POST` and `DELETE` endpoints for `/webhooks/`
- configure `subscribers.added` and `subscribers.deleted` events to trigger registered webhooks
2017-11-21 15:43:14 +00:00
..
adapters Moved isLocalFile fn to storage utils (#8985) 2017-11-09 11:11:54 +01:00
api
apps Highlighted routes, controllers & renderers 2017-11-08 09:45:12 +00:00
auth 🐛 Fixed concurrent renew of access tokens 2017-11-14 10:22:09 +00:00
config
controllers Introduced renderer to DRY up controllers (#9235) 2017-11-10 12:44:29 +00:00
data/importer
helpers Feature: {{reading_time}} theme helper (#9217) 2017-11-06 18:40:07 +00:00
mail
metadata 🐛 Fixed author helper not returning the correct url (#9102) 2017-10-05 13:50:55 +02:00
middleware Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00
models/base
models_plugins Support filtering based on primary_tag (#9124) 2017-10-10 14:07:44 +02:00
permissions Permissions: minor refactors (#9104) 2017-10-05 21:01:34 +02:00
services Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00
settings 🐛 Theme name is point number (#9184) 2017-10-26 13:54:18 +02:00
sitemap
themes Custom post templates (#9073) 2017-10-10 13:36:35 +01:00
utils Feature: {{reading_time}} theme helper (#9217) 2017-11-06 18:40:07 +00:00
admin_spec.js
apps_filters_spec.js
errors_spec.js
exporter_spec.js
ghost_sdk_spec.js
migration_fixture_utils_spec.js Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00
migration_spec.js Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00
server_utils_spec.js Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00
social-urls_spec.js
utils_pipeline_spec.js
validation_spec.js Improved password validation rules (#9171) 2017-10-26 11:01:24 +01:00