0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/api/canary
Naz 58b3c47781 Fixed broken notifications/setting acceptance tests
refs d9ddc2db6a
refs https://github.com/TryGhost/Team/issues/754

- The tests were written with falsy assumptions and validation added in refed commit have uncovered it!
-  A secondary issue touched here is additional JSON object serialization that is used in the  "input serializer" -d9ddc2db6a/core/server/api/v2/utils/serializers/input/settings.js (L107-L110)
- The additional stringification should not be there at all. It covers for a mistaken internal use of Settings API where raw objects are passed around instead of serialized JSON Objects (see commets left with this changeset for details)
2021-06-28 16:48:00 +04:00
..
utils Fixed broken notifications/setting acceptance tests 2021-06-28 16:48:00 +04:00
actions.js
authentication.js 🔒 Added a "reset all passwords" feature (#13005) 2021-06-23 14:54:28 +02:00
authors-public.js
config.js
db.js
email-preview.js
email.js
identities.js
images.js
index.js
integrations.js
invites.js
labels.js
mail.js
members.js Included products when exporting member csv 2021-06-23 13:53:34 +01:00
memberSigninUrls.js
membersStripeConnect.js
notifications.js
oembed.js
pages-public.js
pages.js
posts-public.js
posts.js
preview.js
products-public.js
products.js Added cache invalidation for products api 2021-06-15 12:40:55 +05:30
redirects.js
roles.js
schedules.js
session.js
settings-public.js
settings.js Switch to @trghost/validator, remove validator 2021-06-16 08:11:22 +01:00
site.js
slack.js
slugs.js
snippets.js 🐛 Fixed error when deleting non-existent snippet 2021-06-24 09:58:35 +01:00
tags-public.js
tags.js
themes.js Replaced request module with @tryghost/request 2021-06-16 13:16:15 +01:00
users.js 🔒 Added a "reset all passwords" feature (#13005) 2021-06-23 14:54:28 +02:00
webhooks.js