22 Commits

Author SHA1 Message Date
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
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
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