0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server
Rishabh Garg c638863cb9 Updated webhooks schema and add relation (#10018)
* Extended webhooks schema/model and connected with integrations

refs #9942

- Updated webhooks schema with new columns - name, integration_id, secret, last_triggered_at, api_version
- Updated webhooks and integration model to map relationships
- Updated schema hash
- Updated test utils to exclude new webhooks columns for response comparison

* Added migration script for new webhooks columns

refs #9942

- Added migration script in 2.3 to add new columns to webhooks

* Updated schema hash

* Updated maxLength for api_version in schema

* Removed concurrency value from migration script

* Added defaults for webhooks model

* Added status field to webhooks for last trigger status

* Updated schema hash

* Fixed tests with status field

* Removed concurrency value in migration script

* Cleanup

* Updated schema with new fields

 - last_triggered_status, last_triggered_error
2018-10-17 18:17:13 +07:00
..
adapters
api Allowed for repeated query parameters for arrays (#10021) 2018-10-17 13:43:32 +07:00
apps 🐛 Fixed redirect issue with private sites (#9960) 2018-10-08 16:31:08 +07:00
config Refactored config to handle direct calls for specific version (#10012) 2018-10-16 15:20:51 +05:30
data Updated webhooks schema and add relation (#10018) 2018-10-17 18:17:13 +07:00
helpers
lib Extended sequence utility 2018-10-03 00:17:45 +02:00
models Updated webhooks schema and add relation (#10018) 2018-10-17 18:17:13 +07:00
public
services Refactored config to handle direct calls for specific version (#10012) 2018-10-16 15:20:51 +05:30
translations Respected hasUserPermissions & hasAppPermissions in invite model 2018-10-16 18:00:05 +02:00
views
web Refactored config to handle direct calls for specific version (#10012) 2018-10-16 15:20:51 +05:30
analytics-events.js
filters.js
ghost-server.js
index.js Refactored method urlFor to use versionType instead of admin: true 2018-10-04 16:49:55 +05:30
overrides.js
update-check.js