17 Commits

Author SHA1 Message Date
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
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
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
Convly
620418c9a6 Remove sensitive fields from sanitize user in the admin 2022-05-10 07:00:19 +02:00
Vincent
b606178332
Interface language usage metrics (#12107)
* feat: sending didChangeInterfaceLanguage event

* fix: registered user model lifecycle hook to send  event

* test: added tests for user and metrics services

* fix: sending event on user delete

* fix: avoid sending event when language is not updated
2022-01-17 17:45:26 +01:00
Convly
fdefb1382c Use a custom findOneByEmail to search for existing user 2021-11-23 12:16:54 +01:00
Pierre Noël
b4c9ad0440 refacto graphql errors 2021-11-04 11:42:43 +01:00
Pierre Noël
b58274aecb refactor error handling 2021-11-04 11:41:29 +01:00
Pierre Noël
995c5c86b9 clean code 2021-09-27 16:44:05 +02:00
Pierre Noël
95d9b19588 fix sort on admin user 2021-09-27 16:06:43 +02:00
Alexandre Bodin
47c3900c07 Update createContentType to expose a simpler object 2021-08-23 22:25:31 +02:00
Alexandre Bodin
07ae49badd Avoid making empty queries in populate 2021-08-06 10:51:34 +02:00
Alexandre Bodin
d44a6f68ee Migrate admin to programmatic loading 2021-08-02 17:54:49 +02:00