0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00
ghost/core
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
..
client deps: ember-cli@2.4.2 2016-03-07 09:17:51 +00:00
server Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
shared ensure null query options don't break ghost-url 2016-02-29 00:25:38 -06:00
test Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
index.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00