33691 Commits

Author SHA1 Message Date
Alexandre Bodin
eec7d04b20 Fix policy tests after prefix renaming
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-11 10:06:17 +01:00
Alexandre Bodin
49b6a44078 Fix lint
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:40:13 +01:00
Alexandre Bodin
628b2e54e6 Refactor graphql plugin structure
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:40 +01:00
Alexandre Bodin
76393d860b Clean Resolver buildShadowCRUD
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:40 +01:00
Alexandre Bodin
49f0fdad8c Refactor schema definition language utils
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:40 +01:00
Alexandre Bodin
f1cbc014da Cleanup old graphql code
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:39 +01:00
Alexandre Bodin
3ce852af61 User :: in policies prefix and update documentation accordingly
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:39 +01:00
Alexandre Bodin
04476e32a6 Cleanup graphql
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:39 +01:00
Alexandre Bodin
3f5f839b4c Build mutation and resolves in shadowCrud and then only build the missing ones
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:38 +01:00
Alexandre Bodin
7e6c23d0b7 Init cleanup graphql
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:38 +01:00
Alexandre Bodin
900cec28f4 Change mutaion definition for single types
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:37 +01:00
Alexandre Bodin
0285c7bd96 Add metadatas to resolvers to know where they are created
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:37 +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
c0bf015eb6 Refactor core api and add tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:36 +01:00
Alexandre Bodin
0a1d7c77db Add tests for CORE api single-types
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:36 +01:00
Alexandre Bodin
dbca2ef5d9 Add ctb tests for single type relation diff
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:35 +01:00
Alexandre Bodin
c02625e438 Split graphql schema generator code
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:35 +01:00
Alexandre Bodin
44b7ab6858 Add some basic testing on new functions
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:35 +01:00
Alexandre Bodin
023bda1f9e Generate single query for single type and update core api service
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:34 +01:00
Alexandre Bodin
f20f609324 Clean aggregation schema
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:10 +01:00
Alexandre Bodin
e4a028f664 More refactoring
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:10 +01:00
Alexandre Bodin
2cbaecaa4d use mergeSchemas fucntion to keep code cleaner
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:09 +01:00
Alexandre Bodin
b06e6d5c93 Refactor graphql plugin
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:09 +01:00
Alexandre Bodin
a598df1f43 Create singleType ctrl and service functions
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:37:17 +01:00
Alexandre Bodin
0b59bd61f6 Refactor policy util and error handling
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:37:16 +01:00
Alexandre Bodin
b414d213f2 Move core api creating in it s own module
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:37:16 +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
Jim LAURIE
9c68285594
Merge pull request #5205 from bartduisters/patch-1
Grammar + corrections of the three first sections
2020-02-10 17:26:54 +01:00
Jim LAURIE
acfcd68e2a
Merge branch 'master' into patch-1 2020-02-10 17:25:53 +01:00
Jim LAURIE
608bd9f426
Merge pull request #5021 from strapi/doc/plugin-development
Add plugin development doc
2020-02-10 17:18:26 +01:00
Jim LAURIE
befdbc8631
Merge branch 'master' into doc/plugin-development 2020-02-10 17:18:02 +01:00
Jim LAURIE
032f98a567
Merge pull request #5208 from cotyhamilton/patch-1
Fix typos in third party client doc
2020-02-10 15:57:58 +01:00
Jim LAURIE
f6826032fe
Merge branch 'master' into patch-1 2020-02-10 15:57:51 +01:00
Alexandre BODIN
c88cc6be95
Merge pull request #5217 from strapi/feat-expose-mongoose-connection
Expose mongoose connections
2020-02-10 15:53:07 +01:00
soupette
30fba6d3fe Remove saga from Main container
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-02-10 15:27:49 +01:00
Jim LAURIE
489d2e33fd feat: expose mongoose connections
Signed-off-by: Jim LAURIE <j.laurie6993@gmail.com>
2020-02-10 15:09:59 +01:00
Jim LAURIE
f21d36c324 first steps for the new doc 2020-02-10 14:21:18 +01:00
Jim LAURIE
0f64aec794
Merge pull request #5079 from strapi/fix/self-referencing-many-way
Create realted_col for self referencing many ways
2020-02-10 14:14:31 +01:00
cyril lopez
85d0fd093e Merge pull request #5198 from strapi/fix/displayed-date
Improve filter for date types
2020-02-10 11:22:08 +01:00
cyril lopez
722e7a192d Merge pull request #5201 from strapi/fix/#3914
Fixes #3914
2020-02-10 10:40:03 +01:00
soupette
b86b584539 Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-02-10 10:24:12 +01:00
Alexandre BODIN
c52966f4e1 Merge branch 'master' into fix/self-referencing-many-way 2020-02-10 09:02:47 +01:00
Coty
27ca0841b3 [Docs] Fix typos in third party client doc
Signed-off-by: Coty <cotyhamilton@gmail.com>
2020-02-08 23:41:44 -06:00
Bart Duisters
7c3e869e2e
Merge branch 'master' into patch-1 2020-02-08 20:03:38 +01:00
Bart Duisters
74b0d5a951 Fix merge conflicts 2020-02-08 20:02:08 +01:00
Bart Duisters
76caff32db Grammar and punctuation of webhooks.md
Signed-off-by: Bart Duisters <bartduisters@bartduisters.com>
2020-02-08 19:58:12 +01:00
Bart Duisters
b5d5fb47b4 Grammar and punctuation of plugins.md
Signed-off-by: Bart Duisters <bartduisters@bartduisters.com>
2020-02-08 19:58:12 +01:00
Bart Duisters
22df0d85a1 Grammar and punctuation of logging.md
Signed-off-by: Bart Duisters <bartduisters@bartduisters.com>
2020-02-08 19:58:12 +01:00
Bart Duisters
e18408d4ba Grammar and punctuation of middlewares.md
Signed-off-by: Bart Duisters <bartduisters@bartduisters.com>
2020-02-08 19:58:12 +01:00