Ghost/core/server
Katharina Irrgang 91950cfea0
Optimised fixture replacement migration script (#9812)
no issue

- do only look for published old fixture posts
  - otherwise we detect draft old fixture post
  - and then we would replace them with published new fixture posts, which is not a very nice experience for the user
- ensure, if we have found all old fixture posts, replace all of them with the correct date
  - otherwise they are getting replaced and the date is "now"
- in general, this migration script is tricky and it tries to be smart, but there are so many cases we can run into
- to remember: the goal was to replace all old with new fixture posts (e.g. you just installed 1.25 and straight migrate to 2.0 - the old fixture posts should get replaced)
- added more protections to ensure we never delete custom posts using the same fixture post slugs
2018-08-22 13:35:58 +02:00
..
adapters Moved knex-migrator execution into Ghost 2018-08-16 12:13:24 +02:00
api Fixed tests 2018-08-16 12:13:24 +02:00
apps ES6 migration: server/apps/amp (#9667) 2018-07-23 14:43:01 +02:00
config Added ability to upload/reload routes.yaml 2018-08-16 12:13:24 +02:00
data Optimised fixture replacement migration script (#9812) 2018-08-22 13:35:58 +02:00
helpers Changed comments and deprecation notes 2018-08-16 12:13:24 +02:00
lib Changed comments and deprecation notes 2018-08-16 12:13:24 +02:00
models Changed comments and deprecation notes 2018-08-16 12:13:24 +02:00
public 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
services 🐛 Dynamic Routing Beta: Disallow using author resource and author data key name (#9790) 2018-08-16 12:13:24 +02:00
translations Changed maintenance messages 2018-08-16 12:13:24 +02:00
views Fixed error trying to render 404 for missing asset 2017-12-22 20:08:59 +00:00
web Fixed express router reference after routes.yaml refresh 2018-08-16 12:13:24 +02:00
analytics-events.js Cleared out old unused events 2017-12-13 09:08:25 +00:00
filters.js Moved pipeline/sequence to lib/promise 2017-12-13 22:20:02 +01:00
ghost-server.js Changed where we trigger server start/stop announcement (#9815) 2018-08-22 13:28:31 +02:00
index.js Added timeout before exiting the process 2018-08-16 12:13:24 +02:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Updated docs links 2018-08-16 12:13:24 +02:00