Ghost/core
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
..
client Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
server Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
shared Improving the showdown extensions 2014-03-20 17:08:13 +00:00
test Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
bootstrap.js Replace JSLint with JSHint. 2014-03-04 15:47:39 +00:00
index.js Add promise to ghost startup process to allow 2014-03-11 11:41:45 -04:00
server.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00