Moriz Wahl
b8c3deac3e
fix: Return Empty Array When No Pending Creations Are Present
2022-02-22 18:49:24 +01:00
a4b33a8c13
fix path of index.js when starting in production
2022-02-22 18:22:44 +01:00
Moriz Wahl
2ce19c9c80
improve error messages, test for valid creation on confirmation
2022-02-22 17:45:25 +01:00
Moriz Wahl
dcf2e1a19e
fix wrong id in find statement
2022-02-22 16:38:57 +01:00
Moriz Wahl
03e67604ba
remove moment
2022-02-22 15:50:42 +01:00
Moriz Wahl
cd7a9bf361
do not use moment anymore
2022-02-22 15:49:58 +01:00
Moriz Wahl
55211f0940
use enum as creation type, date criteria as variable
2022-02-22 14:43:03 +01:00
Moriz Wahl
c0c5510903
less db calls for get pending creations
2022-02-22 14:24:07 +01:00
Moriz Wahl
99f641f1f9
replace any
2022-02-22 13:49:42 +01:00
Moriz Wahl
2bdcea15f0
use only one query to get the open creations
2022-02-22 13:25:26 +01:00
Moriz Wahl
7be2fb68b4
refactor: Get User Creations
2022-02-22 12:27:47 +01:00
einhornimmond
e64705d906
Merge branch 'master' into admin_user_search_optimization
2022-02-21 17:10:44 +01:00
Moriz Wahl
52d58afaf4
try frontend unot tests without build
2022-02-21 15:36:32 +01:00
Moriz Wahl
38d5eda9d2
set timeoute to 10000
2022-02-21 15:24:36 +01:00
Moriz Wahl
fb78a71f06
remove CI deelopment test target
2022-02-21 15:13:44 +01:00
Moriz Wahl
1f3c9d3908
get user resolver test running again
2022-02-21 14:57:16 +01:00
Moriz Wahl
8d9228aab8
ensure mnemomic type files are copied to build
2022-02-21 14:30:06 +01:00
Moriz Wahl
970216b2fc
Merge branch 'master' into backend-tests-running-again
2022-02-21 13:24:42 +01:00
einhornimmond
c3d3929ac6
Update backend/src/graphql/resolver/AdminResolver.ts
...
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2022-02-21 13:23:04 +01:00
a344011403
lint fix
2022-02-21 13:02:15 +01:00
bf64de06b1
reverse is destructing
2022-02-21 13:00:20 +01:00
2158728752
enum instead of value definition
2022-02-21 12:41:11 +01:00
314a1b1ed4
add todo
2022-02-21 12:08:37 +01:00
einhornimmond
00d040eeb1
Merge branch 'master' into admin_user_search_optimization
2022-02-21 12:05:05 +01:00
Einhornimmond
b3523b4c63
generic filtering, prevent overfetching from db
2022-02-21 12:03:19 +01:00
ea3ecbc679
admin resolver: make sure to write userId only when we create a new balance
2022-02-21 12:00:17 +01:00
d715fd9c2f
also set user.id as involved User on a creation
2022-02-21 01:49:53 +01:00
3040992c51
fix query to use proper field
2022-02-21 01:46:01 +01:00
270ccbf1cf
removed unused symbol
2022-02-21 01:23:58 +01:00
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
c9424361a6
simplified query and also include withDeleted to show the name of an user marked as deleted
2022-02-20 13:20:13 +01:00
ecfcde8dd4
simplified query
2022-02-20 12:56:10 +01:00
fc0675c461
updated database version in backend
2022-02-20 12:01:52 +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
fc9829bc84
lint fixes
2022-02-18 13:06:28 +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
18b7fd73d0
Admin: search for users include deleted
...
remove unnecessary function
2022-02-18 12:49:56 +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
185c38c12a
updated database version
2022-02-18 11:02:22 +01:00
Moriz Wahl
48435f0d8b
Merge branch 'backend-tests-running-again' of github.com:gradido/gradido into backend-tests-running-again
2022-02-17 12:33:10 +01:00
Moriz Wahl
4a5d1980a5
afterAll at top
2022-02-17 12:32:51 +01:00