Ghost/ghost/core/test
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
..
e2e-api Moved (un)like endpoint code to comments service (#15371) 2022-09-06 17:20:55 +02:00
e2e-browser Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
e2e-frontend Fixed Tier events being created when Posts are edited 2022-09-05 17:19:27 +01:00
e2e-server Removed out of date history items from UrlHistory 2022-08-25 16:09:34 -04:00
e2e-webhooks Enabled member attribution flag in all tests (#15317) 2022-08-25 15:25:01 -04:00
integration Added members_subscription_created_events table & model 2022-08-18 10:45:53 -04:00
regression Renamed users:no-owner to users as main user fixture 2022-09-02 10:08:37 +01:00
unit Added property cleaning to tag relations on pages + posts 2022-09-07 22:28:56 +01:00
utils Removed unused fixture tasks 2022-09-06 10:18:55 +01:00
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00