Alexandre BODIN
e53b54c218
Support query operators _or & _where in graphql with deep nesting ( #8332 )
...
* SUpport query operators _or _where in graphql with deep nesting
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
* Add testing for complexe graphql queries
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-15 13:22:40 +02:00
François de Metz
645c0b8cf4
Implement deleteFile graphql mutation ( #5292 ). ( #7937 )
...
* Implement deleteFile graphql mutation (#5292 ).
Signed-off-by: François de Metz <francois@2metz.fr>
* Test if the file exist before removing it.
Signed-off-by: François de Metz <francois@2metz.fr>
* Fix a typo.
Signed-off-by: François de Metz <francois@2metz.fr>
2020-10-05 11:34:15 +02:00
Jean-Sébastien Herbaux
e55ea1d6b5
Hide creator fields from public api by default ( #8052 )
...
* Add model option to hide/show creators fields in public API response
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Add content-types util, rework sanitize-entity's private handling
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Update search e2e tests, fix an issue on empty search for the core-api controller (find)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix GraphQL plugin (handle privates attributes on typeDefs + resolver builds)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix sanitizeEntity import
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Move doc update from beta to stable
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix e2e test
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix pr comments
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Remove creator's field from upload controller routes
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix typedef build for graphql association
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix pr (comments + several issues)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Add tests for search behavior in content-manager
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Rename files variables to meaningful names (upload controllers)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix test with search id matching serialNumber
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
* Add toHasBeenCalledWith check for config.get (utils/content-types.test.js)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-01 17:47:08 +02:00
soupette
fb6010369a
Fix conflicts
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-08-26 10:38:54 +02:00
Daan van Ham
e933c28012
fixed strapi/strapi#7334 add the data-loader for admin users to the graphql-plugin
...
Signed-off-by: Daan van Ham <daan.van.ham@frontmen.nl>
2020-08-07 15:50:16 +02:00
Alexandre Bodin
ed2b973b99
Merge branch 'develop' into features/media-lib
2020-03-20 11:04:10 +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
1227bfeba4
add possibility to set a relation "private"
...
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-13 12:23:11 +01: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
0c6d39297f
Add graphql tests for single-types
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:37 +01:00
Alexandre Bodin
721ad15633
Init dz tests
2019-12-13 10:43:38 +01:00
Alexandre Bodin
ab51bbebe4
Fix tests
2019-11-14 16:37:57 +01:00
Alexandre Bodin
57315af263
Test graphql delete returns the entity
2019-08-23 14:15:24 +02:00
Alexandre Bodin
8e8433662b
rename wysiwyg type to richtext for future plans
2019-07-29 18:05:18 +02:00
Alexandre Bodin
1dea89ca8f
Support type wysiwyg instead of appearance param
2019-07-23 13:36:06 +02:00
Alexandre Bodin
da5d02fb7c
Merge branch 'master' into develop
2019-07-18 19:28:52 +02:00
Javier Castro
83d0bc0978
feat: add _null operator
2019-07-05 10:45:14 -03:00
Alexandre Bodin
c3001c00ff
Proper testing of lists without order
2019-05-13 14:00:13 +02:00
Alexandre Bodin
a2bfb52344
Refactor testing, add simple crud tests
2019-05-13 14:00:12 +02:00
Alexandre Bodin
9e60be6fb0
clean model creationg during tests
2019-05-13 14:00:12 +02:00
cyril lopez
8e80edc47c
Merge branch 'master' into front/admin-new-hook-architecture
2019-04-12 18:43:59 +02:00
soupette
d7bf1d0c4f
Fix e2e tests
2019-04-10 14:32:59 +02:00
soupette
1544cdf877
Fix PR feedback
2019-04-09 18:35:49 +02:00
DMehaffy
d1fd29fbdb
one more
2019-04-05 09:41:44 -07:00
DMehaffy
246fa553da
remove _in test
2019-04-05 08:15:33 -07:00
DMehaffy
f92f76dd59
I have no idea if this is right
2019-04-05 07:45:56 -07:00
Alexandre Bodin
b08c5bf3d2
Fix relation bug
2019-03-28 23:04:23 +01:00
Alexandre Bodin
e435201de4
Move basic type cast to the root buildQuery in strapi-utils
2019-03-28 17:12:43 +01:00
Alexandre Bodin
b93b4e105d
Cleanup tests
2019-03-28 15:10:32 +01:00
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
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
0c5b255e75
Fix graphql loaders and add some e2e graphql tests
2019-03-25 16:37:46 +01:00