Ghost/test/api-acceptance/admin
Kevin Ansfield f4d9a41d3b
Added ?paid query parameter to Admin API members browse endpoint (#11892)
no issue

- NQL does not support the relationship setup that members->stripe customer<->stripe subscriptions uses so it wasn't possible to use the `filter` param to query against having an active subscription
- adds `customQuery` bookshelf plugin that allows customisation of SQL query used in `findPage` method by individual models
- use `customQuery` in Member model to set up joins and conditionals to select free/paid members when `options.paid` is present
- allow `?paid` param through API and permitted options for member model
2020-06-12 12:12:10 +01:00
..
actions_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
config_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
db_spec.js Removed final non-destructured imports of core/server/lib/common (#11858) 2020-05-28 17:54:18 +01:00
email_preview_spec.js 🐛 Fixed test email permissions for non-owner roles 2020-06-02 14:54:50 +05:30
emails_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
images_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
integrations_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
invites_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
key_authentication_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
labels_spec.js Removed cache invalidation header when adding label through Amdin API 2020-06-04 23:44:19 +12:00
mail_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
members_spec.js Added ?paid query parameter to Admin API members browse endpoint (#11892) 2020-06-12 12:12:10 +01:00
notifications_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
oembed_spec.js 🐛 Improved error message output when oembed request fails 2020-06-08 15:06:00 +01:00
pages_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
posts_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
roles_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
settings_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
slugs_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
tags_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
themes_spec.js Change theme uploads to move & delete at end 2020-06-08 16:12:17 +01:00
users_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
utils.js Added label to known filter params for members 2020-05-21 18:44:52 +01:00
webhooks_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00