0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server/models/base
Hannah Wolfe 6a0f1cf231 Filter plugin with enforce/default logic
refs #5614, #5943

- adds a new 'filter' bookshelf plugin which extends the model
- the filter plugin provides handling for merging/combining various filters (enforced, defaults and custom/user-provided)
- the filter plugin also handles the calls to gql
- post processing is also moved to the plugin, to be further refactored/removed in future
- adds tests showing how filter could be abused prior to this commit
2015-11-17 10:39:44 +00:00
..
index.js Filter plugin with enforce/default logic 2015-11-17 10:39:44 +00:00
token.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
utils.js Filter plugin with enforce/default logic 2015-11-17 10:39:44 +00:00