0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/api/v2
Kevin Ansfield e57e19ec31
🏗 Migrated posts.page column to posts.type (#11111)
refs https://github.com/TryGhost/Ghost/issues/10922

- adds migrations to...
  1. add `post.type` column
  2. populate `post.type` column based on `post.page` value
  3. drop `post.page` column
- updates all code paths to work with `post.type` in place of `post.page`
- adds `nql-map-key-values` transformer for mapping `page`->`type` in `filter` params when using the v2 API
- modifies importer to handle `post.page`->`post.type` transformation when importing older export files
2019-09-16 11:51:54 +01:00
..
utils 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
actions.js
authentication.js Switched to use v2 http module instead of ovelooked v1 2019-08-01 13:06:15 +02:00
authors-public.js
config.js
db.js Created DB Backup integration (#10974) 2019-08-02 17:28:02 +08:00
images.js
index.js Migrated schedules controller to v2 2019-08-07 14:51:36 +02:00
integrations.js
invites.js
mail.js Updated links to docs (#10941) 2019-07-22 18:17:50 +08:00
members.js Updated getMember to return null rather than throw 2019-09-05 11:14:50 +08:00
notifications.js
oembed.js Refactored oembed controller data validation 2019-08-01 17:13:12 +05:30
pages-public.js
pages.js Migrated schedules controller to v2 2019-08-07 14:51:36 +02:00
posts-public.js
posts.js Migrated schedules controller to v2 2019-08-07 14:51:36 +02:00
preview.js
redirects.js Extracted frontend code from redirects API controllers (#10798) 2019-06-21 16:50:16 +02:00
roles.js
schedules.js Migrated schedules controller to v2 2019-08-07 14:51:36 +02:00
session.js 💡Migrated session controllers for compatibility with "frame" (#11101) 2019-09-11 11:28:55 +02:00
settings-public.js 🎨 Added url value to the Content API /settings/ endpoint (#10946) 2019-07-24 11:12:07 +01:00
settings.js Moved settings dynamicRouting to routing.settings 2019-06-21 16:34:17 +02:00
site.js
slack.js
slugs.js
subscribers.js
tags-public.js
tags.js
themes.js 🐛 Fixed cache invalidation header on theme override 2019-07-17 18:41:25 +05:30
users.js Removed all accesstokens and refreshtokens related code 2019-09-12 15:45:27 +01:00
webhooks.js