124 Commits

Author SHA1 Message Date
ivanThePleasant
de25284aac Merge branch 'main' into chore/user-level-data 2022-10-04 10:08:53 +03:00
Convly
706b8a5d56 Revert to STRAPI_HOSTING 2022-09-30 11:40:05 +02:00
Convly
340b17d6da Update wording 2022-09-29 18:12:05 +02:00
Convly
a1c7185252 Add hostedOnStrapiCloud property to the telemetry events 2022-09-29 17:35:18 +02:00
Jamie Howard
a742a5d6bc
Merge pull request #14458 from strapi/fix/13360/camel-case-email
Treat email as lowercase when creating a user
2022-09-29 13:48:55 +01:00
ivanThePleasant
01bb760793 Clean up unnecessary code 2022-09-29 14:15:07 +03:00
ivanThePleasant
5a4362faf7 Refactor changes to use request context 2022-09-29 11:24:11 +03:00
ivanThePleasant
c0588231a6 Merge branch 'main' into chore/user-level-data 2022-09-29 11:23:17 +03:00
Jamie Howard
bfbab082cf fix(admin): lowercase email when creating user 2022-09-26 15:52:08 +01:00
ivanThePleasant
d568592d5c Refactor 'didUpdateRolePermissions' calls 2022-09-05 12:19:31 +03:00
ivanThePleasant
a2ee4bb855 Change location of user creation analytics call, remove development console log, adjust tests accordingly 2022-09-02 16:21:48 +03:00
ivanThePleasant
b5c98ae0cd Refactor event calls to follow old format, encapsulate hashing in the sender, refactor the format of event payload to better correspond to the new api 2022-09-02 14:43:51 +03:00
Bassel Kanso
30e3a2ac70 Merge branch 'features/api-token-v2' into api-token-v2/get-action-bound-routes 2022-09-02 11:17:39 +03:00
Bassel Kanso
c842085fe3 move routes map service to content API coontainer 2022-09-02 11:06:55 +03:00
Bassel Kanso
e9fd658331 add a route to get contentApi Routes 2022-08-31 11:39:55 +03:00
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
ivanThePleasant
1c3c04ab28 Fix unit test 2022-08-16 14:06:35 +03:00
ivanThePleasant
1cda317e03 Refactor FE admin hash generation to fix error 2022-08-16 14:00:45 +03:00
ivanThePleasant
459de9774d Refactor hash function, add uuid to the admin hash, remove debug console logs 2022-08-16 11:58:15 +03:00
ivanThePleasant
3ead6f2487 Move hash function to user services instead of it being a separate service 2022-08-12 10:19:40 +03:00
ivanThePleasant
7e5b38d588 Merge branch 'master' into chore/user-level-data 2022-08-11 18:28:58 +03:00
ivanThePleasant
f8ac76491f Convert all server events to new format, refactor admin events userAdminId, refactor tests 2022-08-11 15:56:39 +03:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
ivanThePleasant
7291d2e6cf Change user hashing to be a service on admin, introduce adminUserId property to the send function, refactor several events 2022-08-09 12:20:25 +03:00