Commit Graph

1877 Commits

Author SHA1 Message Date
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
Sebastian
4ccdcf3058
use string-prelude and poheader if it is present 2022-12-09 09:28:31 -03:00
Sebastian
0bd47e107c
copyleft header 2022-12-09 09:09:20 -03:00
Sebastian
ced7fa6bb4
removed storybook ashes 2022-12-09 08:31:11 -03:00
MS
d4710ba700
Adapt libeufin test suite to recent API.
The new libeufin-sandbox API enforces every bank account
to be owned by one bank customer; this change therefore
provides every test user a customer profile before trying
the banking operations.
2022-12-09 10:55:52 +01:00
68811cc5f5
-missing file, internal benchmark 2022-12-08 15:02:05 +01:00
Sebastian
c54476c40e
fix: username regex and error message word-break 2022-12-07 18:46:30 -03:00
Sebastian
4fbc22b94a
pretty 2022-12-07 18:45:49 -03:00
Sebastian
c2a982e575
missing changes 2022-12-07 18:22:56 -03:00
Sebastian
46835d5155
no-fix: user logger instead of console.log 2022-12-07 16:08:20 -03:00
Sebastian
1c6369677a
feature: useLocalStorage also update when the localStorage has been updated from other window 2022-12-07 16:08:19 -03:00
Sebastian
d2554bedf3
no-fix: remove 'any' and login status is taken from backend 2022-12-07 16:08:19 -03:00
Sebastian
9112655ef5
no-fix: remove unused 2022-12-07 16:08:19 -03:00
Sebastian
59fae3cc21
fix jsx config 2022-12-07 16:08:18 -03:00
Sebastian
fff43ad0ed
fix: updating the title is better that location.hash 2022-12-07 16:08:18 -03:00
Sebastian
f16ff53cf4
also listen for tab title change 2022-12-07 16:08:18 -03:00
Sebastian
c6f228bf14
no-fix: moved out AccountPage 2022-12-07 16:08:17 -03:00
Sebastian
93dc9b947f
no-fix: removing unused showPublicHistories 2022-12-07 16:08:17 -03:00
Sebastian
e4a2937f2a
no-fix: moving out registration page 2022-12-07 16:08:16 -03:00
Sebastian
5d5b63416b
no-fix: moving out public histories page 2022-12-07 16:08:16 -03:00
Sebastian
0fa3b8ddb9
no-fix: move out routing 2022-12-07 16:08:16 -03:00
Sebastian
ac2f680f68
fix: show error message on login and registration form, prevent saving password on localstorage 2022-12-07 16:08:15 -03:00
Sebastian
2c04459a58
fix: better loading page while waiting for server response 2022-12-07 16:08:15 -03:00
Sebastian
7061127c07
fix: empty form should not allow the "send" button 2022-12-07 16:08:15 -03:00
Sebastian
54c8d0db31
no-fix: move out useBackend hook 2022-12-07 16:08:14 -03:00
Sebastian
bb0955d89c
fix: remove red style when input is invalid 2022-12-07 16:08:14 -03:00
Sebastian
8e6bf99006
no-fix: move pagestate provider to app component and move some common hooks to web-utils 2022-12-07 16:08:14 -03:00
Sebastian
2dc3eb0ddd
pretty 2022-12-07 16:08:13 -03:00
0c19050ae7
wallet: add 'env-full' test environment with merchant 2022-12-07 15:36:56 +01:00
a1c5f00aed
wallet: fix p2p coin selection
The p2p coin selection didn't work properly when all available denoms
are needed.

Thanks to Florian Jung for finding the issue and suggesting a fix.
2022-12-06 19:45:04 +01:00
d040c3b861
wallet: use native crypto if available 2022-12-06 19:45:04 +01:00
Sebastian
265e7a7137
fix typo 2022-12-06 15:28:06 -03:00
Sebastian
084b56f24b
run build on prepare and pretty 2022-12-06 15:24:36 -03:00
Sebastian
51bbf08d24
implement web-utils in web-extension 2022-12-06 11:28:56 -03:00
Sebastian
de9f10cbf0
using web-utils in merchant-backoffice (not yet completed) 2022-12-06 11:25:37 -03:00
Sebastian
5969a44391
using web-utils in demobank 2022-12-06 11:25:05 -03:00
Sebastian
d3a6544bc5
using web-utils in anastasis-webui 2022-12-06 11:21:12 -03:00
Sebastian
e382b02203
web-util: utils for developing webapps 2022-12-06 09:21:17 -03:00
Sebastian
219e48f351
fix #7497 2022-11-28 15:33:45 -03:00
Sebastian
3577227cc0
fix #7496 with unit tests 2022-11-28 09:29:14 -03:00
Sebastian
dcddc4c53a
revert the Lost payment result 2022-11-25 12:18:52 -03:00
Sebastian
c121eb875e
fix: ageRestriction option was missing 2022-11-25 12:12:14 -03:00
Sebastian
e05ba843a0
fix 7465 2022-11-24 23:16:01 -03:00
Sebastian
88618df7b8
amount field 2022-11-22 15:43:39 -03:00
Sebastian
dc08d7d20e
fixing import db when pkey is number 2022-11-22 15:15:40 -03:00
Sebastian
5e12a35c77
fix #7470 2022-11-18 13:56:48 -03:00
Sebastian
1c4b3b4488
fix #7469: also remove hasInfo hasError and use the present of value instead 2022-11-18 13:44:44 -03:00
Sebastian
2146aac17d
fix #7457 2022-11-18 13:29:38 -03:00
Sebastian
7fc8d64c90
pending #7468 2022-11-18 13:26:48 -03:00
Sebastian
d8088e30da
fix #7394 2022-11-18 11:29:24 -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
Christian Grothoff
59f7dee003
-fix survey link 2022-11-16 15:46:57 +01:00
Christian Grothoff
689bd7379d
avoid charge terminology 2022-11-16 15:08:02 +01: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
Sebastian
22290020fb
fix integration after changes in 5c742afb 2022-11-11 14:50:01 -03:00
9ec3448076
remove deprecated taler://notify-reserve URI handling 2022-11-11 11:16:01 +01:00
1fe8967c43
demobank-ui: missing dependency 2022-11-10 15:50: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
344b4f62a2
quickjs preparations, clearer worker(-factory) names 2022-11-10 13:54:39 +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
43c7cff750
un-uglyfy, fix: 7442 2022-11-07 19:29:47 -03:00
Sebastian
019080a94b
fix link to payto wire 2022-11-07 15:30:48 -03:00
Sebastian
a3ac373597
add word break for long payto 2022-11-07 15:14:40 -03:00
Sebastian
ca2b4d8c80
add payto uri on bank info 2022-11-07 15:11:45 -03:00
Sebastian
6f3cd16343
standard Amount field and add more validation (neg values) 2022-11-07 14:38:42 -03:00
Sebastian
3eafb64912
fix 7426: URI fragment routing 2022-11-07 12:44:31 -03:00
2431f1b49b
webextension: add esbuild as a devDependency 2022-11-07 14:04:19 +01:00
5664c6c9b3
taler-wallet-embedded: log with logger, not console API 2022-11-07 11:49:44 +01:00
Sebastian
661469f878
encode bank account name and show BIC 2022-11-04 15:58:43 -03:00
Sebastian
709ac2349c
read bic from iban payto 2022-11-04 15:58:10 -03:00
Sebastian
cd6321d303
min 0 for amount 2022-11-04 15:38:58 -03:00
Sebastian
8af72c6036
remove unused 2022-11-04 14:43:26 -03:00
Sebastian
1bfaf997c3
some fixes
after update pageState reset info and error message
input values should not be undefined, otherwise it gets uncontrolled (not controlled by preact)
autofocus on captcha
create a dependency from transactionList to balance, so tx list will be queried again if balance is updated
update balance on any pageChange
2022-11-04 14:35:38 -03:00
Sebastian
d2e2c0198f
mutate balance cache when talerWithdrawUri changes 2022-11-04 12:13:19 -03:00
Sebastian
f79bca0abb
fix dependecies version 2022-11-04 11:56:06 -03:00
Sebastian
9a9629249e
fix some test style and SWRConfig type compilation 2022-11-04 11:56:06 -03:00
Sebastian
a69e559890
better type signature for undefinedIfEmpty 2022-11-04 11:56:05 -03:00
Sebastian
80ab8ccce9
upgrade amount api 2022-11-04 11:56:05 -03:00
Sebastian
50e51429ee
add index.js to import that point to folders 2022-11-04 11:56:05 -03:00
Sebastian
1c46406828
es6 and ts lib 2022-11-04 11:56:04 -03:00
Sebastian
e6a95d246d
fix imports 2022-11-04 11:56:04 -03:00
66460e5650
repo: bump versions to v0.9.0 2022-11-04 12:44:34 +01:00
Christian Grothoff
96417dcdf5
-bump package version 2022-11-04 11:52:20 +01:00
Christian Grothoff
9ad1b88159
-update install rules 2022-11-04 11:47:47 +01:00
Christian Grothoff
1ad6dfa956
-adjust paths 2022-11-04 11:37:18 +01:00
Christian Grothoff
c972af9e79
typo: move folder, not file 2022-11-04 11:33:35 +01:00
Christian Grothoff
03fc6929a2
move debian package to wallet-cli, where it now belongs 2022-11-04 11:30:18 +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
747bfcc267
bump db version 2022-11-02 19:07:46 +01:00
4321cdadb9
bump versions 2022-11-02 19:06:24 +01:00
cc2122b50c
wallet-core: fix coin allocation when doing refresh 2022-11-02 19:05:06 +01:00
566248aec4
wallet-core: add byStatus indices for peer payment object stores 2022-11-02 18:31:05 +01:00
ae818df3bf
-dce and type fixes 2022-11-02 18:27:54 +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
6c3ef31d9a
wallet-core: DB FIXMEs 2022-11-02 17:09:59 +01:00
14456bb942
wallet-core: address DB FIXMEs 2022-11-02 17:02:42 +01:00
91e069c742
bump versions 2022-11-02 15:00:05 +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
87bc4a6fcd
wallet-core: fix recoup issue 2022-11-02 12:50:34 +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
a0305884eb
integration tests: add test for withdrawing many coins 2022-11-01 14:25:02 +01:00
8e1622a915
wallet-core: better KYC error message 2022-11-01 13:39:42 +01:00
a121fbe5de
remove source-map-support usage, as node supports it natively
We can just use NODE_OPTIONS=--enable-source-maps now.
2022-11-01 12:39:52 +01:00
b513665408
taler-util: remove legacy member 2022-11-01 12:20:50 +01:00
3c50b1233e
taler-wallet-cli: fix sourcemap support 2022-11-01 12:01:21 +01:00
dab739a63e
wallet-core: use PeerContractTerms 2022-11-01 11:41:28 +01:00