0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/test/integration/api
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
..
advanced_browse_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
api_authentication_spec.js Ghost OAuth (#7451) 2016-09-30 12:45:59 +01:00
api_configuration_spec.js 🎨 public config endpoint (#7631) 2016-10-28 14:07:46 +01:00
api_db_spec.js Migration: New database versioning (#7499) 2016-10-06 14:50:55 +01:00
api_invites_spec.js 🎨 Use GhostAuth name and example emails (#7475) 2016-10-03 15:11:43 +01:00
api_mail_spec.js 🚨 change logic for test/utils/configUtils 2016-09-20 15:59:34 +01:00
api_notifications_spec.js Fix upgrade notification type value (#7308) 2016-09-01 17:58:46 +02:00
api_posts_spec.js 🚨 change logic for test/utils/configUtils 2016-09-20 15:59:34 +01:00
api_roles_spec.js 🎨 configurable logging with bunyan (#7431) 2016-10-04 16:33:43 +01:00
api_schedules_spec.js 🎨 change how we get and set config 2016-09-20 15:59:34 +01:00
api_settings_spec.js 💄 Remove duplicate test assertion (#7233) 2016-08-19 16:38:56 +02:00
api_slugs_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
api_subscription_spec.js feature: upload validation middleware (#7208) 2016-08-18 20:25:51 +01:00
api_tags_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
api_users_spec.js 🎨 Separate invites from user 2016-09-26 11:08:43 +02:00