Commit Graph

526 Commits

Author SHA1 Message Date
Florian Dold
e435f5b431
do not throw exception when receiving zero-length refund list 2019-12-07 20:47:20 +01:00
Florian Dold
27e42111e7
fix pending operation query for refunds 2019-12-07 20:35:47 +01:00
Florian Dold
165486a112
auto-refund 2019-12-07 18:42:18 +01:00
Florian Dold
ee1fc03ae8
case-insensitive URIs 2019-12-06 12:47:28 +01:00
Florian Dold
b4d36fca18
fix typo in contract terms type decl 2019-12-06 11:02:38 +01:00
Florian Dold
52da599ddb
don't die on auto-refund, fix pending operations 2019-12-06 11:01:39 +01:00
Florian Dold
e01f94e345
pending fixes 2019-12-06 03:23:35 +01:00
Florian Dold
4159367d8c
pending ops / history / notification tweaks 2019-12-06 02:52:16 +01:00
Florian Dold
c8c84911ce
fix re-purchase detection 2019-12-06 00:56:31 +01:00
Florian Dold
65bccbd139
separate operations for pay, refund status query and refund submission 2019-12-06 00:24:34 +01:00
Florian Dold
7b54439fd6
validate wire fees and acct info 2019-12-05 23:07:46 +01:00
Florian Dold
8115ac660c
fix refunds 2019-12-05 22:17:01 +01:00
Florian Dold
f67d7f54f9
threads, retries and notifications WIP 2019-12-05 19:38:19 +01:00
Florian Dold
829acdd3d9
android 2019-12-03 14:40:05 +01:00
Florian Dold
8683c93613
version bump / pending balance tweaks 2019-12-03 01:36:06 +01:00
Florian Dold
c33dd75711
pending operations (pay/proposals) 2019-12-03 00:52:15 +01:00
Florian Dold
a5137c3265
rollup 2019-12-02 18:12:59 +01:00
Florian Dold
b5ee6b7b4e
pending operations WIP 2019-12-02 17:35:47 +01:00
Florian Dold
e1369ff7e8
the giant refactoring: split wallet into multiple parts 2019-12-02 00:42:40 +01:00
Florian Dold
aaf7e1338d
wallet robustness WIP 2019-11-30 00:36:20 +01:00
Florian Dold
706c07fa1d
implement JS-only Taler, remove emscripten 2019-11-28 00:46:34 +01:00
Florian Dold
c3ca556aff
JS-only crypto (only primitives so far) 2019-11-27 17:59:57 +01:00
Florian Dold
d42b9e3df8
crypto porting WIP 2019-11-25 19:06:05 +01:00
Florian Dold
de9f8867d5
missing files / native encode/decode 2019-11-21 23:10:24 +01:00
Florian Dold
c623309430
WIP: simplification and error handling 2019-11-21 23:09:43 +01:00
Florian Dold
61558e00ae
fix breakage due to URI.js upgrade 2019-11-21 11:52:26 +01:00
Florian Dold
035b3fdae2
version upgrade and formatting 2019-11-20 20:02:48 +01:00
Florian Dold
553da64990
WIP: simplify DB queries and error handling 2019-11-20 19:48:43 +01:00
Florian Dold
d9297f3dfd
work on CLI 2019-11-19 16:16:12 +01:00
Florian Dold
87aa0f65c3
android: use akono module 2019-11-14 18:51:54 +01:00
Florian Dold
25c68d4487
remove more bad logging 2019-11-14 17:22:29 +01:00
Florian Dold
52f162a3ef
remove more bad logging 2019-11-14 17:18:20 +01:00
Florian Dold
a2e7335cab
remove unconditional debug log 2019-11-14 17:10:12 +01:00
Florian Dold
d184633a88
fix test case 2019-11-02 00:48:13 +01:00
Florian Dold
d6a3a54d28
installation popup in FF 2019-11-02 00:46:57 +01:00
Florian Dold
574e6ce37c
don't do requestUpdateStatus on FF 2019-11-02 00:24:18 +01:00
Florian Dold
8f973c69c4
handle multiple refresh sessions correctly for refunded coins 2019-11-02 00:22:55 +01:00
Florian Dold
ae8a005271
protocol changes 2019-11-01 18:39:23 +01:00
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