Ghost/core/server
Jacob Gable 7e9880ce8d Settings API Primary Document refactor
Closes #2606

- Refactor settings api responses to { settings: [ ] } format
- Update all code using api.settings to handle new response format
- Update test stubs to return new format
- Update client site settings model to parse new format into one object of key/value pairs
- Refactor to include all setting values
- Remove unused settingsCollection method
- Update settingsCache to store all attributes
- Update settingsResult to send all attributes
- Remove unnecessary when() wraps
- Reject if editing a setting that doesn't exist
- Reject earlier if setting key is empty
- Update tests with new error messages
- Use setting.add instead of edit that was incorrectly adding
- Update importer to properly import activePlugins and installedPlugins
- Update expected setting result fields
- Fix a weird situation where hasOwnProperty didn't exist 🤷
2014-04-30 23:15:27 -05:00
..
api Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
apps Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
config Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
controllers Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
data Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
helpers Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
middleware Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
models Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
permissions Add permissions to API 2014-04-16 18:22:22 +02:00
routes Added email sending endpoint to the API. 2014-04-09 23:56:21 +02:00
storage Build correct path on image upload when config has custom content path 2014-04-07 05:01:39 +00:00
views Added email sending endpoint to the API. 2014-04-09 23:56:21 +02:00
api.js
bookshelf-session.js
errorHandling.js Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
filters.js Implement filter context 2014-04-06 15:43:11 +00:00
index.js Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
mail.js Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
middleware.js
require-tree.js Error handling for require-tree 2014-03-25 22:38:48 +00:00
update-check.js Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
xmlrpc.js Add XML-RPC ping 2014-03-20 17:53:32 +00:00