0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server
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
..
admin 🎨 public config endpoint (#7631) 2016-10-28 14:07:46 +01:00
api 🎨 public config endpoint (#7631) 2016-10-28 14:07:46 +01:00
apps 🐛 Subscribers: validate urls (#7540) 2016-10-14 16:31:20 +02:00
auth 🎨 logging improvements (#7597) 2016-10-25 12:17:43 +01:00
blog 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
config 🎨 logging improvements (#7597) 2016-10-25 12:17:43 +01:00
controllers/frontend 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
data knex migrator (#7565) 2016-10-17 13:50:29 +01:00
events post-scheduling 2016-06-14 10:52:13 +02:00
helpers 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
logging 🎨 logging improvements (#7597) 2016-10-25 12:17:43 +01:00
mail 🎨 change how we get and set config 2016-09-20 15:59:34 +01:00
middleware 🎨 logging improvements (#7597) 2016-10-25 12:17:43 +01:00
models 🐛 fix changePassword bug (#7590) 2016-10-21 10:19:09 +01:00
permissions Error creation (#7477) 2016-10-06 13:27:35 +01:00
scheduling 🎨 fetch all scheduled posts on bootstrap (#7567) 2016-10-14 13:39:10 +01:00
storage Error creation (#7477) 2016-10-06 13:27:35 +01:00
themes 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
translations 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
utils 🎨 gravatar lookup in saving hook (#7561) 2016-10-14 15:37:40 +01:00
views Switch to new native system font stack (#7219) 2016-08-18 20:29:46 +01:00
app.js 🎨 logging improvements (#7597) 2016-10-25 12:17:43 +01:00
errors.js 🎨 error improvements (#7600) 2016-10-21 13:10:17 +01:00
filters.js
ghost-server.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
i18n.js improvement: general fixes 2016-06-01 07:07:20 +02:00
index.js 🐛 add missing schedulerUrl option (#7626) 2016-10-25 12:19:22 +01:00
overrides.js 🛠 update lodash,knex and bookshelf to latest versions 2016-09-26 10:20:55 +02:00
update-check.js Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00