mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
7e9880ce8d
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 🤷 |
||
---|---|---|
.. | ||
admin_spec.js | ||
apps_spec.js | ||
bootstrap_spec.js | ||
config_spec.js | ||
errorHandling_spec.js | ||
export_spec.js | ||
filters_spec.js | ||
frontend_spec.js | ||
import_spec.js | ||
mail_spec.js | ||
middleware_spec.js | ||
permissions_spec.js | ||
server_helpers_index_spec.js | ||
server_helpers_template_spec.js | ||
server_spec.js | ||
showdown_client_integrated_spec.js | ||
showdown_ghostGFM_spec.js | ||
showdown_ghostimagepreview_spec.js | ||
storage_localfilesystem_spec.js | ||
xmlrpc_spec.js |