131 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
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
d2db6b633f Mongo + graphql v1 2019-03-21 09:07:36 +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
c16729084e Add a thru method to the query to intercept it 2019-03-21 09:07:02 +01:00
Kamal Bennani
c9865cd7ce Remove redundant joins 2019-03-21 09:07:02 +01:00
Kamal Bennani
328f09da29 Introduce the new Builder/Converter for Mongoose ORM 2019-03-21 09:05:42 +01:00
hhhung
96bfc820c3 trigger beforeUpdate and afterUpdate hooks 2019-02-28 16:40:35 +08:00
Sajjad Shirazy
6a6579fde1 You use _.castArray in bookshelf and you don't use it in mongoose 2019-02-06 10:22:34 +03:30
Sajjad Shirazy
71c279aee6 Supporting NOT IN as a filter 2019-02-03 14:04:22 +03:30
Jim LAURIE
23dd047f42
Fix typo 2019-01-28 11:56:27 +01:00
Jim LAURIE
c0e808f82c Fix image populate 2019-01-25 17:24:21 +01:00
Aurélien Georget
2115124931 Remove Mongoose warning logs 2019-01-23 16:56:04 +01:00
Jim LAURIE
0238257eec Fix get timestamp in the admin 2019-01-23 15:19:34 +01:00
Jim LAURIE
f90255bb75
Merge branch 'master' into issue/2327 2019-01-22 13:52:13 +01:00
Jim LAURIE
6a3d2daac1
Merge branch 'master' into feature/998 2019-01-06 15:27:11 +01:00
Aurélien Georget
b501e8bb1b Resolve conflicts 2019-01-05 20:33:47 +01:00
Jim LAURIE
6de05cbdad Add debug option on strapi new 2018-12-28 16:51:02 +01:00
Chaitanya Choudhary
6835fdf426 Handle different types of timestamp values 2018-12-28 17:04:36 +05:30
Chaitanya Choudhary
b04ba69370 Ability to use custom timestamps. 2018-12-28 14:17:12 +05:30
Jim LAURIE
f87ebea759
Merge branch 'master' into plugin-documentation 2018-12-17 16:22:03 +01:00
Jim LAURIE
d201072954
Merge branch 'master' into fix-2257 2018-12-12 16:45:44 +01:00
Javier Castro
b0a21b46f0 strapi-hook-bookshelf: minor change for code clarity 2018-12-12 12:36:29 -03:00
Javier Castro
8b6bfdae70 Allow customization for mongoose connection (ej. load some mongoose plugins)
configurations.md: Added section under Functions about optional bookshelf/mongoose customization
2018-12-12 12:36:19 -03:00
soupette
43966b8416 Fix conflicts 2018-12-12 14:25:44 +01:00
Jim LAURIE
134e89aa8e
Merge branch 'master' into fix/2282 2018-12-09 11:49:21 +01:00
Aurélien Georget
e1ce257d2f Revert codebase and apply limit, skip, start and sort parameters 2018-12-06 18:11:53 +01:00
soupette
0916c4e018 Fix conflicts 2018-12-06 16:39:20 +01:00
Jim LAURIE
03c1e04d87 Revert filter PR 2018-12-04 17:05:03 +01:00
Aurélien Georget
b0aaae9f12 Resolve conflicts 2018-11-27 18:48:37 +01:00
Aurelsicoko
21d21dfc8f Handle single fetch & allow override of default auto-population 2018-11-22 18:32:33 +01:00
Kamal Bennani Bouchiba
6482a6ec84
Merge branch 'master' into feature/allow-filtering-on-a-relation-attribute 2018-11-20 19:34:46 +01:00
Aurelsicoko
4320614721 Merge branch 'master' of github.com:strapi/strapi into issue/2228 2018-11-20 16:31:26 +01:00
Kamal Bennani
4a7cae4ac0
Stringify ObjectID 2018-11-19 21:47:48 +01:00
Kamal Bennani
8500403297
Add missing this* 2018-11-19 15:42:00 +01:00
Kamal Bennani
511ca55461
fix 1st level deep filter 2018-11-19 00:10:48 +01:00
Kamal Bennani
85eeb4aef2
Fix wrong rebase 2018-11-18 23:57:03 +01:00
Leo
9a5547d4c7 Fix mongoose float and decimal problems 2018-11-18 16:25:28 +08:00
Jim LAURIE
19ec6242f9
Merge branch 'master' into feature/allow-filtering-on-a-relation-attribute 2018-11-16 17:38:27 +01:00
Aurelsicoko
3d7dacef70 Apply options on Mongoose instance 2018-11-16 15:53:00 +01:00
Aurelsicoko
8fc9d01b46 Fix manyToMany relation when only sending ids 2018-11-15 16:22:13 +01:00
g-div
cca35fe9ac fix(relations): avoid duplicate entries in manyToMany relations 2018-10-29 09:41:23 +01:00
Kamal Bennani
7801aac50f
Turn arrow functions to object functions to get to 'this' 2018-10-28 23:42:22 +01:00
Kamal Bennani
bbfb2418a5
Move functions that deals with stages to the mongoose relation file 2018-10-28 23:42:21 +01:00