Commit Graph

1328 Commits

Author SHA1 Message Date
f9192d986f
wallet-core: refunds transactions should be sorted after payments 2022-06-01 10:47:46 +02:00
59a2119dcb
integration tests: one variable for pybank/libeufin switch 2022-06-01 10:14:23 +02:00
1ea28c5be1
fix package.json, lockfile 2022-05-31 15:54:34 +02:00
59bc54422f
wallet-core: only schedule auto-refresh check if exchange update has no last error 2022-05-31 15:44:22 +02:00
2e6f3b3569
-error reporting, code formatting 2022-05-31 15:08:31 +02:00
ms
b87e843d32
WebEx: add rollup dep. 2022-05-30 15:27:29 +02:00
ms
98249d9d95
taler-config-lib
unpackaged script prefers CommonJS library
2022-05-30 10:23:06 +02:00
Sebastian
64488a5593
use logo, website and emai in purchase details 2022-05-29 01:42:35 -03:00
Sebastian
029340469a
show refund info in purchase
notify refund pending with accept button on the purchase details
better payto box
2022-05-29 01:23:21 -03:00
ms
ced08c502f
taler-config-lib skeleton 2022-05-27 15:34:18 +02:00
Sebastian
24162c1086
transaction details template
mayor change in the template of the transaction details for every
transaction
more work needs to be done in wallet core for tip and refund to show
more information about the merchant like logo and website
2022-05-26 15:57:12 -03:00
72d936eaf9
-stdev for benchmarks 2022-05-25 14:17:56 +02:00
43d265dde5
wallet-core: age restriction benchmarking 2022-05-25 13:52:39 +02:00
07e1818679
Revert "no need to compile after install"
This reverts commit c3ba7fb523.
2022-05-24 18:00:25 +02:00
Sebastian
16cc179edf
remove rollup from webex and fix package.json root scripts 2022-05-24 00:37:24 -03:00
Sebastian
c3ba7fb523
no need to compile after install 2022-05-24 00:20:42 -03:00
Sebastian
3525b21008
Upgrading pnpm led to compilation errors
Fist:
 * The inferred type of 'PaymentStatus' cannot be named without a reference to '.pnpm/@types+react@17.0.38....
 * The inferred type of 'HistoryRow' cannot be named without a reference to '.pnpm/@types+react@17.0.38/node_modules/@types/react'. This is likely not portable. A type annotation is necessary.
and more like that...
Second:
 some problems trying to check type inside libs
more related: https://github.com/microsoft/TypeScript/issues/42873
2022-05-24 00:18:30 -03:00
9dfef2100d
wallet-core: long-poll longer for reserve status 2022-05-19 13:30:04 +02:00
609a9cb1d5
wallet-core: use less aggressive retries 2022-05-19 11:19:43 +02:00
25af1987b2
-formatting 2022-05-19 11:01:07 +02:00
b2931fbac6
wallet-core: clamp claim retry properly 2022-05-19 10:36:58 +02:00
Sebastian
611a57ca0a
fix: update retry info before return also for purchase 2022-05-18 16:39:36 -03:00
Sebastian
5595e942b4
fix: update retry info before return 2022-05-18 15:57:10 -03:00
Sebastian
145714b335
fix: to skip the operation maxRetries need to be calculated first 2022-05-18 14:44:55 -03:00
Sebastian
c67d0bff1d
all retryInfo function in the same namespace, adding missing retryInfo increment 2022-05-18 14:41:51 -03:00
Sebastian
d3a857743d
- linter 2022-05-18 14:38:57 -03:00
Sebastian
115e5bf353
fix: do not cancel all operation processing when one of them reach maxRetries, just skip 2022-05-18 14:38:27 -03:00
Sebastian
e4ea201943
feat: awaiting refund 2022-05-14 18:09:49 -03:00
Marco Boss
c02dbc833b
make batch withdrawal configurable in benchmarks 2022-05-10 08:39:35 +02:00
Marco Boss
935a119621
add bench3 for zipf and random merchant selection (by id) 2022-05-09 14:28:12 +02:00
Sebastian
37690dd22c
handling service worker waiting phase 2022-05-06 17:29:52 -03:00
9641299d6c
enable batch withdrawal in bench1 2022-05-06 15:36:16 +02:00
Sebastian
cad6d99453
more integration test for age restriction: trying to pay age-restricted contract with not-age-restricted coins and using age-restricted coins with not-age-restricted-contract 2022-05-05 12:59:43 -03:00
Sebastian
7a2fe8018f
add age restriction option to withdraw cta 2022-05-04 16:26:53 -03:00
Sebastian
4491118494
add restricted option to manual withdraw 2022-05-04 16:26:53 -03:00
f16d2e52d5
wallet-core: implement batch withdrawal 2022-05-03 17:53:37 +02:00
Sebastian
b4e219f7ff
add missing allowedExchanges for calculating getFeeForDeposit 2022-05-03 00:34:37 -03:00
Sebastian
dc842eab6b
deposit from payto 2022-05-03 00:16:03 -03:00
Sebastian
939729004a
tip and refund stories and test 2022-05-02 19:21:34 -03:00
Sebastian
e5c9f588e4
add prepareRefund operation to gather information about the refund before confirm 2022-05-02 19:21:13 -03:00
9996c27488
wallet-core: make coin selection aware of age restriction 2022-04-29 21:05:28 +02:00
Sebastian
5e7be58658
fix: 6964
update icon when there is an taler action present
2022-04-29 15:49:17 -03:00
Sebastian
038dcbc9b7
fix #5845 added run-gc on webex 2022-04-29 15:49:16 -03:00
Sebastian
a1ad9727ee
alert icon 2022-04-29 15:49:16 -03:00
1b059638c2
bump manifest version (really this time) 2022-04-29 12:16:56 +02:00
044d91b18b
bump manifest version 2022-04-29 12:13:39 +02:00
Sebastian
980d3f5b2b
do not save current header before being added into the browser listener 2022-04-28 16:21:06 -03:00
Sebastian
508f5d2ea7
simplify alarm and check webRequest without using 'in' 2022-04-28 15:55:20 -03:00
Sebastian
b239ae1029
keep alive manifest v3 2022-04-28 13:26:29 -03:00
Sebastian
451c9884dc
use settimeout and setinterval in serviceWorker 2022-04-27 19:05:42 -03:00
Sebastian
451dd746da
toggle permission 2022-04-27 14:33:52 -03:00
Sebastian
0b8e0a0806
update taler logo 2022-04-27 12:22:33 -03:00
a165afa682
wallet-core: implement age restriction support 2022-04-27 00:50:17 +02:00
Sebastian
9b85d139bf
fix: shorcut for wallet #6592 2022-04-26 11:48:30 -03:00
Sebastian
4aa8adbde3
do not warn for every translation 2022-04-26 11:48:29 -03:00
Sebastian
41ab855736
remove old async hook 2022-04-26 11:48:29 -03:00
Sebastian
65e6a8caa0
useAsync new API 2022-04-26 11:48:28 -03:00
ms
0d81c22708
fix WebEx Content-Type, after Sebastian suggestion 2022-04-23 17:44:40 +02:00
Sebastian
c5f484d18a
deposit test case 2022-04-22 16:10:46 -03:00
Sebastian
8e468ae092
fix segwit api 2022-04-22 16:10:45 -03:00
Sebastian
1a06f67006
console to logger 2022-04-21 15:39:30 -03:00
Sebastian
3e31468444
fix: was returning forever as min 2022-04-21 15:38:18 -03:00
Sebastian
64acf8e2b1
payments test case 2022-04-21 14:23:53 -03:00
Sebastian
8e29f91a56
adopt new payto bitcoin struct 2022-04-20 15:26:35 -03:00
Sebastian
0cb4e4498d
addr list and test 2022-04-20 15:14:18 -03:00
Sebastian
37ce3972f9
refactor payto and test 2022-04-20 13:25:13 -03:00
Sebastian
b90a4a66dc
use the first part on the first part and the second part on the second part 2022-04-19 09:57:52 -03:00
3c68b2d776
wallet-core: fix loop index 2022-04-18 22:00:26 +02:00
2e0b9b9cff
wallet-core: age restriction crypto WIP 2022-04-18 21:23:49 +02:00
68b4d0c4de
wallet-cli: allow generating segwit addresses 2022-04-18 21:23:48 +02:00
Sebastian
dc2c2b3650
show btc wire details in withdraw details transaction 2022-04-18 16:20:54 -03:00
Sebastian
c3e65fb49d
urgent fix: take currency from amount, dont assume BTC 2022-04-18 16:20:54 -03:00
Sebastian
9d997280d3
missing tests 2022-04-18 16:20:53 -03:00
Sebastian
b3b1329acf
show an error message when the input has more than 21 chars 2022-04-15 13:08:25 -03:00
5a4b6c7eb6
anastasis-core: clean up policy fetching and provider sync 2022-04-15 16:01:37 +02:00
d1b4cc994b
anastasis-core: async provider synchronization 2022-04-15 12:56:16 +02:00
098d1eb7eb
wallet-core: request reserve status with long poll timeout 2022-04-14 23:06:49 +02:00
Sebastian
a2e8ab9445
fixing back and next transition 2022-04-14 17:08:36 -03:00
Sebastian
bf3e011183
check moving back or forw 2022-04-14 16:35:43 -03:00
3957f529bf
anastasis: no more currencies per country 2022-04-14 21:00:03 +02:00
bc05050524
anastasis: make iban auth work again 2022-04-14 14:14:02 +02:00
4e1fe5eb10
anastasis-webui: updated challenge feedback 2022-04-13 23:46:34 +02:00
Sebastian
bd76b5d76f
fix: #7072 2022-04-13 16:10:31 -03:00
5054ff6c6d
anastasis-webui: make TOTP work again 2022-04-13 19:32:17 +02:00
Sebastian
ec9aed276a
fix: timer API should be exported from src/index 2022-04-13 13:54:54 -03:00
Sebastian
5044db6595
green on focus, scroll fix 2022-04-13 13:46:51 -03:00
Alp
38e9e8fea2
Translated using Weblate (Turkish)
Currently translated at 24.4% (64 of 262 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/tr/
2022-04-13 18:06:58 +02:00
31b6496db5
anastasis-core: salt rename, fix tagging 2022-04-13 13:16:35 +02:00
2c3aeabed1
anastasis: salt rename 2022-04-13 08:55:35 +02:00
a74bd998f1
anastasis-webui: remove button for resetting policies 2022-04-13 08:51:27 +02:00
b28583ba7e
anastasis: tag state properly 2022-04-13 08:44:37 +02:00
f3d8b44743
copyright headers 2022-04-12 20:55:34 +02:00
1e92093a50
anastasis: discovery 2022-04-12 12:55:32 +02:00
Sebastian
afecab8000
accept tos test case 2022-04-12 00:41:16 -03:00
Sebastian
d34eeb5c8c
using the test to fine tune the withdraw process 2022-04-11 18:00:28 -03:00
Sebastian
1ae4a44a3a
remove asking about webRequestBlocking 2022-04-11 17:17:04 -03:00
Sebastian
df81496b57
add missing 'alarm' permission 2022-04-11 15:41:01 -03:00
Sebastian
c3c0f3bfbb
using alarm service intead of timeout api when the wallet is running in a service worker environment 2022-04-11 15:11:44 -03:00
Sebastian
a644efe1ab
add a timer parameter in the wallet constructor in order to resolve #7120 2022-04-11 15:10:16 -03:00
Sebastian
ccb50c6360
new test api to test hooks rendering iteration, testing state of withdraw page 2022-04-11 11:36:38 -03:00
Sebastian
e09ed46675
missing index file 2022-04-11 11:36:38 -03:00
Sebastian
2bf8976d88
terms of service stories into its own scenarios (removed from withdraw) 2022-04-11 11:36:38 -03:00
Sebastian
2bd6dae00d
show amount nicely, into a component 2022-04-11 11:36:37 -03:00
Sebastian
df7c249c95
fix ref for copy and paste 2022-04-11 11:36:37 -03:00
Sebastian
56c2a9c6a6
add payto stringify 2022-04-11 11:36:36 -03:00
Sebastian
fae6c420a3
multiline for input 2022-04-07 10:12:05 -03:00
Sebastian
f300850b19
cta stories and input filled mui 2022-04-06 12:20:14 -03:00
Sebastian
bb56d61424
fix old API, crypto impl now used objects 2022-04-06 12:08:49 -03:00
f33d9dad47
anastasis: use new truth API 2022-04-06 13:19:34 +02:00
Sebastian
a30a547ac5
mui alert and not enough blanance ported to material 2022-04-05 12:16:09 -03:00
c9adb4a5e2
english 2022-03-30 20:42:07 +02:00
123b92b3aa
wallet: logging, timestamp parsing backwards compatibility 2022-03-30 20:41:21 +02:00
Sebastian
89435696f9
useAsync use an optional deps for callback, most of the time it just need to be rendered once 2022-03-30 14:36:24 -03:00
Sebastian
8642f8edcd
fix loop rendering 2022-03-30 14:23:28 -03:00
bbd6ccf1c7
wallet: allow forced denom selection for tests 2022-03-29 21:22:03 +02:00
Sebastian
fdd272af20
remove storybook, switch build to esbuild 2022-03-29 12:32:52 -03:00
Sebastian
ed6bdfaef5
deposit group fees 2022-03-29 12:18:58 -03:00
Sebastian
8da1843b82
typo 2022-03-29 10:04:34 -03:00
Sebastian
3dd1047b08
added react eslint and fix most of the warns 2022-03-29 10:04:33 -03:00
cb18b9813e
wallet: fix type error 2022-03-29 13:50:45 +02:00
c265e7d019
wallet: make retries more robust and consistent 2022-03-29 13:48:51 +02:00
Sebastian
be489b6b3e
remove storybook 2022-03-29 00:45:17 -03:00
Sebastian
47f51ced7f
import image as datauri, some eslint fixes 2022-03-29 00:25:33 -03:00
Sebastian
e2651bdff2
add extension to every import 2022-03-28 23:41:07 -03:00
f5d194dfc6
wallet: cancellation for deposit 2022-03-28 23:59:16 +02:00
80e43db2ca
wallet: timeout handling refactoring WIP 2022-03-28 23:21:49 +02:00
c194bd539a
fix import 2022-03-28 20:27:36 +02:00
24b7110776
vendor CancellationToken 2022-03-28 20:24:09 +02:00
Sebastian
e5f21ec5bb
fix build, tipAmountEffective = selectedDemons.totalCoinValue 2022-03-28 14:51:17 -03:00
Sebastian
1d85662946
storybook like page for dev, plus some style fixes 2022-03-28 14:04:06 -03:00
2ba6692c6a
fix fee discrepancy
The withdrawal call-to-action and withdrawal transaction details dialog
showed different fees, as the "overhead" for unwithdrawable amounts in a
reserve was not included in the withdrawal CTA.

The withdrawal CTA now shows the same fees as the transaction details.
2022-03-28 16:11:58 +02:00
Sebastian
e89821a6c7
show pending operations on main pages 2022-03-25 17:06:38 -03:00
Sebastian
ddfb40e50c
new dev environment 2022-03-25 16:58:00 -03:00
Sebastian
00fb648269
esbuild wait fix, so compilation error also stop the script 2022-03-25 16:58:00 -03:00
Sebastian
1243efb409
synchronousWorker is replaced by synchronousWorkerNode, fix msg.args => msg.req 2022-03-25 16:57:59 -03:00
Sebastian
f45ef76701
esbuild configuration 2022-03-24 16:02:38 -03:00
Sebastian
2c6b83ffea
created a sync worker for web based on the node version, then split for both 2022-03-24 11:42:06 -03:00
303c6e99b3
wallet: allow using RPC crypto in more places 2022-03-24 01:59:08 +01:00
454b55aa56
wallet: remove excessive logging 2022-03-24 01:13:40 +01:00
9d38cb56a6
wallet: crypto worker fixes, better taler-crypto-worker integration 2022-03-24 01:10:41 +01:00
Sebastian
cc18751e72
some DepositPage unit test 2022-03-23 17:50:31 -03:00
d881f4fd25
wallet: simplify crypto workers 2022-03-23 21:24:36 +01:00
Sebastian
e21c1b3192
splitted rollup config for testing and first component state unit test 2022-03-23 16:20:39 -03:00
Sebastian
136c39ba9f
-fix TS2345: Argument of type 'AmountJson' is not assignable to parameter of type 'never' 2022-03-23 14:20:18 -03:00
f187c1e13f
missing files 2022-03-23 16:38:34 +01:00
Sebastian
32f6409ac3
all the browser related code move into one place, making it easy for specific platform code or mocking for testing 2022-03-23 10:58:57 -03:00
c539d1803c
wallet: address crypto worker hang and warning about worker termination 2022-03-23 13:11:36 +01:00
739c2f9337
wallet: more time format fixes 2022-03-22 23:03:41 +01:00
5d23eb3635
wallet: improve error handling and error codes 2022-03-22 21:16:38 +01:00
f8d12f7b0d
wallet: t_s/d_us migration 2022-03-21 19:20:48 +01:00
Sebastian
32cd54e11d
fix: handle new optional parameter for settings_exchange_add page 2022-03-21 12:49:41 -03:00
Sebastian
f7cabbf479
fix: fixing navigation when trying to pay and there is no balance for that currency 2022-03-21 11:20:43 -03:00
Sebastian
fac550d454
fix withdraw redirect when there is no enough balance 2022-03-21 09:58:05 -03:00
Sebastian
c202abef5e
redirect message delay 2022-03-21 09:57:36 -03:00
Sebastian
88bb943672
fix #7164: firefox back button after a 402 redirect 2022-03-21 09:40:15 -03:00
Sebastian
65eb64cd07
mui text field, standard variation 2022-03-18 17:52:46 -03:00
Sebastian
98761a2b8d
if the lang is not found show the source string instead. source string must be english 2022-03-18 14:58:53 -03:00
Sebastian
d9cbf1b63b
removing en-US translation 2022-03-18 14:45:48 -03:00
Sebastian
6f2a301469
removing repeated summary & adding subtitle on transaction refunded 2022-03-17 15:06:17 -03:00
Sebastian
49948eea98
fulfillment url on payment ticket 2022-03-17 15:01:03 -03:00
Sebastian
b650750bcc
no more back button 2022-03-17 15:01:03 -03:00
05838080f5
wallet: round timestamps in db-less requests to the exchange 2022-03-17 11:08:53 +01:00
151aa904e0
cache breaker 2022-03-16 15:21:15 +01:00
d317321a23
bump version 2022-03-16 15:19:27 +01:00
0c49465f6d
missing space 2022-03-16 14:52:49 +01:00
Sebastian
e84cb95887
chrome.tabs.update does not work on async request interception, so using a delay 2022-03-15 17:46:46 -03:00
c0be242292
wallet: db-less benchmarking 2022-03-15 17:51:11 +01:00
Sebastian
eb18c1f179
webRequestBlocking is required for chromium 2022-03-15 12:23:41 -03:00
Sebastian
bcdd59a142
switch exchange -> edit exchange, no balance text 2022-03-15 11:39:47 -03:00
Sebastian
bc596e11b9
moving synchronousWorkerFactory to index.node since use nodejs API 2022-03-15 11:04:53 -03:00
Sebastian
ae775d4b00
fix: update total balance on wallet page when WithdrawGroupFinished 2022-03-15 10:35:00 -03:00
Sebastian
984cbb7ab7
save tos etag after forced refresh 2022-03-15 00:24:39 -03:00
Sebastian
08959f83bc
take translator from transaltion context 2022-03-14 15:21:24 -03:00
Sebastian
1d7c8f7083
WIP fixing translation context 2022-03-14 15:21:24 -03:00
Sebastian
85e5a24e5f
fix button misaligned when font-size is increased 2022-03-14 15:21:23 -03:00
Sebastian
fda5eeb68a
fix witdraw button cut-off when browser font-size is big 2022-03-14 15:21:23 -03:00
332745862e
wallet: towards db-less benchmarking, some refactoring 2022-03-14 18:31:36 +01:00
Sebastian
9e7ee06ad1
pending clickable 2022-03-11 16:18:26 -03:00
Sebastian
ab68ecc733
pending transaction, finally! 2022-03-11 11:15:07 -03:00
Sebastian
9337734a24
commeting out until configure babel with linaria 2022-03-11 11:15:06 -03:00
Sebastian
4d66f774c3
pending operations 2022-03-11 11:15:06 -03:00
Sebastian
2150f3d96b
grid implementation 2022-03-10 23:14:10 -03:00
60a50babd1
Translated using Weblate (Turkish)
Currently translated at 4.5% (12 of 262 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/tr/
2022-03-10 19:01:18 +01:00
9d66078852
wallet-core: do not rely on reserve history for withdrawals 2022-03-10 16:30:24 +01:00
Sebastian
1607c728bc
first banner implementation with mui 2022-03-09 14:00:02 -03:00
6bc244cc1e
webextension: bump version 2022-03-08 23:34:37 +01:00
7a27da5fba
webextension: close popup
only seems to work with callbacks, not with promises
2022-03-08 23:26:02 +01:00
ced02d1fed
webextension: provide unpacked extensions when building 2022-03-08 23:18:23 +01:00
6ee0354940
wallet: improve retry handling for payments, update error codes 2022-03-08 23:09:20 +01:00
d5a933e4cb
wallet-core: handle reserve retries better
We now always increment the next retry timeout before doing anything
else, so that it is impossible to accidentally retry immediately.

This fixes a bug where we previously made many, very frequent requests
to the bank integration API.
2022-03-08 20:39:56 +01:00
1d1c847b79
wallet: throttle all http requests
even from browsers / service workers
2022-03-08 19:19:29 +01:00
d0376d9e68
more Makefile improvements 2022-03-08 13:14:33 +01:00
3e6f6eb3d7
wallet-core: remove old+wrong backwards compatibility code path 2022-03-08 12:32:29 +01:00
3aa0b812f4
wallet: fix withdrawal in timetravel test 2022-03-07 23:57:25 +01:00
6df9202935
fix recoup protocol breakage 2022-03-07 21:49:11 +01:00
0323868e10
fix tipping 2022-03-07 20:44:18 +01:00
0290c5fd37
address protocol changes in the exchange
The exchange now has a wad fee and truncates the payto hash in signatures
2022-03-07 12:09:38 +01:00
2cfefa9392
Translated using Weblate (German)
Currently translated at 15.2% (40 of 262 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/de/
2022-03-05 09:29:22 +01:00
Sebastian
c64ba75620
Merge branch 'weblate-fix-rebase'
All commit from weblate/master were rebased and signed.
Now all signed commits are merge into master
2022-03-04 13:02:20 -03:00
Stefan
36ce144385
Translated using Weblate (German)
Currently translated at 12.2% (32 of 262 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/de/
2022-03-04 12:56:39 -03:00