Commit Graph

1117 Commits

Author SHA1 Message Date
Florian Dold
bc01a04dc4
version bump 2020-09-09 21:18:11 +05:30
Florian Dold
f32062ccf0
check bank's protocol version first, fix typo 2020-09-09 21:16:20 +05:30
Florian Dold
a602e6714e
zip file generation with extension name adjustment 2020-09-09 13:48:31 +05:30
Florian Dold
faac23f32b
transactions order in test 2020-09-09 13:10:41 +05:30
Florian Dold
3d6a312f48
bump to 0.8.0-rc.1 2020-09-09 12:50:08 +05:30
Florian Dold
71abddec5e
make withdrawal, pay and refunds work in the WebExtension 2020-09-09 12:45:49 +05:30
Florian Dold
0566406abb
remove accidentally commited files 2020-09-09 11:49:47 +05:30
Florian Dold
35999179b1
comment 2020-09-09 11:48:50 +05:30
Florian Dold
75e73c111d
integration test file 2020-09-09 02:25:48 +05:30
Florian Dold
7d9c98a90c
include proposal ID, to allow aborting 2020-09-09 02:22:22 +05:30
Florian Dold
67df550b4f
implement payment aborts with integration test 2020-09-09 02:18:03 +05:30
Florian Dold
68ca4600e0
missing file 2020-09-08 22:50:20 +05:30
Florian Dold
e68f00c0c6
comment out (expected) failing test case 2020-09-08 22:49:48 +05:30
Florian Dold
855b7028c6
use cheaper denom structure for auto-refresh test 2020-09-08 22:44:01 +05:30
Florian Dold
e964367d0a
remove unused index 2020-09-08 21:16:11 +05:30
Florian Dold
aae06c680f
DB tweaks 2020-09-08 21:03:10 +05:30
Florian Dold
ddbb09b140
DB tweaks 2020-09-08 20:45:33 +05:30
Florian Dold
f79d10eea2
missing file 2020-09-08 20:30:03 +05:30
Florian Dold
6c0be1cc95
DB cleanup 2020-09-08 20:29:47 +05:30
Florian Dold
043a5f89fe
tipping transaction list entry, integration test and DB simplifications 2020-09-08 19:54:30 +05:30
Florian Dold
b9e43e652e
fix tipping and adjust DB 2020-09-08 19:27:08 +05:30
Florian Dold
b063382d25
tipping API and integration test 2020-09-08 17:40:47 +05:30
Florian Dold
be77ee284a
dynamic pay request timeout 2020-09-07 15:54:22 +05:30
Florian Dold
d0088323ce
always update /keys before autorefresh 2020-09-06 19:29:12 +05:30
Florian Dold
87749371dd
convert axios error to taler error 2020-09-06 18:32:05 +05:30
Florian Dold
92873710f1
fix bank API test 2020-09-06 18:24:33 +05:30
Florian Dold
7863bcbcaf
add integration test for permanent refund failure 2020-09-06 18:17:31 +05:30
Florian Dold
c0861f0690
handle permanent refund failure 2020-09-06 18:17:12 +05:30
Florian Dold
cde4d13df8
fix outdated test case 2020-09-06 16:36:50 +05:30
Florian Dold
9cb0409cfd
make db file writes atomic 2020-09-06 16:26:27 +05:30
Florian Dold
e0c10a06b1
allow inline locations 2020-09-05 18:09:48 +05:30
Florian Dold
ccaac89c3b
fix utterly broken throttling logic 2020-09-04 16:17:32 +05:30
Florian Dold
8139608a3b
coverage 2020-09-04 14:13:56 +05:30
Florian Dold
3c57820df0
formatting, import 2020-09-04 12:04:11 +05:30
Florian Dold
c7a2abedba
don't unnecessarily repeat reserve processing after recoup 2020-09-04 03:10:36 +05:30
Florian Dold
9754109004
integration test 2020-09-04 02:22:44 +05:30
Florian Dold
9ec6018efe
test recoup, fix bug in reserve state machine, fix bug in recoup-refresh 2020-09-04 02:20:20 +05:30
Florian Dold
54c0d1c258
actually add test case file 2020-09-03 22:39:07 +05:30
Florian Dold
f51a59bc72
implement and test auto-refresh 2020-09-03 20:38:26 +05:30
Florian Dold
bf9c2ae7f9
add proposalId in preparePay response
fixes https://bugs.taler.net/n/6535
2020-09-03 17:33:11 +05:30
Florian Dold
09b5bfe0db
towards auto-refresh 2020-09-03 17:29:09 +05:30
Florian Dold
8a3ac7f08b
schedule exchange updating 2020-09-02 14:44:40 +05:30
Florian Dold
8d0081b622
missing file 2020-09-02 12:25:01 +05:30
Florian Dold
46ba5167c8
rename test 2020-09-02 12:24:54 +05:30
Florian Dold
659e9cdbe6
respect cache header 2020-09-02 12:23:11 +05:30
Florian Dold
0ffea74ad5
no more const enum, remove unused field 2020-09-02 11:21:42 +05:30
Florian Dold
baaa11c37f
fix bank API test 2020-09-01 23:23:26 +05:30
Florian Dold
38e6d51946
estimate refresh output, show correct(er) balance 2020-09-01 23:01:44 +05:30
Florian Dold
5f3d9835fa
also check effective amount 2020-09-01 20:45:20 +05:30
Florian Dold
044b723657
correct refund amounts and better testing 2020-09-01 20:37:50 +05:30
Florian Dold
7f4ebca0c4
validation 2020-09-01 19:56:08 +05:30
Florian Dold
62406304d9
include error details in transactions list 2020-09-01 19:33:06 +05:30
Florian Dold
bb369f2e2a
auto-format 2020-09-01 19:07:14 +05:30
Florian Dold
8c33e05bf0
harmonized error codes 2020-09-01 18:27:22 +05:30
Florian Dold
5056da6548
test error handling 2020-09-01 18:00:51 +05:30
Florian Dold
5e7149f79e
fix exception thrown during logging, include stack trace 2020-09-01 15:52:13 +05:30
Florian Dold
5c0ee81e26
logging / do not crash on error 2020-08-28 22:05:35 +05:30
Florian Dold
c35b83cae1
enable sourcemaps for taler-wallet-cli 2020-08-27 14:22:47 +05:30
Florian Dold
d1532f74b5
fix broken import 2020-08-26 22:12:32 +05:30
Florian Dold
bebb3d7a9b
fix test condition 2020-08-24 20:01:59 +05:30
Florian Dold
7deefd5b2d
fix wallet DB 2020-08-24 20:00:15 +05:30
Florian Dold
0e88ef9bd2
implement fulfillment_message and make fulfillment_url optional 2020-08-24 19:39:09 +05:30
Florian Dold
69c4950762
timetravel test case (fails right now) 2020-08-24 14:01:03 +05:30
Florian Dold
a8ead769e3
test case 2020-08-24 12:07:42 +05:30
Florian Dold
b1fd7d09a6
test case for order claiming; more accurate EC 2020-08-24 11:52:12 +05:30
Florian Dold
1548086f50
make diagnostics, welcome page and permissions work again 2020-08-21 20:56:25 +05:30
Florian Dold
8d72b93a17
fix refund URI parsing (due to merchant backend change) 2020-08-20 16:51:14 +05:30
Florian Dold
421e613f92
throttling diagnostics and request timeouts 2020-08-20 16:27:20 +05:30
Florian Dold
ddf9171c5b
add another test case for the merchant refund API 2020-08-20 14:56:22 +05:30
Florian Dold
a8fb16021d
handle withdrawals aborted by the bank, add test 2020-08-20 14:34:56 +05:30
Florian Dold
786976e5a8
add bank API tests 2020-08-20 13:55:03 +05:30
Florian Dold
57000c2214
add auto-refund test case, fix bug detected by it 2020-08-20 11:59:06 +05:30
Florian Dold
7ff93d8ef6
match latest refund API of the merchant 2020-08-20 11:39:34 +05:30
Florian Dold
d9b73a30c1
test case for /paid API, implement fault-injected merchant 2020-08-19 20:56:40 +05:30
Florian Dold
082498b20d
use /paid API for proof of purchase 2020-08-19 20:55:38 +05:30
Florian Dold
f7299a1aa0
make basic withdrawal and payment work again with new API 2020-08-19 19:39:21 +05:30
Florian Dold
0f390477f3
add test-merchant-longpolling 2020-08-19 18:15:36 +05:30
Florian Dold
90adead540
run exchange with a single thread to avoid DB conflicts 2020-08-18 19:38:17 +05:30
Florian Dold
e2f7bc79cd
introduce locking to avoid certain simultaneous requests to the exchange 2020-08-18 18:23:06 +05:30
Florian Dold
53cd347b1c
extra check 2020-08-18 13:12:19 +05:30
Florian Dold
f6d81037a7
fixes for test-paywall-flow 2020-08-18 12:58:02 +05:30
Florian Dold
2aeff3a913
test runner 2020-08-18 12:05:22 +05:30
Florian Dold
e9864adf15
integration test fixes 2020-08-14 16:18:48 +05:30
Florian Dold
953cd9dc41
nuke some console.log statements, test wallet testing functionality in integration test 2020-08-14 15:53:50 +05:30
Florian Dold
e3850158c2
re-implement integration test functionalty that will be used by the exchange for testing 2020-08-14 13:06:42 +05:30
Florian Dold
d5f894690e
error codes 2020-08-14 00:19:20 +05:30
Florian Dold
cbe325cb0f
web extension WIP 2020-08-14 00:13:51 +05:30
Florian Dold
599c8380f2
make withdrawal requests sequentially, clean up withdrawal logic a bit 2020-08-13 15:15:01 +05:30
Florian Dold
61ee1efbe9
logging 2020-08-13 10:48:27 +05:30
Florian Dold
e9ed3b1867
integration test for paywall flow 2020-08-13 00:26:55 +05:30
Florian Dold
4891c4c7ce
logging 2020-08-12 21:11:54 +05:30
Florian Dold
44dcfb3790
check error code 2020-08-12 19:52:51 +05:30
Florian Dold
c5ec341368
add exchange management test case 2020-08-12 19:45:34 +05:30
Florian Dold
11fa339705
fix preparePay bug and add integration test for it 2020-08-12 16:32:07 +05:30
Florian Dold
8d7b171d02
rename for consistency 2020-08-12 16:02:58 +05:30
Florian Dold
56f5a1e3ab
codec 2020-08-12 15:48:02 +05:30
Florian Dold
6d2d65bf63
dependencies 2020-08-12 14:07:54 +05:30
Florian Dold
f180d05804
remove excessive namespacing, format 2020-08-12 12:41:00 +05:30
Florian Dold
2e56a22f6b
refund response 2020-08-11 17:55:45 +05:30
Florian Dold
ff3f965661
towards the improved confirmPay API 2020-08-11 17:32:11 +05:30
Florian Dold
172a51a43a
towards webextension working again 2020-08-10 22:19:23 +05:30
Florian Dold
c2dcad8efe
fix preparePay API response 2020-08-10 20:05:41 +05:30
Florian Dold
66d76a3591
simplify refunds a bit, show in transaction history, add integration tests 2020-08-10 16:48:38 +05:30
Florian Dold
5f8714091a
use API extractor for cleaner package separation 2020-08-10 14:37:20 +05:30
Florian Dold
6990b3b5ec
remove accidentally committed declaration files 2020-08-10 12:09:52 +05:30
Florian Dold
32212319f7
project reference 2020-08-10 12:09:39 +05:30
Florian Dold
5fb9dae13c
test for manual withdrawal 2020-08-08 22:27:26 +05:30
Florian Dold
e8c0a43dd3
allow repeats in test case 2020-08-08 16:52:45 +05:30
Florian Dold
3321e40bff
integration testing tweaks, rerun-payment-multiple scenario 2020-08-07 23:06:52 +05:30
Florian Dold
4525942777
output test directory at the beginning 2020-08-07 13:24:55 +05:30
Florian Dold
5ab2e235c0
add prompt payment scenario 2020-08-07 13:18:29 +05:30
Florian Dold
898de013e7
execute services directly, not with a shell 2020-08-07 13:03:31 +05:30
Florian Dold
75b88c209e
linger only in normal shutdown 2020-08-07 12:18:17 +05:30
Florian Dold
8b6f4c1ff0
condition 2020-08-07 12:14:17 +05:30
Florian Dold
ee01e34a9a
lingering 2020-08-07 12:13:35 +05:30
Florian Dold
a5d8d5349d
actually only shut down once 2020-08-07 12:09:32 +05:30
Florian Dold
08ec98af77
less verbosity, fix symlink direction 2020-08-07 11:54:47 +05:30
Florian Dold
b4a4a9e292
log file location 2020-08-07 11:36:30 +05:30
Florian Dold
32755f5475
only shut down once 2020-08-07 11:36:30 +05:30
Florian Dold
b3f0cf97e4
remove debug log 2020-08-06 22:17:16 +05:30
Florian Dold
100f4fc5fb
reduce verbosity a bit, add convenience symlink 2020-08-06 21:20:47 +05:30
Florian Dold
1fa3cad2e7
handle package.json properly in CLI 2020-08-06 21:06:56 +05:30
Florian Dold
ecf763126e
improve test shutdown on errors 2020-08-06 18:16:04 +05:30
Florian Dold
710f8ade33
logging 2020-08-06 17:53:13 +05:30
Florian Dold
ac438906e9
always terminate properly 2020-08-06 17:32:52 +05:30
Florian Dold
59fe51806d
configure merchant DB explicitly 2020-08-06 17:16:52 +05:30
Florian Dold
08ae0ca23c
new test 2020-08-06 15:58:01 +05:30
Florian Dold
aff906b136
payment stress test 2020-08-06 15:52:35 +05:30
Florian Dold
a77ba4065b
integration test runner 2020-08-06 00:52:00 +05:30
Florian Dold
70fa42da04
dependencies 2020-08-06 00:43:29 +05:30
Florian Dold
82a2437c09
towards integration tests with fault injection 2020-08-06 00:30:36 +05:30
Florian Dold
a8f03d3dd1
dependencies / build tasks 2020-08-03 13:44:07 +05:30
Florian Dold
ffd2a62c3f
modularize repo, use pnpm, improve typechecking 2020-08-03 13:01:05 +05:30
Florian Dold
c2ee8fd9ab
cleanup, avoid some circular deps 2019-12-16 17:00:46 +01:00
Florian Dold
809fa18644
idb-bridge: bump version 2019-11-29 19:26:13 +01:00
Florian Dold
b41ae3e98d
idb-bridge: enforce store restrictions 2019-11-29 19:25:48 +01:00
Florian Dold
e8f362ccfe
idb-bridge: fix deletion 2019-11-21 20:40:23 +01:00
Florian Dold
5b43bd857c
improve error messages 2019-11-21 11:15:42 +01:00
Florian Dold
f797f16e2f
improve error reporting 2019-11-21 10:43:40 +01:00
Florian Dold
553da64990
WIP: simplify DB queries and error handling 2019-11-20 19:48:43 +01:00
Florian Dold
faedf69762
idb-bridge: fix typo in rollback 2019-11-19 19:36:32 +01:00
Florian Dold
70912b0725
fix error in index iteration 2019-09-01 01:05:38 +02:00
Florian Dold
d98c1b09c7
idb: fix bug in index iteration 2019-08-26 03:39:58 +02:00
Florian Dold
6cea1f7c5b
idb: don't create duplicate index entries 2019-08-26 02:41:50 +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
43cccf2c70
idb-bridge: version bump 2019-08-17 01:54:24 +02:00
Florian Dold
9e3a26ca70
idb-bridge: fix bug in index deletion 2019-08-17 01:50:51 +02:00
Florian Dold
d947b90df3
idb-bridge: indexes belong to object stores 2019-08-17 01:03:55 +02:00
Florian Dold
3263d05ce9
version bump / imports 2019-08-16 23:29:29 +02:00
Florian Dold
6a57ad5fe2
do not ignore database version 2019-08-16 23:06:51 +02:00
Florian Dold
8f180594fe
bump idb-bridge version 2019-08-16 22:36:04 +02:00
Florian Dold
262885679c
only invoke afterCommitCallback for transactions that change data 2019-08-16 22:35:44 +02:00
Florian Dold
67dc8d30c0
db import/export and commit callback 2019-08-16 19:05:48 +02:00
Florian Dold
78f885db3d
missing structuredClone caused unintended mutations 2019-08-15 23:27:17 +02:00
Florian Dold
255e2b0fe6
copyright headers 2019-08-01 23:27:42 +02:00
Florian Dold
92b04858a3
idb: make put/add return the effective store key 2019-08-01 23:21:05 +02:00
Florian Dold
bcefbd7aab
idb-bridge: test cases, package structure and missing functionality 2019-07-31 01:33:23 +02:00
Florian Dold
16ecbc9f17
headless wallet skeleton, type fixes 2019-07-21 23:50:10 +02:00
Florian Dold
bf52d4b844
idb: make test pass 2019-06-25 14:31:48 +02:00
Florian Dold
df5619236b
idb: extend test case 2019-06-25 13:44:03 +02:00
Florian Dold
b3fc710d9a
idb: make unique cursor work 2019-06-25 13:18:09 +02:00
Florian Dold
c84361d3cb
idb: memory backend fixes 2019-06-25 12:49:43 +02:00
Florian Dold
859a9e72e1
idb: more tests working 2019-06-23 22:16:03 +02:00
Florian Dold
a4e4125cca
idb: tests working 2019-06-21 19:18:36 +02:00
Florian Dold
2ee9431f1b
idb wip 2019-06-15 22:44:54 +02:00
Florian Dold
9490fc80fb
v0.0.5 2019-03-28 01:30:41 +01:00
Florian Dold
96cbfc2398
get pogen via npm registry 2019-03-28 01:30:06 +01:00