Commit Graph

488 Commits

Author SHA1 Message Date
Florian Dold
3f6d3d186b
taler URI parsing
* add support for non-https taler://pay URIs
* implement path prefix properly
2019-10-02 14:22:26 +05:30
Florian Dold
1a23fbcb4f
adapt to instance changes 2019-10-01 20:46:22 +02:00
Florian Dold
36a4a6218c
headless wallet: add parameters for test-withdraw subcommand 2019-09-13 02:04:38 +02:00
Florian Dold
4b8b967e58
fix 5745: add version-based cache breaker for /keys and /wire 2019-09-06 12:34:05 +02:00
Florian Dold
761397bdf2
also re-submit payment when redirected to existing one 2019-09-06 11:45:53 +02:00
Florian Dold
f6c0108511
fix bug #5373: only allow existing payment redirection for contracts from the same merchant 2019-09-06 11:06:28 +02:00
Florian Dold
9297bbc825
fold checkPay into preparePay 2019-09-06 09:48:00 +02:00
Florian Dold
51aa6d8146
refactor / format 2019-09-05 16:23:54 +02:00
Florian Dold
8144b0f553
welcome page with error diagnostics / react refactoring 2019-09-05 16:10:53 +02:00
Florian Dold
5c809c3d9b
wait for refreshes to finish before exiting integration test 2019-09-04 15:28:19 +02:00
Florian Dold
604a74007d
rudimentary history command 2019-09-04 14:28:22 +02:00
Florian Dold
82591a9ba9
don't show wrong balance 2019-09-01 22:59:48 +02:00
Florian Dold
70912b0725
fix error in index iteration 2019-09-01 01:05:38 +02:00
Florian Dold
aa36fce8a0
bump package.json version 2019-08-31 22:07:16 +02:00
Florian Dold
68aa1e9ece
don't always re-run effect 2019-08-31 17:41:31 +02:00
Florian Dold
c35b3be795
refund view 2019-08-31 13:27:12 +02:00
Florian Dold
c3f47e8f58
api simplication 2019-08-31 12:00:04 +02:00
Florian Dold
5a7269b20d
cli refunds 2019-08-31 11:49:36 +02:00
Florian Dold
5ec344290e
support for tipping protocol changes 2019-08-30 17:27:59 +02:00
Florian Dold
defbf625bd
url-based pay/withdraw, use react hooks 2019-08-29 23:12:55 +02:00
Florian Dold
1390175a9a
rudimentary taler://withdraw support 2019-08-28 02:49:27 +02:00
Florian Dold
70c0a557f9
taler://pay support 2019-08-27 02:49:38 +02:00
Florian Dold
e2b7441e73
slightly more sane logging 2019-08-26 01:39:13 +02:00
Florian Dold
c367669d3b
remove deprecated headers 2019-08-26 00:29:02 +02:00
Florian Dold
4e6d0a8ba0
remove X- headers 2019-08-24 19:37:02 +02:00
Florian Dold
3247a45d97
always decode 'Taler-' headers 2019-08-24 19:31:24 +02:00
Florian Dold
d454f7547d
support for talerpay URLs with session ID 2019-08-24 18:42:00 +02:00
Florian Dold
87fdafb1a5
support headers without 'X-' prefix 2019-08-23 18:50:14 +02:00
Florian Dold
98c15905ea
we don't need postForm in the wallet httplib 2019-08-23 12:50:36 +02:00
Florian Dold
0032ff9f36
support code for NFC tunneling 2019-08-22 23:36:36 +02:00
Florian Dold
d76bc2a03d
more android helpers 2019-08-20 23:36:56 +02:00
Florian Dold
106bc6ad9a
implement pay-url and disable broken wallet GC 2019-08-20 17:58:01 +02:00
Florian Dold
28be8c8555
merchant QR code tool 2019-08-20 15:59:05 +02:00
Florian Dold
9e8cdc58d6
upgrade package versions 2019-08-20 11:58:22 +02:00
Florian Dold
5fa70b1eb3
android helpers 2019-08-19 20:24:29 +02:00
Florian Dold
10df69131f
adhere better to GNU guidlines 2019-08-19 14:08:14 +02:00
Florian Dold
da6b6e1049
android support skeleton 2019-08-19 13:30:46 +02:00
Florian Dold
d4021a9d17
slightly more sane logging 2019-08-18 23:06:27 +02:00
Florian Dold
23e72ce25c
get rid of web-common and build directory (in favor of just dist/) 2019-08-18 21:30:33 +02:00
Florian Dold
9e6c57daa5
missing .ts files 2019-08-18 20:22:43 +02:00
Florian Dold
1e9e915085
bump version / implement integrationtest cmd 2019-08-18 19:42:21 +02:00
Florian Dold
ddd377c82e
bump version 2019-08-18 15:08:10 +02:00
Florian Dold
f7e118e996
logging / bump version 2019-08-17 18:54:09 +02:00
Florian Dold
f18d70d0d1
update emscripten libs and use new non-removed emscripten functions 2019-08-17 15:36:51 +02:00
Florian Dold
5ff600fed7
start with an actual wallet cli 2019-08-17 01:54:01 +02:00
Florian Dold
3263d05ce9
version bump / imports 2019-08-16 23:29:29 +02:00
Florian Dold
d10c42776a
use packaged type declarations 2019-08-16 19:20:18 +02:00
Florian Dold
a1e0fc3b88
crypto worker refactoring 2019-08-16 15:03:52 +02:00
Florian Dold
8f5b6ffd7d
load wasm binary for akono 2019-08-16 10:31:36 +02:00
Florian Dold
0049a240e7
emscripten env consistency 2019-08-16 00:54:48 +02:00
Florian Dold
cc4eeec031
oops, actually pass arguments to emscripten 2019-08-16 00:15:19 +02:00
Florian Dold
0cab39f2b6
load wasm manually from correct location 2019-08-15 23:59:42 +02:00
Florian Dold
ea2fb677d0
worker refactoring / sync worker 2019-08-15 23:34:08 +02:00
Florian Dold
61bc36b90a
use factory instead of startWorker 2019-08-15 19:10:23 +02:00
Florian Dold
94357e226d
index for node package 2019-08-14 18:49:56 +02:00
Florian Dold
11acb0c403
logic error 2019-08-14 18:34:33 +02:00
Florian Dold
67cac128be
copyright date 2019-08-01 23:28:54 +02:00
Florian Dold
8fa744abe3
check payment success 2019-08-01 23:28:07 +02:00
Florian Dold
255e2b0fe6
copyright headers 2019-08-01 23:27:42 +02:00
Florian Dold
5f62d83a4d
headless/android port, PoC for CLI / headless tests 2019-08-01 23:21:15 +02:00
Florian Dold
cc4e8ddc85
headless wallet WIP 2019-07-31 01:33:56 +02:00
Florian Dold
16ecbc9f17
headless wallet skeleton, type fixes 2019-07-21 23:50:10 +02:00
Florian Dold
cfa1df7343
add link signature to /refresh/reveal 2019-06-26 15:30:32 +02:00
Florian Dold
92690bba7d
Fix the Checkable.Map JSON validator. 2019-06-03 23:34:59 +02:00
Florian Dold
d25628ab02
adjust to exchange protocol changes 2019-05-08 07:01:17 +02:00
Florian Dold
6904c2759e
implement payto URIs 2019-05-08 04:53:26 +02:00
Florian Dold
3db38fbd0b
restore webpack splitting behavior 2019-05-08 01:32:33 +02:00
Florian Dold
e89b0752c1
update package versions 2019-05-07 23:46:50 +02:00
Florian Dold
96cbfc2398
get pogen via npm registry 2019-03-28 01:30:06 +01:00
Florian Dold
cc97a4dd2a
remove node_modules 2019-03-27 21:01:33 +01:00
Florian Dold
361463a2ff
wasm 2018-09-22 17:18:25 +02:00
Florian Dold
1f9ca30a91
wasm 2018-09-20 21:32:10 +02:00
Florian Dold
74fe752ea0
not working 2018-09-20 21:11:09 +02:00
Florian Dold
1751ecb163
benchmark 2018-09-20 20:53:38 +02:00
Florian Dold
b285d3e277
popup 2018-09-20 13:18:15 +02:00
Florian Dold
bbff7403fb
update packages 2018-09-20 02:56:13 +02:00
Florian Dold
92843e3e92
amounts: more tests and closer behavior to reference impl 2018-07-05 03:14:44 +02:00
Florian Dold
075fe28f74
avoid floating point imprecision with amounts 2018-07-05 02:09:07 +02:00
Florian Dold
a4edc3b17f
remove wrong toFloat function
Amounts should never be converted to floats, the one use of the function was bogus.
2018-07-05 00:21:23 +02:00
Florian Dold
1956428a34
preliminary retry for refunds 2018-04-10 21:20:04 +02:00
Florian Dold
a75ef403ac
make linter happy 2018-04-09 00:41:14 +02:00
Florian Dold
6533716fac
prevent race condition where we can accept tip before the background page knows about it 2018-04-09 00:20:54 +02:00
Florian Dold
3570e36baa
squelch ts error 2018-04-09 00:20:46 +02:00
Florian Dold
c1b11a6668
fix merchant page event handling, remove taler-pay for now 2018-03-07 21:15:01 +01:00
Florian Dold
89815175a0
more i18n/spacing fixes 2018-02-22 11:49:13 +01:00
Florian Dold
66d05038fd
sv fixes 2018-02-22 11:25:24 +01:00
Florian Dold
fefdc4dd81
do fix language to Swedish ;-) 2018-02-22 11:14:17 +01:00
Florian Dold
42eb17e7e0
i18n fixes 2018-02-22 10:25:11 +01:00
Florian Dold
f4d39c10e5
Swedish translation, i18n fixes 2018-02-22 08:58:48 +01:00
Florian Dold
a4e6966241
i18n fixes 2018-02-20 17:17:36 +01:00
Florian Dold
23f4998dfe
Firefox on Android compatibility 2018-02-20 16:17:05 +01:00
Florian Dold
6aa929f2a7
Fix redirect for Firefox on Android 2018-02-20 15:12:45 +01:00
Florian Dold
65228afb87
render both string and JSON amounts correctly to HTML 2018-02-20 09:33:17 +01:00
Florian Dold
f1bef0473b
prevent embedding wallet pages in other web pages 2018-02-07 16:15:40 +01:00
Florian Dold
d088c7503c
count coins being spent properly 2018-02-05 13:26:06 +01:00
Florian Dold
4e30e1e0e9
manifest version 2018-02-05 13:14:20 +01:00
Florian Dold
d9683861f9
fix performance and UI issues with tipping 2018-02-01 07:19:03 +01:00
Florian Dold
97f6e68ce3
change protocol to string amount network format 2018-01-29 22:58:47 +01:00
Florian Dold
9fe6dc5965
better error handling 2018-01-29 18:59:45 +01:00
Florian Dold
83674bd7a9
cosmetics 2018-01-29 18:40:29 +01:00
Florian Dold
1a66e232a5
implement aborting and getting refunds from failed payments 2018-01-29 16:41:17 +01:00
Florian Dold
c8c03e381e
better types 2018-01-23 17:05:58 +01:00
Florian Dold
aec2c1301e
refactor submitPay 2018-01-23 16:19:03 +01:00
Florian Dold
b517163ece
compat module 2018-01-22 14:21:03 +01:00
Florian Dold
2aa61c9fc7
fix refund fast path 2018-01-22 01:30:02 +01:00
Florian Dold
3325d1d050
don't animate badge for Firefox 2018-01-22 01:28:07 +01:00
Florian Dold
ae177549a5
implement flicker-free refunds 2018-01-22 01:12:08 +01:00
Florian Dold
1671d9a508
refactor tipping, adjust to new redirect-based API 2018-01-19 01:27:27 +01:00
Florian Dold
2f68e9e50e
fix handling of resource_url 2018-01-18 02:50:18 +01:00
Florian Dold
82d9c2a7cd
access refunds correctly 2018-01-18 01:37:30 +01:00
Florian Dold
d4c2f6f6f9
use full amount with wire fees when creating deposit permission 2018-01-17 05:33:06 +01:00
Florian Dold
c62ba4986f
implement new mobile-compatible payment logic 2018-01-17 03:49:54 +01:00
Florian Dold
894a09a51c
rename data -> contract_terms 2018-01-16 17:57:29 +01:00
Florian Dold
09c7be80fd
fix /pay API 2018-01-04 13:22:23 +01:00
Florian Dold
202d51c6a2
refactor / put some types where they belong 2018-01-04 11:35:04 +01:00
Florian Dold
02b4a2ad62
store sender wire info in separate store 2018-01-04 11:08:39 +01:00
Florian Dold
fd2cd9c383
fix lint issues and separate message types into multiple files 2018-01-03 14:42:06 +01:00
Florian Dold
0b1c78b586
rename 'f' to 'contribution' in deposit permission 2018-01-01 18:56:22 +01:00
Marcello Stanisci
ceda0da31a
stick to bank API change 2017-12-14 15:37:37 +01:00
Florian Dold
ddec9cf2fa
only run crypto worker on half of available threads 2017-12-12 23:06:13 +01:00
Florian Dold
5a8d880ebd
measure time for the operation only while not in queue 2017-12-12 22:49:04 +01:00
Florian Dold
ca2a46a857
precompute speculative signature for payment 2017-12-12 21:54:14 +01:00
Florian Dold
6594355704
only warn when actually necessary 2017-12-12 17:37:06 +01:00
Florian Dold
9b18c87deb
typos 2017-12-12 16:51:13 +01:00
Florian Dold
b5a4bcb247
show notification dot when balance changes (#5214) 2017-12-12 16:39:55 +01:00
Florian Dold
1bcc5022c2
show tip in history 2017-12-12 15:38:03 +01:00
Florian Dold
c87a0d5514
show next url to go after tipping 2017-12-11 17:46:06 +01:00
Florian Dold
3c882c44b5
fix problems found by newer TypeScript compiler 2017-12-10 23:02:00 +01:00
Florian Dold
6947e79bbc
implement db garbage collection (fixes #4526, #4188) 2017-12-10 21:34:56 +01:00
Florian Dold
b855c547fb
make tables scrollable when they would overflow, make long keys expandable 2017-12-10 18:25:44 +01:00
Florian Dold
5e837207a1
fix German po bug 2017-12-10 18:03:05 +01:00
Florian Dold
ee9adea89a
fix tipping 2017-12-09 15:56:05 +01:00
Florian Dold
3e6bd6351f
implement new, optimized refresh protocol 2017-12-09 03:37:21 +01:00
Florian Dold
2e48d83b2b
nicely show version if there is a mismatch 2017-12-08 16:51:44 +01:00
Florian Dold
289d2cb572
do not interfere with page visibility 2017-12-01 03:20:57 +01:00
Florian Dold
df8ddcb5a5
Revert "only hide page when doing payment"
This reverts commit f438305b6e.
2017-12-01 03:18:15 +01:00
Florian Dold
f438305b6e
only hide page when doing payment 2017-12-01 03:17:32 +01:00
Florian Dold
b8ccc7c990
partial implementation of tipping 2017-12-01 03:00:09 +01:00
Marcello Stanisci
1c2e73e193
fix page title 2017-10-17 13:40:11 +02:00
Florian Dold
f7585780bf
remove broken link 2017-10-17 12:11:54 +02:00
Florian Dold
4955454440
fix history rendering issue caused by i18n 2017-10-17 12:06:47 +02:00
Florian Dold
1eec95e840
remove incomplete memory IDB implementation for now
Currently lives in its own branch, will be re-added to master once
complete to avoid linting issues.
2017-10-15 20:31:50 +02:00
Florian Dold
8b2f53e3ed
fix tslint warnings 2017-10-15 20:30:33 +02:00
Florian Dold
353eeca339
add missing typeof, makes unit tests pass 2017-10-15 18:55:34 +02:00
Florian Dold
03782f8aea
derive history from db instead of storing it 2017-10-15 18:30:02 +02:00
Florian Dold
9df98e65f8
update dependencies 2017-10-14 18:40:54 +02:00
Florian Dold
008926b184
compute full fees for refresh and spending 2017-08-30 17:08:54 +02:00
Florian Dold
24e021fef3
don't stop injection early 2017-08-30 15:36:24 +02:00
Florian Dold
43575b5919
show error in create reserve dialog 2017-08-27 06:47:13 +02:00
Florian Dold
b47522c11b
proper rounding for amount operations 2017-08-27 05:57:39 +02:00
Florian Dold
63914ab53b
make sure that refreshing works after refund 2017-08-27 05:42:46 +02:00
Florian Dold
ccc6d82242
canonicalize account info JSON when collecting them 2017-08-27 04:35:24 +02:00
Florian Dold
24181bdf20
better error report / retry prompt for failed payments 2017-08-27 04:19:11 +02:00
Florian Dold
8697efd2c8
implement refunds 2017-08-27 03:56:19 +02:00
Florian Dold
21c176a69e
add rudimentary error reporting in a new tab 2017-08-25 18:08:37 +02:00
Florian Dold
5634e77ad9
fix build system / types 2017-08-14 04:59:43 +02:00
Florian Dold
d5bba630a3
implement returning coins to user's account 2017-08-14 04:16:12 +02:00
Florian Dold
419a05e801
fix errors in injection
Sometimes chrome reports a different URL for a tab than what it is
internally displaying (e.g. for error pages).  Previously this lead to a
"scary" error message being logged.
2017-08-09 16:51:25 +02:00
Florian Dold
a8bd05298e
Store bank account information for reserve.
Fixes #4852.
2017-07-20 02:17:55 +02:00
Christian Grothoff
76d2def563
consider client age in commpatibility check 2017-07-01 14:08:16 +02:00
Florian Dold
21ea13250f
fix timer typo 2017-06-06 13:12:24 +02:00
Florian Dold
d283331285
wallet db version belongs with wallet, not webex 2017-06-05 03:36:33 +02:00
Florian Dold
2904591332
pretty reset page 2017-06-05 03:20:28 +02:00
Florian Dold
e95027f377
properly implement db resetting 2017-06-05 02:00:03 +02:00
Florian Dold
49949de808
don't also open history links in popup 2017-06-05 00:52:22 +02:00
Florian Dold
d18d220557
fix db dump page 2017-06-05 00:24:00 +02:00
Florian Dold
00b25fa66a
check trust by key, not by URL 2017-06-04 20:25:28 +02:00
Florian Dold
2cf33705c8
warn about incompatible versions on withdraw 2017-06-04 20:16:09 +02:00
Florian Dold
2b1e88737f
v0.2.7 2017-06-04 19:41:43 +02:00
Florian Dold
55a1b25ea2
Add libtool version comparison module and tests 2017-06-04 19:27:50 +02:00
Florian Dold
8edbf426f7
nicer auditor display on withdraw 2017-06-04 18:46:32 +02:00
Florian Dold
c88bcce998
some UI fixes 2017-06-04 17:56:55 +02:00
Florian Dold
e0e496b878
memidb work in progress 2017-06-04 17:42:30 +02:00
Florian Dold
84c2a0ee93
missing property 2017-06-03 21:06:23 +02:00
Florian Dold
8c215a19d7
remove unnecessary/broken flatmap 2017-06-03 21:00:15 +02:00
Florian Dold
07a84844db
remove obsolete header 2017-06-03 20:33:22 +02:00
Florian Dold
a425f289a4
fix display of contract terms rendering when already paid 2017-06-02 02:51:17 +02:00
Florian Dold
a6035dd4c7
do presence announcement only after complete page load 2017-06-02 02:14:40 +02:00
Florian Dold
29b107f937
fix terminology, better types 2017-06-01 18:46:07 +02:00
Florian Dold
8a2642a51c
version, apply updates ASAP 2017-05-31 22:55:03 +02:00
Florian Dold
f5da3fcd19
v0.2.3 2017-05-31 17:10:12 +02:00
Florian Dold
613a14c14f
fix messaging, small issues and safer types 2017-05-31 16:04:23 +02:00
Florian Dold
87f981d91c
improve backend / content script messaging 2017-05-31 11:57:09 +02:00
Florian Dold
4698768459
memidb skeleton 2017-05-31 11:11:52 +02:00
Florian Dold
8bb67c0c5f
have type for both request and response 2017-05-30 19:00:51 +02:00
Florian Dold
e5b88ee003
skeleton for better RPC types 2017-05-30 18:33:28 +02:00
Florian Dold
29908d5ef6
paths, multi env and webpack config 2017-05-30 14:38:29 +02:00
Florian Dold
b1f0d6ac52
correct stylesheet path 2017-05-29 20:03:11 +02:00
Florian Dold
94d111a945
lint for unused variables, fix query bug detected by this 2017-05-29 18:27:50 +02:00
Florian Dold
b5c90d1221
fix remaining lint warnings 2017-05-29 16:58:03 +02:00
Florian Dold
1c3346cd53
less ad-hoc messaging, fix some lint warnings 2017-05-29 16:27:53 +02:00
Florian Dold
d0e0c6baf2
fix linter errors 2017-05-29 15:18:48 +02:00
Florian Dold
9950c62579
fix strings.ts generation 2017-05-29 12:37:35 +02:00
Florian Dold
3f01c9490b
adjust webpack config to exclude node modules 2017-05-29 02:44:28 +02:00
Florian Dold
5b90311bef
pofiles 2017-05-29 01:52:01 +02:00
Florian Dold
5755f7a814
fix paths previously missed during restructuring 2017-05-29 01:48:46 +02:00
Florian Dold
f5a20cc822
missing file 2017-05-29 01:31:41 +02:00
Florian Dold
b6e774585d
move webex specific things in their own directory 2017-05-28 23:15:41 +02:00
Florian Dold
38a74188d7
gulpfile / translations 2017-05-28 22:58:54 +02:00
Florian Dold
8ac71597ec
remove usage of old lang.css 2017-05-28 22:56:09 +02:00