1778 Commits

Author SHA1 Message Date
a3a69bc012
removed comment 2023-01-17 12:29:28 +01:00
82fd6a9c5b
implement moriz requirements for test 2023-01-17 12:24:41 +01:00
3bf69814ca
test error cases for semaphore 2023-01-16 16:47:33 +01:00
466e59a550
typo 2023-01-16 11:27:30 +01:00
c3f7f15420
refactor all semaphore-locks 2023-01-16 11:21:38 +01:00
fd2563f171
Merge branch 'master' into fix-semaphore-deadlock-on-error 2023-01-16 11:16:45 +01:00
dab7fe584a
try catch around semaphore lock 2023-01-16 11:04:14 +01:00
mahula
0c65d8c4ab
Merge branch 'master' into open-creations-call 2023-01-12 20:58:15 +01:00
b2f9c499dd
use try finally to release lock 2023-01-11 22:47:55 +01:00
Moriz Wahl
3a63e2721d remove creations from graphql user object 2023-01-11 22:32:50 +01:00
Moriz Wahl
8f9e77a9c1 add test: confirming a confirmed contribution throws 2023-01-11 21:40:11 +01:00
Moriz Wahl
29479bafec release lock after each error 2023-01-11 21:29:11 +01:00
Moriz Wahl
6389697bd6 reset unit tests 2023-01-11 21:13:38 +01:00
340554b815
skipped alot of test due to unknown timeout errors 2023-01-11 15:39:33 +01:00
Moriz Wahl
dc33427cd0 add openCreation graphqlModel and resolver 2023-01-11 15:15:26 +01:00
8628a05a21
properly use findOne where 2023-01-11 13:14:50 +01:00
c9488c8b81
try to minimize changeset 2023-01-11 13:11:40 +01:00
c585b2c234
check for confirmed transaction within semaphore lock 2023-01-11 13:08:47 +01:00
c0b3a93a59
calculate last transaction correctly 2023-01-11 12:35:22 +01:00
elweyn
95e1cd4b6d Merge branch 'master' into add_hide_amount_to_users 2023-01-10 14:00:47 +01:00
elweyn
427a0a6865 Change test of returned login datas. 2023-01-10 10:55:41 +01:00
ogerly
ae5c5984b8 change hide amounts to optional 2023-01-10 10:06:58 +01:00
Moriz Wahl
e009fcb87d
Merge branch 'master' into seed-contributions 2023-01-09 14:49:21 +01:00
Hannes Heine
85744a100e
Merge branch 'master' into add_hide_amount_to_users 2023-01-05 14:07:17 +01:00
f83b9a762c
also fix backend month test 2023-01-03 12:41:42 +01:00
elweyn
2010a1b059 Add hideAmountGDD and hideAmountGDT to the login mutations and the verifyLogin queries 2023-01-03 12:24:49 +01:00
elweyn
3d8e28e16c Add comment to update hideAmountGDT. 2023-01-03 10:42:54 +01:00
elweyn
465dc469b0 Add hideAmount to updataUserInfos args & change updateUserInfo method.
Co-authored-by: ogerly <fridolin@tutanota.com>
2023-01-03 10:13:01 +01:00
dcd2ec708d
include logger for error when creation is not successful 2022-12-22 15:56:37 +01:00
Moriz Wahl
8ebea39870
Merge branch 'master' into semaphore 2022-12-22 14:10:57 +01:00
Moriz Wahl
6a36d9afb2 remove console logs 2022-12-22 14:08:32 +01:00
d6f08daaae
Merge branch 'semaphore' into test-semaphore 2022-12-21 00:25:03 +01:00
32cea45bbf
move timestamp into semaphore transaction lock 2022-12-21 00:24:54 +01:00
cf99410971
Merge branch 'semaphore' into test-semaphore 2022-12-21 00:09:03 +01:00
55236f1f8e
fix another order by id instead of balanceDate.
Have the now calculation for contribution links within the semaphore lock
2022-12-21 00:08:46 +01:00
2f17ec565e
all tests are running 2022-12-21 00:05:50 +01:00
ba2ad05088
Merge branch 'semaphore' into test-semaphore 2022-12-15 23:08:31 +01:00
5a925c0526
"fixed" semaphore tests 2022-12-15 23:08:19 +01:00
f306dddfaf
console logs, fix order by id instead of date 2022-12-15 23:06:29 +01:00
Moriz Wahl
20fbaa276f feat(backend): test semaphore 2022-12-15 18:35:11 +01:00
Moriz Wahl
d03a3f601c mock semaphore to allow to use jest fake timers 2022-12-15 17:00:35 +01:00
Moriz Wahl
cb55da5d32 confirming two contributions at once does not throw anymore 2022-12-15 15:58:02 +01:00
a8995914f3
Merge branch 'master' into seed-contributions
# Conflicts:
#	backend/src/graphql/resolver/AdminResolver.test.ts
2022-12-15 15:40:39 +01:00
9537910413
lock also on contributions 2022-12-15 13:07:53 +01:00
a98d569fb3
lock also on transactionLink 2022-12-15 13:07:53 +01:00
c2c7e34539
share the lock for transactions via external file. Do all possible checks before acquiring the lock 2022-12-15 13:07:53 +01:00
1f765bd3f4
fix find last Transaction 2022-12-15 12:41:42 +01:00
ef6d697514
Merge branch 'master' into semaphore
# Conflicts:
#	backend/src/graphql/resolver/TransactionResolver.ts
2022-12-15 12:02:07 +01:00
59b40bf44d
Merge branch 'master' into clear-old-password-junk
# Conflicts:
#	backend/src/graphql/resolver/TransactionResolver.ts
#	backend/src/graphql/resolver/UserResolver.ts
2022-12-15 11:17:45 +01:00
Moriz Wahl
b52c62749c include user contact in user context object 2022-12-13 21:07:12 +01:00