0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/data/import
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
..
000.js Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
001.js Replace cookieSession with session 2013-11-24 15:29:36 +01:00
002.js Fix posts.html and posts.markdown field type 2014-01-15 14:29:23 +01:00
003.js Implements Models & Data API for Apps 2014-04-16 18:14:56 +02:00
index.js Cleanup indentation and quotes 2013-09-26 15:06:31 +01:00