113 Commits

Author SHA1 Message Date
Pierre Noël
ff1fbcdfba small refacto
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-20 16:44:25 +01:00
Pierre Noël
5ffe33c530 fix manyWay deep filtering when the relation is self
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-20 13:18:51 +01:00
Alexandre Bodin
c8de166051 Add deleteRelations logic in connectors
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-20 11:04:23 +01:00
Alexandre Bodin
0c395eef7e Support order bookshelf
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-20 11:04:23 +01:00
Alexandre Bodin
df14b08618 Add file ordering
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-20 11:04:22 +01:00
Alexandre Bodin
3187c08087 Fix uploadTopEntity and delete file relations on fie delete
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-20 11:04:22 +01:00
Alexandre Bodin
ed2b973b99 Merge branch 'develop' into features/media-lib 2020-03-20 11:04:10 +01:00
Pierre Noël
8aa50cd80c Fix deep filtering for manyWay
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-18 17:15:24 +01:00
Pierre Noël
c3f011ddba Merge branch 'master' into fix/#4556/nullWhenRequiringAComponentInRelationGraphQl
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-16 15:49:59 +01:00
Pierre Noël
9990759dd5 always populate with components
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-16 15:43:03 +01:00
Alexandre Bodin
243085dae1 Merge branch 'develop' into features/media-lib 2020-03-13 15:40:11 +01:00
Pierre Noël
65a3e83ee3 Change error message when bookshelf db connection fails at start
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-13 12:20:06 +01:00
soupette
f99f83af02 Merge branch 'develop' of github.com:strapi/strapi into features/media-lib 2020-03-13 11:04:45 +01:00
Pierre Noël
a1774db410 return null instead of promise
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-09 17:22:36 +01:00
Pierre Noël
b5f9795dbc small refacto of findOne + fix deleteMany of connector-mongoose
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>

Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-09 12:09:43 +01:00
Pierre Noël
b5ec9cb1c8 handle unexpected params from koa-router
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>

Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-06 19:16:51 +01:00
Pierre Noël
c0d9dd26d1 Fix findOne with PK as one of the params
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-06 09:08:20 +01:00
soupette
d6bc4e1941 Fix conflicts
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-04 14:52:29 +01:00
HichamELBSI
b5947621fc Merge branch 'master' into develop 2020-03-04 09:32:13 +01:00
Derrick Mehaffy
cd87f0ed22
Fix enumeration on SQL databases
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-03-02 07:30:33 -07:00
Alexandre Bodin
7a8c865051 Merge branch 'develop' into features/media-lib
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-02 15:18:08 +01:00
Alexandre Bodin
3b41eb6230 Add uid type to bookshelf column generator and init tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-13 11:36:26 +01:00
Alexandre Bodin
9012e7a0ca Add UID in CTB validators
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-12 09:06:38 +01:00
Alexandre Bodin
de9521ce6b Merge branch 'develop' into features/single-types
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:09:50 +01:00
Alexandre Bodin
8a970562c9 Merge branch 'master' into develop
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 19:15:20 +01:00
Alexandre Bodin
e8f5d46d06 Create realted_col for self referencing many ways
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-01-23 23:34:28 +01:00
Alexandre Bodin
4f039b2df8 Clean lint
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-01-17 10:43:17 +01:00
Veit Bjarsch
31e6d08b66 fixed entry deletion if params contains associations 2020-01-06 02:29:47 +01:00
Jim LAURIE
91c15a8e5c Merge branch 'master' of github.com:strapi/strapi into pr/4723 2020-01-02 14:00:44 +01:00
Alexandre Bodin
d45b350013 Add morph rel on populate compo relation 2019-12-23 10:45:34 +01:00
Alexandre Bodin
cfe625f90e Add polymorphic relation to bare populates 2019-12-17 09:11:49 +01:00
Alexandre Bodin
90db5092b4 populate bare associations to avoid circular populating 2019-12-16 14:10:20 +01:00
Alexandre Bodin
6120c645e3 Fix fk name too long 2019-12-13 11:50:14 +01:00
Alexandre Bodin
46ec41356f Do not run bookshelf populate on non existing model 2019-12-12 15:45:47 +01:00
Alexandre Bodin
b5cceb8760 Cleanup graphql and use model uids 2019-12-10 17:24:55 +01:00
Alexandre Bodin
9b5bc9c367 Fix manyWay deep filtering 2019-12-10 17:24:25 +01:00
Alexandre Bodin
2fa574b061 Fix isComponent on null attributes 2019-12-09 14:01:11 +01:00
Alexandre Bodin
c5d57b32fe Merge branch 'develop' into features/dynamic-zones 2019-12-09 11:48:46 +01:00
Alexandre Bodin
fb5b770ce5 Merge branch 'master' into develop 2019-12-09 10:39:30 +01:00
Alexandre Bodin
7008a8aca4 Check table exists for sqlite3 alter datetime 2019-12-06 12:31:53 +01:00
Alexandre Bodin
1c229e24d7 Add time precision to allow up to 3 fractional digits 2019-12-05 16:00:39 +01:00
Alexandre Bodin
f55e1f704b Do not parse date types 2019-12-05 12:29:24 +01:00
Alexandre Bodin
dd072c40c3 Refactor column creation to use plain knex schema builder 2019-12-05 11:37:07 +01:00
Alexandre Bodin
909266232f Add tests on datetime 2019-12-04 18:49:47 +01:00
Alexandre Bodin
06b0cc22c8 parse date types 2019-12-04 17:49:13 +01:00
Alexandre Bodin
4c784318d8 Handle time type 2019-12-04 17:49:13 +01:00
Alexandre Bodin
95c7a515d7 Split parser and formatter in specific files 2019-12-04 17:49:13 +01:00
Alexandre Bodin
2dbad3fcde Init date type splitting 2019-12-04 17:49:12 +01:00
Alexandre Bodin
399b84451d Edit relations logic with key kept in place 2019-11-21 20:34:05 +01:00
Alexandre Bodin
49e270a7f6 Support uid for content types 2019-11-15 09:50:58 +01:00