4290 Commits

Author SHA1 Message Date
clauspeterhuebner
801df7575b next try 2025-04-24 18:09:47 +02:00
clauspeterhuebner
a2a026006a correct type of validUntil for createRedeemJwt 2025-04-24 18:01:59 +02:00
clauspeterhuebner
7104de0254 introduce validUntil in redeem-jwt-token payload 2025-04-24 17:26:14 +02:00
einhornimmond
c16786cd20 slice first_name and last_name after 20 character for humhub 2025-04-24 16:22:43 +02:00
einhornimmond
21be12f3b0 check firstname length for humhub 2025-04-24 15:27:30 +02:00
einhornimmond
456725aeae remove unnecessary \n, better final error reporting 2025-04-24 15:09:37 +02:00
clauspeterhuebner
322e4ca37f treat validUntil as Date in case of DisbursementLink too 2025-04-24 14:34:26 +02:00
einhornimmond
4860cc2670 use old humhub username on update for finding humhub user to prevent new user if user has changed email in humhub and alias in wallet 2025-04-24 13:05:16 +02:00
einhornimmond
4834c01fe9 prevent overwriting process message with error message 2025-04-24 11:57:19 +02:00
clauspeterhuebner
f133cb15bc next try 2025-04-24 01:38:44 +02:00
clauspeterhuebner
54258adc42 correct calculation of exp-date 2025-04-23 21:35:04 +02:00
clauspeterhuebner
0ed47d69e6 shift disbursement-logic in separated method 2025-04-23 19:52:58 +02:00
clauspeterhuebner
3770be4274 set validUntil in DisbersementLink by exp-claim of jwt-payload 2025-04-23 16:23:18 +02:00
einhornimmond
e450ee2ff3
Merge branch 'master' into humhub_project_auto_register_for_legacy_user 2025-04-23 14:05:09 +02:00
einhornimmond
68e0645d8f add more tests, correct special case with humhub username initials without alias 2025-04-23 10:59:03 +02:00
einhornimmond
9ff6470b47 make authenticateHumhubAutoLogin a mutation, auto register user on humhub if project was set and user don't exist on humhub 2025-04-22 10:10:16 +02:00
einhornimmond
6fdcb0a86d fix the fix 2025-04-17 18:04:48 +02:00
clauspeterhuebner
31c362be0a change user to senderUser 2025-04-17 18:03:41 +02:00
einhornimmond
b0444420a9 make sure that changing data for gms automatic disable random location type 2025-04-17 17:52:59 +02:00
clauspeterhuebner
11eb0c45a7 overwork transactionLink and disbursementLink 2025-04-17 17:48:03 +02:00
clauspeterhuebner
fddfe69bad first try with disbursement result from queryTransactionLink 2025-04-17 16:00:47 +02:00
clauspeterhuebner
6d8a65a138 rework JWT decoding/verifying 2025-04-16 16:59:28 +02:00
clauspeterhuebner
9648bb1227 correct compile errors on JwtTypes 2025-04-16 15:29:55 +02:00
einhornimmond
58b006193f fix update to exact gms location type 2025-04-16 13:10:33 +02:00
einhornimmond
b894544a6b change function and variable name 2025-04-16 10:13:48 +02:00
einhornimmond
35f28dc060 update public name logic, test and usage, distinguish between unique username and publicName 2025-04-16 10:06:06 +02:00
clauspeterhuebner
b63dbb5898 next try 2025-04-16 04:05:07 +02:00
clauspeterhuebner
e55d865c10 next try 2025-04-16 03:14:37 +02:00
clauspeterhuebner
32d130479a more logs 2025-04-16 03:01:31 +02:00
clauspeterhuebner
49a9a75ed7 next try 2025-04-16 02:39:41 +02:00
clauspeterhuebner
0e41e6518c remove check against referrer and in case of invalid signing use simply
decoded payload
2025-04-16 01:39:24 +02:00
clauspeterhuebner
28bd35ca2a next try for disbursementJwt mapping 2025-04-16 00:08:39 +02:00
clauspeterhuebner
4b901dc1dc check jwt type again constant instead of instanceof 2025-04-15 22:39:56 +02:00
clauspeterhuebner
a6e2efef19 sign jwt with senderCommunityUuid, search senderCom per decoded payload
and verify jwt with senderComUUid selected from db ensured against
referrer
2025-04-15 22:06:43 +02:00
clauspeterhuebner
41032e5fc6 tried different solutions for asymmetric keys and only HS256 could
create a JWT but without a valid signature
2025-04-15 16:49:51 +02:00
clauspeterhuebner
675ee6fd81 next try for verifyJWT with RS256 and private/public key usage 2025-04-14 19:03:47 +02:00
clauspeterhuebner
1b2f1ea275 more detailed logs 2025-04-14 16:21:12 +02:00
clauspeterhuebner
c8c91ebf4e add more logs 2025-04-14 16:00:18 +02:00
clauspeterhuebner
f04d156e5c additional log and missing await at decode invocation 2025-04-14 15:42:11 +02:00
einhornimmond
b4d65827d5 more infos, show minimal progress indicator for export gms user 2025-04-13 13:57:40 +02:00
clauspeterhuebner
e9d2eae51a correct handling of receiverCommunity updates 2025-04-11 19:02:23 +02:00
clauspeterhuebner
25c4c7362f now the jwt-token creation and community-switch works correctly, but
redeem with a jwt-token is still open
2025-04-11 16:40:36 +02:00
clauspeterhuebner
f1f46b2d80 first try of x-cross tx per link 2025-04-11 03:12:05 +02:00
einhornimmond
9f181a2079 change name and default value 2025-04-08 18:57:54 +02:00
einhornimmond
19720ee6ca adjust configs, add GMS_PLAYGROUND_ROUTE, move export script into apis folder like in humhub 2025-04-08 18:33:16 +02:00
einhornimmond
2ef2f29d4f
Merge branch 'master' into refactor_graphql_admin_contribution_list 2025-03-28 23:30:06 +01:00
einhornimmond
55c8522cfe reduce changed code 2025-03-27 16:03:25 +01:00
einhornimmond
3d20019c02 refactor contribution resolver for pre-mysql-query optimization based on requested fields 2025-03-27 15:31:58 +01:00
einhornimmond
ed90d6ae7f
Merge branch 'master' into 3447-modify-humhub-card-in-overview-page 2025-03-26 20:09:29 +01:00
clauspeterhuebner
cfb323e1d2
Update backend/src/graphql/model/User.ts
Co-authored-by: einhornimmond <dario.rekowski@gmx.de>
2025-03-25 18:12:56 +01:00