0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/test/unit
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 Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
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 Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
data Updated webhooks schema and add relation (#10018) 2018-10-17 18:17:13 +07:00
helpers 🎨 Added additional parameters to subscribe_form and input_email helpers (#9820) 2018-08-30 17:17:27 +01:00
lib Extended sequence utility 2018-10-03 00:17:45 +02:00
models Respected hasUserPermissions & hasAppPermissions in invite model 2018-10-16 18:00:05 +02:00
public Refactored Ghost SDK unit test 2018-10-05 16:49:46 +02:00
services Refactored config to handle direct calls for specific version (#10012) 2018-10-16 15:20:51 +05:30
web Extended uncapitalise unit tests (#9891) 2018-09-20 22:27:38 +02:00
filters_spec.js