Ghost/ghost/admin
Jacob Gable fd415c376a 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
..
assets Update & grunt-groc and fix docs errors 2014-04-21 19:04:20 +01:00
helpers Renamed client-side admin url helper 2014-02-25 06:44:06 +00:00
models Settings API Primary Document refactor 2014-04-30 23:15:27 -05:00
tpl Set input field types to match expected input values 2014-04-14 16:18:17 +00:00
views Added email sending endpoint to the API. 2014-04-09 23:56:21 +02:00
init.js Update validator to 3.4.0 2014-03-04 13:54:24 -07:00
markdown-actions.js Correct link shortcut so that it inserts, selects text or moves cursor properly 2014-04-21 14:55:12 -07:00
mobile-interactions.js abstract mobile interactions js 2014-02-19 15:52:37 -05:00
router.js Add include parameter for posts API 2014-04-27 18:58:34 +02:00
toggle.js Speed up heinous slow animations 2014-01-07 22:19:52 +01:00