1861 Commits

Author SHA1 Message Date
ogerly
4dc4f30097 Add hasElopage to the UserAdmin model. 2022-02-07 10:39:01 +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
ogerly
9d79e35f36 Refactor hasElopageBuys method to a utility method. 2022-02-07 10:34:54 +01:00
c6e2d2cf1c
updated version string 2022-02-07 07:57:14 +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
c101873375
removed unnecessary repositories, we can now use the implicit active record functions 2022-02-04 15:44:28 +01:00
b54ae48162
fixed query 2022-02-03 21:45:45 +01:00
ff77ffc82c
adjusted db version 2022-02-03 21:41:14 +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
8aa67dab1e
removed unnecessary repositories, we can now use the implicit active record functions 2022-02-02 19:51:14 +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
31c00a28e0
adjust required database version 2022-02-02 17:18:29 +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
a1548805ac
adjust required database version 2022-02-02 16:26:20 +01:00
71551153c4
backend changes to rename login_pending_tasks_admin table to admin_pending_creations 2022-02-02 16:25:15 +01:00
Moriz Wahl
88a269c6be
Merge branch 'master' into clean_database 2022-02-02 16:21:45 +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
2fc4c9c341
cleanup index - check db version externally
define required db version in cofig as constant
some type updates
2022-02-01 02:51:43 +01:00
d6a7d8ddeb
adjust required database version 2022-01-28 16:52:16 +01:00
65bc3479fa
rewrote elopage hook to handle actual elopage hook 2022-01-27 21:29:53 +01:00
f3078b3cbd
use url encode bodyparser 2022-01-27 21:29:18 +01:00
Alexander Friedland
cce9e2af67
Merge branch 'master' into fix-creation-for-not-checked-email 2022-01-27 14:09:25 +01:00
b8ab335ba5
Merge branch 'master' into 1330-EditCreationFormular-update-date 2022-01-27 11:32:29 +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
c7c011879b
Merge branch 'master' into fix-creation-for-not-checked-email 2022-01-27 11:03:27 +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
795c99e641
flame hannes 2022-01-27 01:24:58 +01:00
elweyn
afbc52c2aa Implemented a method to add back the summ to the creations array. 2022-01-26 20:10:11 +01:00
elweyn
190038eaa1 fix updatePendingCreation method logic, now it checks if the updated datas are allowed so that no user can get more than 1000 GDD per month. 2022-01-26 15:54:19 +01:00
ab584c7250
reduced backend coverage, renamed test file apropriatly 2022-01-25 22:14:37 +01:00
869d9e303d
disabled UserResolver.test 2022-01-25 22:06:29 +01:00