0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/services
Katharina Irrgang 9d7c3bd726
🐛 Fixed all known filter limitations (#10159)
refs #10105, closes #10108, closes https://github.com/TryGhost/Ghost/issues/9950, refs https://github.com/TryGhost/Ghost/issues/9923, refs https://github.com/TryGhost/Ghost/issues/9916, refs https://github.com/TryGhost/Ghost/issues/9574, refs https://github.com/TryGhost/Ghost/issues/6345, refs https://github.com/TryGhost/Ghost/issues/6309, refs https://github.com/TryGhost/Ghost/issues/6158, refs https://github.com/TryGhost/GQL/issues/16

- removed GQL dependency
- replaced GQL with our brand new NQL implementation
- fixed all known filter limitations
- GQL suffered from some underlying filter bugs, which NQL tried to fix
- the bugs were mostly in how we query the database for relation filtering
- the underlying problem was caused by a too simple implementation of querying the relations
- mongo-knex has implemented a more robust and complex filtering mechanism for relations
- replaced logic in our bookshelf filter plugin
- we pass the custom, default and override filters from Ghost to NQL, which then are getting parsed and merged into a mongo JSON object. The mongo JSON is getting attached by mongo-knex.

NQL: https://github.com/NexesJS/NQL
mongo-knex: https://github.com/NexesJS/mongo-knex
2018-12-11 11:53:40 +01:00
..
apps Updated blog site components to respect the api version 2018-10-18 19:41:07 +02:00
auth Wired members service up to api and app (#10262) 2018-12-11 15:18:07 +07:00
mail Changed http to https links 2018-08-16 12:13:24 +02:00
members Added members service to create instance of members lib (#10261) 2018-12-11 14:57:01 +07:00
permissions 🐛 Fixed all known filter limitations (#10159) 2018-12-11 11:53:40 +01:00
routing 🐛Fixed auto redirect for extra data queries on post and page resources (#9828) 2018-12-03 20:31:48 +01:00
rss Fixed correct promise order in RSS feed generator (#9726) 2018-09-10 11:39:38 +02:00
settings 🐛Fixed auto redirect for extra data queries on post and page resources (#9828) 2018-12-03 20:31:48 +01:00
themes Enabled members lab setting for developer experiment flag (#10132) 2018-11-09 17:12:21 +05:30
url 🐛 Fixed all known filter limitations (#10159) 2018-12-11 11:53:40 +01:00
webhooks Updated error message log and lastTriggeredError for webhook requests (#10147) 2018-11-20 12:13:35 +05:30
labs.js Enabled members lab setting for developer experiment flag (#10132) 2018-11-09 17:12:21 +05:30
slack.js 🎨 Modified slack webhook payload, added info about published post (#9850) 2018-11-12 13:04:50 +01:00
xmlrpc.js Fixed RPC pings (#9816) 2018-08-23 15:20:29 +02:00