2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/core/server
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
..
adapters Refactored direct usages of api controllers 2018-09-21 15:18:22 +02:00
api 🐛 Fixed all known filter limitations (#10159) 2018-12-11 11:53:40 +01:00
apps Wired members service up to api and app (#10262) 2018-12-11 15:18:07 +07:00
config Wired members service up to api and app (#10262) 2018-12-11 15:18:07 +07:00
data Added members related db changes and models 2018-12-11 11:53:55 +07:00
helpers Renamed /users to /authors for Content API V2 (#10096) 2018-11-07 15:29:37 +01:00
lib Added members lib module (#10260) 2018-12-11 13:47:44 +07:00
models 🐛 Fixed all known filter limitations (#10159) 2018-12-11 11:53:40 +01:00
public Removed change frequency and priority fields from sitemap generator (#9771) 2018-09-24 19:16:31 +02:00
services 🐛 Fixed all known filter limitations (#10159) 2018-12-11 11:53:40 +01:00
translations 🐛 Fixed all known filter limitations (#10159) 2018-12-11 11:53:40 +01:00
views Fixed error trying to render 404 for missing asset 2017-12-22 20:08:59 +00:00
web Wired members service up to api and app (#10262) 2018-12-11 15:18:07 +07:00
analytics-events.js Cleared out old unused events 2017-12-13 09:08:25 +00:00
filters.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
ghost-server.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
index.js Refactored method urlFor to use versionType instead of admin: true 2018-10-04 16:49:55 +05:30
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Migrated update check to use api v2 2018-10-18 00:13:31 +02:00