Ghost/ghost/admin/app/controllers
Steve Larson d5077ac1bf
Cleared member count cache on manual member add/delete (#19623)
refs https://linear.app/tryghost/issue/ENG-599
- member count is based on the cache which only updates ~every minute
- forced cache clear on manual member add/delete (not import)
- tests were failing based on the assumption that a new site that adds a
member has a nonzero member count, although the cache did not reflect
this quickly enough for the test to pass

Previously on a new site if you tried to publish a newsletter, it would
require at least one member. If you quickly added a member and tried to
send a newsletter, it would stop you saying you need at least one
member, requiring a browser refresh. This was a bug that is resolved
with this changes, as well as odd behaviour to try to write tests
around.
2024-01-30 15:08:27 -06:00
..
lexical-editor
members
posts
setup
application.js
billing.js
collection.js
collections.js
dashboard.js
demo-x.js
designsandbox.js
error.js
explore.js
home.js
lexical-editor.js Fixed error when deleting post (#19369) 2023-12-13 17:45:23 +00:00
member.js Cleared member count cache on manual member add/delete (#19623) 2024-01-30 15:08:27 -06:00
members-activity.js
members.js 🐛 Fixed deleting members with email disabled (#19222) 2023-12-04 15:07:30 +01:00
mentions.js
migrate.js Update migration in settings (#19278) 2023-12-13 16:25:29 +01:00
offer.js
offers.js Fixed generating offers in data generator (#19495) 2024-01-16 13:53:34 +00:00
pages-loading.js
pages.js
posts-loading.js
posts.js
reset.js
settings-x.js
setup.js
signin.js
signup.js
site.js
tag.js
tags.js
websockets.js
whatsnew.js