0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/data
Hannah Wolfe 9309adc511 Exporter cleanup & tests
refs #6301

- change knex getter def to be configurable, else it is not testable
- remove exportPath and lang from config - neither are used
- add client_trusted_domains to tables which shouldn't be exported as there are no clients in the export
- change export signature to be an object with `doExport` function consistent with import & easier to test
- cleanup export code so it is clearer, easier to read & to test:
  - use mapSeries instead of sequence
  - use Promise.props instead of Promise.join
  - split functionality into smaller functions
- add test coverage
2016-03-12 19:01:25 +00:00
..
db Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
export Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
import deps: bluebird@3.1.2 2016-03-01 14:47:23 -06:00
importer Harvest server side strings 2015-12-19 12:12:16 +01:00
meta Merge pull request #6553 from ErisDS/slack-unfurls 2016-02-22 20:17:04 +01:00
migration Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
schema Refactor & test fixture migrations 2016-03-03 09:03:37 +00:00
validation Harvest server side strings 2015-12-19 12:12:16 +01:00
xml Fix cache-control header for sitemaps 2016-01-25 17:56:05 +00:00
timezones.json Including timezones API in configuration endpoint 2016-02-24 16:44:01 +02:00