Ghost/core/test/utils
Katharina Irrgang a55fb0bafe 🎨 public config endpoint (#7631)
closes #7628

With this PR we expose a public configuration endpoint.
When /ghost is requested, we don't load and render the configurations into the template anymore. Instead, Ghost-Admin can request the public configuration endpoint.

* 🎨  make configuration endpoint public
* 🔥  remove loading configurations in admin app
- do not render them into the default html page
*   load client credentials in configuration endpoint
- this is not a security issue, because we have exposed this information anyway before (by rendering them into the requested html page)
* 🎨  extend existing configuration integration test
*   tests: add ghost-auth to data generator
*   add functional test
* 🔥  remove type/value pattern
* 🎨  do not return stringified JSON objects
2016-10-28 14:07:46 +01:00
..
fixtures 🎨 public config endpoint (#7631) 2016-10-28 14:07:46 +01:00
mocks improvement: add mocks helper module for test env 2016-06-10 09:23:00 +02:00
api.js 🎨 Use GhostAuth name and example emails (#7475) 2016-10-03 15:11:43 +01:00
assertions.js 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
configUtils.js 🚨 change logic for test/utils/configUtils 2016-09-20 15:59:34 +01:00
fork.js knex migrator (#7565) 2016-10-17 13:50:29 +01:00
index.js knex migrator (#7565) 2016-10-17 13:50:29 +01:00