Ghost/ghost/admin/mirage/models
Kevin Ansfield 72590083f3 Added ability to bulk delete members by label or status (#1883)
refs https://github.com/TryGhost/Team/issues/585
requires https://github.com/TryGhost/Ghost/pull/12082

When a label or status filter is selected on the members screen show a "Delete selected" option in the actions dropdown. Bulk deleted members will _not_ have any subscription data modified in Stripe, if a member should be deleted and have their subscription cancelled it's necessary to do that on a per-member basis.

- updated bulk delete handling to match API
- added link to bulk delete confirmation modal in members actions dropdown (only shown when label, status, or search is used)
- updated testing framework for members
  - added label factory for easier test setup
  - updated `GET /members` and `DEL /members` endpoints to work with label filters
  - updated test selectors for easier reference in tests
2021-04-08 12:06:27 +01:00
..
api-key.js Added initial custom integrations UI (#1051) 2018-10-18 00:18:29 +01:00
config.js Updated config service to use new /site/ and /config/ endpoints 2019-02-25 21:47:17 +07:00
email.js Fixed tests 2019-11-08 11:14:04 +07:00
integration.js Added initial custom integrations UI (#1051) 2018-10-18 00:18:29 +01:00
invite.js Bump ember-cli-mirage to 0.4.2 (#969) 2018-03-19 09:53:17 +00:00
label.js Added ability to bulk delete members by label or status (#1883) 2021-04-08 12:06:27 +01:00
member.js Added ability to bulk delete members by label or status (#1883) 2021-04-08 12:06:27 +01:00
notification.js deps: ember-cli-mirage@0.2.0 2017-01-13 15:59:37 +00:00
page.js 🎨 Separated post and page list screens (#1101) 2019-02-22 10:17:33 +07:00
post.js Fixed tests 2019-11-08 11:14:04 +07:00
role.js deps: ember-cli-mirage@0.2.0 2017-01-13 15:59:37 +00:00
site.js Updated config service to use new /site/ and /config/ endpoints 2019-02-25 21:47:17 +07:00
snippet.js Implemented first iteration of content snippets 2020-10-15 18:03:35 +01:00
subscriber.js deps: ember-cli-mirage@0.2.0 2017-01-13 15:59:37 +00:00
tag.js Bump ember-cli-mirage to 0.4.2 (#969) 2018-03-19 09:53:17 +00:00
theme.js fetch themes from /themes endpoint (#542) 2017-02-21 18:28:44 +00:00
user.js Use token input to allow selection of multiple authors in PSM 2018-03-27 18:50:52 +01:00
webhook.js Added initial custom integrations UI (#1051) 2018-10-18 00:18:29 +01:00