Ghost/test/unit/services
Naz 4dc413d6a1 🐛 Fixed upgrade notification showing post-upgrade
closes https://github.com/TryGhost/Team/issues/564
refs https://github.com/TryGhost/Ghost/issues/10236

- The notification to upgrade to new 4.0 Ghost version was still visible to users after upgrading the instance to 4.0. This was caused by notification filtering not taking into account 3.x or 4.x versions.
- The fix filters out notifications that detect a major version notification using `x.0 is now available` pattern and compares current version to that major. This should future proof the issue from happening in Ghost 5.0 (but a proper holistic fix is preferable!)
2021-03-23 16:42:46 +13:00
..
apps Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
auth Removed global.Promise override (#12182) 2020-11-04 10:55:47 +00:00
mail Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
members 🏗 Flattened members subscriptions data in API (#12581) 2021-02-02 16:12:53 +00:00
notifications 🐛 Fixed upgrade notification showing post-upgrade 2021-03-23 16:42:46 +13:00
permissions Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
routing Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
rss 🐛 Fixed __GHOST_URL__ appearing in sitemaps (#12787) 2021-03-18 17:16:37 +00:00
settings Fixed cache test suite 2021-03-04 18:35:02 +13:00
themes Fixed circular dependency warning for the proxy service (#12746) 2021-03-11 16:30:49 +00:00
url Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
labs_spec.js Hardcoded labs to always return members:true 2021-02-17 19:55:16 +13:00
slack_spec.js Refactored usage of the pre v4 "slack" setting 2021-02-15 15:25:54 +13:00
xmlrpc_spec.js Split the "Too many requests" error in ping service 2021-02-17 13:18:45 +13:00