60 Commits

Author SHA1 Message Date
Anthony Guimard
73fb19ca0f Update isNumeric function with Object type check.
Fix false positive of isNumeric function in order to allow
where query on nested object in graphql.
2018-09-15 23:16:20 -04:00
David Thomas
c785248b2c Fix removal of the filter keyword for field type comparison 2018-07-13 19:25:40 -04:00
David Thomas
422530ceed Update fieldType comparison operator to strict 2018-07-13 18:00:47 -04:00
David Thomas
6143c3e1ca Skip number conversion on string fields
Fixes #1524
2018-07-08 09:50:48 -04:00
Jim LAURIE
f6f077a996 Review app start logs 2018-06-22 16:28:54 +02:00
Jim LAURIE
684a90ca56
Merge branch 'master' into bug/graphql-do-not-formatted-values-of-type-object 2018-06-19 16:28:56 +02:00
Kamal Bennani
cd53ef5ddf
correctly determines if a value is valid candidate to become a number 2018-06-17 23:34:25 +02:00
Kamal Bennani
ec1872b031
Do not format value of type array and object because it will turn to zero 2018-06-08 02:37:24 +02:00
soupette
a7411bbd9d Fix conflicts in Strapi.js 2018-06-05 19:12:25 +02:00
soupette
8832a5baab Delete many and update relations
Co-authored-by aurelsicoko@gmail.com
2018-06-05 18:35:19 +02:00
Cyril lopez
cb895ab586 Fix PR feedback 2018-06-04 17:46:08 +02:00
soupette
b559f62e25 Fix boolean filters for mysql 2018-05-31 15:06:20 +02:00
soupette
48514fa8c4 Fix strapi utils convert params function 2018-05-25 15:57:07 +02:00
soupette
3847fd8c67 Fix filter for decimal 2018-05-25 13:21:57 +02:00
Jim Laurie
4fe7b6176e Fix conflicts & lint 2018-05-16 12:07:02 +02:00
Aurelsicoko
49c61d2ca5 Rework one-to-one business logic and use getValuePrimaryKey util with Mongoose 2018-05-10 12:19:33 +02:00
Jim LAURIE
c09f5138a2
Merge branch 'master' into eslint 2018-05-07 16:03:35 +02:00
soupette
942be55c8d Add eslint to strapi-utils 2018-05-03 18:13:22 +02:00
Aurelsicoko
e9202c7a24 Fix loosing of morph relations on update in CM with Bookshelf 2018-05-02 17:52:23 +02:00
Jim LAURIE
d92bd283b6
Merge branch 'master' into fix-sort-default 2018-05-01 11:50:13 +02:00
Jim Laurie
ba16a0b7c5 Set asc as default 2018-04-30 17:48:43 +02:00
Jim Laurie
596adb5f61 Fix 1059 2018-04-30 17:14:13 +02:00
Aurelsicoko
78234fab61 Support contains sensitive filter and fix Bookshelf queries 2018-04-10 18:54:01 +02:00
Aurelsicoko
66b75801c7 Add contains query and be able to disabled specific query 2018-04-03 11:30:39 +02:00
Aurelsicoko
ab108a6f93 Create & handle association between File upload and others models 2018-02-27 11:52:18 +01:00
Aurelsicoko
fb549945a1 Fix oneToMany relationship 2018-02-26 14:39:06 +01:00
Aurelsicoko
e63a1f19fc Handle empty relationships on morph side 2018-02-26 11:12:49 +01:00
Aurelsicoko
1e8272b80f Handle new syntax for polymorphic in strapi-mongoose 2018-02-22 16:08:11 +01:00
Aurelsicoko
946f0f17b3 Enhance polymorphic syntax 2018-02-22 15:34:33 +01:00
Aurelsicoko
26c10cddd0 Handle morphToOne and morphToMany verbose 2018-02-21 17:33:30 +01:00
Aurelsicoko
dc75b51d6f [WIP] Polymorphic associations with Bookshelf 2018-02-20 19:59:05 +01:00
Aurelsicoko
46ff89e404 Make polymorphic associations possible 2018-02-12 18:54:34 +01:00
Aurelsicoko
824567de0d [WIP] Polymorphic assocations 2018-02-09 10:43:09 +01:00
Aurelsicoko
92c891e341 Improve error when association fail and handle configurable key in models 2017-12-16 18:26:04 +01:00
Aurelsicoko
0230184619 Apply same algorithm to clearRelation method 2017-12-15 18:04:56 +01:00
Aurelsicoko
8db92c22fd Split Content-Manager logic into service & allow CRUD and associations w/ plugin's models w/ Mongoose 2017-12-11 18:23:15 +01:00
Aurelsicoko
bf8b434f4b Allow relation with plugin's models 2017-12-11 12:29:05 +01:00
cyril lopez
f3184590d7 Fix typo 2017-12-07 14:35:35 +01:00
Jim Laurie
a0af2cdd4c Fix PR feedback 2017-11-20 14:35:24 +01:00
Jim Laurie
45da41ce11 Update user generated API 2017-11-17 12:05:03 +01:00
Jim Laurie
8b8115bac1 Merge branch 'alpha.7' of https://github.com/strapi/strapi into alpha.7 2017-11-03 12:13:20 +01:00
Jim Laurie
3d9a509789 Handle relation by id mongoose 2017-10-25 16:24:35 +02:00
Aurelsicoko
90e2993e0d Fix Content-Manager relations management 2017-10-23 17:07:57 +02:00
Jim Laurie
6abfea789e Fix get nature 2017-10-23 10:51:11 +02:00
Pierre Burgy
f4a25e5c78 Improve errors handling 2017-10-10 15:15:17 +02:00
Pierre Burgy
05b2301c0b Minor syntax improvements 2017-10-10 15:14:20 +02:00
Jim Laurie
7bd5f1021e Fix conflicts 2017-09-28 13:18:36 +02:00
Aurelsicoko
51d936b559 Resolve conflicts 2017-09-25 18:28:45 +02:00
Aurelsicoko
eef2d3d96e Handle relationships edition for Bookshelf 2017-09-14 18:47:10 +02:00
Jim Laurie
4a18fe6b13 Add bookshelf filters 2017-09-13 12:18:54 +02:00