9899 Commits

Author SHA1 Message Date
Alexandre Bodin
d2e523d942 Upgrade @strapi/strapi dependencies 2021-09-27 08:30:11 +02:00
Alexandre Bodin
4eabcc57c0 Update @strapi/utils dependencies 2021-09-27 08:30:10 +02:00
Alexandre Bodin
c9f1cc6977 Fix sanitze-entity components missing 2021-09-27 08:29:15 +02:00
cyril lopez
2db89ff1c8
Merge pull request #11065 from strapi/axios-instance-fix
AxiosInstance Fix
2021-09-27 08:16:35 +02:00
soupette
1a58633c53 Fix conflicts
Signed-off-by: soupette <cyril@strapi.io>
2021-09-27 07:52:19 +02:00
Alexandre Bodin
60cbb448f6 Make perm compare accurate 2021-09-25 00:59:53 +02:00
Alexandre Bodin
c1369c7960 Fix sanitizeEntity 2021-09-24 18:52:49 +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
ronronscelestes
b410205278 icon hover color + snapshot 2021-09-24 18:14:33 +02:00
Convly
33a822a347 Fix ignored pagination for associations (gql) 2021-09-24 16:31:57 +02:00
ronronscelestes
3636d1612a wip input uid 2021-09-24 16:18:54 +02:00
soupette
7b56302097 Temp commit
Signed-off-by: soupette <cyril@strapi.io>
2021-09-24 15:41:43 +02:00
soupette
2585780a79 Remove moment from validation schema
Signed-off-by: soupette <cyril@strapi.io>
2021-09-24 15:21:34 +02:00
Dieter Stinglhamber
02d856819a set true and undefined as positive policy response 2021-09-24 14:48:12 +02:00
soupette
b37da48380 Merge branch 'v4/ds-migration' of github.com:strapi/strapi into input-uid 2021-09-24 14:42:17 +02:00
soupette
88367d0685 Fix baseline
Signed-off-by: soupette <cyril@strapi.io>
2021-09-24 14:38:30 +02:00
cyril lopez
e3b018cbb5
Merge pull request #11060 from strapi/profile-fix
MigrationQA/ Profile page fix
2021-09-24 14:25:46 +02:00
cyril lopez
c8bf4c992f
Merge pull request #11054 from strapi/ctb-confirm-cancel
Migration/CTB Confirm Dialog
2021-09-24 14:21:24 +02:00
ronronscelestes
862d9b5940 feedback fix - removed layout 2021-09-24 14:13:12 +02:00
soupette
1c13c57854 Fix DZ errors
Signed-off-by: soupette <cyril@strapi.io>
2021-09-24 14:11:36 +02:00
soupette
5529e1d5ca Add missing trads
Signed-off-by: soupette <cyril@strapi.io>
2021-09-24 13:53:34 +02:00
soupette
8bacb9909a Add errors to DZ
Signed-off-by: soupette <cyril@strapi.io>
2021-09-24 13:43:45 +02:00
soupette
3ef2ee513a Clean files
Signed-off-by: soupette <cyril@strapi.io>
2021-09-24 12:58:27 +02:00
ronronscelestes
cc8aac71cc fixed 401 error with axiosInstance 2021-09-24 12:32:51 +02:00
soupette
72ebabd4ef Add dz
Signed-off-by: soupette <cyril@strapi.io>
2021-09-24 12:12:54 +02:00
Dieter Stinglhamber
14a0ba9ee3 comment the api-token auth strategy 2021-09-24 12:07:31 +02:00
Dieter Stinglhamber
edeca8a6ce fix issue with string and number id comparaison 2021-09-24 12:07:00 +02:00
Dieter Stinglhamber
b9b98c620c improve scope matching and verification failures 2021-09-24 12:07:00 +02:00
Dieter Sting
0db6950d9d fix typo
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2021-09-24 12:07:00 +02:00
Dieter Stinglhamber
4b6704d2ae fix unit tests 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
Dieter Stinglhamber
5bc7c4462a fix typo 2021-09-24 12:05:40 +02:00
Dieter Stinglhamber
31d74d2710 allow for partial payload to update a token 2021-09-24 12:05:40 +02:00
Dieter Stinglhamber
f7bd99cb74 implement PUT endpoint to update a token 2021-09-24 12:05:40 +02:00
Dieter Stinglhamber
ca668c78e8 store the hashed accessKey in the database 2021-09-24 12:05:39 +02:00
Dieter Stinglhamber
b50afb69d5 implement POST endpoint to create api tokens 2021-09-24 12:05:39 +02:00
Dieter Stinglhamber
78e5bd98d3 update tests and rename get method 2021-09-24 12:05:39 +02:00
Dieter Stinglhamber
f791c21cc9 fix typos 2021-09-24 12:05:39 +02:00
Dieter Stinglhamber
a4e0df4ce8 implement GET endpoint to get a single token 2021-09-24 12:05:39 +02:00
Dieter Stinglhamber
c143d58bc1 fix typos 2021-09-24 12:05:38 +02:00
Dieter Stinglhamber
930156a574 return deleted token 2021-09-24 12:05:38 +02:00
Dieter Stinglhamber
946d3a0ea3 add DELETE route and logic 2021-09-24 12:05:38 +02:00
Dieter Stinglhamber
643f26975d use plain text in tests in favor of constants 2021-09-24 12:05:38 +02:00
Dieter Stinglhamber
3321aaa92c extract token types in a constant 2021-09-24 12:05:38 +02:00
Dieter Stinglhamber
6fa87bb146 update test 2021-09-24 12:05:38 +02:00
Dieter Stinglhamber
a804b908c8 adds tests 2021-09-24 12:05:37 +02:00
Dieter Stinglhamber
fd0e206d83 add e2e tests 2021-09-24 12:05:37 +02:00
Dieter Stinglhamber
fd2b0d81ab implement GET endpoint to list the api tokens 2021-09-24 12:05:37 +02:00
Dieter Stinglhamber
03e9ff6084 use spyOn to mock crypto 2021-09-24 12:05:37 +02:00
Dieter Stinglhamber
6a4a4cc1f9 minor fixes 2021-09-24 12:05:37 +02:00