Ghost/core/test/utils/fixtures
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
..
app Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
config
csv
data 🎨Added case insensitive support for redirects (#9755) 2018-09-24 18:57:05 +02:00
export Changed casper.ghost.org to static.ghost.org references (#10109) 2018-11-07 15:50:38 +01:00
filter-param Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
images Added new endpoint to upload square profile images with dimension validation (#9862) 2018-09-24 21:42:58 +02:00
import
settings Added tests for reloading routes.yaml 2018-08-16 12:13:24 +02:00
themes Fixed tests 2018-08-30 18:04:54 +01:00
data-generator.js 🐛 Fixed all known filter limitations (#10159) 2018-12-11 11:53:40 +01:00
example.js
test.hbs