682 Commits

Author SHA1 Message Date
Hannes Heine
f58225df4f
Merge branch 'master' into fix-coin-creation-balanceDate-entry 2021-12-13 11:27:46 +01:00
elweyn
fb001b8886 Change emplacement of receivedDate after possible errors so we don't create the object when we don't need it. 2021-12-13 11:26:30 +01:00
elweyn
284984c296 When creating coins we store the receivedDate at the start of the call and write this value in each date field. 2021-12-13 11:24:09 +01:00
fba757228c
renamed pendingCreations into loginPendingTasksAdmin as to our naming conventions 2021-12-10 17:03:34 +01:00
elweyn
cb3c600216 Adding decay calculation to the creation. 2021-12-10 12:10:38 +01:00
elweyn
40dff50364 state-balance balanceDate can't get the date of the last transaction cause creation is a new transaction. 2021-12-10 11:54:00 +01:00
elweyn
56dd218ee2 Fix updatePendingCreation amount that is send back. 2021-12-10 09:14:22 +01:00
elweyn
9eb4e8603a Withdrew * 10000 and / 10000 since we need to store the full value. 2021-12-10 09:08:54 +01:00
elweyn
c7fbb9b0bf Changed the Login error handling so that we get the no-account message in case of a specific error, else we send the user to /reset/login 2021-12-07 10:19:29 +01:00
Hannes Heine
963d7de628
Merge branch 'master' into login_call_resetPassword 2021-12-07 10:15:21 +01:00
452beec07c
Merge branch 'master' into login_call_resetPassword 2021-12-07 00:26:23 +01:00
elweyn
e84f30c1fc Merge changes to deletePendingCreation branch. 2021-12-06 14:11:13 +01:00
elweyn
48b7c9a0af Delete button sends call to Adminresolver deletePendingCreation. 2021-12-06 13:45:50 +01:00
bbd54ef607
Merge branch 'master' into login_call_resetPassword 2021-12-06 13:42:48 +01:00
ogerly
b8854f9365 Change the lastUserTransaction.balance and multiplied it by 10000 2021-12-04 10:38:25 +01:00
elweyn
2c2e56024d Merge branch 'adminDeletePendingCreationQuery' into adminConfirmPendingCreation 2021-12-03 17:17:41 +01:00
elweyn
63ebbf2eda Merge branch 'adminEditPendingCreationQueries' into adminDeletePendingCreationQuery 2021-12-03 17:16:21 +01:00
ogerly
180dea4caf Merge adminPendingCreationQueries 2021-12-03 17:15:59 +01:00
ogerly
688ae36d8f Remove unused import and console log. 2021-12-03 17:00:40 +01:00
ogerly
6e250cb63b Remove console.log. 2021-12-03 16:49:03 +01:00
ogerly
df393c4ea8 Fixe calculation of the new balance. 2021-12-03 16:46:14 +01:00
ogerly
0da5c3d2c8 Store the right amount in the database. 2021-12-03 16:27:01 +01:00
elweyn
a07d34d827 Added a state_user_transaction row. withdrew / 10000 from frontend. 2021-12-03 14:25:00 +01:00
elweyn
7b3096a88b Change mutation id from int to float and changed the findOrFail parameter to simply id. 2021-12-03 12:41:24 +01:00
ogerly
f6d42e7236 add eslint-disable,@typescript-eslint/no-explicit-any @typescript-eslint/explicit-module-boundary-types 2021-12-02 12:51:07 +01:00
ogerly
a93792cab8 Mutation for confirmPendingCreation. 2021-12-02 10:55:39 +01:00
elweyn
2192863377 --author=ogerly <fridolin@tutanota.com>
creation store prepared
2021-12-02 09:06:54 +01:00
elweyn
b81336c309 Merge branch 'adminEditPendingCreationQueries' into adminDeletePendingCreationQuery 2021-12-02 06:36:14 +01:00
elweyn
2d2409b65d Added moderator query to the creationFormular so we can send the right moderator id. 2021-12-02 06:35:35 +01:00
elweyn
640109d8bf Merge moderator search from admin_pending_creation. 2021-12-02 06:32:00 +01:00
elweyn
1004718892 Added moderator query to the creationFormular so we can send the right moderator id. 2021-12-02 06:30:41 +01:00
ogerly
06983d786b remove all console logs 2021-12-01 16:54:57 +01:00
Hannes Heine
4c2e51b517 Update pending creation 2021-12-01 15:43:22 +01:00
elweyn
83af3bc692 Merge last branch in this. 2021-12-01 09:33:26 +01:00
elweyn
f452e6537f Change delete method from Query to Mutation. 2021-11-30 15:03:58 +01:00
elweyn
db6fbf72a7 Merge branch 'adminPendingCreationQueries' into adminDeletePendingCreationQuery 2021-11-30 14:59:53 +01:00
elweyn
c71eccec0e Merge branch 'admin_pending_creation' into adminPendingCreationQueries 2021-11-30 14:59:13 +01:00
elweyn
daeb0ed32c Change create method from query to mutation. 2021-11-30 14:58:47 +01:00
elweyn
6c5b4a3738 Merge adminPendingCreationQuery in here. 2021-11-30 10:19:31 +01:00
elweyn
ea9bf54c16 Merge changes from last branch. 2021-11-30 10:13:42 +01:00
elweyn
3a5999ffe5 Change note to memo. 2021-11-30 10:11:28 +01:00
elweyn
ffed004b1a Merge branch 'admin_pending_creation' into adminPendingCreationQueries 2021-11-30 10:10:15 +01:00
elweyn
e2743b979e Change note to memo. 2021-11-30 10:08:12 +01:00
ogerly
f2c31b7d68 pendingCreationRepository.manager.remove res - fix prettier 2021-11-26 17:49:29 +01:00
ogerly
a618ac678e Created delete query. 2021-11-26 15:35:21 +01:00
ogerly
e0ad9ab40a Removed unused imports. 2021-11-26 15:11:46 +01:00
ogerly
18a530b1b1 Withdrew console.logs. 2021-11-26 15:11:03 +01:00
ogerly
48c0b687d6 Query changed to Type PendingCreation, changed the login user search to state user search, adding parameters to PendingCreation object, changed frontend to map the query informations. 2021-11-26 15:05:49 +01:00
Hannes Heine
602dfd64f1 Corected return type for getPendingCreations and corected query. 2021-11-26 12:36:01 +01:00
Hannes Heine
99749eebb2 Apollo first steps getPendingCreations. 2021-11-26 11:28:14 +01:00