Commit Graph

2649 Commits

Author SHA1 Message Date
Sebastian
183aed4ba5
tip -> reward 2023-08-30 11:54:08 -03:00
Sebastian
84d4e68ab7
missing key subscription 2023-08-30 11:52:44 -03:00
aba173d8a9
wallet-core: open DB inside wallet handle, back up meta DB as well 2023-08-30 16:51:51 +02:00
53613a137d
-only store key if necessary 2023-08-30 16:08:51 +02:00
d19aef746c
wallet-core: towards DD48 2023-08-30 15:54:56 +02:00
88f7338d7c
wallet-core,wallet-cli: properly serialize manual DB export 2023-08-30 15:54:44 +02:00
e02a4eb990
Merge branch 'master' into age-withdraw 2023-08-30 12:56:35 +02:00
557213f9c4
wallet-core,harness: get p2p tests to pass again 2023-08-30 09:54:47 +02:00
1ad2f4cbe9
wallet-core: do p2p coin selection based on coin availability records 2023-08-29 20:35:49 +02:00
d42a06607b
Merge branch 'master' into age-withdraw 2023-08-29 19:39:09 +02:00
a386de8a9c
wallet-core: split coin selection and instructed amount conversion 2023-08-29 18:33:51 +02:00
5852b5cf2e
wallet-core: update deposit signature 2023-08-29 14:22:43 +02:00
5aa883b5d1
repo: make incremental builds faster, don't use TypeScript build mode
(build mode should not be necessary since pnpm handles dependencies inside the repo)
2023-08-29 13:55:14 +02:00
f86e23255a
-organize imports 2023-08-29 13:54:32 +02:00
a0d92d086f
taler-wallet-core: bump exchange version number 2023-08-29 13:54:01 +02:00
ebb1c58e7a
wallet-core: remove usage of /wire 2023-08-29 13:44:50 +02:00
9402aeef5b
taler-harness: clean up shared test env on start 2023-08-29 10:16:18 +02:00
55bdc161b5
taler-harness: add exchange-purse test 2023-08-29 09:46:43 +02:00
b13bd85215
taler-harness: remove axios usage, renovate some tests 2023-08-29 09:03:19 +02:00
dd4b96e1e6
Merge branch 'master' into age-withdraw 2023-08-28 19:40:26 +02:00
Sebastian
8941f29cb4
fix build 2023-08-28 11:16:28 -03:00
fe7b4c8c0c
Merge branch 'master' into age-withdraw 2023-08-28 14:46:20 +02:00
c95740f1e8
taler-util: make config parsing more compliant with spec 2023-08-25 14:11:23 +02:00
a58f73ecdb
Merge branch 'master' into age-withdraw 2023-08-25 13:24:30 +02:00
5ab3070b3a
Merge branch 'master' into age-withdraw 2023-08-25 13:24:08 +02:00
896841aec5
taler-util: set [PATH] defaults 2023-08-25 11:53:06 +02:00
3d6cff9c84
harness: modernize some tests, temporarily disable revocation test 2023-08-25 11:22:52 +02:00
6cc3fb3d04
harness: modernize some tests 2023-08-24 18:30:03 +02:00
Sebastian
f5596767e1
fix broken build 2023-08-23 14:34:01 -03:00
ec3ae6f5e3
harness: parallelize service startup 2023-08-23 17:04:17 +02:00
7fbe28e640
harness: reusable test env 2023-08-23 16:24:41 +02:00
Sebastian
ef5962cd3c
fix #7882 2023-08-23 10:46:06 -03:00
d0d19c2e88
harness: specify use_stefan in merchant backend 2023-08-23 14:48:03 +02:00
9be4034cc0
harness: shared test environment WIP 2023-08-23 14:40:23 +02:00
2051aded50
-formatting / don't use deprecated method 2023-08-23 14:06:37 +02:00
1ee601f70f
-missing file 2023-08-23 09:07:43 +02:00
0a05f6d903
wallet-core: always use batch withdrawal 2023-08-22 16:37:27 +02:00
b9f908db58
-logging 2023-08-22 16:37:16 +02:00
828e4ad3ef
wallet-core: use sqlite for in-memory DB 2023-08-22 08:55:33 +02:00
a748ebd053
harness: remove unused file 2023-08-22 08:54:48 +02:00
8c670bd06d
wallet-core: simplify/optimize async condition 2023-08-22 08:54:28 +02:00
f9d1c4a89e
wallet-core: wake up task loop on tx status changes 2023-08-22 08:54:05 +02:00
b2d0ad57dd
sqlite3 backend for idb-bridge / wallet-core 2023-08-22 08:01:13 +02:00
Krystian Baran
58fdf9dc09
Translated using Weblate (Italian)
Currently translated at 1.1% (6 of 531 strings)

Translation: GNU Taler/Merchant Backoffice
Translate-URL: https://weblate.taler.net/projects/gnu-taler/merchant-backoffice/it/
2023-08-16 14:43:59 +02:00
Krystian Baran
c02c1c8083
Translated using Weblate (Italian)
Currently translated at 3.1% (12 of 379 strings)

Translation: GNU Taler/webextensions
Translate-URL: https://weblate.taler.net/projects/gnu-taler/webextensions/it/
2023-08-16 14:43:59 +02:00
70fca92e78
[age-withdraw] WiP: first types and adjustments 2023-08-15 13:48:37 +02:00
Krystian Baran
adb0e70f15
Translated using Weblate (Italian)
Currently translated at 0.7% (4 of 531 strings)

Translation: GNU Taler/Merchant Backoffice
Translate-URL: https://weblate.taler.net/projects/gnu-taler/merchant-backoffice/it/
2023-08-15 09:28:43 +02:00
ed33c4dfce
Translated using Weblate (German)
Currently translated at 0.1% (1 of 531 strings)

Translation: GNU Taler/Merchant Backoffice
Translate-URL: https://weblate.taler.net/projects/gnu-taler/merchant-backoffice/de/
2023-08-15 09:28:42 +02:00
Krystian Baran
73ad4154f6
Translated using Weblate (Italian)
Currently translated at 24.1% (22 of 91 strings)

Translation: GNU Taler/Taler Bank SPA
Translate-URL: https://weblate.taler.net/projects/gnu-taler/taler-bank-spa/it/
2023-08-15 09:28:42 +02:00
Krystian Baran
58e00418cf
Translated using Weblate (Italian)
Currently translated at 2.3% (9 of 379 strings)

Translation: GNU Taler/webextensions
Translate-URL: https://weblate.taler.net/projects/gnu-taler/webextensions/it/
2023-08-15 09:28:42 +02:00
Javier Sepulveda
598a8ec8df
Translated using Weblate (Spanish)
Currently translated at 52.9% (281 of 531 strings)

Translation: GNU Taler/Merchant Backoffice
Translate-URL: https://weblate.taler.net/projects/gnu-taler/merchant-backoffice/es/
2023-08-13 12:14:14 +02:00
Javier Sepulveda
2e68d21e36
Translated using Weblate (Spanish)
Currently translated at 100.0% (379 of 379 strings)

Translation: GNU Taler/webextensions
Translate-URL: https://weblate.taler.net/projects/gnu-taler/webextensions/es/
2023-08-13 12:14:14 +02:00
d59a23885e
anastasis: policy discovery CLI 2023-08-10 15:24:43 +02:00
e6c0689806
embedded: expose anastasis reducer for testing 2023-08-09 19:43:36 +02:00
Iván Ávalos
d33b70b069
wallet-core-embedded: added Anastasis policy discovery 2023-08-07 23:47:22 +02:00
Sebastian
a204105b5b
show advance mode in settings view 2023-08-07 08:14:46 -03:00
Sebastian
b1cea84ca8
show next expiration 2023-08-07 08:14:46 -03:00
Sebastian
7d53aa2755
show simple order creation unless advance mode is selected 2023-08-07 08:14:46 -03:00
Sebastian
ef148b1501
use stringify taler util 2023-08-07 08:14:45 -03:00
Sebastian
9f776d3fb0
fix date query parameter 2023-08-07 08:14:45 -03:00
Sebastian
7d1621767c
ui settings view 2023-08-07 08:14:44 -03:00
Sebastian
8eb0183c78
fix: support for empty strings 2023-08-07 08:14:43 -03:00
Sebastian
37d0f9438e
accesstoken in memory and better login when switching between accounts 2023-08-07 08:14:43 -03:00
44aeaba7b4
wallet-core: introduce tiny digits 2023-08-05 23:56:07 +02:00
0547df9538
-remove logging 2023-08-05 23:36:32 +02:00
6286699f26
-validation 2023-08-05 23:34:37 +02:00
308a4282cb
wallet-core: mock implementation of GetCurrencyInfo 2023-08-05 23:34:37 +02:00
L
951d1b66fa
Added translation using Weblate (Dutch) 2023-08-05 13:05:17 +02:00
Sebastian
acf110dd78
added new continue after wire transfer confirmed 2023-08-04 10:10:30 -03:00
Sebastian
6f4548c892
fix signature for aml decision 2023-08-04 09:09:00 -03:00
c12a366d49
adjustment of age-commitment and -proof generation
age-withdraw requires that the public keys in the age groups that
are too large for the commitment are derived from a published public
key.
2023-08-03 21:47:59 +02:00
cf49af2bb9
harness: allow overriding the test timeout via env variable 2023-08-03 21:44:43 +02:00
ee47aa4837
fix integration tests
Instead of using the deprecated runUntilDone, we now wait
for specific notifications.

The old way doesn't work, since p2p push transactions are not considered
done until the counterparty has accepted the payment.
2023-08-03 19:24:04 +02:00
57e86b759e
rename tip->reward in URI 2023-08-03 19:03:24 +02:00
0b5d0cdc71
fix version substitution 2023-08-03 18:58:44 +02:00
3d7df63c59
fix taleruri test failure 2023-08-03 18:40:25 +02:00
fdbd55d2bd
-towards tip->reward rename 2023-08-03 18:35:07 +02:00
475fdb502b
organize imports 2023-08-02 16:27:59 +02:00
Sebastian
21f678ead9
fix #7800 2023-08-02 10:59:19 -03:00
Sebastian
72b8a70da2
fix #7830 2023-08-02 10:41:14 -03:00
Sebastian
60929c34f3
use local port 2023-08-02 10:30:40 -03:00
Sebastian
22a3017d52
removing import assert since it breaks with linaria 2023-08-02 09:49:14 -03:00
Sebastian
efed6b32c5
fix #7717 2023-08-02 07:40:28 -03:00
e3460de331
-comments 2023-07-31 15:57:12 +02:00
Iván Ávalos
0ac5dba088
taler-wallet-embedded: add argon2id test 2023-07-26 12:09:17 -06:00
Iván Ávalos
0f6310bba4
wallet-core-embedded: add initial states to Anastasis handler 2023-07-26 12:09:17 -06:00
Iván Ávalos
5a91ec2da6
Move anastasis CLI into separate package 2023-07-26 12:09:17 -06:00
72a0da7bbe
anastasis-core: tsconfig 2023-07-26 12:09:17 -06:00
Iván Ávalos
e0f32dc899
taler-util: import hash-wasm only when building for Node 2023-07-26 12:09:17 -06:00
Iván Ávalos
ef51ba983f
WIP: initial work for Anastasis in qtart 2023-07-26 12:09:17 -06:00
0b60602833
wallet-core: task loop logging 2023-07-24 14:18:14 +02:00
Sebastian
9c17b7cd92
add missing kyc url for manual withdrawal and add support for 451 case: aml-required 2023-07-21 17:09:04 -03:00
Sebastian
7e37b34744
case details and missing decision encryption 2023-07-21 15:50:53 -03:00
Sebastian
e90f1b4206
move amount and time function to util 2023-07-21 15:50:03 -03:00
Sebastian
43f5572779
empty list when loading 2023-07-20 17:08:53 -03:00
Sebastian
c60f6c039a
add taler signature code 2023-07-20 17:03:14 -03:00
Sebastian
8288413786
prevent duplicated notifications 2023-07-20 17:02:50 -03:00
Sebastian
535c04be5c
allow signature in requestr 2023-07-20 17:02:17 -03:00
Sebastian
2335c3418c
make signed request to exchange 2023-07-20 17:01:35 -03:00
Marc Stibane
8b90bd84ab
Charge Taler wallet -> Top up Taler wallet 2023-07-13 08:44:34 +02:00
Sebastian
b7823407c0
mobile friendly 2023-07-12 15:42:43 -03:00
Marc Stibane
8c2fed4e1c
some logging INFO -> TRACE 2023-07-12 18:06:06 +02:00
Sebastian
d759f08225
repurchase detection
- check that the old transaction is not refunded
 - if the old purchase was deleted fallback to no-repurchase detected
2023-07-10 14:09:18 -03:00
Marc Stibane
742b00028e
Wording: Charge -> Top up 2023-07-10 18:47:16 +02:00
Sebastian
2f072a4c12
mark proposalid as depreacted 2023-07-10 09:44:01 -03:00
Sebastian
bf3e99ea27
show testing tag 2023-07-10 09:43:27 -03:00
Sebastian
f6b63a691b
fix node20 bug 2023-07-10 09:43:08 -03:00
Sebastian
e0c4c2155f
do not expose the noncePriv 2023-07-10 09:42:14 -03:00
cf55f3f371
bump versions to 0.9.3-dev.17 2023-07-07 14:23:45 +02:00
8b06874f42
wallet-core: support passing transactionId to confirmPay 2023-07-06 20:17:59 +02:00
Sebastian
d98f048fd6
fix 7741: add sessionid 2023-07-03 14:01:23 -03:00
Sebastian
f407ab2023
fix #7741
add integration test
2023-07-03 12:44:20 -03:00
Sebastian
545bf16cdf
fix #7741
show QR with nonce
2023-07-03 12:43:47 -03:00
Sebastian
5d76573ac0
#7741 share payment
save shared state in backup
if purchase is shared check before making the payment of before claim the order
already confirmed order can return without effective if coin selection was not made
sharePayment operation
2023-07-03 12:42:44 -03:00
Sebastian
f47b5bd783
#7741 share payment
add shared flag in db
new state purchase dialogShared
new error WALLET_ORDER_ALREADY_PAID
removing nonce from normal operation
new operation: sharePayment which returns payUri with nonce
2023-07-03 12:40:35 -03:00
Sebastian
15a15942d2
#7717 do not show walletcore version 2023-07-02 16:57:34 -03:00
5695ae0a9f
wallet-core: use testingWaitTransactionsFinal to wait for transactions 2023-07-01 01:43:29 +02:00
f93ab03a1b
wallet-core: get rid of internal runUntilDone usages 2023-07-01 00:52:14 +02:00
7a18e12a17
wallet-core: towards event-based waiting in runIntegrationTestV2 2023-06-30 23:01:48 +02:00
86e9799ffd
embedded: revert accidental/unfinished qjs change 2023-06-30 23:01:11 +02:00
bac2ac01b8
wallet-core: fix pending operation query for p2p tx 2023-06-30 22:59:50 +02:00
9cfc138e75
wallet-core: use canonicalized base URL when querying exchange 2023-06-30 22:00:20 +02:00
5754f00399
harness: check balance in basic payment test 2023-06-30 16:44:46 +02:00
e0d4f7e4af
wallet-core: properly make coins visible after refresh 2023-06-30 16:29:35 +02:00
d4ee961387
wallet-core: rename OperationAttempt->TaskRun, do not allow task result values anymore 2023-06-30 16:14:58 +02:00
7523ffa910
web-utils: create error details with correct code 2023-06-30 13:55:35 +02:00
b2fd948a54
-logging 2023-06-29 19:53:45 +02:00
424e39edda
-oops, obvious missing return 2023-06-29 12:13:52 +02:00
585fe6b996
anastasis-core: use http client from taler-util 2023-06-29 11:57:40 +02:00
Sebastian
4853f79677
fix: #7875 - show retry on pending state 2023-06-29 00:10:04 -03:00
93ab00e601
wallet-core: fixup for coin availability (visible coins) 2023-06-28 17:22:33 +02:00
3f4526847b
idb: suggest encoding improvements 2023-06-28 17:22:33 +02:00
Sebastian
28dce57f92
fix: 7740 check max on p2p push 2023-06-28 11:38:01 -03:00
Sebastian
ce3c3d7839
check currency so it wont compare coins that are not related 2023-06-28 11:36:21 -03:00
Sebastian
f1008c9661
use default http timeout from util 2023-06-28 09:49:52 -03:00
db9d6dd394
wallet-core: do not notify twice on withdrawal creation 2023-06-28 14:47:20 +02:00
79e520c415
wallet-core: only report balance-change when withdrawal finishes 2023-06-28 11:18:03 +02:00
5bbf41ce1c
wallet-core: handle 'never' timestamp in purse status 2023-06-28 11:10:35 +02:00
4e3e17edd1
wallet-core: dead code elimination 2023-06-28 10:57:24 +02:00
35ae9f2c22
wallet-core: emit balance-change notifications, do less implicit background work 2023-06-28 10:49:41 +02:00
Sebastian
97a9e92d8b
set amount for manual withdraw when the qr does not have it 2023-06-27 08:21:03 -03:00
18a3d764de
wallet-core: fix withdrawal error reporting 2023-06-26 19:51:01 +02:00
5af24c1e88
wallet-core: fix some deposit transitions 2023-06-26 19:38:57 +02:00
a844136489
wallet-core: make changes to available amount atomic
W.r.t. transactions
2023-06-26 19:27:42 +02:00
Sebastian
2779086a32
support for exchange-withdraw call to action, pending use case when the user need to specify the amount 2023-06-26 14:23:32 -03:00
Sebastian
87fc6ebf48
if checkmasterpub is specified, throw if master pub is not equal to the expected value 2023-06-26 14:22:34 -03:00
Sebastian
1e173e279f
added master pub to add-exchange (for validation) 2023-06-26 14:21:10 -03:00
Sebastian
74579ac2f2
withdraw exchange URI 2023-06-26 12:54:54 -03:00
4b61945f6b
wallet-core: return numCoins in checkPeerPullCredit response 2023-06-26 12:57:00 +02:00
eae3571607
wallet-core: allow confirmPeerPullDebit via txId 2023-06-26 12:53:32 +02:00
fca893038d
wallet-core: fix deposit tx states, long-poll on kyc 2023-06-26 12:48:20 +02:00
66432cdd05
introduce balance-change notification 2023-06-26 10:52:50 +02:00
1b22b4957d
-missing optional 2023-06-24 19:01:13 +02:00
fbab16ef23
wallet-core: allow deleting a peer-push-credit transaction in dialog state 2023-06-24 17:54:15 +02:00
1f31ebc3cc
wallet-core: allow confirming peer-push-credit via txid 2023-06-24 17:49:53 +02:00
Sebastian
4f30506dca
show qr to import TOTP into other app 2023-06-23 10:36:24 -03:00
Sebastian
9dbf0bd7d2
better wording to the tx details 2023-06-21 14:51:14 -03:00
Sebastian
7010e707ba
fix test 2023-06-21 11:34:19 -03:00
Sebastian
81bf1cc9c1
show bank details 2023-06-21 11:28:27 -03:00
Sebastian
8b85fe1775
wait 5 minutes before trigger wire transfer, prevent the exchange to make more than 1 wire transfer if the deposit takes times 2023-06-21 10:24:01 -03:00
06301efda3
-logging 2023-06-21 12:36:22 +02:00
5eb339b836
wallet-core: fix withdrawal KYC transitions and use long-polling 2023-06-21 12:21:48 +02:00
8f8674defd
-missing toplevel 'make install' components 2023-06-21 09:48:16 +02:00
709adb2d48
repo: fix Makefiles / top-level 'make install' target 2023-06-21 09:44:02 +02:00
a0e0c5c4a6
webextension: fix type error 2023-06-21 09:43:45 +02:00
ba913cd2ce
harness: wallet must always withdraw via fault-injected exchange
Otherwise, the ports in the base URL don't match and the wallet will
complain.
2023-06-21 08:54:18 +02:00
9f8faed2d1
harness: fix/modernize peer-to-peer-push 2023-06-21 08:17:25 +02:00
7dcfd02dae
harness: fix exchange base URL in tests with fault injection 2023-06-21 06:59:40 +02:00
Sebastian
34e2fd51e0
add select max amount 2023-06-20 17:50:44 -03:00
Sebastian
5c5586df99
more real cases 2023-06-20 17:50:43 -03:00
77849fdf5d
-minor rename 2023-06-20 19:43:39 +02:00
98a351aa4c
repo: bump to 0.9.3-dev.16 2023-06-20 19:42:44 +02:00
8d20ab87fa
wallet-core: consistently rename to failTransaction 2023-06-20 19:41:42 +02:00
Sebastian
32937795c5
added txactions into transaction mocks 2023-06-20 14:32:51 -03:00
Sebastian
1e9f1fb7a9
remove calculate plan (for now) implemented simpler API 2023-06-20 14:30:02 -03:00
Sebastian
d79155b634
show the button that wallet-core tells 2023-06-20 14:29:00 -03:00
Sebastian
cb3b48d316
using enum instead of string 2023-06-20 14:28:40 -03:00
Sebastian
9f07ab8d4a
remove from float 2023-06-20 11:50:34 -03:00
Sebastian
ac9b4bfd0e
parse instead of fromFloat 2023-06-20 11:50:33 -03:00
1f60ac76f9
harness: fix test-peer-repair 2023-06-20 16:19:57 +02:00
Sebastian
773712419e
log notification from wallet 2023-06-20 11:18:55 -03:00
e5a8ae7d60
wallet-core: remove redundant/unused notifications 2023-06-20 16:07:20 +02:00
Sebastian
a86c948fc9
missing removal 2023-06-20 10:55:12 -03:00
26b30a462a
wallet-core: be less spammy with self-transitions and logging 2023-06-20 15:10:51 +02:00
9c708251f9
wallet-core: emit DD37 self-transition notifications with errors 2023-06-20 11:40:06 +02:00
54f0c82999
wallet-core: fix peer-(push,pull)-debit withdrawal states 2023-06-19 16:03:06 +02:00
ffa68ce8dd
taler-harness: WIP integration test for p2p coin selection repair 2023-06-19 16:02:23 +02:00
bcff03949b
wallet-core: implement coin selection repair for p2p payments 2023-06-19 12:02:43 +02:00
Sebastian
ed01d407e7
add test to compare withdrawing KUDOS:25 with demo config 2023-06-16 09:50:19 -03:00
Sebastian
b2355a3fcb
remove testing ui 2023-06-16 09:40:57 -03:00
Sebastian
444c5427f4
remove some type literal and pretty 2023-06-16 09:40:45 -03:00
Sebastian
d97f440f25
remove type literal 2023-06-16 09:40:10 -03:00
Sebastian
d0d7685f16
add test to coin selection algorithm 2023-06-15 13:07:31 -03:00
Sebastian
f7058a86c9
watch test 2023-06-15 13:07:13 -03:00
Sebastian
08746f5bf0
compare duration 2023-06-15 13:06:03 -03:00
Sebastian
4e7967dbac
showing off information about operation plan 2023-06-13 16:46:31 -03:00
Sebastian
8b74bda065
get operation plan impl, no test 2023-06-13 16:46:16 -03:00
Sebastian
671342818f
get operation plan types 2023-06-13 16:45:42 -03:00
Sebastian
4ac67bbcdb
spelling 2023-06-09 09:08:53 -03:00
Sebastian
734de5d359
use transaction state transition instead of other notifications 2023-06-06 14:57:51 -03:00