0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/api/canary
Naz Gargol 97ea664d4d
🐛 Fixed empty html/plaintext fields for narrow fields parameter (#11505)
refs https://forum.ghost.org/t/plaintext-value-is-empty-using-the-api/10537

- The `plaintext`/`html` fields were empty because `visibility` attribute was not present in response body on output serialization stage. `visibility` field is always needed for content gating to work as expected 
- Added `visibility` field in the input serialization layer as it wouldn't be possible to use content gating if added on model layer through `defaultColumnsToFetch`
- Added test cases covering a bug
2020-01-08 14:43:21 +01:00
..
utils 🐛 Fixed empty html/plaintext fields for narrow fields parameter (#11505) 2020-01-08 14:43:21 +01:00
actions.js Updated canary actions endpoint 2019-08-14 17:40:36 +08:00
authentication.js
authors-public.js
config.js
db.js
email-preview.js Refactored email handling to be consistent for test and newsletter emails 2019-11-26 21:41:01 +05:30
email.js Moved toJSON calls to serializer 2019-11-25 12:04:58 +07:00
images.js
index.js Implemented GET /emails/:id endpoint 2019-11-06 15:56:56 +07:00
integrations.js
invites.js
mail.js
members.js Removed redundant member manipulation proxy methods (#11423) 2019-12-06 12:04:10 +07:00
notifications.js
oembed.js Deferred loading metascraper (#11337) 2019-11-06 08:31:11 +07:00
pages-public.js
pages.js Permission restrictions for post.visibility modifications (#11213) 2019-10-08 15:44:27 +02:00
posts-public.js
posts.js 🏗Added host config limits for member emails (#11439) 2019-12-17 19:24:27 +05:30
preview.js
redirects.js
roles.js
schedules.js 🏗 Migrated scheduler to work with v2 API (#11142) 2019-09-23 21:42:53 +05:30
session.js 💡Migrated session controllers for compatibility with "frame" (#11101) 2019-09-11 11:28:55 +02:00
settings-public.js
settings.js Added permission restrictions to editing members flag (#11217) 2019-10-09 10:26:54 +02:00
site.js
slack.js
slugs.js
tags-public.js
tags.js
themes.js
users.js Removed all accesstokens and refreshtokens related code 2019-09-12 15:45:27 +01:00
webhooks.js