Ghost/test/api-acceptance/admin
Fabien O'Carroll 8880cc82c7 Refactored usage of the pre v4 "slack" setting
refs https://github.com/TryGhost/Ghost/issues/10318

- Change/compatibility table for this changeset:

Importer

+ "slack_username"  import
- "slack_url" ignore
+ "slack.username" import
- "slack.url" ignore

v3 & canary/v4 Admin APIs
GET /settings/ (browse)

+ "slack_username" present in response
+ "slack_url" present in response
+ "slack" present in response

GET /settings/:settingName (read)

+ "slack_username" present in response
+ "slack_url" present in response
+ "slack" present in response

PUT /settings/ (edit)

+ "slack_username" updates setting
+ "slack_url" updates setting
+ "slack" !NOTE! updates setting unless "slack_username" or "slack_ur"l are set (updated keys take priority)

v2 Admin API
GET /settings/ (browse)

- "slack_username" NOT present in response
- "slack_url" NOT present in response
+ "slack" present in response

GET /settings/:settingName (read)

- "slack_username" ignored (404)
- "slack_url" ignored (404)
- "slack" present in response

PUT /settings/ (edit)

- "slack_username" ignored (no error)
- "slack_url" ignored (no error)
+ "slack" updates setting
2021-02-15 15:25:54 +13:00
..
actions_spec_v3.js Added acceptance tests on the v3 api version. 2021-01-22 17:49:06 +01:00
actions_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
config_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
db_spec.js Refactored usage of the pre v4 "slack" setting 2021-02-15 15:25:54 +13:00
email_preview_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
emails_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
images_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
integrations_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
invites_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
key_authentication_spec_v3.js Added acceptance tests on the v3 api version. 2021-01-22 17:49:06 +01:00
key_authentication_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
labels_spec_v3.js Added acceptance tests on the v3 api version. 2021-01-22 17:49:06 +01:00
labels_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
mail_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
members_spec.js 🏗 Flattened members subscriptions data in API (#12581) 2021-02-02 16:12:53 +00:00
notifications_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
oembed_spec.js Changed URL protocol in oembed acceptance tests 2020-12-03 21:46:01 +00:00
pages_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
posts_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
roles_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
settings_spec.js Refactored usage of the pre v4 "slack" setting 2021-02-15 15:25:54 +13:00
slugs_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
snippets_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
tags_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
themes_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
users_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
utils_v3.js Added status property to members (#12570) 2021-02-02 16:11:34 +00:00
utils.js 🏗 Altered slug unique constraint in posts table 2021-02-09 13:31:12 +13:00
webhooks_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00