Commit Graph

338 Commits

Author SHA1 Message Date
0e7a0741c6
-type fixes 2022-10-31 17:18:16 +01:00
78b4ab19a3
wallet-core: use string amounts for deposit response 2022-10-31 17:08:42 +01:00
780eb20227
wallet-core: fix deposit with age restrictions 2022-10-31 16:51:01 +01:00
Sebastian
3f2db7707f
using new wallet api (typed interface) 2022-10-25 12:23:52 -03:00
Sebastian
7a80d33414
get rid of typescript empty object warning 2022-10-24 10:39:12 -03:00
d87f3c242c
taler-wallet-embedded: tweak init response, rollup bundling, add test 2022-10-23 19:05:54 +02:00
Sebastian
98a9e79652
pretty 2022-10-21 12:12:41 -03:00
Sebastian
805e2c4d7c
added name into recovery uri 2022-10-21 12:12:35 -03:00
Sebastian
8390c60031
parse and construct taler recovery URI 2022-10-20 14:53:29 -03:00
f697b20a91
wallet-core: return versions in init response 2022-10-19 15:36:57 +02:00
e5e469575b
wallet-core: API types refactoring 2022-10-17 01:03:36 +02:00
ea1aff81df
wallet-cli: tweaks to withdrawal CLI 2022-10-16 22:58:53 +02:00
b52b074a8d
wallet-core: show instructed amount as raw amount for withdrawal 2022-10-16 22:18:24 +02:00
fbb7dd9e7e
wallet-core, wallet-cli: add status to exchange list, add detail query to CLI 2022-10-15 21:26:36 +02:00
bd88dcebbc
wallet-core: simplify exchanges list response 2022-10-15 12:59:26 +02:00
e075134ffc
wallet-core: simplify coin record
we only track the allocation now, not the remaining amount
2022-10-15 11:53:16 +02:00
0c8e56c324
wallet-core: properly separate different types of IDs 2022-10-14 22:47:11 +02:00
eec6695be0
wallet-core: DB tweaks, consistent file naming convention 2022-10-14 22:38:40 +02:00
a57fcb144d
wallet-core: pull out ToS into separate object store 2022-10-14 22:10:10 +02:00
f1cba79c65
wallet-core: DB tweaks 2022-10-14 22:10:10 +02:00
6acddd6d70
wallet-core: get rid of duplicated withdrawal info API 2022-10-14 18:48:03 +02:00
ca8da4ed38
wallet-core: only allow enabling dev mode via separate request 2022-10-13 15:24:47 +02:00
83d4a1addc
use node16 for wallet-core, delete unused taler-config-lib package 2022-10-13 15:14:49 +02:00
b0223d662a
use node16 module resolution for taler-util 2022-10-13 14:52:18 +02:00
eb5b075c01
update deps, move idb-bridge to node16 module resolution 2022-10-13 14:24:20 +02:00
ded00b680a
wallet-core: implement enabling/disabling dev mode 2022-10-12 22:27:50 +02:00
3da1e82a24
wallet-core: skeleton for dev-experiments 2022-10-12 21:20:22 +02:00
Sebastian
610df1c9cf
create a fee description timeline for global fee and wire fees 2022-10-12 15:58:10 -03:00
Sebastian
cb44202440
adding global fee info from exchange 2022-10-12 14:37:26 -03:00
19f3e6321d
wallet-core: put contract terms into separate object store 2022-10-09 02:23:06 +02:00
3897bd4f01
wallet-core: spec/clarify explicit refresh transaction 2022-10-08 23:21:34 +02:00
526f4eba95
wallet-core: Clean up merchant payments DB schema 2022-10-08 23:07:07 +02:00
dd14e67c70
wallet-core: improve crypto worker code duplication
Also add new testCrypto call for later testing
2022-10-05 12:52:49 +02:00
37d27ba437
restructure api types 2022-10-04 13:12:23 +02:00
25eb7624b3
wallet-core: improve crypto worker error handling 2022-09-26 14:40:11 +02:00
13c07caef2
-fix typos 2022-09-23 22:30:50 +02:00
72336b149b
wallet-core: do not block when accepting a manual withdrawal 2022-09-23 20:38:26 +02:00
Sebastian
fbf0502672
add bank account record 2022-09-23 15:18:49 -03:00
Sebastian
22e87bb18f
do not add a question mark if there is no params 2022-09-23 15:18:48 -03:00
Sebastian
5d31803c92
pretty 2022-09-21 15:45:41 -03:00
Sebastian
2caef6dcf2
moving deposit group fee into taler util 2022-09-21 15:45:41 -03:00
16a5bb4083
wallet-core: make basic backup work again 2022-09-20 23:17:42 +02:00
a5525eab1e
taler-util: fix CLI parsing for numberic options 2022-09-19 17:46:30 +02:00
f63765b9f7
wallet-core: fix tipping with age restricted denoms 2022-09-19 17:08:04 +02:00
548cecca21
update taler error codes 2022-09-19 12:12:09 +02:00
183c836614
-wallet-core: merge DenominationInfo and DenomInfo 2022-09-16 17:35:06 +02:00
b91caf977f
wallet-core: support age restrictions in new coin selection 2022-09-16 16:32:21 +02:00
b7f7b95602
wallet-core: towards faster coin selection 2022-09-16 16:31:16 +02:00
Sebastian
5d08379139
working on #7357
getTransactionById is introduced:
 with that we move all transaction information building into a function
transactionId was added in every response that creates a tx
2022-09-16 11:13:09 -03:00
c021876b41
wallet-core: cache fresh coin count in DB 2022-09-14 20:40:38 +02:00
962bfde214
wallet-core: fix withdrawTestBalance command 2022-09-13 17:41:47 +02:00
13e7a67477
wallet-core: uniform retry handling 2022-09-13 16:10:41 +02:00
b645d793df
wallet-core: fix creation of refresh session after peer-{push,pull} 2022-09-12 20:52:01 +02:00
Sebastian
27201416c7
ref #7323 2022-09-12 10:58:09 -03:00
fc413bb5ec
wallet-core: make bank access API URL optional in runIntegrationTest 2022-09-12 14:09:28 +02:00
9b2d6d766f
include age commitment proof in refreshed coins 2022-09-08 14:02:09 +02:00
Sebastian
1e00724a0d
listExchangesDetailed to getExchangeDetailedInfo & ageRestriction taken from the denoms 2022-09-06 17:17:50 -03:00
3f5a76751b
wallet-core: make listExchanges return less data
Since the webextension UI depends on the full response, we have a
temporary listExchangesDetailled request.
See https://bugs.taler.net/n/7323 for details.
2022-09-05 21:09:28 +02:00
0f57f48f84
updated test-vectors for edx25519_derive (original typo in gnunet fixed) 2022-09-05 19:19:05 +02:00
Sebastian
e0e33a88db
adding informantion about the service worker version on the setting page 2022-09-05 13:04:31 -03:00
4a0512884d
upgrade typescript (and some related deps) 2022-09-05 16:20:01 +02:00
27fb2d2970
wallet-core: fix format of purse deposits 2022-09-05 13:26:09 +02:00
ec43b6a5bf
wallet-core: fix issue with crock encoding of age restrictions 2022-09-01 22:26:22 +02:00
Sebastian
94eeab8ad0
more information about p2p:
- added the contract terms on WgInfoBankPeerPush and WgInfoBankPeerPull, so we can show summary and expiration in the ui
 - added info: PeerInfoShort on Transaction* type
 - definition of completed p2p tx:
   - push debit: Amounts.cmp(sentAmount, pickedUpAmount) === 0. is this transfer already picked up? (not working)
   - pull debit: pi.paid, is this invoice already paid?
   - pull credit: wsr.timestampFinish, has someone already paid my invoice?
   - push credit: wsr.timestampFinish, have I already picked up this?
 - changed the txId of peer pull debit to have the incomingId instead of pursePub (allow deletion)
2022-09-01 08:42:45 -03:00
Sebastian
6610a0b9d7
add senderWire to the withdrawal group again, group payto to avoid duplication 2022-08-29 13:23:22 -03:00
Sebastian
eef2d47020
exchange selection: timeline done 2022-08-26 01:09:47 -03:00
499e003ff8
specify bank access API separately in tests 2022-08-25 18:34:25 +02:00
f3231ccdf9
wallet-core: put taler:// URIs in transactions list 2022-08-24 22:42:30 +02:00
a11ac57535
wallet-core: p2p support for transactions list 2022-08-24 22:17:19 +02:00
42c2b7508f
wallet-core: fix withdrawal idempotency 2022-08-24 19:44:24 +02:00
d32d2895ce
-get p2p pull integration test to run through 2022-08-24 11:11:02 +02:00
f3ff5a7225
peer-to-peer pull payments MVP
p2p pull wip
2022-08-23 20:35:11 +02:00
Sebastian
d1980c39fc
moved wireInfo and denomInfo into taler-util so it can be used from the ui 2022-08-18 16:02:16 -03:00
ac8f116780
implement peer to peer push payments 2022-08-16 17:55:12 +02:00
Sebastian
88bdcae030
add request for getting details about contract terms 2022-08-08 13:51:17 -03:00
Sebastian
fd60edf475
contractTerms was missing, looks like in commit f11483b5 a move was intended 2022-07-21 09:48:16 -03:00
b8a61eb98c
fixed typo in info/salt 2022-07-21 11:34:43 +02:00
f11483b511
wallet-core: implement accepting p2p push payments 2022-07-12 17:41:14 +02:00
b214934b75
wallet-core: P2P push payments (still incomplete) 2022-07-08 11:08:30 +02:00
05cdbfb534
-typo 2022-06-30 11:18:49 +02:00
Sebastian
ccd289904d
- typo fix 2022-06-26 15:52:32 -03:00
f57dc7bf7a
wallet-core: implement and test forced coin/denom selection 2022-06-10 13:03:47 +02:00
Sebastian
ff49e3477e
format amount so it is align to fractional digitls 2022-06-09 13:37:33 -03:00
Sebastian
029340469a
show refund info in purchase
notify refund pending with accept button on the purchase details
better payto box
2022-05-29 01:23:21 -03:00
Sebastian
24162c1086
transaction details template
mayor change in the template of the transaction details for every
transaction
more work needs to be done in wallet core for tip and refund to show
more information about the merchant like logo and website
2022-05-26 15:57:12 -03:00
43d265dde5
wallet-core: age restriction benchmarking 2022-05-25 13:52:39 +02:00
07e1818679
Revert "no need to compile after install"
This reverts commit c3ba7fb523.
2022-05-24 18:00:25 +02:00
Sebastian
c3ba7fb523
no need to compile after install 2022-05-24 00:20:42 -03:00
b2931fbac6
wallet-core: clamp claim retry properly 2022-05-19 10:36:58 +02:00
Sebastian
e4ea201943
feat: awaiting refund 2022-05-14 18:09:49 -03:00
Sebastian
4491118494
add restricted option to manual withdraw 2022-05-04 16:26:53 -03:00
f16d2e52d5
wallet-core: implement batch withdrawal 2022-05-03 17:53:37 +02:00
Sebastian
dc842eab6b
deposit from payto 2022-05-03 00:16:03 -03:00
Sebastian
e5c9f588e4
add prepareRefund operation to gather information about the refund before confirm 2022-05-02 19:21:13 -03:00
a165afa682
wallet-core: implement age restriction support 2022-04-27 00:50:17 +02:00
Sebastian
4aa8adbde3
do not warn for every translation 2022-04-26 11:48:29 -03:00
Sebastian
3e31468444
fix: was returning forever as min 2022-04-21 15:38:18 -03:00
Sebastian
0cb4e4498d
addr list and test 2022-04-20 15:14:18 -03:00
Sebastian
37ce3972f9
refactor payto and test 2022-04-20 13:25:13 -03:00
Sebastian
b90a4a66dc
use the first part on the first part and the second part on the second part 2022-04-19 09:57:52 -03:00
2e0b9b9cff
wallet-core: age restriction crypto WIP 2022-04-18 21:23:49 +02:00
Sebastian
c3e65fb49d
urgent fix: take currency from amount, dont assume BTC 2022-04-18 16:20:54 -03:00
3957f529bf
anastasis: no more currencies per country 2022-04-14 21:00:03 +02:00
4e1fe5eb10
anastasis-webui: updated challenge feedback 2022-04-13 23:46:34 +02:00
31b6496db5
anastasis-core: salt rename, fix tagging 2022-04-13 13:16:35 +02:00
Sebastian
56c2a9c6a6
add payto stringify 2022-04-11 11:36:36 -03:00
f33d9dad47
anastasis: use new truth API 2022-04-06 13:19:34 +02:00
123b92b3aa
wallet: logging, timestamp parsing backwards compatibility 2022-03-30 20:41:21 +02:00
bbd6ccf1c7
wallet: allow forced denom selection for tests 2022-03-29 21:22:03 +02:00
c265e7d019
wallet: make retries more robust and consistent 2022-03-29 13:48:51 +02:00
80e43db2ca
wallet: timeout handling refactoring WIP 2022-03-28 23:21:49 +02:00
24b7110776
vendor CancellationToken 2022-03-28 20:24:09 +02:00
2ba6692c6a
fix fee discrepancy
The withdrawal call-to-action and withdrawal transaction details dialog
showed different fees, as the "overhead" for unwithdrawable amounts in a
reserve was not included in the withdrawal CTA.

The withdrawal CTA now shows the same fees as the transaction details.
2022-03-28 16:11:58 +02:00
Sebastian
f45ef76701
esbuild configuration 2022-03-24 16:02:38 -03:00
303c6e99b3
wallet: allow using RPC crypto in more places 2022-03-24 01:59:08 +01:00
9d38cb56a6
wallet: crypto worker fixes, better taler-crypto-worker integration 2022-03-24 01:10:41 +01:00
739c2f9337
wallet: more time format fixes 2022-03-22 23:03:41 +01:00
5d23eb3635
wallet: improve error handling and error codes 2022-03-22 21:16:38 +01:00
f8d12f7b0d
wallet: t_s/d_us migration 2022-03-21 19:20:48 +01:00
Sebastian
98761a2b8d
if the lang is not found show the source string instead. source string must be english 2022-03-18 14:58:53 -03:00
05838080f5
wallet: round timestamps in db-less requests to the exchange 2022-03-17 11:08:53 +01:00
c0be242292
wallet: db-less benchmarking 2022-03-15 17:51:11 +01:00
Sebastian
984cbb7ab7
save tos etag after forced refresh 2022-03-15 00:24:39 -03:00
332745862e
wallet: towards db-less benchmarking, some refactoring 2022-03-14 18:31:36 +01:00
9d66078852
wallet-core: do not rely on reserve history for withdrawals 2022-03-10 16:30:24 +01:00
6ee0354940
wallet: improve retry handling for payments, update error codes 2022-03-08 23:09:20 +01:00
d5a933e4cb
wallet-core: handle reserve retries better
We now always increment the next retry timeout before doing anything
else, so that it is impossible to accidentally retry immediately.

This fixes a bug where we previously made many, very frequent requests
to the bank integration API.
2022-03-08 20:39:56 +01:00
1d1c847b79
wallet: throttle all http requests
even from browsers / service workers
2022-03-08 19:19:29 +01:00
6df9202935
fix recoup protocol breakage 2022-03-07 21:49:11 +01:00
0323868e10
fix tipping 2022-03-07 20:44:18 +01:00
0290c5fd37
address protocol changes in the exchange
The exchange now has a wad fee and truncates the payto hash in signatures
2022-03-07 12:09:38 +01:00
Sebastian
7d8acca7f9
changed implementation of bech32 to https://github.com/sipa/bech32/tree/master/ref/javascript 2022-03-03 17:50:19 -03:00
Sebastian
932e0c891d
bitcoin manual withdraw when exchange has btc currency 2022-03-03 10:58:32 -03:00
Sebastian
68b8873442
added ja lang and implemented transalation switch 2022-02-24 12:50:54 -03:00
5fbe82b374
disable setupRefreshPlanchet C crypto worker call 2022-02-21 16:17:59 +01:00
5c93f15157
towards implementing breaking exchange protocol changes 2022-02-21 12:40:57 +01:00
8920ea9c54
dependencies / tsconfig 2022-02-10 20:13:07 +01:00
432bf7aba2
get rid of libsodium-sumo, implement directly 2022-02-04 00:50:28 +01:00
f5ff4afae6
clause schnorr 2022-02-03 01:35:21 +01:00
Gian Demarmels
003ba5e91b
- added CS cryptographic routines 2022-02-03 01:35:21 +01:00
Gian Demarmels
3b10e30ca1
initial commit for CS routines 2022-02-03 01:35:21 +01:00
038aa948eb
fix contract terms normalization 2022-01-27 14:33:23 +01:00
Sebastian
8b07411c58
inlt is not part of stringifyValue 2022-01-25 17:45:33 -03:00
0ccd5b955b
init PRNG in test case 2022-01-25 17:36:48 +01:00
a51abcffb0
make refund-gone test case pass again (see #7158) 2022-01-24 22:44:30 +01:00
26ee8e3c71
fix exchange-timetravel test case with latest exchange version 2022-01-24 21:14:28 +01:00
171d070a83
make tipping work with latest merchant protocol 2022-01-24 20:51:47 +01:00
Sebastian
882d6b3710
last activity -> pending; fix downloadTos 2022-01-24 14:12:12 -03:00
Sebastian
cea0ac02b6
import db from the wallet web extension 2022-01-13 01:34:17 -03:00
dc596f1f4d
implement latest recoup protocol 2022-01-12 15:51:56 +01:00