209 Commits

Author SHA1 Message Date
Convly
14d6a5b2c4 Fix users-permissions user controllers permissions 2021-11-04 15:18:09 +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
Alexandre Bodin
4fa751d519 Move u&p providers urls 2021-10-26 16:51:29 +02:00
Alexandre BODIN
5501518e6c
Merge pull request #11219 from strapi/v4/content-api-actions
Filter action and routes displayed in users-permissions to be in the content-api
2021-10-11 16:06:34 +02:00
Alexandre BODIN
0ac9d88f28
Merge pull request #11183 from strapi/v4/destroy-lifecycle
add destroy lifecycle for user + register rateLimit middleware
2021-10-11 08:50:53 +02:00
Pierre Noël
14f9a9c847 Handle SIGINT and SIGTERM signals + fix sentry being initiated twice 2021-10-08 11:42:13 +02:00
Alexandre Bodin
3b472e22f7 Filter action and routes displayed in users-permissions to be in the
content-api

- Remove legacy getPlugins code
2021-10-08 10:12:21 +02:00
Alexandre Bodin
c1aa57f436 Harmonize and make policies and middlwares more consistent 2021-10-05 10:43:24 +02:00
Pierre Noël
7c1c2d43f3 add destroy lifecycle for user + register rateLimit middleware 2021-10-04 16:47:30 +02:00
Pierre Noël
32eb442cd5 store emails in lowercase + add /api as prefix 2021-09-29 12:04:42 +02:00
Alexandre Bodin
c0c6c2aeab Fix users counter in u&p role list view 2021-09-29 11:27:45 +02:00
Pierre Noël
947981200b use { strapi } as params in all lifecycle functions 2021-09-28 16:54:07 +02:00
Convly
20b20a0f92 Fix e2e test for UP, i18n & upload + various i18n fixes 2021-09-27 17:17:24 +02:00
Convly
ef3650f073 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-27 10:33:31 +02:00
Alexandre BODIN
4fadcdee91
Merge pull request #11029 from strapi/features/api-token
API Token backend implementation
2021-09-24 14:21:10 +02:00
Alexandre Bodin
9774e14890 Fixing invalid action name on restart because of lowercasing 2021-09-24 12:23:02 +02:00
Dieter Stinglhamber
b9b98c620c improve scope matching and verification failures 2021-09-24 12:07:00 +02:00
Dieter Stinglhamber
6c6328bc0d remove console.log statement 2021-09-24 12:07:00 +02:00
Dieter Stinglhamber
1a72747672 add api-token auth strategy to the content-api 2021-09-24 12:06:56 +02:00
Alexandre Bodin
b8d388b4a7 Prefix route in U&P with /api 2021-09-24 09:55:01 +02:00
Alexandre Bodin
7cf05bfb10 Move CM files into the new structure 2021-09-24 09:04:44 +02:00
Convly
033d3274d2 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-23 10:05:31 +02:00
Convly
a303b0e5c4 Don't run shadowCRUD related operations if it's disabled 2021-09-22 18:17:51 +02:00
Alexandre Bodin
c5f9d16105 Rename creator fields 2021-09-22 17:06:16 +02:00
Convly
8b139ec162 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-22 10:48:29 +02:00
Jean-Sébastien Herbaux
22a9cdb9e0
[V4] Fix GraphQL e2e tests (#11034) 2021-09-21 19:38:15 +02:00
Jean-Sébastien Herbaux
5a7a5dc987
[V4] GraphQL - Migrate Users & Permissions GraphQL config to V4 (#10979)
* Migrate UsersPermissions's GQL configuration to V4

* Remove old graphql configuration
2021-09-15 15:44:42 +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
a14b16af51 Move admin auth to global auth system 2021-09-08 16:16:16 +02:00
Alexandre Bodin
37bacdb691 Start fixing tests 2021-09-07 21:03:30 +02:00
Alexandre Bodin
caee87bc10 Move U&P permissions to new auth system 2021-09-07 15:11:12 +02:00
Alexandre Bodin
b0609c0d96 Make new format compatible with old permissions format in u&p 2021-09-07 15:11:11 +02:00
Alexandre Bodin
33adde77f6 Cleanup create/update role 2021-09-07 15:11:11 +02:00
Alexandre Bodin
733b5d8690 Cleanup u-p plugin 2021-09-07 15:11:10 +02:00
Alexandre Bodin
561235e7cf Refactor u-p permission syntax 2021-09-07 15:11:10 +02:00
Alexandre Bodin
7aa012da32 Init auth 2021-09-07 15:11:10 +02:00
Alexandre Bodin
3b41a627a4 split server code and init content api auth policy 2021-09-07 15:11:09 +02:00
Alexandre Bodin
0ff3269c3a Use the right api 2021-09-07 15:11:08 +02:00
Alexandre Bodin
9b268b9956 Split users-permissions routes 2021-09-07 15:11:08 +02:00
Alexandre Bodin
fe5776258d Fix get routes u&p 2021-09-07 15:11:06 +02:00
Alexandre Bodin
d4eef8ea75 Add some lazy loading 2021-09-07 15:11:05 +02:00
Alexandre Bodin
4349d6b822 Init new routing layer 2021-09-07 15:11:04 +02:00
Alexandre Bodin
4be69e8bde Init new API loading 2021-08-30 17:02:40 +02:00
Pierre Noël
9362311924 add extend fn to controller registry 2021-08-30 11:00:30 +02:00
Alexandre Bodin
7f30925161 Merge branch 'v4/backend' into releases/v4 2021-08-25 14:45:59 +02:00
Alexandre Bodin
f4a4e2ce26 Move routes to js when possible and refactor policies to be objects 2021-08-24 13:59:43 +02:00
Alexandre Bodin
0b3c7392c6 Keep on migrating admin to new structure 2021-08-23 22:41:22 +02:00
Alexandre Bodin
47c3900c07 Update createContentType to expose a simpler object 2021-08-23 22:25:31 +02:00