Commit Graph

538 Commits

Author SHA1 Message Date
Sebastian
b023bb502e
some fixes
how the id is shown
refactoring some settings to use hooks
2021-06-04 12:42:34 -03:00
Sebastian
ea65d04f0c
remove fromFloat 2021-06-04 10:42:12 -03:00
Sebastian
aa0edbdd68
wallet transaction detail 2021-06-03 01:07:34 -03:00
Sebastian
9f09f5a1a5
fix sb config 2021-06-02 11:01:15 -03:00
5e6cc41b7a
fix issues with circular imports
Parts of this commit are from a patch by sebasjm.  The circular imports
caused an issue with webpack.  While we don't use webpack in the wallet,
the wallet should still be importable by webpack.

Some packages were importing their dependencies via "index.js", which
re-exports public exports of the package.  This resulted in circular
dependencies which were resolved correctly by rollup, but not by
webpack.
2021-06-02 13:56:29 +02:00
02f1d4b081
support multiple exchange details per base URL 2021-06-02 13:24:28 +02:00
Sebastian
c6c17a1c0a
add storybook 2021-05-31 11:34:48 -03:00
Sebastian
3688f7e4d4
Amount.toFloat and hide filesystem requirement 2021-05-27 11:15:55 -03:00
MS
042849b99b
Tagging LibEuFin tests. 2021-05-21 19:24:17 +02:00
a68af80514
typo 2021-05-21 13:32:49 +02:00
6f0d561345
instance creation order, again 2021-05-21 12:07:54 +02:00
0e0d5fa3b4
fix instance creation order 2021-05-21 12:03:09 +02:00
4414f738ef
tag tests 2021-05-21 11:47:24 +02:00
6b1aea426a
tombstone processing in backup import 2021-05-21 11:47:24 +02:00
Sebastian
f0ab1449c5
fixed width for popup, fixed url redirect on manual taler link lookup, fixed uncontrolled checkbox handling 2021-05-20 16:58:28 -03:00
bb10e038c9
also allow deleting individual refunds, tombstoned by their execution time 2021-05-20 19:03:49 +02:00
9a861b80ef
allow deletion via API 2021-05-20 18:27:35 +02:00
6f1b7f5b99
implement more deletion operations 2021-05-20 17:11:44 +02:00
6fc9a052b7
implement deletion of withdrawal transactions 2021-05-20 16:24:41 +02:00
1fb1827002
fix trust check 2021-05-20 13:17:04 +02:00
851ac5602c
add UIDs for deletion tombstones to auditor/exchange trust management 2021-05-20 13:15:11 +02:00
MS
0299e719ce
test Libeufin Facade API 2021-05-18 18:01:41 +02:00
5954513845
remove defunct campt-samples for now 2021-05-17 12:58:36 +02:00
e7e337605e
remove unused interfaces 2021-05-17 12:58:18 +02:00
MS
dcef82d677
Libeufin, testing scheduling API 2021-05-14 12:50:44 +02:00
MS
a931d48a84
Libeufin, testing scheduling API 2021-05-14 12:34:07 +02:00
f4ec5b1a32
implement currencies subcommand 2021-05-12 16:18:32 +02:00
4da4380480
always use .js extension to make node module loader happy 2021-05-12 16:06:40 +02:00
b1500241f7
tombstones 2021-05-12 15:26:15 +02:00
4fdcaab632
model more backup provider errors 2021-05-12 14:16:01 +02:00
debc2254fd
towards backup based on add/remove set instead of clocks 2021-05-12 13:35:04 +02:00
MS
83b02069c9
libeufin, testing bank connection removal 2021-05-12 11:52:38 +02:00
MS
41b65e90b9
Libeufin API testing.
Testing CRUD operations of the 'bankaccount' resource.
2021-05-12 09:58:17 +02:00
MS
2d2bdb7afe
Camt samples submodules.
Downloading them into the assets/ directory.
2021-05-10 15:53:11 +02:00
MS
3b3733197f
remove submodule, due to wrong path 2021-05-10 15:50:38 +02:00
MS
b4c4754008
remove unwanted char 2021-05-10 15:41:52 +02:00
477b1399ca
fix type 2021-05-10 15:32:50 +02:00
8dc5384bdc
asset loading for integration tests 2021-05-10 15:32:20 +02:00
MS
9ffe187494
Camt samples submodule 2021-05-10 15:14:03 +02:00
MS
9772e5837e
Libeufin testing: testing users creation/update 2021-05-10 11:54:59 +02:00
Sebastian
4ed4535bc0
preact routing on the wallet 2021-05-07 18:16:30 -03:00
Sebastian
30f86f8748
migrate to preact 2021-05-07 10:39:49 -03:00
MS
b414de8533
Testing Libeufin's permission API: creating and deleting one. 2021-05-07 11:39:01 +02:00
MS
1944b08f87
libeufin tests 2021-05-07 08:49:26 +02:00
ms
3a6cee4a62
avoid hard-coded values 2021-05-06 14:41:29 +02:00
MS
4397e96cc8
Libeufin tests.
Adding the CLI command that submits a initiated payment,
plus calling it from the 'tutorial' test case.
2021-05-03 11:12:46 +02:00
MS
eaa5aba4e2
Testing: done with simple refund case. 2021-04-30 11:45:47 +02:00
MS
98014f4b64
testing harness gets more Nexus API 2021-04-29 17:03:05 +02:00
MS
cf0260fa7f
testing: print history 2021-04-29 16:51:15 +02:00
MS
9928d2ef35
Libeufin Tests.
Testing refunds due to invalid subject.  Up to the
point where the list of transactions is returned by
the local bank account.
2021-04-29 11:19:17 +02:00
MS
faf83181de
excluding non-tests from being run 2021-04-28 10:18:30 +02:00
Christian Grothoff
4c2048d5d4
fix more typos 2021-04-28 00:01:52 +02:00
Christian Grothoff
9b89387535
fix spelling issues 2021-04-27 23:42:25 +02:00
f4b5f3cff8
implement debug flag for allowing late withdrawal 2021-04-14 18:21:23 +02:00
14f13250a0
forgettable information validation WIP 2021-04-14 14:36:46 +02:00
2645fe3f9b
fix integration test 2021-04-14 14:36:29 +02:00
94f251fc39
add validation for forgettable JSON 2021-04-13 17:17:43 +02:00
e719f7981e
implement DD18 (forgettable fields in contract terms) 2021-04-12 19:21:16 +02:00
f30f923e15
fix two bogus test assertions 2021-04-09 16:43:57 +02:00
15cecf126a
better logging 2021-04-08 16:31:43 +02:00
b2edad2dac
improve error reporting in test case 2021-04-08 16:03:04 +02:00
4fa88007f9
get coin re-selection after accidental double spending to work 2021-04-07 19:29:51 +02:00
29d710c392
fix issue in JSON canonicalization (and move stuff to taler-util) 2021-04-07 16:13:16 +02:00
46056c416b
structured clone: handle top-level booleans correctly 2021-04-07 15:52:57 +02:00
2be1c3c8bd
re-add tests, more coin selection tests 2021-03-27 20:48:44 +01:00
93128f9358
fix coin selection 2021-03-27 19:35:44 +01:00
d44740b787
fix build issues 2021-03-27 14:36:08 +01:00
14d4883639
fix pogen binary 2021-03-27 14:02:48 +01:00
c26a41ce70
pogen WIP 2021-03-27 13:55:15 +01:00
35bbe6af2d
clarify 2021-03-18 14:16:34 +01:00
43fabc0d1d
pogen readme 2021-03-18 13:56:20 +01:00
51f2ad9b6d
use static helpers for amounts 2021-03-17 18:21:43 +01:00
07cdfb2e4e
towards wallet-core / util split 2021-03-17 17:56:37 +01:00
42a4d666f4
sort is done after candidate selection 2021-03-15 13:45:24 +01:00
44b1896b9e
improved pay coin selection
support for multiple exchanges and healing a previous selection
2021-03-15 13:44:25 +01:00
fb3da3a28d
towards recovering from accidental double spends 2021-03-11 13:08:41 +01:00
1392dc47c6
finish first complete end-to-end backup/sync test 2021-03-10 17:11:59 +01:00
ac89c3d277
restructure sync, store errors 2021-03-10 12:00:30 +01:00
49b5d006db
deletion test: expect different status code 2021-03-04 16:10:36 +01:00
90af26ace5
deletion test 2021-03-04 15:59:31 +01:00
050461f28d
test merchant issue reported by MS 2021-03-04 13:42:08 +01:00
041e7ec353
merchant test: instance management only possibly via plain base URL 2021-03-04 12:57:54 +01:00
9f0ca4b321
merchant test: also test with existing instance 2021-03-03 21:24:52 +01:00
364815e0cc
add sebasjm's example 2021-03-03 21:22:47 +01:00
1a0610f222
WIP: wallet backup integration test 2021-03-03 21:20:05 +01:00
186a38250f
add one more test URL 2021-03-02 21:58:59 +01:00
2808ea9743
one more 2021-03-02 21:53:55 +01:00
90a77de2f4
add test 2021-03-02 21:47:57 +01:00
9c2440718d
test merchant's instance detail response 2021-03-02 20:20:51 +01:00
81be4aacd8
add merchant instances/auth test case 2021-03-02 20:03:39 +01:00
98ab998a1e
implement test suites 2021-03-02 14:19:01 +01:00
f11a194d10
add missing files 2021-03-01 13:02:56 +01:00
48acd573b1
idb: make test cases pass 2021-02-25 16:35:04 +01:00
ms
0e28865018
comment 2021-02-25 14:58:36 +01:00
564e4f8710
idb: encapsulate non-JSON data correctly 2021-02-24 17:33:07 +01:00
bc7956c2ba
idb: don't import typeson 2021-02-24 01:28:45 +01:00
3a336799a0
idb: custom structured clone, don't rely on typeson anymore 2021-02-24 01:28:02 +01:00
627ae6958e
idb: fix test / backend 2021-02-23 21:30:11 +01:00
9c85f6277b
idb: implement missing methods 2021-02-23 20:16:10 +01:00
29d23b192d
missing dependency 2021-02-23 19:30:17 +01:00
f9ffc9fc04
missing dependency 2021-02-23 19:29:38 +01:00
ac9d310ccf
missing dependency 2021-02-23 19:28:51 +01:00
648b0be7dd
idb: more tests and fixes 2021-02-23 19:28:37 +01:00
9b9df089cf
idb: fix test 2021-02-22 21:03:06 +01:00
f0d820d8c6
idb: fix 'prevunique' iteration and other bugs 2021-02-22 20:49:36 +01:00
3eced74a88
more tests, fix event ordering issue 2021-02-22 14:27:54 +01:00
e6946694f2
idb: more tests, fix DB deletion, exception ordering and transaction active checks 2021-02-19 21:27:49 +01:00
c800e80138
idb: fix shimming 2021-02-18 11:25:23 +01:00
fe1b9efae5
more WPTs 2021-02-18 11:15:25 +01:00
4b4640dbcb
idb: make more tests pass, implement Cursor.advance() 2021-02-17 17:39:28 +01:00
69b62c62a0
idb: fix renaming, make renaming tests pass 2021-02-17 11:45:28 +01:00
47bddb2a1b
fix errors in test case 2021-02-16 17:19:51 +01:00
c363458374
more WPTs 2021-02-16 17:18:40 +01:00
f9df95ded5
more WPTs 2021-02-16 16:45:15 +01:00
b814697fc9
more WPTs 2021-02-16 16:23:05 +01:00
f4bce10cda
more test WPTs 2021-02-16 15:07:38 +01:00
579c9da58b
fix event ordering 2021-02-16 15:07:23 +01:00
ef579c91a9
remove debug logging 2021-02-16 14:50:13 +01:00
ec28cde940
remove debug logging 2021-02-16 14:50:03 +01:00
4d663d2e59
synchronous schema rollback 2021-02-16 14:49:38 +01:00
987f22de02
next batch of test cases and fixes 2021-02-16 13:47:01 +01:00
db59275b6b
add more tests and fix various issues 2021-02-16 13:47:01 +01:00
d1f00aeaa2
get IDB tests to pass again, add new one 2021-02-16 13:47:00 +01:00
MS
d384bd5c62
TWG, payments reversal testing.
Up to the point where the payments to be reversed get
created via the native Sandbox API, instead of the add-incoming
API, that got recently removed from the Nexus implementation.
2021-02-15 20:28:09 +01:00
MS
7a2ab04da8
TWG refund tests.
Arriving to the point where Libeufin services get
launched and configured with multiple users.  The
configuration provides: bank accounts, bank connections
and facades; all being created via the abstraction
"bundling" layer of one Libeufin 'user'.
2021-02-15 10:43:05 +01:00
MS
118975fee3
randomize IBAN for tests 2021-02-12 21:51:09 +01:00
ms
2bfb7853fd
formatting 2021-02-12 19:28:54 +01:00
ms
3197c86286
abstracting Libeufin users creation 2021-02-12 19:24:30 +01:00
58ef1e13df
fix build error from rename 2021-02-09 19:40:24 +01:00
8c92499d85
idb: add first web platform tests, fix issues detected by them 2021-02-08 19:59:19 +01:00
5ff5a686e4
organize imports 2021-02-08 15:38:34 +01:00
4452984a24
idb-bridge: remove cyclic dependencies, rip out api extractor 2021-02-08 15:23:44 +01:00
883637d3f2
allow fault injection callbacks to run async code 2021-02-08 13:02:55 +01:00
MS
48fa2ccea1
libeufin tutorial: testing up to payment preparation 2021-02-05 16:24:06 +01:00
MS
7601973362
formatting 2021-02-05 14:38:34 +01:00
MS
dab052673c
libeufin tutorial: asking downloaded transactions 2021-02-05 14:36:10 +01:00
MS
08bd143424
libeufin tutorial: testing bank connection 2021-02-05 13:52:20 +01:00
f234eef469
increase pay timeout 2021-02-05 12:10:56 +01:00
8fe6cff297
fix payment-fault test case (only drop deposit responses) 2021-02-05 11:56:25 +01:00
MS
a8ac8d2925
formatting code 2021-02-05 11:11:39 +01:00
MS
006948801e
Custom dict extender gone. 2021-02-05 11:06:31 +01:00
4e6b156156
increase timeout for test 2021-02-04 19:27:10 +01:00
8425d79d48
make auth token optional 2021-02-04 18:26:22 +01:00
b4d85be1c8
formatting 2021-02-04 18:20:23 +01:00
f262b28812
use new auth token for merchant in integration tests 2021-02-04 17:13:31 +01:00
83937a7198
per-test timeout 2021-02-04 16:22:05 +01:00
aa6cba1533
remove bogus argument 2021-02-04 16:16:31 +01:00
98d205badb
also report test results when parent gets killed 2021-02-04 15:32:26 +01:00
aefc3f26b6
timeout for tests 2021-02-04 15:08:08 +01:00
MS
c0904936e4
formatting code 2021-02-04 14:41:01 +01:00