2949 Commits

Author SHA1 Message Date
Simone Taeggi
c641c5d71d Merge branch 'features/api-token-v2' into api-token-v2/regenerate-an-api-token 2022-08-29 11:31:38 +02:00
Simone
4f7db2ef72
Merge pull request #14180 from strapi/api-token-v2/settings-access-api-token
RBAC on API tokens settings access
2022-08-29 11:30:26 +02:00
Simone
3f3ec98101
Merge pull request #14108 from strapi/api-token-v2/last-activity-of-an-api-token
Add last activity column in the API tokens list
2022-08-29 11:29:18 +02:00
Simone
8e73c40e86
Merge pull request #14174 from strapi/api-token-v2/notification-text-save-button-triggered
Change notification message when we successfully save a created or edited token
2022-08-29 11:28:51 +02:00
Ben Irvin
2dea049a8c fix test 2022-08-29 10:50:46 +02:00
Simone Taeggi
09cb0f42a6 add the regenerate logic 2022-08-29 10:40:32 +02:00
Ben Irvin
7ed24a9edf
Merge pull request #14192 from strapi/api-token-v2/regenerate-tokens-api
Api Token v2/add regenerate controller tests
2022-08-29 10:38:42 +02:00
Kevin Antonio Rateni Iatauro
df30b7a6c1
Merge branch 'main' into fix/settings-button-sizes 2022-08-29 09:51:12 +02:00
WalkingPizza
a25d813b6c Update snapshots 2022-08-29 09:50:46 +02:00
Ben Irvin
9aed7d9540 rename token-permission to api-token-permission 2022-08-29 09:17:31 +02:00
Simone Taeggi
0a5f5c1d86 Merge branch 'features/api-token-v2' into api-token-v2/regenerate-an-api-token 2022-08-28 17:13:21 +02:00
Simone Taeggi
d95151a556 fix Expiration date when unlimited lifespan and the initial value of the Token duration in creation 2022-08-28 17:10:18 +02:00
Simone Taeggi
1cf7daf64b remove global.regenerate 2022-08-26 18:00:18 +02:00
Simone Taeggi
abae2c1e01 use theme spaces 2022-08-26 17:57:38 +02:00
Simone Taeggi
372b03fcc2 Merge branch 'features/api-token-v2' into api-token-v2/regenerate-an-api-token 2022-08-26 17:53:14 +02:00
Simone Taeggi
bfa840a610 Merge branch 'features/api-token-v2' into api-token-v2/notification-text-save-button-triggered 2022-08-26 17:32:33 +02:00
Simone
8625c98089
Merge pull request #14231 from strapi/api-token-v2/integrate-BE-on-save-token
[FE] Integrate the BE to Save a Token in Creation and Update
2022-08-26 17:30:48 +02:00
Simone Taeggi
0a63f1b69c update snapshots 2022-08-26 16:27:24 +02:00
Ben Irvin
697662421f allow empty array of permissions 2022-08-26 16:11:08 +02:00
Simone Taeggi
0987baaf4b add type selection 2022-08-26 15:48:04 +02:00
Simone Taeggi
73a9f3c40c first attempt to fix the save action in both creation and updating 2022-08-26 15:39:09 +02:00
Ben Irvin
16537f199e validate lifespan 2022-08-26 15:27:47 +02:00
Jean-Sébastien Herbaux
d3357b87af
Merge pull request #14216 from strapi/api-token-v2/fix-update-custom-token-permissions
Fix permissions update for custom API tokens
2022-08-26 15:24:06 +02:00
Bassel Kanso
2e53c78e8f fix token type state 2022-08-26 14:52:18 +03:00
Bassel Kanso
061be9d747 Merge branch 'features/api-token-v2' into api-token-v2/refactor-frontend 2022-08-26 14:19:04 +03:00
Bassel Kanso
6f31ddefbe fix test and make single actions selectable 2022-08-26 14:12:30 +03:00
Bassel Kanso
025c4d154f
Merge pull request #14200 from strapi/api-token-v2/permissions-route
Api token layout route
2022-08-26 12:44:12 +03:00
Ben Irvin
14c183ce51 validate lifespan 2022-08-26 10:33:18 +02:00
Simone Taeggi
2f3ca60c63 Merge branch 'main' into features/api-token-v2 2022-08-26 10:06:17 +02:00
Bassel Kanso
db4c3af1f9 remove test 2022-08-26 10:42:01 +03:00
Bassel Kanso
3ce256e279 add content api permissions controller to it's separate file 2022-08-26 10:02:13 +03:00
Convly
29cea1d7cb null guard for expiration checks 2022-08-25 16:56:50 +02:00
Convly
d834bf6f48 Fix tests 2022-08-25 16:27:18 +02:00
Simone Taeggi
0b4ca50191 show the regenerate button only on update and after creation 2022-08-25 16:19:33 +02:00
Bassel Kanso
4d72da1257 Merge branch 'features/api-token-v2' into api-token-v2/permissions-route 2022-08-25 16:59:12 +03:00
Bassel Kanso
a772f8a8ac add content type permissions to the permissions route 2022-08-25 16:57:45 +03:00
Convly
87520328bd Fix expiration date checks on api token strategy 2022-08-25 15:44:10 +02:00
Convly
3568034cb4 Add test for create & update custom token permissions 2022-08-25 15:16:53 +02:00
Convly
8732d07555 Prevent duplicate permissions on create too 2022-08-25 14:25:09 +02:00
Convly
2c71d7d069 Fix permissions update for custom token (uniqueness) 2022-08-25 14:23:36 +02:00
Jean-Sébastien Herbaux
4c6c5e5218
Merge pull request #14214 from strapi/api-token-v2/fix-update-checks
Fix API tokens' update due to wrong enum values
2022-08-25 14:12:46 +02:00
Convly
46b28db877 Fix invalid enum value used to assert 'changingTypeToCustom' 2022-08-25 13:56:24 +02:00
Ben Irvin
b3fe16b3c6
Merge pull request #14186 from strapi/api-token-v2/backend-expirations
Api token v2/backend expirations
2022-08-25 13:14:27 +02:00
Gustav Hansen
ffa6a0bc53
Merge pull request #14206 from gitstart/STRAP-65
0 values are not handled correctly in relations
2022-08-25 12:54:50 +02:00
Simone Taeggi
ca44733f41 add the regenerate button 2022-08-25 12:31:52 +02:00
Ben Irvin
9e42345011 yup blocks unexpected fields 2022-08-25 12:01:52 +02:00
Simone Taeggi
cce909d1ae add the access action to the e2e tests 2022-08-25 10:00:52 +02:00
Mark Kaylor
fc78298ae4 Merge branch 'main' of github.com:strapi/strapi into features/custom-fields 2022-08-25 09:37:19 +02:00
Simone Taeggi
3017fd5e41 update e2e test 2022-08-25 08:52:42 +02:00
gitstart
f67f226102 0 values are not handled correctly in relations 2022-08-25 06:48:27 +00:00