2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/core/server/data
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
..
export Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
fixtures Use current user in models 2014-04-16 18:20:09 +02:00
import Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
migration Add new permissions to fixtures 2014-04-16 18:16:10 +02:00
validation Update validator to 3.4.0 2014-03-04 13:54:24 -07:00
default-settings.json Add app permission checking to canThis 2014-04-16 18:06:39 +02:00
schema.js Changed boolean handling 2014-04-25 09:55:53 +02:00