Commit Graph

1994 Commits

Author SHA1 Message Date
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
b45dd3ed4d
fix missing name 2023-01-31 11:43:01 -03:00
Sebastian
33c1759f16
fix accept tip response type 2023-01-31 11:42:46 -03:00
Sebastian
5ff92139ba
pretty 2023-01-31 11:42:12 -03:00
Sebastian
9d9a88af01
fix #7535: fix qr implementation 2023-01-31 10:21:08 -03:00
Sebastian
6f24b5a05e
more no enough balance description 2023-01-27 17:34:18 -03:00
Sebastian
378cc9125d
fix typo 2023-01-27 16:40:25 -03:00
Sebastian
ab5defb617
add new pages title 2023-01-27 15:50:19 -03:00
Sebastian
9645f93406
update to blue logo 2023-01-27 15:44:06 -03:00
Sebastian
eebb85bef4
webhook api 2023-01-27 15:08:25 -03:00
Sebastian
1b2b5d62de
add use-template button 2023-01-27 15:08:24 -03:00
Sebastian
7a3717125f
no more storybook 2023-01-27 15:08:23 -03:00
8791d4ea60
-remove debug logging 2023-01-27 13:32:27 +01:00
af4064ce7e
wallet-core: improve error message when store is missing 2023-01-27 12:38:24 +01: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
Christian Grothoff
6c4bf359c1
bump debian package version 2023-01-26 21:57:28 +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
3aa077e097
bump versions 2023-01-24 16:46:36 +01:00
Sebastian
56622a247b
add make rule 2023-01-23 15:12:48 -03:00
Sebastian
3348db0d5e
fix wrong property 2023-01-23 14:57:26 -03:00
Sebastian
87c10f6c8a
depleted rollback 2023-01-23 14:57:26 -03:00
6816052615
update READMEs 2023-01-23 15:43:56 +01:00
Sebastian
86e1cb5b06
fix deleted tip name and format name as merchant backend expected 2023-01-23 11:25:53 -03:00
Sebastian
d195a9ddc8
fix name 2023-01-23 11:00:25 -03:00
Sebastian
fdbe5c12e9
tune up backend dependecies 2023-01-23 10:09:57 -03:00
0029013f8d
-space 2023-01-23 13:56:50 +01:00
3222617b81
wallet-core: make DB migration logic more tolerant 2023-01-23 13:56:22 +01:00
Sebastian
509011f9bc
fix payto 2023-01-23 08:15:22 -03:00
Sebastian
59ce6e3d99
bring documentation from old repo and fix Makefile to copy all content of dist folder 2023-01-21 20:20:42 -03:00
Sebastian
88dbd80f85
if there is not tx and no money left, then hide the currency 2023-01-21 12:32:32 -03:00
Sebastian
03b12d2b27
fix wrong fee calculation 2023-01-20 15:45:02 -03:00
Sebastian
5f31dad2d3
also merge refund when getting transactionById 2023-01-20 15:43:37 -03:00
Sebastian
7ea8321ddd
introducing getBalanceDetail for getting all depositable/transferable amount for a currency 2023-01-20 15:41:55 -03:00
Sebastian
81dda3b6b1
fix: effective amount is higher that raw amount in transfer 2023-01-20 09:59:20 -03:00
Sebastian
346056ca91
feat: adjust log level from developer page 2023-01-19 17:05:34 -03:00
Sebastian
40279ae7f0
pretty 2023-01-19 16:16:42 -03:00
Sebastian
b5c29a8bad
add test for commit 4f376297dc: show be able to call check refund and finish 2023-01-19 16:14:44 -03:00
Sebastian
4f376297dc
fix: order will stay in queryRefund state forever 2023-01-19 14:25:02 -03:00
Sebastian
e263fe3508
fix: do not count coins with other currency 2023-01-19 13:37:42 -03:00
Sebastian
928fe2d019
fix: contract terms details with fullfilment url 2023-01-19 09:38:53 -03:00
0a439461e9
harness: hack around test limitation
It's currently not possible to wait until a transaction reaches a
certain state, so we simply run all pending operation once so that the
pull payment is initiated.
2023-01-19 00:05:45 +01:00
Sebastian
fdc7b58277
Merge branch 'master' of git.taler.net:wallet-core 2023-01-18 17:32:34 -03:00
Sebastian
4bd9b1ba79
fix: missing total cost in peer pull payment 2023-01-18 17:31:34 -03:00
Sebastian
20b9e62aa1
fix: showing the current value of the coin 2023-01-18 17:30:09 -03:00
Sebastian
733d06c8d4
fix: using wrong variable 2023-01-18 17:29:36 -03:00
d7fe5b0cb5
wallet-core: add receiver name in fakebank test 2023-01-18 20:21:24 +01:00
de937d7159
-logging 2023-01-18 20:08:16 +01:00
785f8163ca
harness: mark some tests as experimental 2023-01-18 19:58:30 +01: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
5e129abe9e
fix: withdrawal error when creating an invoice 2023-01-18 13:12:38 -03:00
Sebastian
b0258d1909
fix tx pending state 2023-01-18 12:36:49 -03:00
Sebastian
44570081f1
fix zeroOfCurrency 2023-01-18 12:36:36 -03:00
Sebastian
fb4896cf18
backup section link justInDevMode 2023-01-18 12:06:37 -03:00
3bcac051ed
wallet-core: log insufficient balance details 2023-01-18 00:17:07 +01:00
Sebastian
420493b3e6
use payto builder and prevent showing cancel for non-payment 2023-01-17 16:01:28 -03:00
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
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
Sebastian
8a70edb2f8
add 'when' to error-detail and remove error as normal response when doing backup 2023-01-09 20:09:54 -03:00
Sebastian
efb5bf9de4
fix broken compile 2023-01-09 08:49:08 -03:00
Sebastian
9b04d8bf35
fix #7152 2023-01-09 08:38:48 -03:00
Sebastian
14f3d1e06d
wallet-core pretty 2023-01-09 08:33:41 -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
MS
db1b824818
libeufin tests: include currency in amounts. 2023-01-05 23:02:34 +01:00
MS
b6afe8bb97
Build system.
Avoid taler-harness to use divergent 'esbuild'
versions among dependencies and devDependencies.
2023-01-05 22:49:09 +01:00
MS
b832b5a3bf
Fix build.
Include 'esbuild' as a taler-harness dependency,
and update the lockfile accordingly.  Give taler-harness
the configure script too.
2023-01-05 22:44:01 +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
Sebastian
590cda1dd3
split foreground and background api 2023-01-04 15:46:01 -03:00
f4e1e8e6e7
-minor insufficient balance tweaks 2023-01-04 15:44:36 +01:00
Sebastian
24cac493dd
fix #7522 2023-01-04 11:38:00 -03:00
7d02e42123
wallet-core: define insufficient balance details 2023-01-04 15:18:58 +01:00
aa165477d0
harness: p2p payment emojis 2023-01-04 14:22:38 +01:00
73eccdd1cf
harness: test more unicode characters in subject 2023-01-04 14:20:16 +01:00
860aff83e1
-missing step in make install 2023-01-04 14:19:54 +01:00
60374078f4
wallet-core: test crypto dispatcher, fix timeout handling 2023-01-04 13:24:24 +01:00
Sebastian
9c63d67781
removed axios as dependency 2023-01-04 08:58:59 -03:00
0e51628f99
-fix pnpm issues 2023-01-04 12:14:51 +01:00
cd2491430d
harness: make import.meta.url work 2023-01-04 11:36:01 +01:00
f26cbe7c1f
-qjs fixes 2023-01-04 09:55:10 +01:00
Sebastian
9ad1f2712a
pretty 2023-01-03 10:01:04 -03:00
Sebastian
a2668c22f0
refactor better QA
removed axios, use fetch
removed jest, added mocha and chai
moved the default request handler to runtime dependency (so it can be replaced for testing)
refactored ALL the test to the standard web-utils
all hooks now use ONE request handler
moved the tests from test folder to src
2023-01-03 01:58:18 -03:00
Sebastian
d1aa79eae8
remove axios, better api 2023-01-03 01:58:17 -03:00
d48ea17c63
-logging, skip defaults in test 2023-01-02 21:00:43 +01:00
13d6810937
Makefile, dependencies 2023-01-02 20:21:57 +01:00
Sebastian
36a2393f16
missing words 2022-12-30 14:56:34 -03:00
Sebastian
90ec5b51ea
marc suggestions from email 2022-12-30 14:24:07 -03:00
Sebastian
26d94c4ba7
add login username validation & prevent safari to capitalize 2022-12-30 10:42:15 -03:00
Christian Grothoff
7d0990fe89
-typo 2022-12-27 11:02:46 +01:00
54b72fdbff
Translated using Weblate (Italian)
Currently translated at 21.9% (20 of 91 strings)

Translation: GNU Taler/Taler Bank SPA
Translate-URL: https://weblate.taler.net/projects/gnu-taler/taler-bank-spa/it/
2022-12-27 00:30:19 +01:00
c8995950b5
Translated using Weblate (German)
Currently translated at 14.2% (13 of 91 strings)

Translation: GNU Taler/Taler Bank SPA
Translate-URL: https://weblate.taler.net/projects/gnu-taler/taler-bank-spa/de/
2022-12-27 00:30:19 +01:00
134e8adf46
Translated using Weblate (Italian)
Currently translated at 0.5% (2 of 379 strings)

Translation: GNU Taler/webextensions
Translate-URL: https://weblate.taler.net/projects/gnu-taler/webextensions/it/
2022-12-27 00:30:19 +01:00
86e8aee661
Translated using Weblate (German)
Currently translated at 7.9% (30 of 379 strings)

Translation: GNU Taler/webextensions
Translate-URL: https://weblate.taler.net/projects/gnu-taler/webextensions/de/
2022-12-27 00:30:19 +01:00
dfb5000ece
Translated using Weblate (French)
Currently translated at 0.5% (2 of 379 strings)

Translation: GNU Taler/webextensions
Translate-URL: https://weblate.taler.net/projects/gnu-taler/webextensions/fr/
2022-12-25 18:49:15 +01:00
673e7a417d
bump manifest version 2022-12-23 13:20:56 +01:00
083c4cf5d9
spill extra functionality from wallet-cli into taler-harness
We want to keep taler-wallet-cli smaller and have fewer dependencies.
2022-12-23 13:19:41 +01:00
d98711cb51
use native KDF / hash state if available 2022-12-23 13:19:41 +01:00
Sebastian
dc002f99a9
support for ext+taler:// while taler:// is not yet allowed as scheme 2022-12-22 18:42:18 -03:00
Sebastian
5c84c32736
pretty 2022-12-22 18:40:38 -03:00
Sebastian
6fd7756329
also offer temporary ext+taler 2022-12-22 18:39:18 -03:00
Sebastian
a221ec6b79
fix unhandled input 2022-12-22 18:38:47 -03:00
Sebastian
9fb0e7d0b3
prevent form submit 2022-12-22 18:38:21 -03:00
Sebastian
43a543b41f
fix: reload before fetch. input type=submit reload the spa 2022-12-22 12:25:26 -03:00
Sebastian
f1962dceb3
remove clipboardRead permission & pretty 2022-12-22 12:13:59 -03:00
9ac1c902c0
Translated using Weblate (French)
Currently translated at 0.5% (2 of 379 strings)

Translation: GNU Taler/webextensions
Translate-URL: https://weblate.taler.net/projects/gnu-taler/webextensions/fr/
2022-12-22 00:01:44 +01:00
Sebastian
a73d24759c
testing function sum and freeze 2022-12-21 16:36:24 -03:00
Sebastian
7873571d22
add typecheck to background operations 2022-12-21 16:24:18 -03: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
Sebastian
3557e307a8
fix: install doesn't work if there is directory inside 2022-12-21 12:58:27 -03:00
Sebastian
c59f9a2556
use translation context from web-utils, don't use match react-router since is broken 2022-12-20 17:45:24 -03:00
Sebastian
382e66b179
fix testing not compiling 2022-12-20 15:42:53 -03:00
Sebastian
1500c91f36
context is optional 2022-12-20 15:27:44 -03:00
Sebastian
a160f31514
fix #7291 2022-12-20 15:23:33 -03:00
Sebastian
1fc4456f7a
missing dependency 2022-12-20 15:14:51 -03:00
Sebastian
46607dc260
handler request timeout 2022-12-20 13:44:42 -03:00
Sebastian
15d76cf77c
add WALLET_HTTP_REQUEST_GENERIC_TIMEOUT to error map 2022-12-20 13:43:42 -03:00
Sebastian
8c8aad4c21
fix #7524: do not break if the account is in an invalid state 2022-12-20 10:17:02 -03:00
5ae63982c3
Translated using Weblate (German)
Currently translated at 2.1% (2 of 91 strings)

Translation: GNU Taler/Taler Bank SPA
Translate-URL: https://weblate.taler.net/projects/gnu-taler/taler-bank-spa/de/
2022-12-20 14:14:09 +01:00
Sebastian
cf7f819685
templates 2022-12-19 16:25:09 -03:00
Sebastian
45691dc991
fix: #7526 - patch authored by Windfisch 2022-12-19 14:52:34 -03:00
Sebastian
72b4293215
pretty 2022-12-19 12:23:39 -03:00
Sebastian
770ab6f01d
build and test like other webapps 2022-12-19 12:12:39 -03:00
MS
d5efb6198e
libeufin tests: adapt to new report/statement policy 2022-12-17 00:26:02 +01:00
Sebastian
39b02d6878
update copy header 2022-12-16 16:59:37 -03:00
Sebastian
f1f8f818db
pretty 2022-12-15 17:12:03 -03:00
Sebastian
f93bd51499
wxApi from context and using the new testing sdk 2022-12-15 17:11:24 -03:00
Sebastian
8d8d71807d
refactoring transaction component to standard component with test and examples 2022-12-14 15:35:28 -03:00
Sebastian
d0dd7a155f
same typescript version for every package, added test deps to demobank 2022-12-14 15:17:59 -03:00
Sebastian
e97c808b41
moving testing sdk to web-utils 2022-12-14 15:17:15 -03:00
Sebastian
ae2df08abd
more stories in bank demo 2022-12-12 10:58:16 -03:00
Sebastian
14363d42e3
component example 2022-12-12 10:57:35 -03:00
Sebastian
880961034c
compose, testing and async into web-util 2022-12-12 10:57:14 -03:00
Sebastian
5fc8f95a5d
simplify directories 2022-12-09 12:15:15 -03:00
Sebastian
6b6f80466e
remove unused 2022-12-09 12:07:01 -03:00
Sebastian
f2b319921c
use translation from commons 2022-12-09 11:58:39 -03:00
Sebastian
d14eedd284
move translation context to commons 2022-12-09 11:58:16 -03:00
Sebastian
f759c58a59
show error message when there is compilation error 2022-12-09 11:46:09 -03:00
Sebastian
24f6d8fc9a
i18n sync 2022-12-09 11:15:24 -03:00
Sebastian Marchano
d4a8d9597f
Translated using Weblate (Spanish)
Currently translated at 100.0% (91 of 91 strings)

Translation: GNU Taler/Taler Bank SPA
Translate-URL: https://weblate.taler.net/projects/gnu-taler/taler-bank-spa/es/
2022-12-09 15:13:11 +01:00
Sebastian
345c436051
fix typo in source file 2022-12-09 11:07:37 -03:00
Sebastian
7d07f752eb
new string added to i18n 2022-12-09 11:03:30 -03:00
Sebastian
1665cf4f72
fix: wrong listener place 2022-12-09 10:37:41 -03:00
Sebastian
eb2e04aaf8
sync i18n 2022-12-09 10:23:56 -03:00
Sebastian Marchano
3c2de6d713
Translated using Weblate (Spanish)
Currently translated at 100.0% (74 of 74 strings)

Translation: GNU Taler/Taler Bank SPA
Translate-URL: https://weblate.taler.net/projects/gnu-taler/taler-bank-spa/es/
2022-12-09 14:22:15 +01:00
Sebastian Marchano
72bf06e0d5
Translated using Weblate (Spanish)
Currently translated at 100.0% (379 of 379 strings)

Translation: GNU Taler/webextensions
Translate-URL: https://weblate.taler.net/projects/gnu-taler/webextensions/es/
2022-12-09 14:22:15 +01:00
Sebastian
86388cd705
emit i18n for spanish 2022-12-09 10:00:43 -03:00
Sebastian Marchano
1e9194e36a
Added translation using Weblate (Spanish) 2022-12-09 13:54:36 +01:00
Sebastian
e49902e1fc
using i18n from package 2022-12-09 09:30:34 -03:00