0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server
Rishabh 3e9a23355f Handled visibility filter in post/page API
refs https://github.com/TryGhost/Team/issues/849

As part of work for segmented post access with multiple products, the custom filter for post access is stored in `visibility` field on posts but passed with `visibility_filter` property on API. This change -

- updates input serializer of posts to transform `visibility` and `visibility_filter` properties correctly
- updates output serializer for canary to transform and send `visibility_filter` attribute with filter value
- updates output serializer for v3 to ignore any custom filter on visibility and return `paid` instead as v3 didn't have a concept of custom filter
2021-07-05 17:10:45 +05:30
..
adapters Replaced request module with @tryghost/request 2021-06-16 13:16:15 +01:00
api Handled visibility filter in post/page API 2021-07-05 17:10:45 +05:30
data Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
lib Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
models Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
public
services Removed psmRedesign from allows labs flags 2021-07-02 19:06:42 +01:00
views
web Corrected deprecation comment 2021-07-02 13:50:11 +04:00
analytics-events.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
ghost-server.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
notify.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
overrides.js
run-update-check.js Added protective code to update-check job 2021-06-29 14:02:16 +04:00
update-check.js Removed unneded i18n and logging parametes from update check 2021-07-02 19:07:13 +04:00