272 Commits

Author SHA1 Message Date
Wolfgang Huß
91959aea28 Fulfill Moriz suggestions 2022-06-20 16:08:35 +02:00
Wolfgang Huß
50f5667288 Merge branch 'master' of github.com:gradido/gradido into 1880-no-throw-when-register-with-existing-email
# Conflicts:
#	backend/src/graphql/resolver/UserResolver.ts
2022-06-20 13:56:25 +02:00
Moriz Wahl
409e44f679 store contribution link id on user when regsitered with contribution link code 2022-06-16 10:44:17 +02:00
Wolfgang Huß
09d99a72f4 Add todo comment 2022-06-14 10:41:57 +02:00
Wolfgang Huß
c5f7673cf2 Change following the review suggestions of Alex and Moriz 2022-06-14 10:35:34 +02:00
Wolfgang Huß
9b90f52cba Cleanup 2022-06-02 16:00:09 +02:00
Wolfgang Huß
c7923e3122 Refactor and write the tests of the 'createUser' resolver and the multi registration email 2022-06-02 15:45:49 +02:00
Wolfgang Huß
d794a4dea9 Refactor the 'createUser' resolver 2022-06-01 15:44:51 +02:00
ogerly
abd1e62fc3 remove unused backend variable 2022-05-29 12:48:10 +02:00
ogerly
18d0249029 remove files und code from coinanimation in backend 2022-05-29 12:36:00 +02:00
Moriz Wahl
5cac5d9cfb loggers are created only once, unify logger for unit tests 2022-05-16 16:02:12 +02:00
Moriz Wahl
9893cc78aa add context user with user.id instead of public key 2022-05-10 19:33:26 +02:00
Moriz Wahl
80b7305860 Silence logger for unit tests in user resolver. Make tests available for logger in user resolver 2022-05-10 16:33:40 +02:00
Claus-Peter Hübner
786e78065e log output for UserResolver 2022-05-06 03:07:26 +02:00
Claus-Peter Hübner
64167692e8 lint files with changed eof config 2022-05-05 16:20:42 +02:00
Moriz Wahl
b0de4bea7d linting 2022-05-05 11:48:26 +02:00
Moriz Wahl
0610737a97 fix syntax errors 2022-05-05 11:46:08 +02:00
Claus-Peter Hübner
4afffea797 additional logg-statements 2022-05-05 01:01:06 +02:00
Moriz Wahl
befa965a44 configure logger only once. Log Context User ID if present on response 2022-05-04 13:58:45 +02:00
Claus-Peter Hübner
0449dc59e8 try to log UserResolver, is not working, no output 2022-05-04 02:23:33 +02:00
Moriz Wahl
b10f9245b6 linting 2022-05-03 10:41:04 +02:00
Claus-Peter Hübner
754dc16e98 test loggers included 2022-04-30 00:25:09 +02:00
Moriz Wahl
b3449a28af Merge branch 'more-user-resolver-tests' of github.com:gradido/gradido into more-user-resolver-tests 2022-04-25 16:06:30 +02:00
Moriz Wahl
22fcf28291 remove strange comments 2022-04-25 16:06:18 +02:00
Moriz Wahl
89dea79ce1
Merge branch 'master' into more-user-resolver-tests 2022-04-25 16:05:24 +02:00
Moriz Wahl
0264931e58 test update user infos mutation. Remove publisher ID from update user infos as it is never used 2022-04-25 14:07:31 +02:00
Moriz Wahl
64859a71f4 use isAdmin on user to determine if user is admin 2022-04-20 11:27:09 +02:00
Moriz Wahl
6cc8410720 helper function to get user from context 2022-04-11 16:15:57 +02:00
Moriz Wahl
4d09123b0e remove global no explicit any lint rule 2022-04-11 15:55:05 +02:00
Moriz Wahl
97ee572c3a Merge branch 'fix-elopage-status' into define-context-object 2022-04-11 15:50:52 +02:00
Moriz Wahl
57298a4d3a use Context interface in user resolver 2022-04-11 15:50:46 +02:00
Moriz Wahl
f57f67846e reconstruct context object 2022-04-11 14:58:00 +02:00
Moriz Wahl
f3948b39be pass context object to hasElopage query 2022-04-05 14:50:45 +02:00
Moriz Wahl
3078315286 change name and tpye of query sendResetPasswordEmail to mutation forgotPassword. Do not throw when email is not found 2022-03-30 18:24:44 +02:00
Moriz Wahl
07ad22b71d change function name to print time duration 2022-03-29 20:10:00 +02:00
Moriz Wahl
9eda41b24a Merge branch 'optin-valid-time' into show-valid-time-of-link-in-email 2022-03-29 00:59:47 +02:00
Moriz Wahl
37e36e01af do not remove optin code in DB after email verification 2022-03-29 00:51:44 +02:00
Moriz Wahl
cb90249301 rename function, add parameter for optinType, sort by updatedAt DESC 2022-03-29 00:50:50 +02:00
Moriz Wahl
5456affb9c fix logic (not canResendOptIn), fix error strings 2022-03-24 19:27:32 +01:00
Moriz Wahl
9da2047e8c move sendActivationEmail mutation from user to admin resolver 2022-03-24 19:14:59 +01:00
Moriz Wahl
1e3300ad5a use optIn as naming convention 2022-03-24 18:38:24 +01:00
Moriz Wahl
607805075c refactor sendActivationEmail, get rid of getOptInCode function 2022-03-24 18:33:07 +01:00
Moriz Wahl
965ab22bab create helper functions for time management, rename some functions 2022-03-24 18:17:46 +01:00
Moriz Wahl
7cd920686d helper function to create a new email optin object. Use this in create user 2022-03-24 17:50:34 +01:00
Moriz Wahl
ac000296da enums for optin types 2022-03-24 17:37:07 +01:00
Moriz Wahl
34d3893f1c Merge branch 'master' into optin-valid-time 2022-03-24 14:00:41 +01:00
Moriz Wahl
f1686523df add link information to reset password email 2022-03-23 16:57:04 +01:00
Moriz Wahl
d1644ad2ae add information about link duration and how to get a new link in email 2022-03-23 16:49:30 +01:00
Moriz Wahl
ca0d97c47c test printEmailCodeValidTime 2022-03-23 16:03:52 +01:00
Moriz Wahl
662285161c time span for email code valid time 2022-03-23 14:28:24 +01:00