Ghost/core/test/utils
Hannah Wolfe ed16998461 Restructure Configuration API endpoint
refs #6421, #6525

- The configuration API endpoint was a bit of an animal:
   - It's used currently in two ways, once for general config, another for the about page.
   - These two things are different, and would require different permissions in future.
   - There was also both a browse and a read version, even though only browse was used.
   - The response from the browse was being artificially turned into many objects, when its really just one with multiple keys
- The new version treats each type of config as a different single object with several keys
- The new version therefore only has a 'read' request
- A basic read request with no key will return basic config that any client would need
- A read request with the about key returns the about config
- A read request with a different key could therefore return some other config
2016-02-19 18:49:23 +00:00
..
fixtures Move db connection out of config 2016-02-12 13:56:23 +00:00
jscs-rules Fix typo in disallow-object-controller 2015-01-13 22:13:26 +07:00
api.js Restructure Configuration API endpoint 2016-02-19 18:49:23 +00:00
configUtils.js Unify usage of config in unit tests 2015-12-15 10:48:24 +00:00
fork.js Fix client.secret for new installs 2015-09-25 21:03:33 +02:00
index.js Move db connection out of config 2016-02-12 13:56:23 +00:00
tempfile.js Add readThemes() utility to get a list of themes 2015-10-13 15:54:41 +02:00