0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server
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
..
adapters Swapped to American English spellings 2021-06-09 16:39:06 +01:00
api Added posts_meta.feature_image_{alt,caption} columns (#13030) 2021-06-10 20:35:56 +01:00
data Added posts_meta.feature_image_{alt,caption} columns (#13030) 2021-06-10 20:35:56 +01:00
lib Updated package-json lib to not need DI 2021-06-09 16:48:19 +01:00
models Swapped to American English spellings 2021-06-09 16:39:06 +01:00
public New logo in Admin (#12768) 2021-03-18 17:27:27 +00:00
services Added posts_meta.feature_image_{alt,caption} columns (#13030) 2021-06-10 20:35:56 +01:00
views
web Swapped to American English spellings 2021-06-09 16:39:06 +01:00
analytics-events.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
ghost-server.js Updated ghost-server to use new minimal tpl helper 2021-06-09 12:20:59 +01:00
notify.js
overrides.js
run-update-check.js Move the update-check service to a scheduled job 2021-05-27 17:17:26 +02:00
update-check.js Removed update check service in favor of external package 2021-06-03 13:24:19 +04:00