mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
closes #5071 - Send application/json requests to UpdateCheck service. New UpdateCheck service accepts JSON request - If UpdateCheck service respponse has messages[] array, iterate over the array and create custom notifications intended for current version - Save custom notification if its not already in the store AND its uuid is not in seenNotifications array - When a custom notification is dismissed, store its uuid in seenNotifications array - setup test fixtures to trigger tests properly - api_notification_spec test to ensure custom notification can be added to store and added to seenNotifications when dismissed - update_check_spec test to ensure custom notification can be displayed for a specific Ghost version - added test to ensure messages meant for other versions don't create notifications |
||
---|---|---|
.. | ||
advanced_browse_spec.js | ||
api_authentication_spec.js | ||
api_configuration_spec.js | ||
api_db_spec.js | ||
api_mail_spec.js | ||
api_notifications_spec.js | ||
api_posts_spec.js | ||
api_roles_spec.js | ||
api_schedules_spec.js | ||
api_settings_spec.js | ||
api_slugs_spec.js | ||
api_subscription_spec.js | ||
api_tags_spec.js | ||
api_themes_spec.js | ||
api_upload_spec.js | ||
api_users_spec.js |