15371 Commits

Author SHA1 Message Date
dependabot[bot]
68f10448a2
Bump @testing-library/react from 11.0.4 to 11.2.2 (#8758)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 11.0.4 to 11.2.2.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.0.4...v11.2.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-08 14:22:35 +01:00
dependabot[bot]
601bb32278
Bump node-ses from 3.0.2 to 3.0.3 (#8826)
Bumps [node-ses](https://github.com/aheckmann/node-ses) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/aheckmann/node-ses/releases)
- [Changelog](https://github.com/aheckmann/node-ses/blob/master/History.md)
- [Commits](https://github.com/aheckmann/node-ses/compare/v3.0.2...v3.0.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-08 14:07:08 +01:00
cyril lopez
a00c8607f8
Merge pull request #8820 from strapi/fix/tooltip-update-position
Fix updatePosition uncaught error
2020-12-07 17:57:14 +01:00
HichamELBSI
f814f8e2ed Fix updatePosition uncaught error
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-12-07 17:17:49 +01:00
Alexandre BODIN
02e6f77ac3
Merge pull request #8819 from strapi/rf/fix-mainfield
Use correct mainField
2020-12-07 16:10:38 +01:00
Pierre Noël
ab98afe80d use correct mainField
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-12-07 15:50:46 +01:00
cyril lopez
0a754813b2
Merge pull request #8784 from strapi/relational-fields/many-values-tooltip
Display x-to-many relation preview values in content manager list
2020-12-07 14:06:26 +01:00
HichamELBSI
21488a7a91 Remove mockData and call API
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-12-07 13:53:31 +01:00
HichamELBSI
86600562ec Merge branch 'feature/relational-fields' into relational-fields/many-values-tooltip 2020-12-07 12:20:48 +01:00
HichamELBSI
23a6d5b581 Merge branch 'feature/relational-fields' into relational-fields/many-values-tooltip
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-12-07 12:15:04 +01:00
Alexandre BODIN
7b9834c9a6
Merge pull request #8783 from strapi/rf/eng-120/preview-x-to-many
Relation fields preview x to many
2020-12-07 09:56:48 +01:00
dependabot[bot]
8dfba3bb89
Bump @purest/providers from 1.0.1 to 1.0.2 (#8817)
Bumps [@purest/providers](https://github.com/simov/purest-providers) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/simov/purest-providers/releases)
- [Commits](https://github.com/simov/purest-providers/commits/v1.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-07 09:36:31 +01:00
dependabot[bot]
f83aacefe1
Bump semver from 7.3.2 to 7.3.4 (#8816)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.2 to 7.3.4.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.2...v7.3.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-07 09:36:01 +01:00
HichamELBSI
d8e71a2771 Fix relations queryInfos
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-12-04 22:22:01 +01:00
Pierre Noël
dce8f7c6fa refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-12-04 16:07:18 +01:00
P
9fbdae244a
Change validateEntity to validateEntityCreation (#8429)
Fix bug strapi.entityValidator.validateEntity is not a function

Signed-off-by: pntech20 <pntech20@gmail.com>
2020-12-04 14:37:15 +01:00
Antoine
623dea49fc
[Unit testing doc] add runtime fix (#8082)
I just changed the `note` for a `tip` because is not showing in the docs.
More info about the modification at https://github.com/strapi/strapi/discussions/7549

Signed-off-by: Antoine-LB <antoine.stc25@gmail.com>
2020-12-04 14:24:48 +01:00
Rémi de Juvigny
b0f3024b07
Improved create-strapi-app's templates (#8627)
* Allow template configs as functions

Signed-off-by: Rémi de Juvigny <remi@hey.com>

* Allow template shorthands

Signed-off-by: Rémi de Juvigny <remi@hey.com>

* Restore strapi-generate-new import

Signed-off-by: Rémi de Juvigny <remi@hey.com>

* New shorthand system and updated docs

Signed-off-by: Rémi de Juvigny <remi@hey.com>

* Improved docs

Signed-off-by: Rémi de Juvigny <remi@hey.com>

* Remove duplicate merge-template file

Signed-off-by: Rémi de Juvigny <remi@hey.com>
2020-12-04 11:22:20 +01:00
ELABBASSI Hicham
f946e52f7f
Merge pull request #8778 from strapi/core/cm-fix-effects
Fix cleanup effect
2020-12-04 11:11:05 +01:00
Robin Simonklein
e01d287e8f
Add some admin french translations (#8665)
* v3.3.3

Signed-off-by: Robin Simonklein <rsimonklein@gmail.com>

* Add french translations for draft/publish feature

Signed-off-by: Robin Simonklein <rsimonklein@gmail.com>

* Add french translations for media library

Signed-off-by: Robin Simonklein <rsimonklein@gmail.com>

* Fix typo

Signed-off-by: Robin Simonklein <rsimonklein@gmail.com>

* Add some missing french translations

Signed-off-by: Robin Simonklein <rsimonklein@gmail.com>

* Content-manager actions french translations

Signed-off-by: Robin Simonklein <rsimonklein@gmail.com>

* Add missing french translations for users settings & auth

Signed-off-by: Robin Simonklein <rsimonklein@gmail.com>

* Add "select all" french translation

Signed-off-by: Robin Simonklein <rsimonklein@gmail.com>

Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-12-04 11:06:45 +01:00
Akhil Mohan
96db1488bc
Bug/collection type sort asc (#8706)
* fixed leftmenu sorting bug in content-types-builder

Signed-off-by: akhilmhdh <akhilmhdh@gmail.com>

* changed js toLowerCase to lodash toLower

Signed-off-by: akhilmhdh <akhilmhdh@gmail.com>

Co-authored-by: cyril lopez <cyril.lpz@gmail.com>
2020-12-04 11:03:55 +01:00
dependabot[bot]
bbff091b88
Bump react-test-renderer from 16.13.1 to 17.0.1 (#8717)
Bumps [react-test-renderer](https://github.com/facebook/react/tree/HEAD/packages/react-test-renderer) from 16.13.1 to 17.0.1.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v17.0.1/packages/react-test-renderer)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-04 11:03:17 +01:00
Jorrit Schippers
c4b039a3e7
Fix strapi -v and strapi --version options (#8740)
Signed-off-by: Jorrit Schippers <jorrit@ncode.nl>
2020-12-04 10:59:01 +01:00
Fadhil Ahmad
b84aa2f056
Docs fix type singleType findOne (#8764)
* fix: typo find instead of findone for singleType

Signed-off-by: Fadhil Ahmad <fadzbobby95@gmail.com>

* refactor: remove query obj for single type

Signed-off-by: Fadhil Ahmad <fadzbobby95@gmail.com>
2020-12-04 09:59:04 +01:00
Convly
75d007526e Fix mongo test
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-12-03 16:02:44 +01:00
DMehaffy
57d956fb87
Add manyWay relation example (#8777) 2020-12-03 07:10:24 -07:00
HichamELBSI
a4f0bdecc8 Add x-to-many relation preview tooltip
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-12-02 18:00:06 +01:00
Convly
008dba0ac4 Add e2e tests for RF
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-12-02 15:48:01 +01:00
Pierre Noël
0d9812db95 add many relations preview route 2020-12-02 15:48:00 +01:00
Pierre Noël
66dd23deab
Enable the configuration of RF in list view (#8770)
* enable the configuration of RF in list view

Signed-off-by: Pierre Noël <petersg83@gmail.com>

* fix test db unique

Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-12-02 15:28:58 +01:00
soupette
16c7d2123f Fix cleanup in useeffect
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-12-01 17:23:12 +01:00
Maxime Castres
e2b6b9706e
Add academy link to the README (#8776) 2020-12-01 07:56:32 -08:00
Joris W
87ad2f73c8
Clarify some of the template creation steps (#8482)
* Clarify some of the template creation steps

* Update docs/v3.x/concepts/templates.md

Co-authored-by: Rémi de Juvigny <remi@hey.com>

* Update templates.md

* Update templates.md

Signed-off-by: Joris Witteman <joris@jor.is>

Co-authored-by: Rémi de Juvigny <remi@hey.com>
2020-11-30 10:33:09 -08:00
Precious Luke
e6158489d0
Update databases.md (#8523)
* Update databases.md

Without removal of these first string, it bring some error messages:
'replicaSet' is not recognized as an internal or external command,
operable program or batch file.
'authSource' is not recognized as an internal or external command,
operable program or batch file.
'retryWrites' is not recognized as an internal or external command,
operable program or batch file.
'w' is not recognized as an internal or external command,
operable program or batch file.

and the build fails.

* Update databases.md

removed ** around must
2020-11-30 09:11:44 -08:00
Pawan Kolhe
e371f7f8f4
Update quick-start.md (#7924)
Making the directions a bit more specific, so that its easier to find: **find** and **findone**.

Signed-off-by: Pawan Kolhe <contact@pawankolhe.com>
2020-11-30 08:04:43 -08:00
cyril lopez
62bb0bbae1
Merge pull request #8751 from strapi/relational-field/filter-on-relations
Enable filter on the relation fields
2020-11-30 13:55:29 +01:00
HichamELBSI
655c17c254 Add util and tests
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-11-30 12:07:34 +01:00
HichamELBSI
0506f38769 Fix filter displayed format
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-11-30 11:29:50 +01:00
Aurélien GEORGET
583488fb4d
Add Contributor License Agreement section (#8744)
* Add Contributor License Agreement section

* Update CLA server URL

Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2020-11-30 10:18:17 +01:00
HichamELBSI
303e041a03 Fix PR feedback
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-11-27 15:07:24 +01:00
Alexandre Bodin
6d39f0e772 Fix sanitize input not using the right subject
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-11-27 11:52:00 +01:00
HichamELBSI
7c827d9f06 Add rf in filters
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-11-26 15:51:25 +01:00
dependabot[bot]
449944c435
Bump moment from 2.29.0 to 2.29.1 (#8748)
Bumps [moment](https://github.com/moment/moment) from 2.29.0 to 2.29.1.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.0...2.29.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-26 13:11:04 +01:00
dependabot[bot]
3055b20c43
Bump jest from 26.4.2 to 26.6.3 (#8747)
Bumps [jest](https://github.com/facebook/jest) from 26.4.2 to 26.6.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.4.2...v26.6.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-26 13:10:39 +01:00
dependabot[bot]
375b902301
Bump eslint-config-prettier from 6.11.0 to 6.15.0 (#8746)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.11.0 to 6.15.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.11.0...v6.15.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-26 13:10:11 +01:00
ELABBASSI Hicham
0ba3f0746d
Merge pull request #8749 from strapi/rf/enable-sort
Enable sort on relation
2020-11-26 12:15:19 +01:00
soupette
6c9955d210 Apply PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-11-26 11:56:24 +01:00
soupette
2bba46ffc5 Fix sort
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-11-26 10:41:01 +01:00
soupette
a57329d9c6 Enable sort on relations
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-11-26 10:11:20 +01:00
cyril lopez
3c9686f986
Merge pull request #8727 from strapi/relational-fields/display-in-list
Display relational fields in the list view
2020-11-26 09:46:38 +01:00