Ghost/ghost/admin/tests/unit
Kevin Ansfield a5eeb1865b 🎨 Move "Update available" notification to the About screen (#894)
refs https://github.com/TryGhost/Ghost/issues/5071

Upgrade messages are now shown on the About screen rather than as alerts. Notifications that are marked as `top` or `custom` are still shown as alerts to allow for certain upgrade messages to be given more visibility.

- remove old `upgrade-notification` service
- update the `upgrade-status` service:
  - add a `message` property that contains an upgrade notification if any exists
  - add a `handleUpgradeNotification` method that accepts a Notification model instance and extracts the `notification.message` property into a html safe string for use in templates
- when loading server notifications during app boot, pass notifications that aren't marked as `top` or `custom` to the new `handleUpgradeNotification` method
- update the `about.hbs` template to pull the upgrade message from the `upgradeStatus` service
2018-01-09 14:23:36 +00:00
..
components 🎨 Move "Update available" notification to the About screen (#894) 2018-01-09 14:23:36 +00:00
controllers New tags input, drop selectize & jquery-ui deps (#892) 2017-10-31 09:10:49 +00:00
helpers Upgrade eslint dependencies (#855) 2017-09-11 14:56:11 +07:00
mixins
models Match client-side password validation to new server-side rules (#899) 2017-10-26 11:02:17 +01:00
routes
serializers Match client-side password validation to new server-side rules (#899) 2017-10-26 11:02:17 +01:00
services 🎨 Move "Update available" notification to the About screen (#894) 2018-01-09 14:23:36 +00:00
transforms Fixed missing Unsplash icons when API doesn't return an unsplash setting (#865) 2017-09-21 11:13:31 +02:00
utils Remove unused {{gh-datetime-input}} and related helper 2017-11-30 17:06:48 +07:00
validators 🎨 Allow any Slack-compatible webhook URLs in Slack app 2017-11-16 12:36:17 +00:00
.gitkeep