Commit Graph

349 Commits

Author SHA1 Message Date
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
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
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
a30a547ac5
mui alert and not enough blanance ported to material 2022-04-05 12:16:09 -03: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
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
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
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
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
f45ef76701
esbuild configuration 2022-03-24 16:02:38 -03: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
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
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
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
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
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
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
Sebastian
1607c728bc
first banner implementation with mui 2022-03-09 14:00:02 -03:00
7a27da5fba
webextension: close popup
only seems to work with callbacks, not with promises
2022-03-08 23:26:02 +01:00
1d1c847b79
wallet: throttle all http requests
even from browsers / service workers
2022-03-08 19:19:29 +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
Stefan
8ffc068112
Translated using Weblate (German)
Currently translated at 8.3% (22 of 262 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/de/
2022-03-04 12:56:34 -03:00
Sebastian Marchano
5a97e716bb
Translated using Weblate (Spanish)
Currently translated at 100.0% (262 of 262 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/es/
2022-03-04 12:56:24 -03:00
Javier Sepulveda
adee6f59c6
Translated using Weblate (Spanish)
Currently translated at 100.0% (262 of 262 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/es/
2022-03-04 12:55:19 -03:00
Sebastian Marchano
47114853ba
Translated using Weblate (Spanish)
Currently translated at 100.0% (262 of 262 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/es/
2022-03-04 12:53:23 -03:00
Sebastian
f6af8681cd
Translated using Weblate (Spanish)
Currently translated at 100.0% (262 of 262 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/es/

# Conflicts:
#	packages/taler-wallet-webextension/src/i18n/es.po
2022-03-04 12:52:32 -03:00
Sebastian
245f584fb1
use new segwit impl 2022-03-03 17:50:20 -03:00
39d9b1e6f8
Trying to merge the Spanish language file for Weblate
Signed-off-by: Stefan Kügel <skuegel@web.de>
2022-03-03 18:11:27 +01:00
Sebastian
932e0c891d
bitcoin manual withdraw when exchange has btc currency 2022-03-03 10:58:32 -03:00
Javier Sepulveda
4d9c0312b7
Translated using Weblate (Spanish)
Currently translated at 100.0% (262 of 262 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/es/
2022-03-03 12:22:06 +01:00
Sebastian
454c3b5114
fix #7140 2022-03-01 13:37:21 -03:00
Sebastian
36d3f508fa
Merge remote-tracking branch 'weblate/master' 2022-02-24 16:11:56 -03:00
Sebastian Marchano
701b01e918
Added translation using Weblate (Spanish) 2022-02-24 19:38:10 +01:00
Alp
04cdd2a9da
Translated using Weblate (Turkish)
Currently translated at 73.0% (38 of 52 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/tr/
2022-02-24 18:32:24 +01:00
Sebastian
191914e60f
added tr to supported langs 2022-02-24 12:50:55 -03:00
Sebastian
2fe32014ef
updated tr with the latest strings 2022-02-24 12:50:55 -03:00
Sebastian
68b8873442
added ja lang and implemented transalation switch 2022-02-24 12:50:54 -03:00
Sebastian
6bd6ace593
spanish translation 2022-02-24 12:50:54 -03:00
Sebastian
4b384ac2a8
added spanish with some examples 2022-02-24 12:50:54 -03:00
Sebastian
9261b808c6
updated strings from code 2022-02-24 12:50:53 -03:00
Sebastian
8c3e572934
we are force to use i18n.Translate, otherwise pogen won't find the tag 2022-02-24 12:50:52 -03:00
Sebastian
41850c9f14
add i18n where was missing 2022-02-24 12:50:51 -03:00
Alp
7647d077e7
Translated using Weblate (Turkish)
Currently translated at 21.1% (11 of 52 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/tr/
2022-02-22 22:41:21 +01:00
Sebastian
60bf82acab
show all coins in devmode 2022-02-22 11:01:47 -03:00
Sebastian
606be7577b
some fixes
-fix fulfillment messages
-fix product list pricing and image on payment
-filter exchange by currency on withdrawal
-error message on operation error on withdrawal
-add taler url on balance page (just for dev)
-add no balance help
-better text when doing manual withdraw for the firt time
-removed balance from wallet (just history)
-removed pending page
2022-02-18 16:55:38 -03:00
Stefan
2b2b8c1608
Translated using Weblate (Italian)
Currently translated at 1.9% (1 of 52 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/it/
2022-02-18 20:33:38 +01:00
Stefan
80ad419165
Translated using Weblate (Swedish)
Currently translated at 30.7% (16 of 52 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/sv/
2022-02-18 20:33:11 +01:00
Stefan
67bbd4a19d
Translated using Weblate (French)
Currently translated at 1.9% (1 of 52 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/fr/
2022-02-18 20:31:35 +01:00
Stefan
cda17c0ed5
Translated using Weblate (Turkish)
Currently translated at 1.9% (1 of 52 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/tr/
2022-02-18 20:31:09 +01:00
Stefan
a4870bedd0
Translated using Weblate (Swedish)
Currently translated at 28.8% (15 of 52 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/sv/
2022-02-18 20:29:44 +01:00
9aed6f5467
Slight improvement to German string, for testing purpose
Signed-off-by: Stefan Kügel <skuegel@web.de>
2022-02-18 18:22:23 +01:00
Stefan
9fe9768d6a
Translated using Weblate (German)
Currently translated at 100.0% (4 of 4 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/de/
2022-02-18 18:20:24 +01:00
Sebastian
3e92c24968
settings new design 2022-02-16 15:16:21 -03:00
Sebastian
bc1c33e1ce
fix remove provider from backup and #7167 2022-02-16 15:16:21 -03:00
Stefan
22323c082d
Translated using Weblate (French)
Currently translated at 25.0% (1 of 4 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/fr/
2022-02-15 21:41:33 +01:00
Stefan
e4b8cdbf27
Translated using Weblate (English (United States))
Currently translated at 100.0% (4 of 4 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/en_US/
2022-02-15 21:41:33 +01:00
Stefan
365d8b82bf
Translated using Weblate (German)
Currently translated at 100.0% (4 of 4 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/de/
2022-02-15 21:41:33 +01:00
465ccdaa06
subcommands for i18n tooling, unique message IDs 2022-02-15 17:45:26 +01:00
Stefan
aa7d48bfb1
Translated using Weblate (German)
Currently translated at 40.3% (21 of 52 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/de/
2022-02-11 18:04:14 +01:00
Stefan
1d0e094762
Translated using Weblate (German)
Currently translated at 30.7% (16 of 52 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/de/
2022-02-11 18:00:26 +01:00
Stefan
83e3c40ce1
Translated using Weblate (German)
Currently translated at 28.8% (15 of 52 strings)

Translation: GNU Taler/webextensions
Translate-URL: http://weblate.taler.net/projects/gnu-taler/webextensions/de/
2022-02-11 17:59:19 +01:00
Stefan
38fc5cabc2
Added translation using Weblate (Turkish) 2022-02-11 10:41:51 +01:00
5844a3065c
DB reset must be async 2022-02-03 14:36:37 +01:00
Sebastian
6a3747cd8e
fix: #6965 2022-01-31 15:27:58 -03:00
Sebastian
47bd790b7b
fix: #7164 2022-01-31 14:56:12 -03:00
Sebastian
c47311b4a7
if order has been paid, redirect to the fulfillment_url 2022-01-30 23:32:56 -03:00
Michiel Leenaars
ddd4e8f033
Fix misspelling 2022-01-28 19:41:05 +01:00
Sebastian
c13f3cf1cd
fix #7162 2022-01-25 10:29:41 -03:00
Sebastian
882d6b3710
last activity -> pending; fix downloadTos 2022-01-24 14:12:12 -03:00
Sebastian
0aa26448d4
fix: cta header, fix: do not reset ToS ETAG when getting the exchange ToS 2022-01-24 09:46:20 -03:00
Sebastian
2a417881bb
fix permission api, grouping all cta into same path 2022-01-24 09:46:20 -03:00
Sebastian
e38be8d8ec
using loadingerror 2022-01-24 09:46:20 -03:00
Sebastian
e263907017
fix #4880 2022-01-19 13:52:02 -03:00
Sebastian
a01ad4758f
header rendering 2022-01-19 13:52:02 -03:00
Sebastian
ac60a0559c
forcing update when querying the terms, and fixing bug in request header parsing 2022-01-16 18:37:42 -03:00
Sebastian
bc817a638d
#7120 manifest v3: first iteration working
new permission needed: scripting
chrome.browserAction -> chrome.action
webRequestBlocking is not possible anymore
chrome.extension.getUrl -> chrome.runtime.getUrl
new serviceWorkerHttpLib: using fetch
new serviceWorkerCryptoWorkerFactory: using syncCryptoImpl
few other minor changes

still missing some other changes like migrating setTimeout to chrome.alarms api
2022-01-16 17:55:01 -03:00
Sebastian
cea0ac02b6
import db from the wallet web extension 2022-01-13 01:34:17 -03:00
Sebastian
fb22009ec4
deposit design from belen, feature missing: kyc 2022-01-10 16:07:27 -03:00
a5f81b1c87
-fix FTBFS due to inability of TypeScript to identify complex recursive types 2022-01-05 17:28:56 +01:00
dc040ba41c
update dependencies to fix rollup issue 2022-01-05 16:48:22 +01:00
Sebastian
9f8139e09b
replace jest with mocha 2022-01-04 17:06:24 -03:00
Sebastian
2e71117f59
deposit from wallet webex: wip 2021-12-23 15:17:36 -03:00
73dabdf43a
webextension: fix useEffect dependency tracking 2021-12-08 11:03:50 +01:00
Sebastian
caa9a22d69
check timeout when doing a query to /keys to add an exchange 2021-12-06 15:27:25 -03:00
Sebastian
ce3ffbcd81
show error hint if its found 2021-12-06 13:37:01 -03:00
Sebastian
505eb07d8e
show error details in devmode 2021-12-06 10:31:26 -03:00
Sebastian
0f8e9b67dd
exportDb call to the wallet-core 2021-12-01 15:10:47 -03:00
Sebastian
b0c2a73146
export database, missing wallet functionality 2021-12-01 14:14:24 -03:00
Sebastian
54d4a1efe0
add a taler action from the history page 2021-11-30 17:29:33 -03:00
Sebastian
a51333b693
show better info on transaction error 2021-11-29 14:11:32 -03:00
Sebastian
d35f906ecb
fix #7109 pending operations on developer page 2021-11-29 13:33:07 -03:00
Sebastian
668c0430c2
fix exchange selection 2021-11-24 09:53:05 -03:00
Sebastian
0bfd4523b3
adding tos information in settings and return to manual withdraw when adding an exchange 2021-11-24 08:58:49 -03:00
Sebastian
829a59e1a2
add exchange feature 2021-11-22 17:34:31 -03:00
Sebastian
a35604fd56
some changes:
- simplify design to reuse more components (from wallet instead of popup)
 - simplify hooks (useAsyncAsHook)
 - updateNotification from backend now filter events by type
 - new balance design proposed by Belen
 - more information when the withdrawal is in process
 - manual withdrawal implementation
 - some bugs killed
2021-11-19 14:51:35 -03:00
Sebastian
a994009d2f
reserveCreated new design 2021-11-16 14:01:38 -03:00
c33ed91971
wallet: experiment with C-based crypto worker for some primitives 2021-11-16 17:20:44 +01:00
Sebastian
1d4815c66c
prettier 2021-11-15 11:18:58 -03:00
Sebastian
32318a80f4
working version with improved ui 2021-10-27 15:13:35 -03:00
Sebastian
84ca0b1cb9
show summary on the history page 2021-10-14 20:00:39 -03:00
Sebastian
1f365d1c42
applying some comments from belen 2021-10-14 19:37:18 -03:00
Sebastian
fbf501e727
fixing tos request 2021-10-13 14:26:18 -03:00
Sebastian
021d508337
fix cta navbar and added an withdrawal button when the wallet didnt find a tos (with a warning) 2021-10-13 09:54:18 -03:00
Sebastian
e227fa4e47
fix tests and added addExchange 2021-10-13 08:29:38 -03:00
2e8e1a15c9
fix FTBFS 2021-10-13 11:37:02 +02:00
Sebastian
b8d03b6b2a
added example of withdrawal use cases 2021-10-12 15:18:29 -03:00
Sebastian
be8e3f4b1d
fixing withdrawal process 2021-10-11 15:59:55 -03:00