Pierre Noël
22d38b5ffc
handle toggle i18n on CT and fields
2021-02-12 16:17:33 +01:00
Alexandre BODIN
2b342ec69d
Merge pull request #9282 from strapi/i18n/refacto-plugin-options
...
Refacto with pluginsOptions
2021-02-10 17:33:14 +01:00
Pierre Noël
b3a9b5ad76
add pluginOptions
2021-02-10 14:29:54 +01:00
Alexandre BODIN
6ae0e48e1d
Merge pull request #9326 from strapi/i18n/ability-to-set-default-locale
...
I18n/ability to set default locale
2021-02-10 09:42:50 +01:00
Pierre Noël
2c4ca2f031
add getDefaultLocale
2021-02-09 15:49:42 +01:00
Alexandre BODIN
b7cb2699c7
Merge pull request #9327 from strapi/i18n/add-prefered-language
...
add preferedLanguage
2021-02-09 13:36:28 +01:00
Pierre Noël
8f1740c5ea
refacto
2021-02-09 11:36:28 +01:00
Pierre Noël
3117b169dd
move setDefaultLocale to controllers
2021-02-08 15:42:38 +01:00
Pierre Noël
ce3482025a
add preferedLanguage
2021-02-08 15:03:12 +01:00
Pierre Noël
904daa48df
update locale doc
2021-02-05 15:46:00 +01:00
Pierre Noël
b642b14ffa
Set default locale
2021-02-05 15:39:11 +01:00
Alexandre BODIN
f7ce5b04fc
Merge pull request #9235 from strapi/i18n/select-locale
...
I18n/select locale
2021-02-02 16:16:59 +01:00
Pierre Noël
2f4f066af3
refacto controllers
2021-02-02 11:33:17 +01:00
Pierre Noël
24e1d979a7
update tests
2021-02-02 11:30:24 +01:00
Pierre Noël
291aeb07bc
add read/create/update route for locales
2021-01-29 10:12:34 +01:00
Pierre Noël
2c5e3d7872
add get iso-locales route
2021-01-29 10:12:34 +01:00
Pierre Noël
b0bf427ac4
Merge branch 'master' into features/i18n
2021-01-29 10:11:52 +01:00
ELABBASSI Hicham
454f666b11
Merge pull request #9237 from strapi/fix/9236
...
Fix regex validation
2021-01-29 09:59:58 +01:00
cyril lopez
0b55c84d9f
Merge branch 'master' into fix/9236
2021-01-29 09:05:17 +01:00
Ben LeFevre
fd42889083
strapi-plugin-upload: Read responsive breakpoints from config ( #9002 )
...
* Read responsive breakpoints from config
* Move strapi.config.get into function
2021-01-28 17:31:09 +01:00
Jorrit Schippers
175422d760
Update .npmignore files ( #8865 )
...
Add .editorconfig, .snyk, __tests__, jest.config.js
Remove .npmignore and .gitignore from admin subdirectories
Signed-off-by: Jorrit Schippers <jorrit@ncode.nl>
2021-01-28 16:57:29 +01:00
cyril lopez
3c05702085
Merge pull request #9247 from strapi/fix/snapshots
...
Fix snapshots
2021-01-28 16:18:23 +01:00
soupette
7e0d50c6da
Fix snapshots
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-01-28 11:55:46 +01:00
Alexandre Bodin
5524d72396
Merge branch 'master' into features/i18n
2021-01-28 11:35:17 +01:00
Alexandre Bodin
fd6771315d
add i18n plugin to testApp
2021-01-28 11:31:10 +01:00
Bobby Glidwell
b77b0644b9
add support for actionOptions for provider upload and delete functions ( #9219 )
...
* add config.options to upload and delete functions
Supports options object in providerOptions which can contain any cloudinary upload/delete options
* add actionOptions to upload object and createProvider function
used to initialize upload/delete custom options which can be passed to a provider's upload/delete function
* Update README.md
added actionOptions description with link to available cloudinary upload/delete options
* wrapFunctionForErrors for upload and delete
* make actionOptions {} by default
2021-01-28 11:24:11 +01:00
dependabot[bot]
e7894779ce
Bump react-select from 3.2.0 to 4.0.2 ( #9244 )
...
Bumps [react-select](https://github.com/JedWatson/react-select ) from 3.2.0 to 4.0.2.
- [Release notes](https://github.com/JedWatson/react-select/releases )
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@3.2.0...react-select@4.0.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-28 09:50:17 +01:00
soupette
47edbcbfb0
Fixes #9236
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-01-27 15:42:18 +01:00
Jorrit Schippers
3f63902d4b
Use https:// in package.json and README.md files ( #9227 )
...
Signed-off-by: Jorrit Schippers <jorrit@ncode.nl>
2021-01-26 17:06:25 +01:00
Alexandre BODIN
d023624c98
Merge pull request #9216 from strapi/i18n/init-permissions
...
Add locale crud permissions
2021-01-26 12:07:37 +01:00
Alexandre Bodin
4f9cc8a22c
v3.4.5
v3.4.5
2021-01-26 11:59:47 +01:00
cyril lopez
8b39f5ac05
Fixes #9180 ( #9204 )
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-01-26 11:09:49 +01:00
Alexandre BODIN
54af039f17
Fix is-creator condition not applied on find ( #9213 )
...
* Fix is-creator condition not applied on find
* Add test
2021-01-26 10:18:43 +01:00
Alexandre Bodin
cd01ef0234
Add snapshot to permissions registration
2021-01-26 09:18:13 +01:00
Alexandre Bodin
ff6127a21f
Add locale crud permissions
2021-01-25 20:58:33 +01:00
Bartek Igielski
3f1fa39ccb
Prevent returning optimized image if it's larger than original ( #9214 )
...
* Prevent returning optimized image if it's larger than orginal
* Move size checking inside promisse
2021-01-25 18:21:44 +01:00
Pierre Noël
387ded4a99
Fix relation search ( #9156 )
...
* add params to relation route to omit existing relations
* small refacto
* use omit approach
* Fix relation select (Front)
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
* Fix relation select review
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
* update doc aos + remove useless cast to string
Co-authored-by: HichamELBSI <elabbassih@gmail.com>
2021-01-25 17:58:18 +01:00
Marvin Frachet
7d19888fdd
Add webpack bundle analyzer in admin ( #9205 )
2021-01-25 14:37:57 +01:00
Jozef Cipa
808b2a464f
Handle duplicate entry error ( #8367 )
...
* Handle duplicate entry error message in bookshelf connector
Signed-off-by: jozefcipa <jozef.cipa@strv.com>
* Handle duplicate error message in mongoose connector
Signed-off-by: jozefcipa <jozef.cipa@strv.com>
* Apply changes from review
* Fix wrapping transactions in bookshelf adapter
* Add missing await to wrapErrors
* Call findOne without this
2021-01-25 14:03:48 +01:00
ELABBASSI Hicham
926861e12d
Bump immer version (Security issue) ( #9179 )
...
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2021-01-25 11:46:04 +01:00
Quentin Dauprat
de33136264
feat(users-permissions): Add Auth0 provider ( #8362 )
...
* feat(users-permissions): Add Auth0 provider
Signed-off-by: Heziode <heziode@protonmail.com>
* fix(users-permissions): update path to providers settings
Update path due to change in U&P path in v3.1.5
Signed-off-by: Heziode <heziode@protonmail.com>
2021-01-25 09:09:45 +01:00
Robin Louis van Komen
2288b43e8b
add danish translations to some packages ( #8353 )
...
* add danish translations to some packages
* make sure that danish has a native language name
* add missing danish translations for draft/publish system
2021-01-25 09:07:55 +01:00
Zeranoe
2900584be5
Add reddit auth provider ( #8537 )
...
Signed-off-by: Kyle Schwarz <zeranoe@gmail.com>
2021-01-22 19:24:33 +01:00
GOTO Hayato
8324bd498e
Update strapi-admin Japanese translation ( #9074 )
2021-01-22 19:14:37 +01:00
pimsomeday
5d5ed0890b
Fix/8754 disable graphql queries other than crud ( #9131 )
...
* removes disabled resolvers from definitions
* cleanup
* fix empty query or mutation in schema
* filters disabled resolvers using graphql-tools
* returns generated schema directly
* return complete schema
* use lodash to get resolver
* uses printSchema from graphql
2021-01-22 19:06:04 +01:00
Alexandre BODIN
37361fca4c
Merge pull request #9192 from strapi/i18n/init-plugin-without-split
...
init i18n plugin
2021-01-22 18:32:11 +01:00
Pierre Noël
3729f69e08
init i18n plugin
2021-01-22 17:57:15 +01:00
dependabot[bot]
91ab78b620
Bump enzyme-adapter-react-16 from 1.15.5 to 1.15.6 ( #9181 )
...
Bumps [enzyme-adapter-react-16](https://github.com/enzymejs/enzyme/tree/HEAD/packages/enzyme-adapter-react-16 ) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/enzymejs/enzyme/releases )
- [Changelog](https://github.com/enzymejs/enzyme/blob/master/CHANGELOG.md )
- [Commits](https://github.com/enzymejs/enzyme/commits/enzyme-adapter-react-16@1.15.6/packages/enzyme-adapter-react-16 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-22 09:18:24 +01:00
dependabot[bot]
75cd8c4812
Bump is-valid-domain from 0.0.15 to 0.0.17 ( #9182 )
...
Bumps [is-valid-domain](https://github.com/miguelmota/is-valid-domain ) from 0.0.15 to 0.0.17.
- [Release notes](https://github.com/miguelmota/is-valid-domain/releases )
- [Commits](https://github.com/miguelmota/is-valid-domain/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-22 09:17:17 +01:00
Darron Park
09e0be0a92
[Rebased] Accept info fields when uploading file through GraphQL ( #9172 )
...
* Accept info fields when uploading file through GraphQL #8493
* Add test for graphql upload with info
* Fix lint error on graphql upload test
* Update graphql upload test code
* Remove unused graphql upload test code
* Prevent null value on file info
2021-01-21 15:18:45 +01:00