Commit Graph

2530 Commits

Author SHA1 Message Date
Sebastian
6f4548c892
fix signature for aml decision 2023-08-04 09:09:00 -03:00
c12a366d49
adjustment of age-commitment and -proof generation
age-withdraw requires that the public keys in the age groups that
are too large for the commitment are derived from a published public
key.
2023-08-03 21:47:59 +02:00
cf49af2bb9
harness: allow overriding the test timeout via env variable 2023-08-03 21:44:43 +02:00
ee47aa4837
fix integration tests
Instead of using the deprecated runUntilDone, we now wait
for specific notifications.

The old way doesn't work, since p2p push transactions are not considered
done until the counterparty has accepted the payment.
2023-08-03 19:24:04 +02:00
57e86b759e
rename tip->reward in URI 2023-08-03 19:03:24 +02:00
0b5d0cdc71
fix version substitution 2023-08-03 18:58:44 +02:00
3d7df63c59
fix taleruri test failure 2023-08-03 18:40:25 +02:00
fdbd55d2bd
-towards tip->reward rename 2023-08-03 18:35:07 +02:00
475fdb502b
organize imports 2023-08-02 16:27:59 +02:00
Sebastian
21f678ead9
fix #7800 2023-08-02 10:59:19 -03:00
Sebastian
72b8a70da2
fix #7830 2023-08-02 10:41:14 -03:00
Sebastian
60929c34f3
use local port 2023-08-02 10:30:40 -03:00
Sebastian
22a3017d52
removing import assert since it breaks with linaria 2023-08-02 09:49:14 -03:00
Sebastian
efed6b32c5
fix #7717 2023-08-02 07:40:28 -03:00
e3460de331
-comments 2023-07-31 15:57:12 +02:00
Iván Ávalos
0ac5dba088
taler-wallet-embedded: add argon2id test 2023-07-26 12:09:17 -06:00
Iván Ávalos
0f6310bba4
wallet-core-embedded: add initial states to Anastasis handler 2023-07-26 12:09:17 -06:00
Iván Ávalos
5a91ec2da6
Move anastasis CLI into separate package 2023-07-26 12:09:17 -06:00
72a0da7bbe
anastasis-core: tsconfig 2023-07-26 12:09:17 -06:00
Iván Ávalos
e0f32dc899
taler-util: import hash-wasm only when building for Node 2023-07-26 12:09:17 -06:00
Iván Ávalos
ef51ba983f
WIP: initial work for Anastasis in qtart 2023-07-26 12:09:17 -06:00
0b60602833
wallet-core: task loop logging 2023-07-24 14:18:14 +02:00
Sebastian
9c17b7cd92
add missing kyc url for manual withdrawal and add support for 451 case: aml-required 2023-07-21 17:09:04 -03:00
Sebastian
7e37b34744
case details and missing decision encryption 2023-07-21 15:50:53 -03:00
Sebastian
e90f1b4206
move amount and time function to util 2023-07-21 15:50:03 -03:00
Sebastian
43f5572779
empty list when loading 2023-07-20 17:08:53 -03:00
Sebastian
c60f6c039a
add taler signature code 2023-07-20 17:03:14 -03:00
Sebastian
8288413786
prevent duplicated notifications 2023-07-20 17:02:50 -03:00
Sebastian
535c04be5c
allow signature in requestr 2023-07-20 17:02:17 -03:00
Sebastian
2335c3418c
make signed request to exchange 2023-07-20 17:01:35 -03:00
Marc Stibane
8b90bd84ab
Charge Taler wallet -> Top up Taler wallet 2023-07-13 08:44:34 +02:00
Sebastian
b7823407c0
mobile friendly 2023-07-12 15:42:43 -03:00
Marc Stibane
8c2fed4e1c
some logging INFO -> TRACE 2023-07-12 18:06:06 +02:00
Sebastian
d759f08225
repurchase detection
- check that the old transaction is not refunded
 - if the old purchase was deleted fallback to no-repurchase detected
2023-07-10 14:09:18 -03:00
Marc Stibane
742b00028e
Wording: Charge -> Top up 2023-07-10 18:47:16 +02:00
Sebastian
2f072a4c12
mark proposalid as depreacted 2023-07-10 09:44:01 -03:00
Sebastian
bf3e99ea27
show testing tag 2023-07-10 09:43:27 -03:00
Sebastian
f6b63a691b
fix node20 bug 2023-07-10 09:43:08 -03:00
Sebastian
e0c4c2155f
do not expose the noncePriv 2023-07-10 09:42:14 -03:00
cf55f3f371
bump versions to 0.9.3-dev.17 2023-07-07 14:23:45 +02:00
8b06874f42
wallet-core: support passing transactionId to confirmPay 2023-07-06 20:17:59 +02:00
Sebastian
d98f048fd6
fix 7741: add sessionid 2023-07-03 14:01:23 -03:00
Sebastian
f407ab2023
fix #7741
add integration test
2023-07-03 12:44:20 -03:00
Sebastian
545bf16cdf
fix #7741
show QR with nonce
2023-07-03 12:43:47 -03:00
Sebastian
5d76573ac0
#7741 share payment
save shared state in backup
if purchase is shared check before making the payment of before claim the order
already confirmed order can return without effective if coin selection was not made
sharePayment operation
2023-07-03 12:42:44 -03:00
Sebastian
f47b5bd783
#7741 share payment
add shared flag in db
new state purchase dialogShared
new error WALLET_ORDER_ALREADY_PAID
removing nonce from normal operation
new operation: sharePayment which returns payUri with nonce
2023-07-03 12:40:35 -03:00
Sebastian
15a15942d2
#7717 do not show walletcore version 2023-07-02 16:57:34 -03:00
5695ae0a9f
wallet-core: use testingWaitTransactionsFinal to wait for transactions 2023-07-01 01:43:29 +02:00
f93ab03a1b
wallet-core: get rid of internal runUntilDone usages 2023-07-01 00:52:14 +02:00
7a18e12a17
wallet-core: towards event-based waiting in runIntegrationTestV2 2023-06-30 23:01:48 +02:00
86e9799ffd
embedded: revert accidental/unfinished qjs change 2023-06-30 23:01:11 +02:00
bac2ac01b8
wallet-core: fix pending operation query for p2p tx 2023-06-30 22:59:50 +02:00
9cfc138e75
wallet-core: use canonicalized base URL when querying exchange 2023-06-30 22:00:20 +02:00
5754f00399
harness: check balance in basic payment test 2023-06-30 16:44:46 +02:00
e0d4f7e4af
wallet-core: properly make coins visible after refresh 2023-06-30 16:29:35 +02:00
d4ee961387
wallet-core: rename OperationAttempt->TaskRun, do not allow task result values anymore 2023-06-30 16:14:58 +02:00
7523ffa910
web-utils: create error details with correct code 2023-06-30 13:55:35 +02:00
b2fd948a54
-logging 2023-06-29 19:53:45 +02:00
424e39edda
-oops, obvious missing return 2023-06-29 12:13:52 +02:00
585fe6b996
anastasis-core: use http client from taler-util 2023-06-29 11:57:40 +02:00
Sebastian
4853f79677
fix: #7875 - show retry on pending state 2023-06-29 00:10:04 -03:00
93ab00e601
wallet-core: fixup for coin availability (visible coins) 2023-06-28 17:22:33 +02:00
3f4526847b
idb: suggest encoding improvements 2023-06-28 17:22:33 +02:00
Sebastian
28dce57f92
fix: 7740 check max on p2p push 2023-06-28 11:38:01 -03:00
Sebastian
ce3c3d7839
check currency so it wont compare coins that are not related 2023-06-28 11:36:21 -03:00
Sebastian
f1008c9661
use default http timeout from util 2023-06-28 09:49:52 -03:00
db9d6dd394
wallet-core: do not notify twice on withdrawal creation 2023-06-28 14:47:20 +02:00
79e520c415
wallet-core: only report balance-change when withdrawal finishes 2023-06-28 11:18:03 +02:00
5bbf41ce1c
wallet-core: handle 'never' timestamp in purse status 2023-06-28 11:10:35 +02:00
4e3e17edd1
wallet-core: dead code elimination 2023-06-28 10:57:24 +02:00
35ae9f2c22
wallet-core: emit balance-change notifications, do less implicit background work 2023-06-28 10:49:41 +02:00
Sebastian
97a9e92d8b
set amount for manual withdraw when the qr does not have it 2023-06-27 08:21:03 -03:00
18a3d764de
wallet-core: fix withdrawal error reporting 2023-06-26 19:51:01 +02:00
5af24c1e88
wallet-core: fix some deposit transitions 2023-06-26 19:38:57 +02:00
a844136489
wallet-core: make changes to available amount atomic
W.r.t. transactions
2023-06-26 19:27:42 +02:00
Sebastian
2779086a32
support for exchange-withdraw call to action, pending use case when the user need to specify the amount 2023-06-26 14:23:32 -03:00
Sebastian
87fc6ebf48
if checkmasterpub is specified, throw if master pub is not equal to the expected value 2023-06-26 14:22:34 -03:00
Sebastian
1e173e279f
added master pub to add-exchange (for validation) 2023-06-26 14:21:10 -03:00
Sebastian
74579ac2f2
withdraw exchange URI 2023-06-26 12:54:54 -03:00
4b61945f6b
wallet-core: return numCoins in checkPeerPullCredit response 2023-06-26 12:57:00 +02:00
eae3571607
wallet-core: allow confirmPeerPullDebit via txId 2023-06-26 12:53:32 +02:00
fca893038d
wallet-core: fix deposit tx states, long-poll on kyc 2023-06-26 12:48:20 +02:00
66432cdd05
introduce balance-change notification 2023-06-26 10:52:50 +02:00
1b22b4957d
-missing optional 2023-06-24 19:01:13 +02:00
fbab16ef23
wallet-core: allow deleting a peer-push-credit transaction in dialog state 2023-06-24 17:54:15 +02:00
1f31ebc3cc
wallet-core: allow confirming peer-push-credit via txid 2023-06-24 17:49:53 +02:00
Sebastian
4f30506dca
show qr to import TOTP into other app 2023-06-23 10:36:24 -03:00
Sebastian
9dbf0bd7d2
better wording to the tx details 2023-06-21 14:51:14 -03:00
Sebastian
7010e707ba
fix test 2023-06-21 11:34:19 -03:00
Sebastian
81bf1cc9c1
show bank details 2023-06-21 11:28:27 -03:00
Sebastian
8b85fe1775
wait 5 minutes before trigger wire transfer, prevent the exchange to make more than 1 wire transfer if the deposit takes times 2023-06-21 10:24:01 -03:00
06301efda3
-logging 2023-06-21 12:36:22 +02:00
5eb339b836
wallet-core: fix withdrawal KYC transitions and use long-polling 2023-06-21 12:21:48 +02:00
8f8674defd
-missing toplevel 'make install' components 2023-06-21 09:48:16 +02:00
709adb2d48
repo: fix Makefiles / top-level 'make install' target 2023-06-21 09:44:02 +02:00
a0e0c5c4a6
webextension: fix type error 2023-06-21 09:43:45 +02:00
ba913cd2ce
harness: wallet must always withdraw via fault-injected exchange
Otherwise, the ports in the base URL don't match and the wallet will
complain.
2023-06-21 08:54:18 +02:00
9f8faed2d1
harness: fix/modernize peer-to-peer-push 2023-06-21 08:17:25 +02:00
7dcfd02dae
harness: fix exchange base URL in tests with fault injection 2023-06-21 06:59:40 +02:00
Sebastian
34e2fd51e0
add select max amount 2023-06-20 17:50:44 -03:00
Sebastian
5c5586df99
more real cases 2023-06-20 17:50:43 -03:00
77849fdf5d
-minor rename 2023-06-20 19:43:39 +02:00
98a351aa4c
repo: bump to 0.9.3-dev.16 2023-06-20 19:42:44 +02:00
8d20ab87fa
wallet-core: consistently rename to failTransaction 2023-06-20 19:41:42 +02:00
Sebastian
32937795c5
added txactions into transaction mocks 2023-06-20 14:32:51 -03:00
Sebastian
1e9f1fb7a9
remove calculate plan (for now) implemented simpler API 2023-06-20 14:30:02 -03:00
Sebastian
d79155b634
show the button that wallet-core tells 2023-06-20 14:29:00 -03:00
Sebastian
cb3b48d316
using enum instead of string 2023-06-20 14:28:40 -03:00
Sebastian
9f07ab8d4a
remove from float 2023-06-20 11:50:34 -03:00
Sebastian
ac9b4bfd0e
parse instead of fromFloat 2023-06-20 11:50:33 -03:00
1f60ac76f9
harness: fix test-peer-repair 2023-06-20 16:19:57 +02:00
Sebastian
773712419e
log notification from wallet 2023-06-20 11:18:55 -03:00
e5a8ae7d60
wallet-core: remove redundant/unused notifications 2023-06-20 16:07:20 +02:00
Sebastian
a86c948fc9
missing removal 2023-06-20 10:55:12 -03:00
26b30a462a
wallet-core: be less spammy with self-transitions and logging 2023-06-20 15:10:51 +02:00
9c708251f9
wallet-core: emit DD37 self-transition notifications with errors 2023-06-20 11:40:06 +02:00
54f0c82999
wallet-core: fix peer-(push,pull)-debit withdrawal states 2023-06-19 16:03:06 +02:00
ffa68ce8dd
taler-harness: WIP integration test for p2p coin selection repair 2023-06-19 16:02:23 +02:00
bcff03949b
wallet-core: implement coin selection repair for p2p payments 2023-06-19 12:02:43 +02:00
Sebastian
ed01d407e7
add test to compare withdrawing KUDOS:25 with demo config 2023-06-16 09:50:19 -03:00
Sebastian
b2355a3fcb
remove testing ui 2023-06-16 09:40:57 -03:00
Sebastian
444c5427f4
remove some type literal and pretty 2023-06-16 09:40:45 -03:00
Sebastian
d97f440f25
remove type literal 2023-06-16 09:40:10 -03:00
Sebastian
d0d7685f16
add test to coin selection algorithm 2023-06-15 13:07:31 -03:00
Sebastian
f7058a86c9
watch test 2023-06-15 13:07:13 -03:00
Sebastian
08746f5bf0
compare duration 2023-06-15 13:06:03 -03:00
Sebastian
4e7967dbac
showing off information about operation plan 2023-06-13 16:46:31 -03:00
Sebastian
8b74bda065
get operation plan impl, no test 2023-06-13 16:46:16 -03:00
Sebastian
671342818f
get operation plan types 2023-06-13 16:45:42 -03:00
Sebastian
4ac67bbcdb
spelling 2023-06-09 09:08:53 -03:00
Sebastian
734de5d359
use transaction state transition instead of other notifications 2023-06-06 14:57:51 -03:00
d8d214942c
wallet-core: truncate withdrawal errors 2023-06-06 17:25:17 +02:00
698f356659
wallet-core: check base URL reported by exchange 2023-06-06 17:18:53 +02:00
002ab0dab7
wallet-core: try to abort withdrawals wallet-side with the bank 2023-06-06 17:07:09 +02:00
f9c33136b4
wallet-core: use status consistently for querying for pending tasks 2023-06-06 16:47:32 +02:00
2d243b67c8
wallet-core: missing put operation 2023-06-06 15:55:20 +02:00
574a91fcc1
-use tsc --build 2023-06-06 15:36:28 +02:00
8671dc37c8
build system: use --build argument for tsc 2023-06-06 15:30:37 +02:00
f56a563533
build system: get rid of prepare scripts
These don't seem to be the right location to compile packages.
The newest version of pnpm runs all those scripts on "pnpm install",
even if we filter for only one package.  That results in a build
performance issue.
2023-06-06 15:25:53 +02:00
265d88b6b7
wallet-core: fix long-polling check 2023-06-06 15:23:25 +02:00
570c9dcbad
wallet-core: fix peer-push-debit transition helper 2023-06-06 15:01:59 +02:00
474a171f5e
wallet-core: deterministic p2p contract encryption 2023-06-06 15:00:15 +02:00
1befd39671
bump typescript version 2023-06-06 11:54:37 +02:00
da927b5e48
wallet-core: handle Gone in peer-pull-debit 2023-06-05 18:38:17 +02:00
bdb67c83a9
-fix import 2023-06-05 18:01:32 +02:00
9fca44893a
wallet-core: handle more p2p abort cases nicely 2023-06-05 17:58:25 +02:00
Sebastian
6e7c88a620
fix floor in times 2023-06-05 11:24:25 -03:00
Sebastian
75fdf6137f
move kycurl to commons, make webex aware 2023-06-05 10:58:24 -03:00
Sebastian
16900104b5
kyc url 2023-06-05 10:04:24 -03:00
Sebastian
c680f5aa71
rename aml 2023-06-05 10:04:09 -03:00