7362 Commits

Author SHA1 Message Date
Alexandre Bodin
b8dc116ff6 Fix relations and graphql nested lookups for both mongo and sql 2019-03-28 12:13:32 +01:00
Alexandre Bodin
aa0ee1b56a Refactor relations update to fix many to many append
- Fix loaders / resolvers graphql
2019-03-27 21:32:24 +01:00
Alexandre Bodin
3098309369 Use mongoose.find on simple queries for a perf boost 2019-03-26 14:57:02 +01:00
Alexandre Bodin
aee779c751 Try to use mongo 3.6.6 on travis to allow for new lookup feature 2019-03-26 08:57:50 +01:00
Alexandre Bodin
ed0181b733 Avoid test failure on sql until we rework the graphql plugin 2019-03-25 18:04:18 +01:00
Alexandre Bodin
853e76884a Remove moved cypress test files for now 2019-03-25 16:44:40 +01:00
Alexandre Bodin
0c5b255e75 Fix graphql loaders and add some e2e graphql tests 2019-03-25 16:37:46 +01:00
Alexandre Bodin
0066876ce4 Handle groupBy and aggregate 2019-03-22 20:03:19 +01:00
Alexandre Bodin
a6ffb9237e Cleanup unused code 2019-03-22 19:25:29 +01:00
Alexandre Bodin
f8e8928d8a Handle orWhere in mongo and format value / cast 2019-03-22 18:08:11 +01:00
Alexandre Bodin
6fcb38780d Init code cleanup and auto loading of morph realtions in populated path 2019-03-22 17:15:51 +01:00
Alexandre Bodin
f667cbb347 Merge branch 'master' into feature/deep-filtering-mongoose-bookshelf 2019-03-21 17:42:30 +01:00
Alexandre BODIN
a42c2a483c
Merge pull request #3012 from strapi/fix/events
Remove synchronous way of sending event
2019-03-21 12:11:16 +01:00
Aurélien Georget
e40a7ad878 Remove synchronous way of sending event 2019-03-21 11:02:52 +01:00
Alexandre Bodin
d2db6b633f Mongo + graphql v1 2019-03-21 09:07:36 +01:00
Jim LAURIE
c5f3eb67ce Fix loose permissions with Mongo 2019-03-21 09:07:02 +01:00
Kamal Bennani
07020fc3d6 Use where instead of passing it directly to the count function because the order of the pipelines matters 2019-03-21 09:07:02 +01:00
Kamal Bennani
490a226d9e Add the possibility to define post processors functions & add a new method 'where' in the query class 2019-03-21 09:07:02 +01:00
Kamal Bennani
dfcbd75cb8 Update the version of strapi-utils inside of CTM 2019-03-21 09:07:02 +01:00
Kamal Bennani
396f3c8ac0 Don't apply the limit when using loaders 2019-03-21 09:07:02 +01:00
Kamal Bennani
7718968b37 Adapt the aggregator to the new API and add totalCount attribute to the aggregation 2019-03-21 09:07:02 +01:00
Kamal Bennani
c16729084e Add a thru method to the query to intercept it 2019-03-21 09:07:02 +01:00
Kamal Bennani
a30f250f31 Correctly implement LIKE and ILIKE using knex 2019-03-21 09:07:02 +01:00
Kamal Bennani
5c7dd886aa No longer use convertParams 2019-03-21 09:07:02 +01:00
Kamal Bennani
c9865cd7ce Remove redundant joins 2019-03-21 09:07:02 +01:00
Kamal Bennani
4bb9af3fb1 Don't populate any relation in GraphQL context 2019-03-21 09:07:02 +01:00
Kamal Bennani
2dfde5a152 Re-adapt loader to work with manyToMany relationship 2019-03-21 09:07:02 +01:00
Kamal Bennani
0d9626b165 Fix issue when the relation is populated or not (Bookshelf) 2019-03-21 09:07:02 +01:00
Kamal Bennani
19c696ff25 Adapt Loader service to the new API 2019-03-21 09:07:02 +01:00
Kamal Bennani
2bdbf12b0a Simplify GraphQL resolver and adapt the ContentManager to the new changes 2019-03-21 09:07:02 +01:00
Kamal Bennani
17d8eb36c0 Adapt User plugin to the new API 2019-03-21 09:06:06 +01:00
Kamal Bennani
bd1930a75c Create a generic Builder and Query APIs 2019-03-21 09:06:06 +01:00
Kamal Bennani
e8c92fc3d7 Adapt Services to the new Mongoose API 2019-03-21 09:06:06 +01:00
Kamal Bennani
328f09da29 Introduce the new Builder/Converter for Mongoose ORM 2019-03-21 09:05:42 +01:00
Kamal Bennani
c93311557e Adapt Services to the new Bookshelf API 2019-03-21 09:05:42 +01:00
Kamal Bennani
3414e2d5cf Introduce the new Builder/Converter for Bookshelf ORM 2019-03-21 09:05:11 +01:00
Kamal Bennani
0209c48782 Move Cypress tests to their default integration folder 2019-03-21 09:05:11 +01:00
Jim LAURIE
81ed8d0fb2
Merge pull request #3005 from strapi/events/ctb
Fix events in content type builder
2019-03-20 14:11:20 +01:00
Aurélien Georget
6582c1ae3c Remove blank spaces 2019-03-20 13:29:27 +01:00
Aurélien Georget
6e5213c619 Fix events in content type builder 2019-03-20 11:49:32 +01:00
Jim LAURIE
2260b200a7
Merge pull request #2986 from strapi/3.0.0-alpha.25.2
3.0.0 alpha.25.2
2019-03-18 12:15:56 +01:00
Jim LAURIE
2b678f2f0a 3.0.0-alpha.25.2 v3.0.0-alpha.25.2 2019-03-15 23:32:36 +01:00
Jim LAURIE
fd0903eb9b Merge branch '3.0.0-alpha.25.1' of github.com:strapi/strapi into 3.0.0-alpha.25.2 2019-03-15 23:31:54 +01:00
Jim LAURIE
81943c32a4
Merge pull request #2985 from strapi/fix/graphql-query-convert-params
Fix missing _ in the convertParams graphql queries
2019-03-15 23:30:03 +01:00
Alexandre Bodin
7ab8eb4c56 Fix missing _ in the convertParams graphql queries 2019-03-15 21:03:22 +01:00
Jim LAURIE
7bc3004b5a Update changelog v3.0.0-alpha.25.1 2019-03-15 18:04:00 +01:00
Jim LAURIE
54457aadd0 3.0.0-alpha.25.1 2019-03-15 18:02:32 +01:00
Jim LAURIE
4964d80a65
Merge pull request #2983 from strapi/fix/mutation-query-graphql
Hot fix primary key detection mutation/query GraphQL
2019-03-15 18:00:52 +01:00
Jim LAURIE
2c54eaaa3f
Merge branch 'master' into fix/mutation-query-graphql 2019-03-15 17:52:49 +01:00
Jim LAURIE
c8846384cf
Merge pull request #2980 from strapi/fix/add-ignore-patterns-to-watcher
Add patterns to ignore in the file watcher
2019-03-15 17:52:06 +01:00