579 Commits

Author SHA1 Message Date
vincentbpro
48b2c38d4e Merge branch 'releases/v4' into v4/make-lastname-optional 2021-11-23 15:47:22 +01:00
Convly
fdefb1382c Use a custom findOneByEmail to search for existing user 2021-11-23 12:16:54 +01:00
Alexandre BODIN
84301a358d
Merge pull request #11612 from strapi/v4/fix-empty-component-permissions
[V4] Fix empty component permissions
2021-11-17 18:11:54 +01:00
Convly
091d360f7b Fix missing permission for empty components in CTs 2021-11-17 16:57:22 +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
vincentbpro
532c8d6959 tests: updated e2e tests 2021-11-16 11:29:57 +01:00
Alexandre BODIN
d3aedca699
Merge pull request #11579 from strapi/v4/allow-access-token-param
Allow access_token query param for auth
2021-11-16 09:34:36 +01:00
Alexandre Bodin
113bea8e7f Support query access_token 2021-11-16 09:25:55 +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
vincentbpro
6213d2dc7b feat: made lastname fields optional 2021-11-10 18:36:07 +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
Pierre Noël
db1cb3040c refactor error-handling PR 2021-11-05 10:13:43 +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
194321591e fix EE e2e tests 2021-11-04 11:42:43 +01:00
Pierre Noël
b4c9ad0440 refacto graphql errors 2021-11-04 11:42:43 +01:00
Pierre Noël
0a6200ac2f fix unit tests 2021-11-04 11:42:40 +01:00
Pierre Noël
b58274aecb refactor error handling 2021-11-04 11:41:29 +01:00
Dieter Stinglhamber
8191be8a10 enable API token strategy 2021-11-02 10:48:15 +01:00
Alexandre Bodin
9cd59197b1 Fix tests and move api token config to use camelcase naming 2021-10-26 12:18:53 +02:00
Alexandre Bodin
a33d9e56be Move admin config to config/admin.js 2021-10-26 12:12:02 +02:00
Dieter Sting
ed64650c25
Merge pull request #11298 from strapi/features/api-token-fe
Implement the UI for the API Tokens
2021-10-26 09:20:20 +02:00
Dieter Stinglhamber
ed83cc353c implement the ListView for the API Tokens 2021-10-25 09:15:03 +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
bd5a1106e9
Update packages/core/admin/server/controllers/authenticated-user.js 2021-10-21 15:31:05 +02:00
Alexandre Bodin
15e18be98c Add current password requirement to edit own profile password 2021-10-21 13:20:57 +02:00
Alexandre Bodin
3d04f9bfb2 Update the snapshots 2021-10-20 18:15:53 +02:00
Alexandre Bodin
cc52a93a47 Use array checks in api-token aut strategy 2021-10-11 12:29:38 +02:00
Alexandre Bodin
c1c6dd4c11 Harmonize registries and simplify listing commands 2021-10-07 13:06:40 +02:00
Alexandre Bodin
c1aa57f436 Harmonize and make policies and middlwares more consistent 2021-10-05 10:43:24 +02:00
Alexandre Bodin
6ef3e1deb6 Migrate plugin generator and fix some internal issues to make everything compatible 2021-09-30 11:40:54 +02:00
Pierre Noël
947981200b use { strapi } as params in all lifecycle functions 2021-09-28 16:54:07 +02:00
Dieter Stinglhamber
17742d2153 update tests to avoid false negative 2021-09-28 11:17:44 +02:00
Alexandre BODIN
9ae4f28928
Merge pull request #11082 from strapi/v4/fix-user-sort
fix sort on admin user
2021-09-27 18:24:51 +02:00
Pierre Noël
995c5c86b9 clean code 2021-09-27 16:44:05 +02:00
Pierre Noël
6ba4ce561f lower email when login using local provider 2021-09-27 16:40:04 +02:00
Pierre Noël
95d9b19588 fix sort on admin user 2021-09-27 16:06:43 +02:00
Pierre Noël
491a662692 clean some code 2021-09-27 12:28:17 +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
60cbb448f6 Make perm compare accurate 2021-09-25 00:59:53 +02:00
Alexandre BODIN
87d79388c1
Merge pull request #11064 from strapi/v4/refactor-policy-api
[v4] Refactor policy API
2021-09-24 18:44:21 +02:00