Commit Graph

573 Commits

Author SHA1 Message Date
Florian Dold
4dfe451b8a
log pending ops 2020-01-17 22:11:09 +01:00
Florian Dold
a06b9552ab
exit code 2020-01-17 22:00:58 +01:00
Florian Dold
baab5b9d20
H_wire -> h_wire 2020-01-17 21:59:47 +01:00
Florian Dold
2d97d0c37f
switch from custom scheme to basic auth for Taler demo bank 2020-01-17 21:03:13 +01:00
Florian Dold
0842fab154
Fix typo and field name in history event
This fixes https://bugs.taler.net/n/6022
2020-01-07 17:29:19 +01:00
Florian Dold
3c85a0d14e
error handling 2019-12-28 16:21:21 +01:00
Florian Dold
7523dcab95
comments 2019-12-25 21:47:57 +01:00
Florian Dold
266b33dc42
fix bug in the WebExtensions pay page 2019-12-25 19:24:23 +01:00
Florian Dold
adebfab94e
fix and simplify coin selection 2019-12-25 19:11:20 +01:00
Florian Dold
54f7999c63
fix taler URI classification bug 2019-12-20 11:35:51 +01:00
Florian Dold
378d8dee58
implement refusing proposals 2019-12-20 01:25:22 +01:00
Florian Dold
aa37ef082d
do normal back-off when reserve isn't ready yet, run retry-loop in integration test 2019-12-19 21:22:29 +01:00
Florian Dold
0c9358c1b2
new date format, replace checkable annotations with codecs 2019-12-19 20:42:49 +01:00
Florian Dold
49e3b3e5b9
prepare for schema migrations 2019-12-19 13:48:37 +01:00
Florian Dold
20ebc44420
android: propagate errors 2019-12-17 18:42:14 +01:00
Florian Dold
6a9318c298
cleanup / history 2019-12-16 22:42:10 +01:00
Florian Dold
fb6508de9d
finish refresh correctly, display fees correctly 2019-12-16 21:10:57 +01:00
Florian Dold
c2ee8fd9ab
cleanup, avoid some circular deps 2019-12-16 17:00:46 +01:00
Florian Dold
35a7b76a7d
history WIP, DB naming 2019-12-16 16:20:45 +01:00
Florian Dold
fa4621e70c
history events WIP 2019-12-16 12:53:22 +01:00
Florian Dold
1b9c5855a8
simplify /pay, add pay event 2019-12-15 21:40:06 +01:00
Florian Dold
59bd755f7d
oops, missing file 2019-12-15 19:08:07 +01:00
Florian Dold
857c0ab4cd
introduce refund groups, react correctly to 410 Gone for /refund 2019-12-15 19:04:14 +01:00
Florian Dold
7cc3b10824
don't throttle the integration test 2019-12-15 17:48:22 +01:00
Florian Dold
985c90e0ad
Christian's thresholds for throttling 2019-12-15 17:00:22 +01:00
Florian Dold
4966376839
group refresh sessions into groups for nicer history 2019-12-15 16:59:00 +01:00
Florian Dold
f4043a0f81
keep checkable annotations on amount for now 2019-12-14 23:15:56 +01:00
Florian Dold
a0b5aba71c
allow specifying common base type for unions 2019-12-14 19:09:01 +01:00
Florian Dold
47b2b84135
better type errors 2019-12-14 19:00:24 +01:00
Florian Dold
a4a9b16153
type safety 2019-12-14 18:46:42 +01:00
Florian Dold
690bbfcfd8
nicer unions 2019-12-14 18:00:03 +01:00
Florian Dold
60d154c36b
union codecs, error messages 2019-12-14 17:55:31 +01:00
Florian Dold
749b96284a
codecs WIP 2019-12-14 17:23:31 +01:00
Florian Dold
e018e073a4
refresh history 2019-12-13 13:36:35 +01:00
Florian Dold
b4bb9e92ad
event id 2019-12-13 13:31:06 +01:00
Florian Dold
04a60770ee
new history schema 2019-12-13 13:10:20 +01:00
Florian Dold
f3329ecf06
refactor DB access 2019-12-12 22:39:45 +01:00
Florian Dold
24650b1781
organize imports 2019-12-12 21:00:54 +01:00
Florian Dold
74433c3e05
refactor: re-structure type definitions 2019-12-12 20:53:15 +01:00
Florian Dold
cc137c8739
android fix 2019-12-10 23:38:40 +01:00
Florian Dold
f05788f59d
fix session IDs, fix proposal download concurrency bug 2019-12-10 12:22:29 +01:00
Florian Dold
6415564b92
tos 2019-12-09 19:59:08 +01:00
Florian Dold
99bccae9fe
max->min 2019-12-09 13:46:28 +01:00
Florian Dold
3f71aff19f
oops, missing file 2019-12-09 13:29:42 +01:00
Florian Dold
1fea75bca3
throttling / allow non-json requests 2019-12-09 13:29:11 +01:00
Florian Dold
396bb61db7
reset retry counter when forcing operations 2019-12-07 22:02:11 +01:00
Florian Dold
b68b52e95c
exit with 0 when printing help 2019-12-07 21:38:56 +01:00
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