0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/test/regression/api/v0.1
Katharina Irrgang dfd350bd69
Cleaned up Admin API v2 posts/pages input serializer (#10516)
no issue

- make use of filter instead of status=all or data.page
- nql was designed to filter data on database layer
- do not break v0.1
- we just got rid of the "status" query param, you should use the filter instead
- get rid of the ugly condition to remove page field if "fields" param was used
- allow filtering on model layer for "findOne"
  - do not allow filtering for "findOne" on API layer for now
  - the API controller defines what is allowed
  - the model layer can allow more by default
  - we can re-use the powerful filter logic without adding hacks
2019-02-22 12:07:34 +01:00
..
authentication_spec.js
configuration_spec.js
db_spec.js Fixed regression tests 2019-02-18 19:22:32 +01:00
error_spec.js
invites_spec.js
notifications_spec.js
oembed_spec.js
posts_spec.js
public_api_spec.js Cleaned up Admin API v2 posts/pages input serializer (#10516) 2019-02-22 12:07:34 +01:00
redirects_spec.js
roles_spec.js
schedules_spec.js
settings_spec.js
slugs_spec.js
spam_prevention_spec.js
subscribers_spec.js
tags_spec.js Ensured defaults when creating resources 2019-02-07 20:20:10 +01:00
themes_spec.js
upload_icon_spec.js Fixed regression tests 2019-02-18 19:22:32 +01:00
upload_spec.js Fixed regression tests 2019-02-18 19:22:32 +01:00
users_spec.js
utils.js Ensured defaults when creating resources 2019-02-07 20:20:10 +01:00
webhooks_spec.js