0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/models
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
..
base Filter plugin with enforce/default logic 2015-11-17 10:39:44 +00:00
plugins Filter plugin with enforce/default logic 2015-11-17 10:39:44 +00:00
accesstoken.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app-field.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app-setting.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
client-trusted-domain.js Add table columns for OAuth 2015-09-02 13:39:22 +01:00
client.js Public API 2015-10-22 15:28:47 +02:00
index.js Refactor require-tree and split it into models 2015-10-12 17:48:37 +02:00
permission.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
post.js Filter plugin with enforce/default logic 2015-11-17 10:39:44 +00:00
refreshtoken.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
role.js Refactor handlePermissions 2015-08-11 16:03:57 +02:00
settings.js Change type for private blog settings 2015-09-02 13:39:23 +01:00
tag.js Filter plugin with enforce/default logic 2015-11-17 10:39:44 +00:00
user.js Filter plugin with enforce/default logic 2015-11-17 10:39:44 +00:00