3850 Commits

Author SHA1 Message Date
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
Dieter Stinglhamber
bfcd119311 fix service unit test 2021-09-24 12:05:36 +02:00
Dieter Stinglhamber
a1a072df46 avoid mutation of the body 2021-09-24 12:05:36 +02:00
Dieter Stinglhamber
bfcebc9bae improve tests and minor fixes 2021-09-24 12:05:36 +02:00
Dieter Stinglhamber
305547b9bb use createHmac in favour of createHash for added security 2021-09-24 12:05:36 +02:00
Dieter Stinglhamber
0be0c98d72 add test to support salt errors 2021-09-24 12:05:36 +02:00
Dieter Stinglhamber
ef36034acf throw an error if there is an issue with the salt configuration 2021-09-24 12:05:36 +02:00
Dieter Stinglhamber
e16ce91ade add test to support trimming 2021-09-24 12:05:35 +02:00
Dieter Stinglhamber
4b7a1eb48f trim name and description before validation 2021-09-24 12:05:35 +02:00
Dieter Stinglhamber
e9b897b66b store the hashed accessKey in the database 2021-09-24 12:05:35 +02:00
Dieter Stinglhamber
5305f2e757 fix issues after rebasing on release/v4 2021-09-24 12:05:35 +02:00
Dieter Stinglhamber
1c10cf4acf improve jsdoc comments 2021-09-24 12:05:35 +02:00
Dieter Stinglhamber
f2c6af61ee fix exists function 2021-09-24 12:05:34 +02:00
Dieter Stinglhamber
4d27d9de51 cleanup unnecessary code 2021-09-24 12:05:34 +02:00
Dieter Stinglhamber
3fb6b57808 implement POST endpoint to create api tokens 2021-09-24 12:05:34 +02:00
Dieter Stinglhamber
36af3134be fix displayName for create and delete permissions 2021-09-24 12:05:34 +02:00
Dieter Stinglhamber
33374f4193 update snapshot for EE without SSO test 2021-09-24 12:05:34 +02:00
Dieter Stinglhamber
d60659df89 update snapshot for EE test 2021-09-24 12:05:33 +02:00
Dieter Stinglhamber
8d9b957f8c add CRUD permission for the api token 2021-09-24 12:05:33 +02:00
ronronscelestes
591186306c regenerate label, autofill when reauired, customized 2021-09-24 12:00:46 +02:00
Dieter Sting
e4d443ed09
cast isAuthenticated as a boolean to avoid side effects
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2021-09-24 09:59:19 +02:00
Dieter Stinglhamber
bc9bc1c498 remove commented code 2021-09-24 09:44:53 +02:00
Dieter Stinglhamber
3c1dcbe76d refactor policy API 2021-09-24 09:35:25 +02:00
soupette
ddffdf947d Add component picker
Signed-off-by: soupette <cyril@strapi.io>
2021-09-24 08:40:37 +02:00
soupette
fa479708d7 Init picker
Signed-off-by: soupette <cyril@strapi.io>
2021-09-24 07:46:45 +02:00
soupette
c8a9219a45 Add label to DZ
Signed-off-by: soupette <cyril@strapi.io>
2021-09-24 07:24:10 +02:00
soupette
8bd115d21e Created Button for DZ
Signed-off-by: soupette <cyril@strapi.io>
2021-09-24 06:54:26 +02:00
ronronscelestes
603ab8753c wip input uid 2021-09-23 23:13:44 +02:00
soupette
be4b4bcd79 Fix snapshot
Signed-off-by: soupette <cyril@strapi.io>
2021-09-23 19:25:05 +02:00
soupette
e36f45f5fc Fix badge
Signed-off-by: soupette <cyril@strapi.io>
2021-09-23 16:51:15 +02:00
cyril lopez
df102e8355
Merge pull request #11061 from strapi/v4/strapi-admin-js
Use strapi-admin for front of plugins
2021-09-23 16:41:44 +02:00
soupette
17e5e835b1 Fix dev mode
Signed-off-by: soupette <cyril@strapi.io>
2021-09-23 16:39:42 +02:00
Alexandre Bodin
94d6abafaa Use strapi-admin as reference to load frontend of the plugins 2021-09-23 14:33:19 +02:00
ronronscelestes
40b1169241 fixed grid and padding bottom layout 2021-09-23 14:07:48 +02:00
soupette
7b2ab717bf Add dnd preview
Signed-off-by: soupette <cyril@strapi.io>
2021-09-23 13:54:39 +02:00
soupette
02570c9060 Add repeatable components + dnd
Signed-off-by: soupette <cyril@strapi.io>
2021-09-23 13:24:28 +02:00
soupette
625a3e1284 Use ComponentInitializer for both compos
Signed-off-by: soupette <cyril@strapi.io>
2021-09-23 12:28:11 +02:00
Alexandre Bodin
021ed62d07 Merge branch 'v4/ds-migration' of github.com:strapi/strapi into v4/strapi-admin-js 2021-09-23 12:09:39 +02:00
soupette
42ef399868 Merge branch 'v4/ds-migration' of github.com:strapi/strapi into cm/repeatable-components 2021-09-23 11:41:24 +02:00