6310 Commits

Author SHA1 Message Date
Aurélien Georget
9e0faf9b5c Fix deleteUser mutation for Mongoose and Bookshelf 2018-11-27 14:54:34 +01:00
Aurélien Georget
143f92a338 Follow generated GraphQL input to return data 2018-11-26 18:32:35 +01:00
Aurélien Georget
6fd3319f18 Generate different input for edit mutation 2018-11-26 17:36:49 +01:00
Aurelsicoko
4e23e872ed Support one-to-one relationship with DataLoader 2018-11-23 17:46:43 +01:00
Aurelsicoko
639c635885 Use the PK of referring model as an alias 2018-11-23 17:33:41 +01:00
Aurelsicoko
bdc9b4b0d8 Handle oneToMany relationship 2018-11-22 19:57:26 +01:00
Aurelsicoko
21d21dfc8f Handle single fetch & allow override of default auto-population 2018-11-22 18:32:33 +01:00
Aurelsicoko
f833622e19 Filter undefined results 2018-11-22 17:33:51 +01:00
Aurelsicoko
0074ca6304 Refactoring loaders and put logic in a different file 2018-11-22 16:40:52 +01:00
Aurelsicoko
402d1fb4b6 Map result to retrieve data from loaders 2018-11-21 19:37:19 +01:00
Aurelsicoko
4320614721 Merge branch 'master' of github.com:strapi/strapi into issue/2228 2018-11-20 16:31:26 +01:00
Jim LAURIE
7574e1762a
Merge pull request #2340 from josephdburdick/patch-1
Rephrase "NoSQL databases only" models note
2018-11-20 14:47:26 +01:00
Jim LAURIE
855b282e0d
Merge branch 'master' into patch-1 2018-11-20 14:47:15 +01:00
Jim LAURIE
e2e0db000b
Merge pull request #1963 from marcellovetro/master
Fixed SelectMany Dropdown Input search Ajax Call on search
2018-11-20 12:09:33 +01:00
Joe
5da0f28515
Update models.md
Rephrase "NoSQL databases only" note to improve sentence structure.
2018-11-20 00:12:57 -05:00
Marcello
5eed701b22
Placed handleInputChange after getOptions
Refactoring for continuous-integration build error
2018-11-19 19:07:17 +01:00
Aurelsicoko
a30c7844a9 Generate generic dataloader for manyToMany relationships 2018-11-19 16:58:16 +01:00
cyril lopez
958f4f7516
Merge branch 'master' into master 2018-11-19 15:00:44 +01:00
Jim LAURIE
b16fd8c452
Merge pull request #2318 from strapi/fix/2238
Fix manyToOne association results for GraphQL
2018-11-18 15:04:19 +01:00
Jim LAURIE
5902904c4e
Merge branch 'master' into fix/2238 2018-11-18 15:04:12 +01:00
Jim LAURIE
ec1e788469
Merge pull request #2316 from strapi/fix/manyToMany
Allow array of IDs to manage relations through generated API
2018-11-18 14:16:36 +01:00
Jim LAURIE
6053e10ffc
Merge branch 'master' into fix/manyToMany 2018-11-18 14:16:23 +01:00
Jim LAURIE
c03f6f92ac
Merge pull request #2320 from maturanomx/refactor/codeQuality
Refactor code quality
2018-11-18 13:31:26 +01:00
Jim LAURIE
e7bd84a1e8
Merge branch 'master' into refactor/codeQuality 2018-11-18 13:30:49 +01:00
Jim LAURIE
83f8ff0e51
Merge pull request #2302 from dalirnet/master
Update template for lifecycle callback
2018-11-17 14:01:16 +01:00
Amir Reza Dalir
9e4d5abbff
Merge pull request #1 from dalirnet/develop
Develop
2018-11-17 16:18:02 +03:30
Jim LAURIE
0164b854fd
Merge branch 'master' into master 2018-11-17 13:34:58 +01:00
Jim LAURIE
1d17a43d61
Merge pull request #2329 from BrandonS8/patch-1
Gender neutral terms
2018-11-17 13:30:17 +01:00
Brandon Sears
60a36fae56
Gender neutral terms
Change "his/he" when referring to a user to "their/they"
2018-11-16 15:42:46 -05:00
Aurelsicoko
3d7dacef70 Apply options on Mongoose instance 2018-11-16 15:53:00 +01:00
Jim LAURIE
38da18aec5
Merge pull request #2305 from maturanomx/style/spanishTranslation
Update ES translations
2018-11-16 11:36:16 +01:00
Jim LAURIE
eb6d0aa06b
Merge branch 'master' into style/spanishTranslation 2018-11-16 11:36:06 +01:00
Jim LAURIE
578af4e698
Merge pull request #2169 from strapi/update-providers-names
Prefix providers
2018-11-16 10:30:12 +01:00
Jim LAURIE
11d192b9ad Fix version conflicts 2018-11-16 10:25:51 +01:00
Amir Reza Dalir
5489dd6338
JSON format fix 2018-11-16 01:39:55 +03:30
Alberto Maturano
f87da6631f refactor: Remove never executed conditional part
Also, the variable should be array type, not numeric...
2018-11-15 15:56:03 -06:00
Amir Reza Dalir
b15e54a0b0
Added flag of Iran 2018-11-16 01:24:15 +03:30
Alberto Maturano
8fcbb1978f refactor: Fix misuse of map method
`map` should create a new Array so a `return` is expected inside the
callback param. `forEach` is the corrent method to use for just iterate
over array elements.
2018-11-15 15:51:23 -06:00
Amir Reza Dalir
599f525f13
Add fa language 2018-11-16 00:56:59 +03:30
Amir Reza Dalir
e9301725f1
Add FA translations
add Persian(fa) translations
2018-11-16 00:51:31 +03:30
Jim LAURIE
e539938743
Merge pull request #2283 from derrickmehaffy/frTemplate
Add Product board to Feature Request Template
2018-11-15 22:18:14 +01:00
Jim LAURIE
64ce114948
Merge branch 'master' into frTemplate 2018-11-15 22:18:07 +01:00
Aurelsicoko
e28b69092d Use primaryKey to associate correct related entry in manyToOne association 2018-11-15 17:47:17 +01:00
Aurelsicoko
0eeb20e313 Merge branch 'master' of github.com:strapi/strapi into fix/manyToMany 2018-11-15 16:25:55 +01:00
Aurelsicoko
d4a94b363e Merge branch 'fix/manyToMany' of github.com:g-div/strapi into fix/manyToMany 2018-11-15 16:24:00 +01:00
Aurelsicoko
8fc9d01b46 Fix manyToMany relation when only sending ids 2018-11-15 16:22:13 +01:00
Jim LAURIE
30782638e4
Merge pull request #2313 from maturanomx/refactor/codeQuality
Corrects conditional management plugin host
2018-11-15 15:18:27 +01:00
Alberto Maturano
86cbd0c1b3 refactor: Remove unused variable 2018-11-14 19:51:05 -06:00
Alberto Maturano
141a7dd58d refactor: Corrects conditional management
The original implementation throws and runtime error if the `host` is
not defined making the conditional uselees.

Using a try/catch block is the correct implementation of the original
intention.
2018-11-14 18:28:05 -06:00
Alberto Maturano
90fba032d4 style: Improves spanish translation
issue #1621
2018-11-13 16:02:25 -06:00