Commit Graph

573 Commits

Author SHA1 Message Date
Florian Dold
5d1b0df8a4
fix logic bug in recoup (refresh variant) 2020-03-26 22:34:14 +05:30
Florian Dold
86c8a8fcf3
another missing store ... 2020-03-26 21:58:38 +05:30
Florian Dold
c2e261e018
fix store access list for recoup 2020-03-26 20:47:14 +05:30
Florian Dold
3d0fbea467
log to stderr when running on node 2020-03-26 20:35:06 +05:30
Florian Dold
2611726168
pofiles regen 2020-03-26 17:22:13 +05:30
Florian Dold
c2050b3963
add --no-throttle 2020-03-24 23:54:32 +05:30
Florian Dold
1bac5329b5
docs 2020-03-24 17:57:44 +05:30
Florian Dold
ecc7b5e76e
cli parsing 2020-03-24 17:52:39 +05:30
Florian Dold
2fb6e8f11f
oops, add missing talerconfig.ts 2020-03-24 16:35:34 +05:30
Florian Dold
a8e3422139
fix recoup response schema / add run-until-done 2020-03-24 16:34:15 +05:30
Florian Dold
01e83df471
helpers for auditor integration test 2020-03-24 15:25:04 +05:30
Florian Dold
c4d2899562
implement time travelling 2020-03-23 17:47:35 +05:30
Florian Dold
1b0b3f146c
make sure the 'testing withdraw' subcommand does retries 2020-03-23 17:33:38 +05:30
Florian Dold
eabbbd339b
config files WIP 2020-03-23 17:00:01 +05:30
Florian Dold
cb2fbc7610
fix another withdrawal state machine bug, add 'show-reserve' to advanced CLI 2020-03-16 17:46:57 +05:30
Florian Dold
9e2be07cfc
fix bug in withdrawal operation state machine, allow manual reserve update from CLI 2020-03-16 17:18:46 +05:30
Florian Dold
1744b1a800
signature verification for recoup 2020-03-13 19:04:16 +05:30
Florian Dold
51eef5419a
license header typo 2020-03-13 13:51:03 +05:30
Florian Dold
b5b8f96cc9
improved error reporting / towards a working recoup 2020-03-12 19:25:38 +05:30
Florian Dold
2ec6799c8c
improve error reporting for DB queries 2020-03-12 13:23:24 +05:30
Florian Dold
2c52046f0b
full recoup, untested/unfinished first attempt 2020-03-12 00:44:28 +05:30
Florian Dold
6e2881fabf
cleanup 2020-03-10 14:47:46 +05:30
Florian Dold
26d961ad63
support exchange API version 7:0:0 2020-03-09 16:37:46 +05:30
Florian Dold
bf1b350d44
abort exchange update if version does not match 2020-03-09 14:29:13 +05:30
Florian Dold
7ba1f91823
formatting / DCE 2020-03-09 14:19:22 +05:30
Florian Dold
4999920373
use newer bank API 2020-03-09 14:17:06 +05:30
Florian Dold
c5c308661e
give payload notification to Android 2020-03-06 23:31:35 +05:30
Florian Dold
4e76edf129
include (pending) wallet balance in pending ops response 2020-03-06 19:39:55 +05:30
Florian Dold
7c7d3e001e
documentation / enum types for pending ops 2020-03-06 18:40:00 +05:30
Florian Dold
e1168fbec0
backwards compat with nodejs<0.11 2020-02-24 23:10:36 +05:30
Florian Dold
02c265f684
only import worker_threads when we create a worker factory 2020-02-24 22:56:54 +05:30
Florian Dold
1cc8500cb0
code style 2020-02-24 22:41:11 +05:30
Florian Dold
055685e785
fall back to synchronous workers on old nodejs 2020-02-24 22:38:07 +05:30
Marcos Gutierrez
4fd80ee8e2
fix fulfillmentUrl in the history rener 2020-01-31 11:22:13 -03:00
Marcos Gutierrez
5f68f060a6
add fulfillmentUrl to OrderShortInfo 2020-01-31 11:21:23 -03:00
Marcos Gutierrez
d6d5647946
add new history view and some global style changes 2020-01-27 10:11:39 -03:00
Florian Dold
a60061788f
reset reserve retry timeout when forcing operation 2020-01-22 16:00:49 +01:00
Florian Dold
14103aa075
make verbose details an option 2020-01-22 12:22:57 +01:00
Florian Dold
21194fa781
fix store access 2020-01-20 12:02:56 +01:00
Florian Dold
b837fd7f53
be verbose for refreshes too 2020-01-20 12:00:57 +01:00
Florian Dold
c5906abf10
verboseDetails for pay and withdraw 2020-01-20 11:53:21 +01:00
Florian Dold
a76219b8de
sort coins by amount first 2020-01-19 21:17:39 +01:00
Florian Dold
e124e05d53
do not apply the same refresh twice 2020-01-19 20:41:51 +01:00
Florian Dold
5e77b222d5
don't refresh for a refund that didn't get applied 2020-01-19 20:02:15 +01:00
Florian Dold
2b7fff323d
fix incomplete rename 2020-01-19 19:02:47 +01:00
Florian Dold
337a59566c
fix error in refund retry 2020-01-19 17:14:43 +01:00
Florian Dold
fd5f3977bb
exchange uses payto_uri instead of url now 2020-01-19 17:06:47 +01:00
Florian Dold
af57a404d0
fix and test case for "insecure" taler://refund URIs 2020-01-18 23:32:14 +01:00
Florian Dold
fcb0565323
generate refund in integration test 2020-01-18 20:55:34 +01:00
Florian Dold
9ad8c69782
fix amount format (how did this ever work before?) 2020-01-17 22:25:33 +01:00
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