0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00
ghost/apps
Kevin Ansfield 523b9d47a0
Added support for gating access to blocks of post content (#22069)
ref https://linear.app/ghost/issue/PLG-327

- updated post output serializer's gating functions to add gating of specific content blocks
  - uses regex to look for specific strings in the HTML for speed compared to fully parsing the HTML
  - content gating blocks look like `<!--kg-gated-block:begin nonMember:true/false memberSegment:"status:free,status:-free"-->...gated content...<!--kg-gated-block:end-->`
  - parsing of params is limited to `nonMember` with a true/false value and `memberSegment` with a string value containing a limited set of supported filters
  - occurs at the API level so that content is correctly gated in Content API output and front-end website
- added `checkGatedBlockAccess()` to members-service content-gating methods to keep the underlying member checks co-located
2025-01-30 12:47:42 +00:00
..
admin-x-activitypub Added “unfollow” functionality to FollowButton (#22057) 2025-01-30 12:00:56 +00:00
admin-x-demo 🌐 Updated packages for improved i18n support (#21218) 2024-10-03 22:27:16 +00:00
admin-x-design-system Added accept parameter to FileUpload component (#21899) 2025-01-30 11:20:29 +08:00
admin-x-framework Pin dependencies 2025-01-29 12:19:43 +01:00
admin-x-settings Added support for gating access to blocks of post content (#22069) 2025-01-30 12:47:42 +00:00
announcement-bar 2025 2025-01-06 11:40:59 +00:00
comments-ui Bumped Comments-UI to 1.0.6 (#22003) 2025-01-14 08:12:48 +00:00
portal Released Portal v2.49.0 (#22061) 2025-01-28 07:27:07 +00:00
posts Post analytics router update (#22050) 2025-01-23 16:48:29 +01:00
shade Update dependency recharts to v2.15.1 (#22072) 2025-01-29 11:33:06 +00:00
signup-form Bumped signup form package (#21631) 2024-11-15 19:11:29 +00:00
sodo-search 2025 2025-01-06 11:40:59 +00:00