0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/data
Vijay Kandy f2d09df512 Support for custom notifications (#7077)
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
2016-07-22 14:02:10 +01:00
..
db improvement: migrations (#7000) 2016-07-14 11:59:42 +01:00
export Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
import deps: lodash@4.13.1 2016-06-11 13:13:55 -06:00
importer deps: lodash@4.13.1 2016-06-11 13:13:55 -06:00
meta fix(twitter-card): use proper image tag (#7025) 2016-06-29 18:04:43 -06:00
migration feature: maintenance mode (#7019) 2016-07-15 17:22:41 +01:00
schema Support for custom notifications (#7077) 2016-07-22 14:02:10 +01:00
slack xmlrpc + slack init() -> listen() & fixup tests 2016-06-09 15:38:19 +01:00
validation deps: lodash@4.13.1 2016-06-11 13:13:55 -06:00
xml deps: lodash@4.13.1 2016-06-11 13:13:55 -06:00
timezones.json Adds UTC as select option to timezones select list 2016-06-10 15:19:16 +02:00