0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server
Hannah Wolfe 9030620b23 Ensure fixture operations only run if needed
refs #6301

- Make sure that every fixture operation has a check to ensure that it hasn't already run
- E.g. The update of sort_order on posts_tags should only happen if there are no values which aren't a zero
  - This makes sure that we don't accidentally overwrite data on FORCE_MIGRATE
- No need to try to set settings types if they are already correct
- Only update the admin client if it needs it, else we're regenerating secrets each time
2016-03-21 18:15:01 +00:00
..
api Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
apps Harvest server side strings 2015-12-19 12:12:16 +01:00
config Always override database config + exit tests on error 2016-03-14 15:39:59 +00:00
controllers Generate context from channelConfig, not URL 2016-03-20 12:59:25 +00:00
data Ensure fixture operations only run if needed 2016-03-21 18:15:01 +00:00
errors Refactor authentication API into pipeline format 2016-03-07 11:53:54 -06:00
events
helpers Merge pull request #6616 from ErisDS/meta-schema-fix 2016-03-21 10:22:06 +01:00
mail Refactor mail service 2016-02-10 16:31:42 -06:00
middleware Serve immediate 404 for static files (no fallthru) 2016-02-21 19:17:27 +00:00
models Refactor authentication API into pipeline format 2016-03-07 11:53:54 -06:00
permissions Harvest server side strings 2015-12-19 12:12:16 +01:00
routes Including timezones API in configuration endpoint 2016-02-24 16:44:01 +02:00
storage Serve immediate 404 for static files (no fallthru) 2016-02-21 19:17:27 +00:00
translations Merge pull request #6579 from jaswilli/auth-api 2016-03-08 15:54:34 +01:00
utils Refactor & test fixture migrations 2016-03-03 09:03:37 +00:00
views
filters.js
ghost-server.js Harvest server side strings 2015-12-19 12:12:16 +01:00
i18n.js Fix jsDoc on i18n.t() 2016-02-22 01:57:22 +01:00
index.js Moves builFilesExist to startup-checks 2016-02-14 18:28:37 +00:00
update-check.js deps: bluebird@3.3.3 2016-03-01 15:17:20 -06:00