Commit Graph

1072 Commits

Author SHA1 Message Date
MS
1d711d441d
Anastasis facade: check transactions number 2021-08-17 23:16:51 -11:00
MS
2450ecbe6a
enable Anastasis facade test, and call API. 2021-08-17 03:53:16 -11:00
MS
93b455a28a
Anastasis API helper function. 2021-08-16 23:21:35 -11:00
MS
1f255b7f4e
Extend test tooling to create Anastasis facades. 2021-08-16 22:31:04 -11:00
MS
daf9dc507e
Anastasis facade tooling. 2021-08-16 03:19:44 -11:00
ec713f04b8
better coverage for merchant spec test 2021-08-16 13:33:31 +02:00
MS
0f851aceed
Fix use of validateStatus(). 2021-08-15 23:43:19 -11:00
MS
de7e4ee015
tests: POSTing malformed facade creation. See bug 6971. 2021-08-14 22:37:57 -11:00
Sebastian
e9bb85a212
new wallet UI and more tests 2021-08-13 18:04:30 -03:00
eb553be841
merchant spec test: adapt to updated spec 2021-08-13 14:41:25 +02:00
9e07bc9963
merchant spec: more checks 2021-08-13 14:28:54 +02:00
2f945b2aeb
merchant test cases 2021-08-12 21:01:40 +02:00
df77676977
convert performance.now to integer before converting to BigInt 2021-08-12 19:20:48 +02:00
Sebastian
abbf899b97
add ex handling on wallet init 2021-08-09 10:43:02 -03:00
Sebastian
2ec3f4a5d5
initialization for webextension 2021-08-09 10:41:02 -03:00
425ea0fbca
tests: logging for test-paywall-flow 2021-08-08 13:35:35 +02:00
5f06ce16be
use valid BIC in test 2021-08-07 22:09:46 +02:00
fb0f8043ea
reset deposit lastError 2021-08-07 18:19:04 +02:00
f40593185a
remove extra slash 2021-08-07 18:02:16 +02:00
c077c0d8c0
consider deposit operations for pending operations 2021-08-07 17:59:06 +02:00
e9da70b5b8
construct deposit URL correctly 2021-08-07 17:40:31 +02:00
ms
93e9c3b6cf
Sandbox: testing balance 2021-08-07 17:06:39 +02:00
34c405f4c9
adjust libeufin test cases 2021-08-07 12:39:26 +02:00
20ffa834d8
tag test properly 2021-08-06 18:51:37 +02:00
06db37640e
perf: do bulk read 2021-08-06 17:15:46 +02:00
05e52d4e11
perf and logging improvements 2021-08-06 16:27:18 +02:00
9026b0aaad
merchant test: pass h_contract 2021-08-06 11:45:08 +02:00
ea0e058b34
merchant test: auth is not a management API 2021-08-05 22:55:58 +02:00
b0e05fcdbc
typo 2021-08-05 22:49:54 +02:00
cd15937dad
fix section comparison 2021-08-05 22:43:14 +02:00
09b07d6147
fix typo in wire gateway client invocation 2021-08-05 21:52:38 +02:00
6141d214b9
typo in error message 2021-08-05 21:49:11 +02:00
Sebastian
8dbf127083
issue #6945: Move instance management API to /management instead of /private 2021-08-05 15:02:56 -03:00
e073f3a793
typo 2021-08-05 00:03:41 +02:00
8e41165f45
debian: bump version 2021-08-05 00:02:49 +02:00
d86714eaba
linting 2021-08-04 23:58:50 +02:00
77b16392b0
linting logic 2021-08-04 23:32:34 +02:00
0439096a53
improved denomination generator 2021-08-04 23:26:47 +02:00
9769f69601
linting 2021-08-04 23:16:08 +02:00
dadf7a943c
more checks 2021-08-04 22:43:09 +02:00
8210480bdd
fix condition 2021-08-04 22:35:03 +02:00
3ca05c0906
linting 2021-08-04 22:32:23 +02:00
04e7315d4d
linting 2021-08-04 22:24:06 +02:00
0c6bb04356
linting 2021-08-04 21:58:21 +02:00
c3f23d0eab
fix test expectation in merchant-exchange-confusion 2021-08-04 18:40:39 +02:00
20611fe6e0
linting 2021-08-04 18:14:37 +02:00
4293b91abc
linting 2021-08-04 18:08:24 +02:00
acaa2282b6
linting 2021-08-04 18:05:41 +02:00
17f2132b4a
fix test expectation in merchant-refund-api 2021-08-04 17:47:28 +02:00
f88e14f66d
towards exchange linting 2021-08-04 17:14:52 +02:00
18c8cebbcd
add test to righ test suite 2021-08-04 13:45:24 +02:00
ec0ebb09e2
adapt integration tests to new exchange configuration 2021-08-04 12:49:46 +02:00
a8e5b95682
integration tests: check that TWG base URLs look well-formed 2021-08-04 12:40:49 +02:00
f92cbdbf47
better default config location detection 2021-08-04 12:21:05 +02:00
a123569677
test libeufin facade creation CLI 2021-08-03 14:00:49 +02:00
Sebastian
74b2d2fec5
add language selector 2021-08-02 11:34:54 -03:00
Sebastian
c9a6f3d454
removing missing select 2021-08-02 11:34:54 -03:00
049227bfd9
missing file 2021-08-02 16:23:17 +02:00
fc2be33e32
deployment helpers 2021-08-02 15:20:00 +02:00
a8a4f76ed8
implement new GNUnet config features 2021-08-02 14:11:39 +02:00
fe44c84c09
initialize wallet 2021-08-02 10:54:25 +02:00
aaf219807d
debian 2021-08-02 10:03:13 +02:00
3427e2f016
debian 2021-08-02 09:46:16 +02:00
Jonathan Buchanan
4f88d7f896
taler-wallet-core ios compatibility 2021-07-30 17:35:38 -04:00
ms
f448f94aea
testing: delay to allow ingestion 2021-07-30 12:12:26 +02:00
ms
a6016952e6
fix IBAN generator 2021-07-30 11:09:17 +02:00
ms
263b1e7751
Fix libeufin refund test.
The ingestion needed a delay to take place.
2021-07-30 10:53:26 +02:00
ms
2ccfa3c2f2
testing: give option to restart merchant without DB reset. 2021-07-30 09:46:19 +02:00
ms
acf041d144
Reflect API change (public_reorder_url) in taler-util 2021-07-29 17:26:02 +02:00
ms
59b6615093
Adapt tests to new API.
Putting public_reorder_url beside any mention
of fulfillment_url, since tests used the latter
in the sense of the former.
2021-07-29 17:12:46 +02:00
ms
172044f022
Fix tipping test.
This test case used to stop+start the merchant along the
run.  This made the DB erased, and got the tip reserve information
lost.  stop+start is now commented out
2021-07-29 16:40:02 +02:00
ms
3de34849b8
testing: provide default instance beforehand 2021-07-29 16:11:02 +02:00
ms
2a86e4c721
testing: provide default instance beforehand 2021-07-29 16:03:08 +02:00
ms
58c3a17b3e
Testing: convenience method to make default instances.
This will facilitate those tests needing a merchant
backend, since it is currently not possible to make
instances without having first a default instance defined.
2021-07-29 15:42:23 +02:00
ms
3450c1617f
testing: reset exchange tables before start 2021-07-29 10:43:01 +02:00
ms
d725d82338
remove incorrect comment 2021-07-29 09:07:35 +02:00
ms
96640c5741
test harness: resetting merchant tables before starting it 2021-07-29 09:06:03 +02:00
ms
a415545644
Instances test auth.
Commenting out 401-responded call due to its use
of the old auth policy of the merchant backend.
2021-07-28 14:34:18 +02:00
Sebastian
37031700d0
aplying design changes in provider details ui 2021-07-27 17:05:59 -03:00
ms
fbf1b3e9bf
Sandbox keyrotation testcase. 2021-07-27 10:08:00 +02:00
ms
d591933890
(sandbox) key-rotation command 2021-07-27 07:55:45 +02:00
ms
375b3af7e8
Configure Sandbox before tests 2021-07-27 07:27:14 +02:00
ms
a4bfce6e93
Debian packaging deps (Node) 2021-07-27 07:27:14 +02:00
Sebastian
44551245da
i18n 2021-07-26 11:33:49 -03:00
e70e664da9
fix test case 2021-07-22 18:58:45 +02:00
Sebastian
56902288c6
added fake header to stories 2021-07-16 12:00:41 -03:00
Sebastian
2b9686ccc6
added missing implementation in wallet cli 2021-07-16 10:12:22 -03:00
Sebastian
6d3db4ce6c
added remove button and more complex add-provider interaction 2021-07-15 15:05:16 -03:00
Sebastian
7c2d2a3e15
simplest implementation to remove one provider, also added a user-defined name for provider 2021-07-15 15:05:15 -03:00
Sebastian
18c5371d65
balance refactor 2021-07-14 15:21:40 -03:00
ms
4f53189536
debian package 2021-07-14 15:33:30 +02:00
Christian Grothoff
f30705623b
-fix typo 2021-07-14 14:34:58 +02:00
Sebastian
99163fe80d
refactored transaction details 2021-07-13 15:33:28 -03:00
72f7664c70
comment 2021-07-13 14:13:38 +02:00
e2287d6d5b
make TextEncoder/Decoder creation lazy for polyfill to work 2021-07-13 14:10:38 +02:00
50bbaa40db
cli: polyfill for older node versions 2021-07-13 13:55:52 +02:00
Jonathan Buchanan
dd92fea21e
increase minor version number 2021-07-12 20:48:20 -04:00
Sebastian
1527b6c5f0
moved out function creation from render 2021-07-12 14:49:00 -03:00
Sebastian
0cf52a2812
styles for provider detail page 2021-07-12 14:48:59 -03:00
1c0cce3f58
tolerate zero-value payments 2021-07-12 15:55:31 +02:00
2667d741e9
add test for zero-value payments 2021-07-12 15:55:19 +02:00
2a48caa341
improve error messages in DB transactions 2021-07-12 15:54:25 +02:00
0b854299d1
formatting 2021-07-12 15:13:04 +02:00
Sebastian
9699510369
refactored ui add provider 2021-07-10 00:33:31 -03:00
Sebastian
d29499b80a
migration css to linaria 2021-07-09 23:15:53 -03:00
ms
5881d957ca
env var name 2021-07-09 16:54:10 +02:00
ms
ec038c407f
env var name 2021-07-09 13:51:33 +02:00
ms
a3d22f7313
improve tests symlink's name 2021-07-09 13:15:50 +02:00
Sebastian
655c5fc18a
add more backup stories, sync by one provider 2021-07-08 15:23:58 -03:00
ms
ba995882ba
introducing a health check for demo.taler.net. 2021-07-08 09:34:38 +02:00
Sebastian
ebfc79756f
add providers filter to runBackupCycle 2021-07-07 13:28:10 -03:00
Jonathan Buchanan
ff09c98f3b
change taler-wallet-android to taler-wallet-embedded 2021-07-07 02:42:55 -04:00
Sebastian
678a90934c
refactored backup sync UI 2021-07-06 12:44:25 -03:00
Sebastian
550905f0e7
add provider examples 2021-07-01 15:42:40 -03:00
Sebastian
26a1280960
first working version of provider 2021-07-01 11:33:49 -03:00
Sebastian
7ba3327322
exported backup types from wallet core 2021-07-01 11:33:48 -03:00
Sebastian
a8e4f2d612
take backup info from wallet-core 2021-07-01 00:35:50 -03:00
Sebastian
23dab91ee9
first backup list prototype 2021-06-30 18:24:08 -03:00
Sebastian
05e89a3cf7
developer mode 2021-06-30 00:24:52 -03:00
Sebastian
b43c476590
handler transaction error on details and added retry button 2021-06-28 11:38:38 -03:00
42fe576320
implement backup scheduling, other tweaks 2021-06-25 13:27:06 +02:00
3603a68669
sync: handle HTTP 304 correctly 2021-06-23 13:06:32 +02:00
eaced5ca63
set gzip timestamp to 0 in backup blob 2021-06-23 11:46:10 +02:00
6c14268c1a
skip existing coins when applying a pay coin re-selection 2021-06-23 10:18:40 +02:00
09d1dd83ec
prevent conflicting coin allocation with concurrent payments 2021-06-22 18:43:11 +02:00
39c4b42daf
implement long-polling for auto-refunds 2021-06-22 15:30:19 +02:00
c51b372abe
comment 2021-06-22 14:55:54 +02:00
e35c2f581b
simplify task loop, test coin suspension 2021-06-22 13:52:28 +02:00
7383b89cab
get rid of cyclic imports 2021-06-22 12:18:12 +02:00
Sebastian
c4f46cb9d2
sed /forget/delete/ 2021-06-21 12:54:26 -03:00
Sebastian
d42a74565e
fix #6042 2021-06-21 10:08:35 -03:00
Sebastian
0d86f84dc0
fix some pixel and css classes and sync storybook 2021-06-21 10:08:35 -03:00
Sebastian
c7f0e48323
fix height in storybook 2021-06-20 20:54:58 -03:00
Sebastian
6a2943618e
fix height, wallet popup should stay at 400x320 2021-06-20 20:52:38 -03:00
Sebastian
956fc35a20
wallet transaction detail view 2021-06-20 20:52:38 -03:00
Sebastian
7f3ce304cb
missing globalThis Polyfill, remove duplicate url util 2021-06-20 16:14:56 -03:00
Sebastian
221e71b916
remove missing debugger 2021-06-20 16:14:56 -03:00
99550b0011
hide internal wallet state, keep it internal to package 2021-06-17 21:06:54 +02:00
Sebastian
954ed23911
using block inside case of switch breaks when building with babel 7
see https://github.com/babel/babel/issues/8709
2021-06-17 13:16:15 -03:00
a4902de891
temporary fix for exchange operations 2021-06-17 18:06:25 +02:00
Sebastian
1c7423dbad
fix support with webpack{4,5} in browser environment
added missing .js extension to the imports
split index
use browser field in package json
2021-06-17 12:49:47 -03:00
46f3fcbbfb
fix up import 2021-06-17 15:54:26 +02:00
a70d37ef16
towards factoring out cyclic dependencies 2021-06-17 15:49:05 +02:00
453656b240
clean up imports 2021-06-17 14:31:13 +02:00
a7c1f7d012
add --quiet flag to test runner 2021-06-17 14:18:05 +02:00
5df7ddba97
use the new wallet core API interface in all tests 2021-06-17 13:35:08 +02:00
Sebastian
0b4976601f
components renaming to follow react pattern 2021-06-16 18:21:15 -03:00
Sebastian
d58945c830
split wallet/popup components. created hooks, components, context folder 2021-06-16 17:17:18 -03:00
Sebastian
86636142a2
split wallet,popup .html 2021-06-16 17:17:18 -03:00
Sebastian
562b2cf8d2
fix: ReferenceError: state is not defined 2021-06-16 17:17:17 -03:00
Sebastian
2bb98b1315
clean and build script, for fresh tests 2021-06-16 17:17:17 -03:00
b4b0d3ff61
allow any string as forgettable field salt 2021-06-16 12:04:06 +02:00
97091fd45f
add 'payment-forgettable' integration test 2021-06-16 12:02:08 +02:00
1124c709ac
use same salt derivation as C code for forgettable fields 2021-06-16 11:44:05 +02:00
52b8785d95
adjust imports 2021-06-15 19:01:05 +02:00
f0d5fe3ed6
split out wallet core API types 2021-06-15 18:58:11 +02:00
d41ae5eb97
separate wallet state from wallet client 2021-06-15 18:52:43 +02:00
4b16d7bd34
fix module bundling config 2021-06-14 19:38:17 +02:00
ef636c022b
implement force-retrying transactions 2021-06-14 19:37:35 +02:00
b4f97f4592
make CSPRNG work on ES6 2021-06-14 18:19:18 +02:00
1cde390c23
fix up imports, no more esm in tests 2021-06-14 16:08:58 +02:00
bed86d9613
add missing await 2021-06-14 11:58:11 +02:00
cc795f350a
store ToS acceptance timestamp, remove unused backup attributes 2021-06-14 11:45:19 +02:00
6e11b69cf5
allow changing the wallet device ID 2021-06-14 11:21:29 +02:00
9acd4a4060
increase test timeout, because merchant's own exchange timeout is rather large 2021-06-11 13:33:34 +02:00
af2ad00d84
store exchange public key with signature on denomination 2021-06-11 13:26:18 +02:00
7d15ce3d88
make retryInfo optional 2021-06-11 13:18:33 +02:00
e77510106f
simplify retry timeout handling 2021-06-11 11:15:08 +02:00
8ad36d89f5
simplify pending transactions, make more tests pass again 2021-06-10 16:32:37 +02:00
7b7e3b4565
transaction fixes 2021-06-10 10:37:49 +02:00
67e5d68b93
fix merchant instance creation in some tests 2021-06-10 10:00:36 +02:00
0ee44c3a58
add missing await 2021-06-09 16:47:45 +02:00
2d4a53f522
return transaction context 2021-06-09 16:20:50 +02:00
029b07be4b
imports 2021-06-09 15:43:48 +02:00
3d2b7b2a65
formatting: re-run prettier 2021-06-09 15:26:18 +02:00
5c26461247
database access refactor 2021-06-09 15:24:19 +02:00
Sebastian
68dddc848f
bump version @gnu-taler/taler-util 2021-06-09 09:37:55 -03:00
Sebastian
edfe5389b2
adding some translation 2021-06-08 17:18:24 -03:00
Sebastian
1d55c551bb
moving strings from wallet-core to web-extension 2021-06-08 17:18:24 -03:00
Sebastian
2e1438eb04
moving logger into taler-util 2021-06-08 17:18:24 -03:00
Sebastian
2c5612fd63
moving i18n into taler util 2021-06-08 17:18:23 -03:00
Sebastian
b9b6ac0cda
better label for the fields 2021-06-08 09:17:17 -03:00
Sebastian
e1b363c7dd
delete database when pressing reset-db 2021-06-04 12:42:35 -03:00
Sebastian
e223c01275
handle reset click, still need to delete database but the funcionality is missing for firefox 2021-06-04 12:42:34 -03:00
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
MS
39723f6f97
libeufin-tutorial test: up to key-letter generation 2021-02-04 14:38:47 +01:00
MS
5765c51b2e
logging stdout 2021-02-03 15:09:13 +01:00
MS
fcbfe67122
libeufin tutorial test: create ebics host 2021-02-03 14:54:56 +01:00
MS
a98a7cd051
prettified sources 2021-02-03 14:35:29 +01:00
MS
a3b84dca53
libeufin tutorial test: check sandbox step 2021-02-03 14:34:31 +01:00
MS
d8c4b2734e
libeufin tutorial test skeleton 2021-02-03 13:05:10 +01:00
Sebastian
4845ebddf6
0006728: set up wallet CI pipeline for WebExtension build
This commit split in three main things:
 * added deploy-webext to upload the extension zipfile
 * put scope into the npm packages to be able to deploy them
 * added deploy-npm to deploy related npm packages

Also, fixing bug on `make clean`. Some packages where not
being deleting tsconfig.tsbuildinfo and making subsequent
`make` fail
2021-02-01 17:07:22 -03:00
MS
69aaaefce3
prettify code 2021-02-01 13:38:15 +01:00
MS
c3ca3aa7fc
Allow passing a env when running processes.
This brings the libeufin-basic test to pass.
2021-02-01 13:13:43 +01:00
ca2943b270
add missing prepare scripts 2021-01-29 11:47:03 +01:00
6732d252dc
dependencies 2021-01-29 11:38:28 +01:00
4aded2bfef
type annotation 2021-01-29 11:36:55 +01:00
f40eb79090
prepare script 2021-01-22 15:49:34 +01:00
9452d8c992
version bump 2021-01-22 15:49:05 +01:00
470edf886a
upgrade dependencies 2021-01-22 15:39:58 +01:00
60030ec06a
npm files 2021-01-22 14:56:00 +01:00
e3797d2577
prepare command 2021-01-22 14:54:03 +01:00
a1c3547db4
taler-wallet-core: version bump 2021-01-22 14:52:04 +01:00
5fdc11701a
idb-bridge: version bump 2021-01-22 14:47:59 +01:00
3e59696eda
DCE 2021-01-22 14:39:47 +01:00
bd6972233d
add permissions to libeufin integration test 2021-01-20 20:31:32 +01:00
5f3c02d31a
implement deposits 2021-01-18 23:35:41 +01:00
f884193b1a
rename taler-helper-crypto-* to taler-exchange-secmod-* 2021-01-17 20:08:12 +01:00
e3fa019e14
bump extension version 2021-01-17 18:34:01 +01:00
b1056b4c20
actually display fees instead of effective amount 2021-01-17 18:33:25 +01:00
9aa9742d0e
implement the big LibEuFin integration test 2021-01-17 01:18:37 +01:00
94431fc6d2
work around path limits 2021-01-15 19:19:38 +01:00
e273724b1c
remove debug delay in test 2021-01-15 18:43:28 +01:00
69b58e65ee
set TALER_RUNTIME_DIR correctly 2021-01-15 17:09:33 +01:00
c30bcc5e7e
delay in test for debugging 2021-01-15 13:48:33 +01:00
a90565f263
rename 2021-01-14 18:48:01 +01:00
6233fd39c3
bump version, compat fix 2021-01-14 18:47:18 +01:00
2309d9a03c
coin name 2021-01-14 18:13:12 +01:00
93633ac683
logging 2021-01-14 18:04:17 +01:00
19eb72e277
logging, cosmetic fixes 2021-01-14 18:00:00 +01:00
6293de7bfa
fix reserve state machine bug, use simpler denominations in revocation test 2021-01-14 17:24:44 +01:00
657c4b6377
merchant exchange confusion test 2021-01-14 01:47:56 +01:00
e70144405c
exit from worker process 2021-01-13 13:48:28 +01:00
e44b86b084
log harness output to file 2021-01-13 13:33:25 +01:00
9139a08c4d
run integration tests in worker process 2021-01-13 13:17:38 +01:00
94e35ca70a
fix pay-abort integration test 2021-01-13 01:19:23 +01:00
096d21189c
typo 2021-01-13 00:55:47 +01:00
7de5ceaa74
auto format 2021-01-13 00:51:30 +01:00
050999a910
implement infrastructure for future DB migrations via backup 2021-01-13 00:50:56 +01:00
a5681579fb
make integration tests part of taler-wallet-cli 2021-01-12 20:04:16 +01:00
6772c54793
backup WIP 2021-01-12 17:17:34 +01:00
a10f9650b2
integration test: drop less responses 2021-01-11 00:46:28 +01:00
270d84d611
remove excessive logging 2021-01-11 00:22:06 +01:00
57d7c988b3
exchange protocol changes 2021-01-10 23:59:11 +01:00
c0dfcf247c
backup schema 2021-01-10 23:57:06 +01:00
8921a5e8f2
implement import of backup recovery document 2021-01-08 13:30:29 +01:00
324f44ae69
backup cycle 2021-01-07 19:50:53 +01:00
2650341042
implement backup encryption, some more CLI commands 2021-01-07 18:56:09 +01:00
b2e213bae6
imports 2021-01-07 15:32:04 +01:00
e0f574e23c
re-add secretbox functionality of nacl 2021-01-07 15:31:07 +01:00
a3313ce3f8
nacl: apply fix for overflow
See https://github.com/dchest/tweetnacl-js/issues/187
2021-01-07 15:05:36 +01:00
e319e99ef9
restore denom selection on import 2021-01-07 15:01:23 +01:00
3773a4cdff
browser fixes 2021-01-06 18:09:59 +01:00
af08b2d1fe
bump version 2021-01-06 17:06:31 +01:00
458777c5a2
fix tipping planchet derivation 2021-01-06 17:06:19 +01:00
c032931f22
get basic test cases to work with new exchange 2021-01-05 17:59:50 +01:00
981ef46267
fix import 2021-01-05 11:26:29 +01:00
03810fd248
backup import 2021-01-04 13:30:38 +01:00
95568395ce
backup import WIP 2020-12-21 13:23:07 +01:00
84d5b5e5ef
export complete backup, derive planchets in withdrawal 2020-12-17 12:21:03 +01:00
bafb52edff
don't store reserve history anymore, adjust withdrawal implementation accordingly 2020-12-16 17:59:04 +01:00
c09c5bbe62
derive tipping planchets from seed, implement backup further 2020-12-15 17:12:22 +01:00
f332d61fb6
formatting pass 2020-12-14 16:45:15 +01:00
c4b44a5109
slightly more helpful error message 2020-12-14 16:45:10 +01:00
12234083ec
derive refresh info from secret seed 2020-12-14 16:44:42 +01:00
80a0fab126
backup schema 2020-12-10 17:50:17 +01:00
c27a7abfba
backup WIP (getting it back to build) 2020-12-08 19:53:59 +01:00
abb422e14a
fee display regression test 2020-12-08 14:26:06 +01:00
80f5d2d0f3
make coins part of their denomination in backup 2020-12-08 12:16:01 +01:00
0e33e540f3
CRDT-style tombstones 2020-12-07 23:32:20 +01:00
6f474a3b9d
store device ID 2020-12-07 23:19:14 +01:00
d3cc20b6cc
remove some redundancy 2020-12-07 23:13:55 +01:00
105898bf6e
recoup groups are also part of the backup 2020-12-07 23:11:57 +01:00
3a85de7fa4
do not store derived information information 2020-12-07 23:07:03 +01:00
6d7978986b
comment 2020-12-07 23:00:54 +01:00
e78df9b6b1
backup schema WIP 2020-12-07 22:54:36 +01:00
bd88f3f443
backup schema WIP 2020-12-07 20:24:16 +01:00
bbd65fc4b7
restore blind signing compatibility with exchange 2020-12-07 15:59:37 +01:00
2c536d140f
tvgcheck 2020-12-03 14:15:40 +01:00
ca140d9905
add old test vector 2020-12-02 22:27:42 +01:00
1ad064a2a5
regression tests 2020-12-02 21:56:20 +01:00
92885fa155
run until done at end of test 2020-12-02 17:05:28 +01:00
89f1a281fe
backup WIP 2020-12-02 14:55:04 +01:00
0828e65f88
fix static types 2020-11-27 11:23:06 +01:00
4e481a51c6
more static typing for transactions (fixes #6653) 2020-11-26 22:14:46 +01:00
2b19594e7a
hide transient errors when accepting a tip 2020-11-26 12:27:31 +01:00
c0006300cf
bump version for upload 2020-11-25 20:24:12 +01:00
f2bbe872cf
better docker instructions 2020-11-25 18:27:58 +01:00
68dcb13fbf
clearer name 2020-11-25 16:05:50 +01:00
9cd1062f1b
towards a nicer transaction history 2020-11-18 17:33:02 +01:00
d6409f185d
re-enable tipping support in the WebExtension UI 2020-11-18 12:44:06 +01:00
636d3cd30c
changelog 2020-11-17 18:04:25 +01:00
3d5a766b5f
update version and dependencies 2020-11-17 12:28:51 +01:00
af5a35def0
only query tip status on first call to prepare 2020-11-16 16:17:26 +01:00
768ecfc600
check for idempotency in tip integration test 2020-11-16 14:52:16 +01:00
7e07ad6b2a
use index to check existing tip record 2020-11-16 14:48:33 +01:00
deaeb17c02
fix schema upgrade in memoryidb backend 2020-11-16 14:32:06 +01:00
292160f7e9
fix tip record creation, migrate DB 2020-11-16 14:12:37 +01:00
61f51d69ad
don't try to run non-existent test cases for UI 2020-11-09 10:40:11 +01:00
Christian Grothoff
8f69fadc1f
fix typo 2020-11-08 23:29:06 +01:00
Christian Grothoff
c17a9392cb
fix typo 2020-11-08 23:27:19 +01:00
f27a85735d
update error codes 2020-11-08 14:09:33 +01:00
Christian Grothoff
c5b25d1cbd
update error codes 2020-11-08 01:20:50 +01:00
df91441296
handle transient pay errors (fixes #6607)
Also add a test case for the behavior.
2020-11-04 12:07:34 +01:00
dffb293f2a
check contract terms signature, handle errors 2020-11-03 17:39:30 +01:00
0d37ec5e91
complain about merchant base URL mismatch, fixing #6616 2020-11-03 16:46:43 +01:00
ce326361b4
update error codes 2020-11-03 16:03:27 +01:00
ca343e4e00
fix broken integration tests due to merchant API changes 2020-11-03 15:56:02 +01:00
e259d109ef
fix CheckPaymentPaidResponse schema 2020-11-03 13:47:02 +01:00
MS
7008de598d
fix 'taler+http://' interpretation 2020-10-02 17:16:19 +02:00
MS
aff5ee6b80
prefer DEBUG level for merchant at tests 2020-09-26 11:06:34 +02:00
MS
13c32b0314
h_contract is also welcome in the order status url 2020-09-25 16:56:11 +02:00
MS
2c0464b494
Finalizing loop's cause reproduction. 2020-09-25 16:50:26 +02:00
MS
ae898c63fa
drafting loop reproduction 2020-09-25 15:47:04 +02:00
MS
af962c90ba
no test for android package 2020-09-18 20:11:38 +02:00
MS
0ff387c6f5
fix bank invocation, skip tests when not present. 2020-09-18 19:15:20 +02:00
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