Commit Graph

406 Commits

Author SHA1 Message Date
13f0442736
harness: finish kyc test
We mock the KYC gateway now, use the new notification-based wallet API
and the test is not experimental anymore.
2023-02-12 19:31:37 +01:00
04ab9f3780
wallet-core,harness: implement pay templating 2023-02-11 14:24:29 +01:00
a9073a6797
deps: add missing esbuild dependency, upgrade esbuild 2023-02-10 19:57:48 +01:00
18c30b9a00
wallet-core: implement partial withdrawal batching, don't block when generating planchets 2023-02-10 13:21:37 +01:00
3cf2d4cba9
wallet-core: expose withdrawal progress, towards huge withdrawal test 2023-02-10 00:07:33 +01:00
96101238af
harness,wallet-cli: notification-based testing with RPC wallet 2023-02-02 20:21:04 +01:00
Sebastian
ab9a5e1e8a
fix #7552, add next_url from the tip information when accepting tips 2023-02-01 13:00:12 -03:00
Sebastian
5ff92139ba
pretty 2023-01-31 11:42:12 -03:00
5b11bafc76
-missing version bumps 2023-01-27 12:38:24 +01:00
Christian Grothoff
459422eb55
-typo 2023-01-27 10:17:16 +01:00
d26db0230f
-missing files 2023-01-26 22:06:27 +01:00
3cc26d00f8
put taler wallet RPC into taler-util, make it cross-platform 2023-01-26 12:48:35 +01:00
c57ba4c0ce
wallet-cli: daemonized wallet MVP 2023-01-25 18:49:00 +01:00
Sebastian
7ea8321ddd
introducing getBalanceDetail for getting all depositable/transferable amount for a currency 2023-01-20 15:41:55 -03:00
Sebastian
346056ca91
feat: adjust log level from developer page 2023-01-19 17:05:34 -03:00
598de5b0d5
wallet-core: Add 'deposited' field to deposit transaction
This field indicates whether the POST requests to deposit coins went
through with the exchange.

We also don't consider a deposit transaction as having lifeness when it
is already deposited and we're just querying for informational deposit
tracking information.
2023-01-18 19:33:01 +01:00
Sebastian
5be2d128ed
payto URI builder 2023-01-17 16:01:26 -03:00
Sebastian
3cde52effc
use URL api to stringify payto:// 2023-01-17 16:01:25 -03:00
e4801dcc31
util: 'when' field must be optional 2023-01-16 13:59:16 +01:00
Sebastian
bfc7b20100
TrackTransaction interface 2023-01-15 17:46:56 -03:00
Sebastian
e573c56873
mark status as deprecated 2023-01-13 15:08:44 -03:00
Sebastian
335d22b12b
when as number instead of string, fix codec used before declaration, pretty 2023-01-11 15:30:14 -03:00
143a4fe4ac
wallet-core: refresh when aborting payments 2023-01-11 17:14:49 +01:00
5fc0cb7927
-more to rename 2023-01-11 14:36:29 +01:00
c3fdbd291f
wallet-core: introduce abortPay request
This request supersedes the abortPayWithRefund request, as that's too
implementation-focused and does not describe well what's happening.

Also, abortPay can be forced to transition a transaction immediately
into an "aborted" state (either from "paying" or "aborting").
2023-01-11 14:33:35 +01:00
a82d8fab69
wallet-core: KYC mvp
Only hard withdrawal KYC is supporte so far, and no long-polling is done
yet.
2023-01-10 17:31:36 +01:00
Sebastian
8a70edb2f8
add 'when' to error-detail and remove error as normal response when doing backup 2023-01-09 20:09:54 -03:00
417c07f3f4
wallet-core: insufficient balance details for p2p payments 2023-01-06 13:55:08 +01:00
c2c35925bb
wallet-core: allow failure result in peer payment coin selection 2023-01-06 11:08:45 +01:00
80639429a2
wallet-core: test insufficient balance response, also use it for deposit groups 2023-01-06 10:32:44 +01:00
92f1b5928c
wallet-core: implement insufficient balance details
For now, only for merchant payments
2023-01-05 18:45:54 +01:00
Sebastian
4da4a1b33e
introduce TranslatedString type to require an string but exclude non-translated strings 2023-01-04 15:46:01 -03:00
f4e1e8e6e7
-minor insufficient balance tweaks 2023-01-04 15:44:36 +01:00
d48ea17c63
-logging, skip defaults in test 2023-01-02 21:00:43 +01:00
d98711cb51
use native KDF / hash state if available 2022-12-23 13:19:41 +01:00
8a98a5f880
wallet: use taler runtime (tart) if available 2022-12-21 18:50:15 +01:00
0b6002bbbc
crypto rename 2022-12-21 18:31:54 +01:00
d040c3b861
wallet: use native crypto if available 2022-12-06 19:45:04 +01:00
Sebastian
219e48f351
fix #7497 2022-11-28 15:33:45 -03:00
Sebastian
dcddc4c53a
revert the Lost payment result 2022-11-25 12:18:52 -03:00
Sebastian
e05ba843a0
fix 7465 2022-11-24 23:16:01 -03:00
Sebastian
6dc4fda73a
fix #7477 2022-11-17 17:07:24 -03:00
Sebastian
1a63d56bfd
fix #7411, also making the backup payment visible 2022-11-16 16:05:13 -03:00
0d786a7875
-don't make crypto function used in tests only public 2022-11-15 16:56:13 +01:00
f441f16e33
-text 2022-11-14 11:49:39 +01:00
f09a502fe7
fix URLSearchParams and HTTP typing issue 2022-11-12 19:18:55 +01:00
233a354b47
fixes and polyfills for quickjs 2022-11-11 20:52:53 +01:00
9ec3448076
remove deprecated taler://notify-reserve URI handling 2022-11-11 11:16:01 +01:00
42d3a2b1d7
-fix polyfill 2022-11-10 14:24:02 +01:00
dec3a30352
URL polyfill 2022-11-10 14:01:40 +01:00
Sebastian
b65bb1af35
pretty 2022-11-08 13:00:49 -03:00
Sebastian
5c742afbdf
feature: 7440 add expiration to p2p 2022-11-08 13:00:34 -03:00
Sebastian
709ac2349c
read bic from iban payto 2022-11-04 15:58:10 -03:00
66460e5650
repo: bump versions to v0.9.0 2022-11-04 12:44:34 +01:00
Christian Grothoff
d00f7a4a01
-fix typos 2022-11-03 20:12:32 +01:00
54847cdadb
-dce 2022-11-03 10:35:38 +01:00
8442452c33
wallet-core: get rid of AmountJson in public API 2022-11-02 18:24:54 +01:00
d50294f76e
wallet-core: DB FIXMEs (amount format) 2022-11-02 18:23:17 +01:00
1e6e1a22cd
wallet-core: fix exchange management test case, surface exchange update error info in list 2022-11-02 14:23:26 +01:00
fe011321a4
wallet-core: compute residual amount for recoup properly 2022-11-02 13:40:03 +01:00
aab3f917c4
-harness fixes for kyc 2022-11-01 17:52:51 +01:00
504d9f09b4
wallet-core: remove kyc and wad fee 2022-11-01 17:26:24 +01:00
ab48d3df6e
-rename 2022-11-01 15:36:10 +01:00
d63a773bf5
wallet-core: report supportedAgeGroups 2022-11-01 15:31:48 +01:00
8e1622a915
wallet-core: better KYC error message 2022-11-01 13:39:42 +01:00
b513665408
taler-util: remove legacy member 2022-11-01 12:20:50 +01:00
dab739a63e
wallet-core: use PeerContractTerms 2022-11-01 11:41:28 +01:00
2f6225f6e7
taler-util: fix config utils for ESM 2022-10-31 20:28:28 +01:00
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