Commit Graph

356 Commits

Author SHA1 Message Date
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
a05e891d6e
towards new recoup API 2022-01-11 14:48:02 +01:00
Sebastian
efaa4af648
add format to stringify value 2022-01-10 16:07:26 -03:00
a7b89247e4
wallet-core: towards exchange protocol v12 2022-01-05 20:29:55 +01:00
188ff0b453
upgrade rollup plugins, as older ones caused miscompilation 2022-01-05 18:40:43 +01:00
dc040ba41c
update dependencies to fix rollup issue 2022-01-05 16:48:22 +01:00
Sebastian
2e71117f59
deposit from wallet webex: wip 2021-12-23 15:17:36 -03:00
2dc876d6d6
taler-util: amount currency normalization 2021-12-01 18:07:27 +01:00
718595a572
write logs atomically 2021-12-01 12:22:58 +01:00
5c4c25516d
wallet: support both protocol versions 2021-11-27 20:57:07 +01:00
Sebastian
403de8170e
bump version to 0.9 2021-11-26 12:55:41 -03:00
Sebastian
f07436aa49
new exchange-added notifiaction and including tos information in the wxApi.listExchange api 2021-11-24 08:58:48 -03:00
ae8af3f27c
wallet: tipping protocol change / merchant version info 2021-11-23 23:51:12 +01:00
Sebastian
60cfb0e78f
add reservePub to the withdrawal transaction info 2021-11-19 14:51:35 -03:00
9f0429cb2f
wallet: implement exchange protocol v9 2021-11-17 10:23:30 +01:00
Sebastian
a994009d2f
reserveCreated new design 2021-11-16 14:01:38 -03:00
c33ed91971
wallet: experiment with C-based crypto worker for some primitives 2021-11-16 17:20:44 +01:00
ms
9692f589c6
Bring euFin-based tests to pass.
Note: timetravel-withdraw is now failing for both
pybank and eufin.  That is likely due to the wallet
not refreshing expired denominations.
2021-11-13 12:55:15 +01:00
6fc3aa0b31
taler-wallet: implement log level, use new wallet for every benchmark iteration 2021-11-05 13:10:15 +01:00
ab6fd6c8c7
move HTTP status codes to taler-util 2021-11-03 13:17:57 +01:00
fdc36b4fb7
anastasis-core: compute upload fees 2021-11-02 17:02:14 +01:00
aa78c1105e
anastasis-core: provide reducer CLI, refactor state machine 2021-11-02 16:20:46 +01:00
26738d14f1
anastasis-core: crypto fixes 2021-10-19 18:39:47 +02:00
269022a526
move some more crypto to taler-util package 2021-10-18 21:48:45 +02:00
c532648694
implement fakebank withdrawal 2021-10-14 11:36:43 +02:00
Sebastian
fbf501e727
fixing tos request 2021-10-13 14:26:18 -03:00
Sebastian
78fb5f79a8
fix browser packaging 2021-10-11 10:22:53 -03:00
e2fe2d6db1
add anastasis skeleton, put crypto in taler-util 2021-10-07 12:01:40 +02:00
Sebastian
b1bf3538e6
some ui fixing from belen comments 2021-09-27 13:06:50 -03:00
Sebastian
62b64cb453
make no sense to send the noncePriv if the proposal is already paid 2021-09-20 00:17:45 -03:00
Sebastian
315b167bee
issue #5860 2021-09-17 15:49:07 -03:00
Sebastian
9f00987380
added integration with the wallet-core to get info about the last tos approved 2021-09-13 15:32:15 -03:00
Sebastian
217f34397f
first approach to new design for withdraw 2021-09-08 15:35:44 -03:00
Sebastian
1ea598b048
automated test all stories 2021-09-03 12:05:23 -03:00
Sebastian
e22bdd52f7
transaction details new ui 2021-08-24 15:16:33 -03:00
4c41e70565
DB schema cleanup 2021-08-24 15:43:06 +02:00
a09359bd39
implement freezing for payments 2021-08-24 15:08:34 +02:00
408d8e9fc8
towards handling frozen refreshes 2021-08-24 14:30:33 +02:00
de0d004dd9
packaging fixes 2021-08-20 13:52:13 +02:00
a3687d84ba
separate node entry points
Signed-off-by: Florian Dold <florian@dold.me>
2021-08-20 13:18:55 +02:00
45f1346990
minimatch
Signed-off-by: Florian Dold <florian@dold.me>
2021-08-20 13:18:51 +02:00
8929086ebf
logging 2021-08-19 16:06:09 +02:00
3ce740d87d
store 'list issue date' of denoms, cleanup 2021-08-19 13:48:45 +02:00
9026b0aaad
merchant test: pass h_contract 2021-08-06 11:45:08 +02:00
cd15937dad
fix section comparison 2021-08-05 22:43:14 +02:00
9769f69601
linting 2021-08-04 23:16:08 +02:00
acaa2282b6
linting 2021-08-04 18:05:41 +02:00
17f2132b4a
fix test expectation in merchant-refund-api 2021-08-04 17:47:28 +02:00
f88e14f66d
towards exchange linting 2021-08-04 17:14:52 +02:00
f92cbdbf47
better default config location detection 2021-08-04 12:21:05 +02:00
fc2be33e32
deployment helpers 2021-08-02 15:20:00 +02:00
a8a4f76ed8
implement new GNUnet config features 2021-08-02 14:11:39 +02:00
ms
acf041d144
Reflect API change (public_reorder_url) in taler-util 2021-07-29 17:26:02 +02:00
Sebastian
44551245da
i18n 2021-07-26 11:33:49 -03:00
Sebastian
ebfc79756f
add providers filter to runBackupCycle 2021-07-07 13:28:10 -03:00
42fe576320
implement backup scheduling, other tweaks 2021-06-25 13:27:06 +02:00
Sebastian
7f3ce304cb
missing globalThis Polyfill, remove duplicate url util 2021-06-20 16:14:56 -03:00
Sebastian
221e71b916
remove missing debugger 2021-06-20 16:14:56 -03:00
d41ae5eb97
separate wallet state from wallet client 2021-06-15 18:52:43 +02:00
ef636c022b
implement force-retrying transactions 2021-06-14 19:37:35 +02:00
1cde390c23
fix up imports, no more esm in tests 2021-06-14 16:08:58 +02:00
cc795f350a
store ToS acceptance timestamp, remove unused backup attributes 2021-06-14 11:45:19 +02:00
8ad36d89f5
simplify pending transactions, make more tests pass again 2021-06-10 16:32:37 +02:00
3d2b7b2a65
formatting: re-run prettier 2021-06-09 15:26:18 +02:00
Sebastian
68dddc848f
bump version @gnu-taler/taler-util 2021-06-09 09:37:55 -03:00
Sebastian
2c5612fd63
moving i18n into taler util 2021-06-08 17:18:23 -03:00
Sebastian
ea65d04f0c
remove fromFloat 2021-06-04 10:42:12 -03:00
Sebastian
aa0edbdd68
wallet transaction detail 2021-06-03 01:07:34 -03:00
02f1d4b081
support multiple exchange details per base URL 2021-06-02 13:24:28 +02:00
Sebastian
3688f7e4d4
Amount.toFloat and hide filesystem requirement 2021-05-27 11:15:55 -03:00
9a861b80ef
allow deletion via API 2021-05-20 18:27:35 +02:00
6fc9a052b7
implement deletion of withdrawal transactions 2021-05-20 16:24:41 +02:00
851ac5602c
add UIDs for deletion tombstones to auditor/exchange trust management 2021-05-20 13:15:11 +02:00
e7e337605e
remove unused interfaces 2021-05-17 12:58:18 +02:00
f4ec5b1a32
implement currencies subcommand 2021-05-12 16:18:32 +02:00
4da4380480
always use .js extension to make node module loader happy 2021-05-12 16:06:40 +02:00
b1500241f7
tombstones 2021-05-12 15:26:15 +02:00
4fdcaab632
model more backup provider errors 2021-05-12 14:16:01 +02:00
debc2254fd
towards backup based on add/remove set instead of clocks 2021-05-12 13:35:04 +02:00
MS
faf83181de
excluding non-tests from being run 2021-04-28 10:18:30 +02:00
Christian Grothoff
9b89387535
fix spelling issues 2021-04-27 23:42:25 +02:00
14f13250a0
forgettable information validation WIP 2021-04-14 14:36:46 +02:00
e719f7981e
implement DD18 (forgettable fields in contract terms) 2021-04-12 19:21:16 +02:00