Ghost/ghost/core/test/unit
Daniel Lockyer 04e3ee9f10 Added property cleaning to tag relations on pages + posts
refs https://github.com/TryGhost/Ghost/pull/15375

- we currently pass all properties for the `tags` property of a
  `page`/`post` body down further into Ghost, which is causing issues
  because it's handling properties it doesn't expect
- this is showing up because it's triggering save history events for
  tags when a post is edited
- this commit introduces a clean util which has an allowlist of
  properties allows on tag relations
- this list was taken from the schema: 128f8fb006/packages/admin-api-schema/lib/schemas/posts.json (L214-L227)
2022-09-07 22:28:56 +01:00
..
api/canary Added property cleaning to tag relations on pages + posts 2022-09-07 22:28:56 +01:00
frontend Added {{search}} theme helper 2022-08-24 21:34:20 +01:00
server Merged v5.13.2 into main 2022-09-06 16:45:52 +01:00
shared 🐛 Fixed Comments administration for self hosters (#15239) 2022-08-15 15:38:19 -04:00