Commit Graph

3862 Commits

Author SHA1 Message Date
Sebastian
252382a937
throw error after 5 seconds if wallet-core didn't reply to a command 2023-01-17 16:01:28 -03:00
Sebastian
2c14a180c1
re-use the same kyc function from withdrawal for deposits 2023-01-17 16:01:27 -03:00
Sebastian
eeea3e62a0
stronger type check to be sure that ErrorDetails is consistent 2023-01-17 16:01:26 -03: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
99d7cbae04
-output nice message 2023-01-17 00:32:13 +01:00
c490c9806f
embedded: include in top-level Makefile 2023-01-17 00:30:38 +01:00
f7dfb736b4
embedded: fix compile script in package.json 2023-01-17 00:25:26 +01:00
41c87b03e6
embedded: payload->args
The new qjs embedded wallet bundle broke compatibility with the old one
by calling the wallet-core API request arguments "payload" instead of
"args".  This commit goes back to the old name.
2023-01-17 00:20:37 +01:00
Sebastian
e8ca838f29
allow autocomplete, prevent autocapitalize in all forms 2023-01-16 16:19:03 -03:00
Christian Grothoff
4a104415fe
-typos 2023-01-16 17:50:34 +01:00
e9a170d291
harness: wait in test 2023-01-16 16:14:48 +01:00
c4e8eabce8
harness: fix wrong assertions in test-payment-abort 2023-01-16 13:59:16 +01:00
e4801dcc31
util: 'when' field must be optional 2023-01-16 13:59:16 +01:00
Sebastian
bd57fa46a4
show deposit transaction info 2023-01-15 17:49:57 -03:00
Sebastian
fc38d0da95
query transaction status for deposit 2023-01-15 17:48:41 -03:00
Sebastian
e034f1045c
removing merchantPub from signature 2023-01-15 17:47:56 -03:00
Sebastian
bfc7b20100
TrackTransaction interface 2023-01-15 17:46:56 -03:00
Sebastian
8e8bada643
fix deposit navigation 2023-01-13 17:31:20 -03:00
Sebastian
767f1a9d67
remove activeLongPoll on error and prevent activeLongPoll skip if forced 2023-01-13 16:34:07 -03:00
Sebastian
0b2bf13def
using extendedStatus 2023-01-13 16:09:33 -03:00
Sebastian
bc67ff0c7f
added not-yet-implemented and pretty 2023-01-13 16:05:17 -03:00
Sebastian
e573c56873
mark status as deprecated 2023-01-13 15:08:44 -03:00
Sebastian
42acac06aa
fix: date parsing 2023-01-13 14:59:11 -03:00
a31b8c3c31
wallet-core: store total p2p push cost in DB 2023-01-13 02:24:19 +01:00
a3f9e86805
wallet-core: compute full peer push payment fees 2023-01-13 01:45:33 +01:00
8309f803ab
harness: add integration test for withdrawal fees 2023-01-13 01:27:05 +01:00
cbf848dd2a
wallet-core: return pending status instead of error
This allows clients to get the transaction ID of the confirmed payment.
2023-01-13 00:31:29 +01:00
Sebastian
72ca5ee8dd
more information if migration failed, and pretty 2023-01-12 15:51:36 -03:00
473cbc3908
wallet-core: refresh properly after non-abort refunds 2023-01-12 17:04:33 +01:00
1e378e4499
wallet-core: retries for peer pull payments 2023-01-12 16:57:51 +01:00
24694eae73
wallet-core: implement retries for peer push payments 2023-01-12 15:11:32 +01:00
81157c519b
wallet-cli: add subcommand for aborting txns 2023-01-12 11:39:57 +01:00
1fceb13517
wallet-core: allow zero amounts in payments again 2023-01-12 11:22:43 +01:00
Sebastian
e87073d42a
add kyc warning 2023-01-11 15:30:14 -03:00
Sebastian
335d22b12b
when as number instead of string, fix codec used before declaration, pretty 2023-01-11 15:30:14 -03:00
52be8c9158
-missing file 2023-01-11 17:19:12 +01:00
3641e4cf0c
-check in integration test 2023-01-11 17:16:15 +01: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
afd6f48b57
wallet-core: remember applied DB fixups 2023-01-11 14:20:23 +01:00
668d7a213e
wallet-core: implement database fixups 2023-01-11 14:19:24 +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
688518ec73
fix: update cache when response is ok 2023-01-10 11:50:43 -03:00
Sebastian
da5b42025a
if the order is not found, marked the payment as failed 2023-01-10 11:24:46 -03:00
Sebastian
8d59e71724
fix alert content width 2023-01-10 09:27:00 -03:00
e8baaf5eb1
harness: capture createdb/dropdb logs 2023-01-10 12:14:08 +01:00
cfe33c8e27
wallet-embedded: fetchHttp is now async 2023-01-10 12:14:08 +01:00
Sebastian
4a781bd0dd
fix #7153: more error handling
if handler do not trap error then fail at compile time,
all safe handlers push alert on error
errors are typed so they render good information
2023-01-09 20:20:09 -03:00