0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/utils/fixtures
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
..
app Cleanup indentation now JSCS can see it 2016-06-11 20:25:15 +01:00
csv 🎨 Use GhostAuth name and example emails (#7475) 2016-10-03 15:11:43 +01:00
export Prevent multiple owner creation via importer 2015-05-15 10:12:30 +01:00
filter-param Move db connection out of config 2016-02-12 13:56:23 +00:00
images feature: upload validation middleware (#7208) 2016-08-18 20:25:51 +01:00
import Add markdown file handler to importer 2015-01-09 20:04:56 +00:00
theme/partials
themes feature: theme upload/download/delete (#7209) 2016-08-23 13:07:25 +01:00
data-generator.js 🎨 public config endpoint (#7631) 2016-10-28 14:07:46 +01:00
example.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
test.hbs