164 Commits

Author SHA1 Message Date
Alexandre Bodin
57ec94a4ce Remove snyk files. We switched to their github integration instead 2021-11-30 14:22:48 +01:00
Alexandre Bodin
b181702f02 v4.0.0 2021-11-29 20:16:44 +01:00
Alexandre Bodin
95935bbd2c Pass entity down to the validatCreation for publish and handle undefined value 2021-11-29 19:22:49 +01:00
DMehaffy
7e874e00a0 Update all documentation links to new docs url (#11424)
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2021-11-29 18:13:52 +01:00
Dieter Stinglhamber
cb7f44ea41 make author and maintainers field consistent accross packages 2021-11-29 16:23:55 +01:00
Alexandre Bodin
c288dcb902 Cleanup and normalize package.json files 2021-11-29 15:13:33 +01:00
Dieter Stinglhamber
2e4acfcd2d uncomment assertions 2021-11-25 09:09:13 +01:00
Dieter Stinglhamber
0d76556491 update e2e tests 2021-11-24 16:20:57 +01:00
Alexandre Bodin
997882c526 Update tests accordingly 2021-11-18 16:46:07 +01:00
Alexandre Bodin
58e4deadb6 Update updatedBy on publish / unpublish actions in the CM 2021-11-18 16:13:28 +01:00
soupette
5767590ac4 Merge branch 'releases/v4' of github.com:strapi/strapi into v4/plugins-page 2021-11-17 14:43:46 +01:00
Alexandre Bodin
3bc73a28c0 Add createdAt and updatedAt back into the CM layouts and metas 2021-11-15 19:26:56 +01:00
Alexandre BODIN
f4facb654b
Merge pull request #11475 from strapi/v4/new-sanitize-fixes
[V4] Enhancements for the new sanitize processes
2021-11-12 14:52:47 +01:00
Convly
25e62db93a use 'sanitizers' instead of 'utils' 2021-11-10 17:08:54 +01:00
Convly
07fef39592 Merge branch 'releases/v4' of github.com:strapi/strapi into v4/up-resolvers-picker-fix 2021-11-09 18:38:20 +01:00
Convly
16ab717fb2 Merge branch 'releases/v4' of github.com:strapi/strapi into v4/new-sanitize-fixes 2021-11-08 15:53:58 +01:00
Convly
8d4f8ddd57 Simplify & abstract common sanitize logic 2021-11-08 15:52:42 +01:00
Alexandre Bodin
42b87679bb Refactor policies to have a consistent factory API like middlewares 2021-11-08 09:33:36 +01:00
Pierre Noël
c6a5a047d6 Merge branch 'releases/v4' into v4/error-handling 2021-11-05 10:40:11 +01:00
Convly
7c560e3b94 Move the eventHub sanitize logic to the eventHub declaration 2021-11-05 10:36:10 +01:00
Convly
d6516116b2 Move pipeAsync to @strapi/utils 2021-11-04 16:43:27 +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
Convly
14d6a5b2c4 Fix users-permissions user controllers permissions 2021-11-04 15:18:09 +01:00
Alexandre Bodin
8a018619ef Add /plugins list api and update description to be plain english for now 2021-11-04 12:01:49 +01:00
Pierre Noël
cb098ec280 clean yup validations 2021-11-04 11:42:45 +01:00
Pierre Noël
b4c9ad0440 refacto graphql errors 2021-11-04 11:42:43 +01:00
Pierre Noël
b58274aecb refactor error handling 2021-11-04 11:41:29 +01:00
Pierre Noël
7a82d023fb rename name to displayName 2021-11-02 18:29:17 +01:00
Alexandre Bodin
5bb802fb06 Move all admin config 2021-10-26 16:18:32 +02:00
Pierre Noël
6fd9f780c7 Merge branch 'v4/ctb' into v4/plural-name-in-CTB 2021-10-22 12:33:48 +02:00
Alexandre Bodin
edbad96c2c Remove old query params and remove _where occurences 2021-10-11 21:05:23 +02:00
Alexandre Bodin
c1aa57f436 Harmonize and make policies and middlwares more consistent 2021-10-05 10:43:24 +02:00
Pierre Noël
d35e381f6f fix localizations counted in CM 2021-09-27 11:08:49 +02:00
Pierre Noël
0f123ceb39 fix RBAC 2021-09-27 11:08:48 +02:00
Pierre Noël
d02c7ab741 Use new filters format in the upload plugin 2021-09-27 11:08:47 +02:00
Alexandre Bodin
086a80eb28 Remove unused dependencies 2021-09-27 09:30:32 +02:00
Alexandre Bodin
60cbb448f6 Make perm compare accurate 2021-09-25 00:59:53 +02:00
Dieter Stinglhamber
da95228830 fix unit tests 2021-09-24 09:56:08 +02:00
Dieter Stinglhamber
3c1dcbe76d refactor policy API 2021-09-24 09:35:25 +02:00
Alexandre Bodin
7cf05bfb10 Move CM files into the new structure 2021-09-24 09:04:44 +02:00
Alexandre Bodin
7855b7acbb Fix merge error 2021-09-22 17:20:31 +02:00
Alexandre Bodin
c5f9d16105 Rename creator fields 2021-09-22 17:06:16 +02:00
Alexandre Bodin
fe85273301 Move published_at to publishedAt in frontend 2021-09-22 17:06:15 +02:00
Alexandre Bodin
58e024d3ad use columnName snake casing and rename timestamp attributes 2021-09-22 17:05:30 +02:00
Alexandre Bodin
9f337272f1 Refacto entity service API to be more consistent with the DB layer 2021-09-21 17:22:17 +02:00
Alexandre Bodin
5b0ac47435 Merge branch 'releases/v4' into v4/db-migrations 2021-09-21 15:17:02 +02:00
Pierre Noël
5f42043570 fix previewManyRelations 2021-09-14 16:42:51 +02:00
Pierre Noël
64940edbae CTB handles singular and plural names 2021-09-14 15:30:37 +02:00
Alexandre Bodin
0f3f984ea7 Init migration v4
- Hooks registry
- D&P CT migrations
- i18N CT migrations
- Umzug with js / sql migrations
- Eslint updates
2021-09-13 12:03:12 +02:00
Alexandre Bodin
c6c4a62d2d Cleanup layout not needed 2021-09-07 16:03:54 +02:00