Ghost/test
Kevin Ansfield 1bc57b584a
Added posts_meta.feature_image_{alt,caption} columns (#13030)
refs https://github.com/TryGhost/Team/issues/770

We want post feature image functionality to better match what's available inside the editor, to do that we'll need somewhere to store alt and caption meta data. `posts_meta` chosen because even though we want to make this generic for other tables in the future those tables also have a `feature_image` (or closely related) field.

- updated schema with new columns
- added migration to create columns
- cleaned new columns from API output
  - not output on v2/v3
  - conditionally output on v4/canary output based on labs flag
- bumped `@tryghost/admin-api-schema` to allow new columns through in canary API requests
  - silently clean properties from input when labs flag is disabled
  - updated acceptance tests so they fail if `admin-api-schema` is not letting the new fields through
2021-06-10 20:35:56 +01:00
..
api-acceptance Added posts_meta.feature_image_{alt,caption} columns (#13030) 2021-06-10 20:35:56 +01:00
frontend-acceptance Updated monthly/yearly data in price helper (#13012) 2021-06-08 16:32:39 +05:30
regression Added posts_meta.feature_image_{alt,caption} columns (#13030) 2021-06-10 20:35:56 +01:00
unit Added posts_meta.feature_image_{alt,caption} columns (#13030) 2021-06-10 20:35:56 +01:00
utils Enabled all labs flags when testing (#13036) 2021-06-10 12:54:34 +01:00
.eslintignore Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00