Commit Graph

516 Commits

Author SHA1 Message Date
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
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
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
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
e671880b9e
wallet-core: use long-polling for P2P kyc 2023-06-05 13:33:14 +02:00
Christian Grothoff
a5cd8a522e
-typos 2023-06-03 13:00:01 +02:00
b1ce901df2
wallet-core: remove waiting-for-retry and some other notifications that we don't use 2023-06-02 16:03:07 +02:00
2a92ca8732
wallet-core: report possible actions in transactions list 2023-05-30 15:58:28 +02:00
000359a5e7
finish implementation of abort / cancelAborting on all tx types 2023-05-30 12:28:21 +02:00
Sebastian
62cec67983
using taler crypto 2023-05-26 10:54:42 -03:00
Sebastian
e3d046457b
moving into taler-crpto 2023-05-26 09:26:12 -03:00
96d9ea3840
taler-util,wallet-core: make AbsoluteTime opaque 2023-05-26 13:52:00 +02:00
cd8f76db61
taler-util,wallet-core: implement TalerPreciseTimestamp
Fixes #7703
2023-05-26 12:19:32 +02:00
6e13fce8a9
taler-util: compile-time flavor for timestamp types 2023-05-26 11:12:44 +02:00
fe8749c3f8
wallet-core: implement cancelAbortingTransaction for deposit groups 2023-05-25 19:26:40 +02:00
8624d798b7
wallet-core: fix issues with aborting deposits 2023-05-25 19:11:03 +02:00
0b4d900088
wallet-core: return transactionId whenever a transaction is created 2023-05-25 11:59:55 +02:00
0406160869
wallet-core: DD37 fixes and FIXME comments for merchant payments 2023-05-25 11:13:25 +02:00
a2ef2e391a
wallet-core: remove legacy non-DD37 tx status fields 2023-05-24 14:46:03 +02:00
f475f98f86
wallet-core: fix getTransactionById for refunds 2023-05-24 14:20:48 +02:00
4627c0781c
wallet-core: report number of coins in withdrawal details 2023-05-24 12:58:33 +02:00
ea953f2b77
wallet-core: use division for withdrawal coin selection 2023-05-24 12:54:07 +02:00
Sebastian
434bb4af25
uri is not txid 2023-05-22 14:10:51 -03:00
Sebastian
76d2524b8b
pretty 2023-05-22 13:12:38 -03:00
Sebastian
984cba226f
transactionIdStr nominal typing 2023-05-22 13:12:27 -03:00
acf0dda83f
wallet-core: return purchase information in refund if available 2023-05-16 19:03:22 +02:00
72d0230a2e
-fix minor state name 2023-05-16 16:48:51 +02:00
359b9860a6
wallet-core: remove legacy operation names 2023-05-11 14:29:55 +02:00
edd3a39a0c
taler-util: remove deprecated function 2023-05-11 14:16:48 +02:00
6308c7ea6b
wallet-core: return txid when starting refund via URI 2023-05-10 17:30:42 +02:00
1c39b2befa
bump versions 2023-05-09 18:20:10 +02:00
2f3db5bcf1
bump versions 2023-05-08 09:37:39 +02:00
b9d658f50b
-spelling consistency 2023-05-07 22:43:45 +02:00
7f0edb6a78
wallet-core: refund DD37 refactoring 2023-05-07 21:51:02 +02:00
Sebastian
a0bf83fbb5
URL.protocol return with a colon at the end 2023-05-05 13:20:48 -03:00
9a412260f3
adapt to merchant API breaking changes 2023-05-05 14:56:33 +02:00
cbf0f83954
wallet-core: remove allowed auditors from contract terms 2023-05-05 13:29:49 +02:00
60805f3ff8
DD37 wip 2023-05-05 13:21:58 +02:00
1b0bec0363
wallet-core: support new exchange wire account signature 2023-05-03 10:01:51 +02:00
23fca6d867
wallet-core: report pay-merchant DD37 state 2023-05-02 13:24:51 +02:00
16d30adf0d
-withdrawal notifications 2023-05-02 10:59:50 +02:00
c4f5c83b8e
wallet-core: implement withdrawal tx transitions 2023-05-02 10:05:05 +02:00
fd86791e42
-DD37 wip 2023-04-25 23:58:17 +02:00
ce41337bd1
wallet-core: derive DD37 for tipping 2023-04-24 21:39:28 +02:00
e4407f8259
-refunds for deposit aborts 2023-04-24 20:30:01 +02:00
Sebastian
3004ece1f8
prevent http request without enable it explicitly 2023-04-24 12:42:45 -03:00
eff3920bd5
wallet-core: further towards deposit DD37 2023-04-23 22:49:42 +02:00
da59c85d2d
get rid of deprecated bankBaseUrl in more places 2023-04-22 18:36:56 +02:00
15feebecfe
wallet-core: towards DD37 for deposits 2023-04-22 14:17:49 +02:00
e81ae0f3e5
wallet-harness: make sure events are not lost in deposit test 2023-04-21 22:02:40 +02:00
Sebastian
0e9aa33241
test file end with -test.js 2023-04-21 07:50:47 -03:00
Sebastian
d483a3f557
fix #7704 2023-04-19 12:42:47 -03:00
Sebastian
7330f0daf9
catch json parsing problem and report nicely 2023-04-18 14:58:34 -03:00
665adb69f0
-missing file 2023-04-14 16:51:34 +02:00
e345e8bd23
taler-wallet-cli: subcommand to print sample transactions 2023-04-13 20:05:00 +02:00
b96464fe09
Revert "wallet-core: check master public key in /wire response"
This reverts commit 7944a36e30.
2023-04-13 15:04:08 +02:00
7944a36e30
wallet-core: check master public key in /wire response 2023-04-13 14:16:06 +02:00
c581cff749
wallet-core: implement 'generateDepositGroupTxId' request 2023-04-13 11:26:46 +02:00
43ae414a55
-re-add missing fields, fix types 2023-04-06 12:47:34 +02:00
2823b1cdf4
wallet-core: towards DD37 for deposits 2023-04-05 17:38:41 +02:00
d5c5c7463e
wallet-core: also return top-level fee gap estimate 2023-04-05 11:06:22 +02:00
Sebastian
7090807fcb
fix broken tests 2023-04-04 15:11:27 -03:00
28d8c257e5
bump version to 0.0.3-dev.11 2023-04-04 15:26:15 +02:00
07d8498abc
wallet-core: implement runIntegrationTestV2 2023-04-04 15:26:14 +02:00
Sebastian
543795f7fc
save posConfirmation after payment 2023-04-03 12:13:13 -03:00
Sebastian
defdfd7697
taleruri sync with the spec 2023-04-03 12:12:35 -03:00
Sebastian
b08bb05a40
save wire fee instead of effective amount 2023-03-31 14:50:59 -03:00
Sebastian
b74a387e5a
typo 2023-03-31 12:27:16 -03:00
Sebastian
74dba9506d
show wire details when the deposit has been wired 2023-03-29 15:14:24 -03:00
329b766ae7
bump Taler component versions 2023-03-29 19:45:45 +02:00
a17a08ae28
implement IBAN validation 2023-03-29 18:50:07 +02:00
Sebastian
efbde0e160
handle kyc error on invoice and transfer 2023-03-29 00:06:24 -03:00
Sebastian
2291d460e8
add payTemplate, fix missing ampersand 2023-03-10 01:22:07 -03:00
Sebastian
8743db9e40
iso 4217 info 2023-03-06 15:18:24 -03:00
9d3d2a43c7
bump versions to 0.9.3-dev.5 2023-02-23 20:16:32 +01:00
3cdee428dd
bump versions to 0.9.3-dev.4 2023-02-23 16:09:55 +01:00
339080e014
embedded: add missing DB remove call in reset 2023-02-23 15:18:30 +01:00
7985b0a33f
taler-harness: deployment tooling for tipping 2023-02-23 00:52:17 +01:00
9d238fc011
bump to 0.9.3-dev.3 2023-02-21 21:17:33 +01:00
b648238c41
harness: improve peer-pull integration test, check notifications 2023-02-21 21:02:36 +01:00
f955edc1f6
bump version to 0.9.2 2023-02-21 02:09:31 +01:00
4762018dc1
wallet-core: report refresh errors properly 2023-02-21 01:48:12 +01:00
b9b1dd73f5
taler-util: parse duration strings 2023-02-21 01:08:07 +01:00
Sebastian
26aca142fe
fix: protocol min was returning never 2023-02-20 13:23:01 -03:00
6b28885f0b
wallet-core: stubs for suspend/resume tx 2023-02-20 14:40:37 +01:00
d4fda1eea8
wallet-core: raw/effective amount for push transactions, fix transactions list for push/pull credit 2023-02-20 03:22:43 +01:00
ac9dc1845a
-rename 2023-02-20 01:47:49 +01:00
803d1bf7a7
wallet-core: rename ops with support for old names 2023-02-20 01:44:28 +01:00
fddc6eb4f2
-deep rename 2023-02-20 01:20:41 +01:00
e6ed901626
wallet-core: various p2p payment fixes 2023-02-19 23:13:44 +01:00
925ef1f410
taler-util: reject promise on node http error 2023-02-19 14:03:35 +01:00
f4a651ef32
taler-util: exit with correct status, not always 1 2023-02-19 13:41:30 +01:00
99f27aaecd
-comments 2023-02-16 22:29:53 +01:00
eca3819bcd
taler-util: node http fixes 2023-02-16 13:54:19 +01:00
fedc45144f
-missing files 2023-02-16 13:24:25 +01:00
42741e5583
-fix node http invocation 2023-02-16 12:28:56 +01:00
a906263f74
use node16 module resolution 2023-02-16 03:23:42 +01:00
08b120bc8d
put platform-independent stuff in http-common.ts 2023-02-16 02:50:29 +01:00
825d2c4352
make wallet-cli runnable under qtart 2023-02-16 02:50:29 +01:00
bb8bf3cb55
wallet-core: more details in refresh transaction 2023-02-14 13:18:33 +01:00
e3bdfe61a8
-fix schema validation 2023-02-14 13:10:38 +01:00
55f868d5e8
wallet-core: allow inclusion of refreshes in transactions list 2023-02-14 13:02:59 +01:00
6a4da88719
wallet-core: expose more info about refund query 2023-02-14 11:17:19 +01:00
22cb8adaa6
wallet-core,harness: introduce reserveIsReady flag, test tx lifeycle 2023-02-13 13:15:47 +01:00
79b77a0c3c
wallet-core: skeleton support for regional currency scopes 2023-02-12 21:13:30 +01:00
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