452 Commits

Author SHA1 Message Date
acc49581cb
more refactors, fixed some todos and simplified things 2022-02-21 01:16:15 +01:00
2d0d02c7f6
lots of refacoting in TransactionResolver 2022-02-21 01:01:57 +01:00
9574af9278
removed balance & transaction repository since its no longer needed 2022-02-21 00:38:39 +01:00
e1034cb1fd
fixed data conversion error on sendCoins 2022-02-21 00:18:08 +01:00
70a0a2664b
properly use js array operators (find) 2022-02-20 13:21:12 +01:00
0c15bed74e
backend is buildable 2022-02-20 04:46:36 +01:00
e27dcb27c6
Merge branch 'master' into refactor_user_resolver 2022-02-18 17:23:50 +01:00
09d15a2359
Merge branch 'master' into refactor_user_resolver 2022-02-18 17:17:57 +01:00
264270524b
some small refactors for the user resolver:
- stop using repositories where its not needed
- removed unused function
2022-02-18 13:26:57 +01:00
ed09e998b9
admin: have a specific error message when trying to add a pending creation on a deleted user 2022-02-18 12:59:55 +01:00
90bdca04a6
UserResolver
- on login have a specific message for deleted users
- when trying to register also check for deleted users and prevent registration
2022-02-18 12:49:05 +01:00
8eaed23af4
transactionResolver
- remove unnecessary function
- use of the enity model directly
- corrected spelling
- show specific error when sending to a deleted user
2022-02-18 12:47:33 +01:00
4a51231bf9
admin resolver
- use entity instead of repository
- include deleted users in our query for pending transactions
- throw an error when trying to add or confirm a pending transaction for a deleted user
2022-02-18 12:44:35 +01:00
0683ff1999
fixed backend deletedAt instead of disabled 2022-02-17 10:53:49 +01:00
a37b479158
fixed sendCoins 2022-02-16 12:29:16 +01:00
Alexander Friedland
912e35090a
Merge branch 'master' into static_decay_block 2022-02-16 11:51:01 +01:00
Moriz Wahl
2294997734 throw again when GDT server is not reachable 2022-02-16 09:39:42 +01:00
Moriz Wahl
efaef025ee do not throw error when GDT server is not reachable 2022-02-16 09:32:24 +01:00
Moriz Wahl
283cfcc84a GDT server not reachable error thrown 2022-02-16 09:23:58 +01:00
Moriz Wahl
58ee714e17 allow gdtSum to be null 2022-02-16 09:05:42 +01:00
Moriz Wahl
8fddffd466
Merge branch 'master' into do-not-throw-gdt-errors 2022-02-15 07:51:50 +01:00
Moriz Wahl
22c408f633 fix: Catch GDT Server Errors 2022-02-14 14:34:43 +01:00
f3b3fa2eba
do not query on email opt in type, since we have different ones and legacy types. Furthermore order the result of the query. 2022-02-14 13:45:48 +01:00
Moriz Wahl
15a9af4552
Merge branch 'master' into admin-email-confirmation 2022-02-11 16:29:05 +01:00
Moriz Wahl
a347b337c6 take createdAt if updatedAt is not present 2022-02-11 14:55:31 +01:00
ogerly
5319f6de1e remove string 'recipiant not known' to 'recipiant not known' 2022-02-11 12:10:00 +01:00
Moriz Wahl
0a545c5fbe fix missing negator 2022-02-10 08:14:58 +01:00
Moriz Wahl
b3be4f664a add date of last email confirmation send to admin user 2022-02-10 08:05:25 +01:00
Moriz Wahl
2c88bc0383 remove query for checkEmail as it is included in the user model now 2022-02-10 07:32:39 +01:00
Alexander Friedland
af3dd430e7
Merge branch 'master' into 1401-Admin-interface-does-user-have-member-area 2022-02-08 15:56:31 +01:00
8e769e7b0e
Merge branch 'master' into remove_unnecessary_repositories 2022-02-07 13:07:55 +01:00
elweyn
346ca8fc35 Merge conflict resolved. 2022-02-07 10:45:27 +01:00
ogerly
3806beb01e Add hasElopage flag to user entity for the admin user search. 2022-02-07 10:38:35 +01:00
ogerly
555420a568 Remove unused imports, extract hasElopageBuys to utility. 2022-02-07 10:36:43 +01:00
817e462698
fixed backend according to migration 2022-02-07 05:01:49 +01:00
Hannes Heine
80956bcee9
Merge branch 'master' into 1401-Admin-interface-does-user-have-member-area 2022-02-05 17:23:02 +01:00
c21f7da5ce
lint fixes 2022-02-04 15:50:24 +01:00
elweyn
14d9366ad6
Merge branch 'remove_unnecessary_repositories' of https://github.com/gradido/gradido into remove_unnecessary_repositories 2022-02-04 15:49:21 +01:00
545aca8ffb
lint fix 2022-02-04 15:48:04 +01:00
c63a42009e
removed references and implemented implicit active record queries 2022-02-04 15:48:04 +01:00
17e2e28aec
fixed backend implementation 2022-02-03 21:35:15 +01:00
6500901e2f
lint fix 2022-02-03 21:35:15 +01:00
da349230c8
removed LoginBackupUsers entity & references from backend resolvers 2022-02-03 21:35:15 +01:00
a334c916fd
fixed business logic with only one user 2022-02-03 21:35:15 +01:00
7baf05cf14
corrected field pubKey rename 2022-02-03 21:35:15 +01:00
ogerly
4c3c49c9aa add hasElopage status in AdminResolver.ts 2022-02-03 11:43:07 +01:00
ab38a66c84
Update backend/src/graphql/resolver/TransactionResolver.ts 2022-02-03 00:48:15 +01:00
8005b700c3
removed references and implemented implicit active record queries 2022-02-02 19:54:47 +01:00
bec09fc7f4
Update backend/src/graphql/resolver/TransactionResolver.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-02-02 19:48:20 +01:00
736310f5d5
fix build error - type errors 2022-02-02 19:48:20 +01:00