102 Commits

Author SHA1 Message Date
Jean-Sébastien Herbaux
b9538ea7c3
Merge pull request #14247 from strapi/api-token-v2/throw-on-unknown-permission
Validate & throw on unknown permissions for API tokens
2022-08-31 10:34:32 +02:00
Convly
e7ca50f6b9 Validate permissions for api-tokens & throw on unknown permissions 2022-08-29 16:33:41 +02:00
Ben Irvin
3cd1a9b183
Merge branch 'features/api-token-v2' into api-token-v2/restrict-lifespans 2022-08-29 12:37:53 +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
Ben Irvin
16537f199e validate lifespan 2022-08-26 15:27:47 +02:00
Ben Irvin
14c183ce51 validate lifespan 2022-08-26 10:33:18 +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
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
Ben Irvin
9e42345011 yup blocks unexpected fields 2022-08-25 12:01:52 +02:00
Ben Irvin
2359ca1cc6 fix tests 2022-08-24 18:05:36 +02:00
Bassel Kanso
e8bca67186 create route for api token layout 2022-08-24 18:08:17 +03:00
Ben Irvin
6577a9533c use lodash/fp 2022-08-24 16:29:39 +02:00
Ben Irvin
568892af97 add controller tests 2022-08-24 13:01:29 +02:00
Ben Irvin
d4c3c6e9af Merge branch 'api-token-v2/fix-failing-e2e-tests' into api-token-v2/regenerate-tokens-api 2022-08-23 20:18:13 +02:00
Ben Irvin
e47db1a490 add comment 2022-08-23 13:52:33 +02:00
Ben Irvin
28f078be0a lifespan validation 2022-08-23 10:51:53 +02:00
Ben Irvin
1cf0cb5c4c fix test 2022-08-23 10:49:27 +02:00
Ben Irvin
da00ba89e1 lifespan unit test 2022-08-22 18:46:22 +02:00
Ben Irvin
0918729d21 Merge branch 'features/api-token-v2' into api-token-v2/backend-expirations 2022-08-22 17:54:33 +02:00
Ben Irvin
e3961fb298 rename lastUsed to lastUsedAt 2022-08-19 16:36:28 +02:00
Ben Irvin
9941198dac fix regeneration 2022-08-18 14:03:59 +02:00
Ben Irvin
7098ae95be Merge branch 'api-token-v2/backend/regenerate-token' into api-token-v2/regenerate-tokens-api 2022-08-18 13:48:06 +02:00
Ben Irvin
06d95419f4 add regeneration of tokens 2022-08-18 13:31:02 +02:00
Ben Irvin
b2b1432322 Merge branch 'features/api-token-v2' into api-token-v2/permissions-for-api-token 2022-08-18 12:20:45 +02:00
Ben Irvin
c61e402461 disallow updating lastUsed from api 2022-08-18 12:03:25 +02:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
Ben Irvin
8cc144679d accept permissions params for api-tokens 2022-08-09 09:59:09 +02:00
Convly
bdb5a3ee89 Merge branch 'releases/4.3.0' into features/typescript 2022-06-30 16:08:51 +02:00
Rémi de Juvigny
68cb67d7ca Show disabled plugins as installed 2022-06-28 17:26:25 +02:00
Convly
bdc043aaec Fix ctx.status 2022-06-07 16:19:24 +02:00
Convly
48ab30ccee First pass on Alexandre's review 2022-06-07 16:07:39 +02:00
Convly
7a99759c1e Merge branch 'releases/4.2.0' of github.com:strapi/strapi into features/typescript 2022-06-07 09:49:55 +02:00
Alexandre Bodin
c765101934 Merge branch 'master' of github.com:strapi/strapi into releases/4.2.0 2022-05-25 12:12:56 +02:00
Convly
66e3aa5dcb Merge branch 'master' into features/typescript 2022-05-24 08:02:38 +02:00
Convly
510b54f16e Moved logic to the right controller 2022-05-13 11:33:25 +02:00
Convly
bb87e910b2 Manually set the registrationToken in the register payload response 2022-05-13 11:22:41 +02:00
vincentbpro
1479641c83 Merge branch 'master' of github.com:strapi/strapi into features/menu-logo 2022-04-26 11:54:35 +02:00
vincentbpro
6076522305 test: updated /init tests 2022-04-25 10:14:02 +02:00
vincentbpro
96302c8ae8 feat(menu-logo): added menuLogo url to /init route 2022-04-20 16:11:43 +02:00
vincentbpro
4c80b3f798 feat(menu-logo): added GET /project-settings route 2022-04-20 15:52:58 +02:00
Convly
4fa2804f35 Merge branch 'master' into features/typescript 2022-04-15 15:47:16 +02:00
vincentbpro
ba8cb27bb1 refactor(logo-customization): simplified updateProjectSettings service function signature 2022-04-15 09:58:35 +02:00
Convly
431ccbe55c Fix isTypeScriptProject -> isUsingTypeScript 2022-04-14 14:55:57 +02:00
Convly
8440d4064f Add the typescript telemetry events to the admin events 2022-04-13 15:41:39 +02:00
vincentbpro
bbed67982c refactor(logo-customization): refactored service function params 2022-04-07 11:41:32 +02:00
vincentbpro
11a203459a feat(logo-customization): delete old logos and getProjectSettings service 2022-04-06 13:54:52 +02:00
vincentbpro
d66bde83ce refactor(logo-customization): cleaned updateProjectSettings service 2022-04-06 12:23:17 +02:00
vincentbpro
d4c5e294a0 feat(logo-customization): parsing and validating image dimensions 2022-04-06 11:50:00 +02:00