164 Commits

Author SHA1 Message Date
einhornimmond
c5a5067155 update rights, prevent gms api access for others than admins 2025-10-04 10:23:39 +02:00
clauspeterhuebner
74ffb8df58 compile and linting 2025-07-04 18:50:12 +02:00
clauspeterhuebner
2c92629174 shift JWT-files to core 2025-07-03 20:02:22 +02:00
einhornimmond
0c9296db44 fix jwt to work also with more meticulous runtime like bun 2025-07-03 08:46:56 +02:00
clauspeterhuebner
495017c404 remove unnecessary checks after decryptAndVerify 2025-07-01 18:46:08 +02:00
clauspeterhuebner
81de0c6c07 new test and correct encryptAndSign + decryptAndVerify 2025-07-01 18:21:31 +02:00
clauspeterhuebner
de7a77c30a Merge remote-tracking branch 'origin/master' into
3505-feature-introduce-encrypted-jwts-in-backend-federation-communication
2025-06-30 17:05:12 +02:00
clauspeterhuebner
fd7d7704c2 only for save current code 2025-06-27 16:39:55 +02:00
clauspeterhuebner
c62169f9c3 remove console.logs and organize imports 2025-06-25 16:26:38 +02:00
clauspeterhuebner
c75e43eafe JWT signing and encryption methods and tests 2025-06-25 16:13:23 +02:00
einhornimmond
bfa9367050 integrate new logging in backend, update some logging messages 2025-06-17 15:32:51 +02:00
clauspeterhuebner
de2566d09b change to encryption on openCommunication() 2025-06-17 02:27:46 +02:00
clauspeterhuebner
13059672f9 linting 2025-05-14 15:00:47 +02:00
clauspeterhuebner
29c08babcc Merge remote-tracking branch 'origin/master' into
3466-introduce-community-selection-logic-in-transactionlink-page
2025-05-13 23:00:34 +02:00
einhornimmond
987582c3ef Revert "use root biome config for backend, add useImportType rule"
This reverts commit bb8132791557fb9dcbf117ff7c3622a83e2e3730.
2025-04-30 09:29:09 +02:00
einhornimmond
bb81327915 use root biome config for backend, add useImportType rule 2025-04-30 09:17:57 +02:00
einhornimmond
90b8dbcc7b refactor code to satisfy biome rules, remove eslint rule comments 2025-04-26 10:17:18 +02:00
clauspeterhuebner
c2294611bd changes to distingue between redeemJWT and disburseJWT 2025-04-25 19:19:17 +02:00
clauspeterhuebner
7104de0254 introduce validUntil in redeem-jwt-token payload 2025-04-24 17:26:14 +02:00
clauspeterhuebner
9648bb1227 correct compile errors on JwtTypes 2025-04-16 15:29:55 +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
f1f46b2d80 first try of x-cross tx per link 2025-04-11 03:12:05 +02:00
einhornimmond
3d20019c02 refactor contribution resolver for pre-mysql-query optimization based on requested fields 2025-03-27 15:31:58 +01:00
einhornimmond
729ff3bc24 ai chat with openai npm module, add MODERATOR_AI Role 2025-03-14 19:49:04 +01:00
einhornimmond
a3147661c3 choose space in modal 2025-02-17 17:43:41 +01:00
einhornimmond
eb3ce6e9cf add graphql handling and adjust entity 2025-02-14 13:21:38 +01:00
einhornimmond
d673b82bad replace circle in function name with humhub 2024-05-07 11:08:12 +02:00
einhornimmond
adaece0efe rename to cirlces, route to setting extern service tab from circles if humhubAllowed is false 2024-04-25 13:15:18 +02:00
Claus-Peter Huebner
2b8b086f6c first draft of gms authentication 2024-03-15 01:16:33 +01:00
einhornimmond
43fee12514 update role name 2024-02-29 13:40:18 +01:00
einhornimmond
abb8cdcf3d re-refactor, remove 'complex' code 2024-02-21 15:34:52 +01:00
einhornimmond
4255c1fdfa dlt-connector use jwt token for authentication at backend 2024-02-20 12:47:40 +01:00
Claus-Peter Huebner
19d996c2f3 update community only for ADMIN and tests 2023-12-27 17:14:19 +01:00
einhorn_b
4f955f6ce1 add new right for moderator to update contribution memo 2023-11-03 13:49:42 +01:00
Claus-Peter Huebner
1b853c44e4 set correct rolename for ROLE_UNAUTHORIZED 2023-07-18 16:06:42 +02:00
Claus-Peter Huebner
abc7128e5f enum solution and graphql-schema-validation 2023-07-14 20:08:06 +02:00
Claus-Peter Huebner
46151006b9 pure Verzweiflung... 2023-07-13 21:10:56 +02:00
Claus-Peter Huebner
e018234591 repair isAuthorized and other user access and findings 2023-07-03 18:43:49 +02:00
Claus-Peter Huebner
eb537301b8 Merge remote-tracking branch 'origin/master' into
3030-feature-role-administration-backend
2023-06-30 21:13:04 +02:00
Claus-Peter Huebner
63dd8587b4 define ROLE_NAMES enum 2023-06-21 01:59:22 +02:00
Moriz Wahl
1e6d4cfe4b add admin list contribution message query 2023-06-20 13:11:36 +02:00
Claus-Peter Huebner
078b314def specific RIGHTS 2023-06-14 02:02:20 +02:00
Claus-Peter Huebner
f9b4970b21 all ROLES 2023-06-14 02:01:59 +02:00
Claus-Peter Huebner
d2ab850cf6 all RIGHTS 2023-06-14 02:01:32 +02:00
97ed8df148
Merge branch 'master' into replace-jasonwebtoken-with-jose 2023-05-17 13:56:03 +02:00
Moriz Wahl
89803133a0 add check username query 2023-05-15 22:38:59 +02:00