17027 Commits

Author SHA1 Message Date
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
HichamELBSI
5113ed40af Fix CTB reducers tests
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2021-01-25 17:54:26 +01:00
HichamELBSI
4a3d5de3f3 Merge branch 'chore/ctb' into ctb/redux 2021-01-25 17:27:31 +01:00
HichamELBSI
c4131b07e5 Undo FormModal reducer to create the error
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2021-01-25 16:21:41 +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
7362353e83
Merge pull request #9210 from strapi/core/admin-middleware-api
Middleware API
2021-01-25 12:43:11 +01:00
soupette
8ae69aad72 Created middleware API and change reducers injection
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-01-25 12:06:47 +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
Rémi de Juvigny
ec769f39d9 Add npm ignore 2021-01-22 18:47:12 +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
Rémi de Juvigny
7e070b0f65 Fixed tests 2021-01-22 18:26:25 +01:00
Pierre Noël
3729f69e08 init i18n plugin 2021-01-22 17:57:15 +01:00
Rémi de Juvigny
db849d99ba WIP- debug sentry mock 2021-01-22 16:11:51 +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
HichamELBSI
95ed2ee412 add redux-thunk to admin
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2021-01-21 20:00:45 +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
ELABBASSI Hicham
f25e867a21
Merge pull request #9006 from strapi/dependabot/npm_and_yarn/babel/plugin-proposal-async-generator-functions-7.12.12
Bump @babel/plugin-proposal-async-generator-functions from 7.10.5 to 7.12.12
2021-01-21 13:55:56 +01:00
dependabot[bot]
9895ebaf2d Bump @babel/plugin-proposal-async-generator-functions
Bumps [@babel/plugin-proposal-async-generator-functions](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-async-generator-functions) from 7.10.5 to 7.12.12.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.12/packages/babel-plugin-proposal-async-generator-functions)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-21 11:49:53 +01:00
HichamELBSI
58a7665c63 Add redux to CTB
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2021-01-21 11:49:25 +01:00
Jozef Cipa
a48f9f3327
Fix lower() error when running on non-string column (#8419)
Signed-off-by: jozefcipa <jozef.cipa@strv.com>
2021-01-21 11:36:17 +01:00
ELABBASSI Hicham
7ec9056326
Merge pull request #9163 from strapi/dependabot/npm_and_yarn/babel/plugin-transform-modules-commonjs-7.12.1
Bump @babel/plugin-transform-modules-commonjs from 7.10.4 to 7.12.1
2021-01-21 11:12:29 +01:00
dependabot[bot]
8d186526da
Bump @babel/plugin-transform-modules-commonjs from 7.10.4 to 7.12.1
Bumps [@babel/plugin-transform-modules-commonjs](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-modules-commonjs) from 7.10.4 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-plugin-transform-modules-commonjs)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-21 09:24:52 +00:00
dependabot[bot]
dcb115275e
Bump tar from 6.0.5 to 6.1.0 (#9170)
Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.0.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-21 09:09:40 +01:00
dependabot[bot]
4e1c4f506e
Bump react-select from 3.1.1 to 3.2.0 (#9169)
Bumps [react-select](https://github.com/JedWatson/react-select) from 3.1.1 to 3.2.0.
- [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.1.1...react-select@3.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-21 09:08:12 +01:00
Alexandre Bodin
542786f263 v3.4.4 v3.4.4 2021-01-20 17:31:59 +01:00
DMehaffy
438921ecf2
Fix for failing SQLite3 issue on windows (#9142)
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2021-01-20 17:25:04 +01:00
Pierre Noël
42836bf54c
Fix file extensions not always detected with cloudinary (#9138)
* use filename option

* refacto
2021-01-20 16:10:29 +01:00
dependabot[bot]
e3b83092ae
Bump eslint from 7.17.0 to 7.18.0 (#9165)
Bumps [eslint](https://github.com/eslint/eslint) from 7.17.0 to 7.18.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.17.0...v7.18.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 10:34:35 +01:00
p_0g_8mm3_
86242a01b2
Update German translations (#9141)
* fix typos

* use more common words for relation

* simplify, shorten

* make translations consistent

* improve upload plugin translation

* fix minor errors

* fix permissions plugin translations

* change mail back to kai@doe.com

* change name back to Kai Doe

Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2021-01-18 17:49:30 +01:00
Pierre Noël
21ebe0d049
Fix instagram login after instagram API changed (#9101)
* fix instagram login since instagram API changed

* use purest-providers config
2021-01-18 14:53:53 +01:00
dependabot[bot]
bda7a4a4c3
Bump eslint-plugin-react from 7.21.5 to 7.22.0 (#9085)
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.21.5 to 7.22.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.21.5...v7.22.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 14:27:12 +01:00
Leroy Witteveen
353b4ac5e3
Fixed typo "mentionned" -> "mentioned" @ project creation error (#9133) 2021-01-18 14:17:17 +01:00
Anthony Nguyen
b4f75fd7a6
Add min:0 to templates of Bookshelf DBs. Issue #8436 (#9155)
* Add min:0 to templates of Bookshelf DBs. Issue #8436

* Moving default property from db template to knex.js

* Move min to pool
2021-01-18 14:14:39 +01:00
cyril lopez
99d4e9a481
Fix search (#9139)
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-01-18 12:09:04 +01:00
Convly
3afb864e3d Add admin config option to declare admin host & port 2021-01-18 11:41:20 +01:00
Pierre Noël
23d41fd18d
change router matching "admin*" to "admin" & "admin/*" (#9128) 2021-01-18 09:54:41 +01:00
cyril lopez
82380da065
Merge pull request #9135 from strapi/dependabot/npm_and_yarn/fortawesome/free-brands-svg-icons-5.15.2
Bump @fortawesome/free-brands-svg-icons from 5.14.0 to 5.15.2
2021-01-15 14:52:00 +01:00
dependabot[bot]
9fd22a9473
Bump @fortawesome/free-brands-svg-icons from 5.14.0 to 5.15.2
Bumps [@fortawesome/free-brands-svg-icons](https://github.com/FortAwesome/Font-Awesome) from 5.14.0 to 5.15.2.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/5.14.0...5.15.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-15 06:32:57 +00:00
ELABBASSI Hicham
35835fd010
Merge pull request #9088 from ThewBear/Validate-boolean-is-not-null-when-required
Validate boolean is not null when required
2021-01-14 17:03:56 +01:00
Thew Dhanat
5bbb8e6d10
Merge branch 'master' into Validate-boolean-is-not-null-when-required 2021-01-14 22:30:40 +07:00
cyril lopez
e8e93be070
Merge pull request #9069 from strapi/chore/ctb-improvements
[CTB] Clean code
2021-01-14 15:46:32 +01:00
soupette
2f82826128 change file structure
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-01-14 15:37:42 +01:00
Pierre Noël
1e8a8b0dc2
Fix sortable config disabled at launch (#9115)
* fix sortable config for RF

* fix isSortable tests + add tests
2021-01-14 12:16:47 +01:00