Ghost/core/server/api
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
..
authentication.js Refactor authentication API into pipeline format 2016-03-07 11:53:54 -06:00
clients.js Harvest server side strings 2015-12-19 12:12:16 +01:00
configuration.js Including timezones API in configuration endpoint 2016-02-24 16:44:01 +02:00
db.js Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
index.js Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
mail.js Refactor mail service 2016-02-10 16:31:42 -06:00
notifications.js Harvest server side strings 2015-12-19 12:12:16 +01:00
posts.js Harvest server side strings 2015-12-19 12:12:16 +01:00
roles.js Refactor handlePermissions 2015-08-11 16:03:57 +02:00
settings.js Harvest server side strings 2015-12-19 12:12:16 +01:00
slugs.js Harvest server side strings 2015-12-19 12:12:16 +01:00
tags.js Harvest server side strings 2015-12-19 12:12:16 +01:00
themes.js Harvest server side strings 2015-12-19 12:12:16 +01:00
upload.js Harvest server side strings 2015-12-19 12:12:16 +01:00
users.js Harvest server side strings 2015-12-19 12:12:16 +01:00
utils.js Harvest server side strings 2015-12-19 12:12:16 +01:00