10830 Commits

Author SHA1 Message Date
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
soupette
7e0d50c6da Fix snapshots
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-01-28 11:55:46 +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
4f9cc8a22c 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
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
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
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
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
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 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
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
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
Pierre Noël
23d41fd18d
change router matching "admin*" to "admin" & "admin/*" (#9128) 2021-01-18 09:54:41 +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
Thew Dhanat
5bbb8e6d10
Merge branch 'master' into Validate-boolean-is-not-null-when-required 2021-01-14 22:30:40 +07: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
Ivan HzK
0b752b4ddb
Fix #8796 - fix relation typo in fr (#8899)
fix french translation in content type builder plugin
2021-01-14 10:53:43 +01:00
dependabot[bot]
2eab3f2cfb
Bump markdown-it from 11.0.1 to 12.0.4 (#9087)
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 11.0.1 to 12.0.4.
- [Release notes](https://github.com/markdown-it/markdown-it/releases)
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/11.0.1...12.0.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 10:53:20 +01:00
Alexandre Bodin
553d64cafd v3.4.3 2021-01-14 10:46:50 +01:00
dependabot[bot]
5423f36781
Bump swagger-ui-dist from 3.35.0 to 3.39.0 (#9122)
Bumps [swagger-ui-dist](https://github.com/swagger-api/swagger-ui) from 3.35.0 to 3.39.0.
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Commits](https://github.com/swagger-api/swagger-ui/compare/v3.35.0...v3.39.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 10:12:50 +01:00
dependabot[bot]
2a79cd57c5
Bump apollo-server-koa from 2.18.2 to 2.19.1 (#9123)
Bumps [apollo-server-koa](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server-koa) from 2.18.2 to 2.19.1.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/apollo-server-koa@2.19.1/packages/apollo-server-koa)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 10:00:35 +01:00
Pierre Noël
70ffd7c65b
Fix CM limited to show only 100 entries (#9118)
* fix mongo count

* harmonize code between mongoose and bookshelf

* refacto
2021-01-13 20:15:45 +01:00
Artem Shtelzer
df33626751
Merge branch 'master' into bugfix/fix-remove-key-in-object 2021-01-13 13:29:51 +02:00
Alexandre Bodin
7505de6ad9 v3.4.2 2021-01-13 12:16:44 +01:00
Mateusz Derks
fcbc36605f
Fix typo in Polish translation (#8996) 2021-01-13 12:09:38 +01:00