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
378bae4323
made decay block static
...
removed duplicate implementation of decay calculation
2022-02-02 19:48:20 +01:00
07299299a7
remove explicit write on removed column blockchainTypeId
...
removed test result comment from code
2022-02-02 17:18:28 +01:00
28e6522052
redo the remove repository change for AdminResolver and AdminPendingCreations since the Filename changed and git could not resolve this
2022-02-02 16:40:08 +01:00
71551153c4
backend changes to rename login_pending_tasks_admin table to admin_pending_creations
2022-02-02 16:25:15 +01:00
5bc23a4857
remove typeorm from backend project and reference the one installed in database. This way the default connection of the enteties can be used - this was not possible before since the connection waa created in the backend typeorm, but the entities are defined in the database installation.
...
We now remove the typeorm from backend and rely solely on the database typeorm. We now can use both activeRecord and dataMapper pattern.
2022-02-01 04:14:54 +01:00
654dd8de96
check right on sendActivationEmail
2022-02-01 02:59:19 +01:00
Alexander Friedland
cce9e2af67
Merge branch 'master' into fix-creation-for-not-checked-email
2022-01-27 14:09:25 +01:00
elweyn
6c81673a4b
Update creations of a user only if the old pending creation has the same month as the updated month. Throw exception before end of file.
2022-01-27 11:04:32 +01:00
elweyn
9e4d2498ca
Throw exception before continuing the bussiness logic.
2022-01-27 10:38:35 +01:00
elweyn
a12378ed8b
Checks if User has activated his Email before saving a open creation.
2022-01-27 10:33:06 +01:00
elweyn
d938814f1a
Check if user account is not disabled to make a creation.
2022-01-27 10:24:03 +01:00
elweyn
afbc52c2aa
Implemented a method to add back the summ to the creations array.
2022-01-26 20:10:11 +01:00