18918 Commits

Author SHA1 Message Date
Dieter Stinglhamber
e9f729a664 add the content-type generator to the API generator 2021-11-08 10:27:23 +01:00
Jean-Sébastien Herbaux
7f285fb755
[V4] Enhanced sanitize & remove restricted relations from content API's payloads (#11411)
* Rework sanitizeEntity, first iteration

* remove console.log

* Remove useless comments

* Fix e2e tests

* Fix up user e2e test

* Fix remove-restricted-relations visitor

* Handle grapqhql resolver, prevent access to restricted relations

* Handle polymorphic relation in the related visitor

* Remove morph attribute if empty

* Use only the find action to check if the relation is allowed
2021-11-04 15:47:53 +01:00
Rémi de Juvigny
0e57271fd9
Merge pull request #11462 from strapi/fix/npm-templates
[v4] Fix template install from npm
2021-11-04 15:44:15 +01:00
cyril lopez
50a6bdd649
Merge pull request #11361 from strapi/v4/media-library-cm
V4/media library cm
2021-11-04 15:29:55 +01:00
cyril lopez
982c00b697
Merge pull request #11468 from strapi/cm/sorting-menu
Fix CM leftmenu sorting and remove options for medias and relations
2021-11-04 15:22:38 +01:00
soupette
1f73009403 Fix CM leftmenu sorting and remove options for medias and relations
Signed-off-by: soupette <cyril@strapi.io>
2021-11-04 15:22:02 +01:00
cyril lopez
8190b6195b
Merge pull request #11466 from strapi/ml/add-uploaded-files-to-selection
[v4] ML : add uploaded files to selection
2021-11-04 15:11:36 +01:00
soupette
f328cfb520 Merge branch 'v4/media-library-cm' of github.com:strapi/strapi into ml/add-uploaded-files-to-selection 2021-11-04 14:52:59 +01:00
soupette
639e89a8b9 Merge branch 'releases/v4' of github.com:strapi/strapi into v4/media-library-cm 2021-11-04 14:52:21 +01:00
cyril lopez
21644744d3
Merge pull request #11467 from strapi/upgrade/design
Upgrade DS
2021-11-04 14:50:21 +01:00
soupette
32ffeec72b Upgrade DS
Signed-off-by: soupette <cyril@strapi.io>
2021-11-04 14:49:53 +01:00
soupette
98feaeeabe Add uploaded file to entry in cm
Signed-off-by: soupette <cyril@strapi.io>
2021-11-04 14:46:34 +01:00
cyril lopez
8cf452587f
Merge pull request #11460 from strapi/ml/fix-file-deletion
[v4] Media Library: fix file deletion in CM
2021-11-04 14:43:52 +01:00
Rémi de Juvigny
1e371f6942 Remove useless path.join 2021-11-04 14:01:02 +01:00
Rémi de Juvigny
ca729a8f68 Use require resolve 2021-11-04 13:16:51 +01:00
soupette
6935263bf5 Fix file deletion
Signed-off-by: soupette <cyril@strapi.io>
2021-11-04 11:21:43 +01:00
Rémi de Juvigny
97defacf47 Fix template install from npm 2021-11-04 10:46:52 +01:00
cyril lopez
09027c6168
Merge pull request #11459 from strapi/ctb/fix-relation-row
[V4] CTB Fix relation display
2021-11-04 08:47:25 +01:00
soupette
b71ffd0a9c Fix relation display
Signed-off-by: soupette <cyril@strapi.io>
2021-11-04 08:28:08 +01:00
soupette
4d907c873c Merge branch 'releases/v4' of github.com:strapi/strapi into v4/media-library-cm 2021-11-04 08:00:43 +01:00
Alexandre BODIN
0213c1a769
Merge pull request #11457 from strapi/v4/component-rename-name
V4/component rename name
v4.0.0-beta.9
2021-11-03 17:46:54 +01:00
Pierre Noël
0639ad5bc6 fix getstarted simple compo schema 2021-11-03 15:24:54 +01:00
Alexandre BODIN
82207a065c
Merge pull request #11449 from strapi/v4/rename-component-front
[V4] Rename component name by displayName
2021-11-03 14:52:41 +01:00
Alexandre BODIN
7b3bbea4d1
Merge pull request #11445 from strapi/v4/component-rename-name-back
rename name to displayName
2021-11-03 14:51:24 +01:00
Alexandre Bodin
ffb154db03 Merge branch 'releases/v4' of github.com:strapi/strapi into releases/v4 2021-11-03 14:17:50 +01:00
Alexandre Bodin
4d3ad30112 Fix middleware generator 2021-11-03 14:17:39 +01:00
Pierre Noël
6f76f78728 remove use of pluralize for component name 2021-11-03 14:09:34 +01:00
cyril lopez
38a64aecdb
Merge pull request #11446 from strapi/role-lv-table-fix
QA/ Truncate name-description Role LV
2021-11-03 14:07:22 +01:00
soupette
89af979af4 Use display in CM
Signed-off-by: soupette <cyril@strapi.io>
2021-11-03 14:05:15 +01:00
soupette
6fdca2407c Merge branch 'v4/component-rename-name-back' of github.com:strapi/strapi into v4/rename-component-front 2021-11-03 14:00:22 +01:00
Alexandre BODIN
49bfccaa5b
Merge pull request #11093 from strapi/v4/npm-templates
[v4] Use npm to host templates instead of GitHub
2021-11-03 12:30:17 +01:00
Alexandre BODIN
b216694521
Merge pull request #11434 from strapi/v4/reserved-names
Add static list of reserved names
2021-11-03 11:09:43 +01:00
ronronscelestes
6d5a0d27a5 feedback fix 2021-11-03 10:56:21 +01:00
ronronscelestes
8b5d7bf113 Merge branch 'releases/v4' of https://github.com/strapi/strapi into role-lv-table-fix 2021-11-03 10:53:51 +01:00
cyril lopez
97e556ff56
Merge pull request #11451 from strapi/cm/ml-sort
[v4] Add sort to ML compo in CM
2021-11-03 10:46:16 +01:00
soupette
aa0fe81f91 Merge branch 'v4/media-library-cm' of github.com:strapi/strapi into cm/ml-sort 2021-11-03 10:44:39 +01:00
cyril lopez
56ff08d744
Merge pull request #11450 from strapi/ml-cm-pagination-compo
[v4] ML Add pagination footer to cm ml
2021-11-03 10:44:13 +01:00
Pierre Noël
3ec71231cb update getStarted 2021-11-03 10:38:24 +01:00
cyril lopez
3029d8845f
Merge pull request #11439 from strapi/webhooks-lv-table
QA/ Webhooks LV table
2021-11-03 10:19:58 +01:00
cyril lopez
686137fc1d
Merge pull request #11442 from strapi/cm-add-component-fix
QA/ Fix add component
2021-11-03 09:46:37 +01:00
soupette
ecc6b08754 Use displayName for components
Signed-off-by: soupette <cyril@strapi.io>
2021-11-03 09:43:53 +01:00
soupette
f92111b56f Add sort to ML in CM
Signed-off-by: soupette <cyril@strapi.io>
2021-11-03 09:29:01 +01:00
ronronscelestes
77f52773d7 Merge branch 'releases/v4' of https://github.com/strapi/strapi into webhooks-lv-table 2021-11-03 09:23:11 +01:00
ronronscelestes
f668943ae6 Merge branch 'releases/v4' of https://github.com/strapi/strapi into cm-add-component-fix 2021-11-03 09:21:14 +01:00
cyril lopez
41ca237f86
Merge pull request #11444 from strapi/ml-cm-pagination
Add pagesize
2021-11-03 09:16:14 +01:00
soupette
3b0d482080 Add pagination footer to cm ml
Signed-off-by: soupette <cyril@strapi.io>
2021-11-03 09:15:49 +01:00
ronronscelestes
ee63110d86 fixed ellipsis on name and description in settings role LV 2021-11-02 19:01:30 +01:00
Rémi de Juvigny
a633ae57ff Rename generate template command 2021-11-02 18:46:20 +01:00
Pierre Noël
7a82d023fb rename name to displayName 2021-11-02 18:29:17 +01:00
Rémi de Juvigny
a0fd28a3c7 Fix tests 2021-11-02 18:26:42 +01:00