Commit Graph

1553 Commits

Author SHA1 Message Date
efc4ac8dca
wallet-core: add missing worker-common.ts file 2022-10-05 15:18:14 +02:00
dd14e67c70
wallet-core: improve crypto worker code duplication
Also add new testCrypto call for later testing
2022-10-05 12:52:49 +02:00
4d232fd565
wallet-core: canonicalize base URL from bank on withdrawal 2022-10-05 11:11:51 +02:00
66ae0dd220
wallet-core: more info in error message 2022-10-05 10:22:32 +02:00
21fd8074cd
wallet-core: more info in types 2022-10-04 18:45:01 +02:00
3cecb7e4b4
wallet-core: better API docs 2022-10-04 15:30:18 +02:00
37d27ba437
restructure api types 2022-10-04 13:12:23 +02:00
Sebastian
bbde2a9bb9
fix: showing start again in the last main screen 2022-10-03 18:26:37 -03:00
4707c88742
bump manifest version 2022-09-30 13:22:19 +02:00
3bf4ce7f13
wallet-core: return correct status from processReserveBankStatus 2022-09-30 13:22:00 +02:00
0a3f9979b2
firefox hotfix 2022-09-30 13:11:17 +02:00
Sebastian
538f27e9dd
fix #7332 2022-09-29 10:05:17 -03:00
0cf147ba98
wallet-core: don't run into busy loop if only long-polling tasks are left 2022-09-28 19:07:37 +02:00
37243d4d8c
Revert "fix: long polling doesnt wait"
This reverts commit 4382e090ab.
2022-09-28 19:04:42 +02:00
Sebastian
4382e090ab
fix: long polling doesnt wait 2022-09-28 13:38:36 -03:00
Sebastian
7ce1cea1c7
fix: missing crypto error handling improvement 2022-09-28 13:15:31 -03:00
Sebastian
50d6047782
commeting out testland and localhost providers from production 2022-09-26 14:40:45 -03:00
7063b293f2
bump manifest version 2022-09-26 14:41:18 +02:00
25eb7624b3
wallet-core: improve crypto worker error handling 2022-09-26 14:40:11 +02:00
Sebastian
360cb80610
do not copy amount with currency 2022-09-26 09:25:13 -03:00
Sebastian
93dbf2c2c9
showing restore and save, but removing from the ending state 2022-09-26 09:24:15 -03:00
Sebastian
79baa20584
removing save/restore session: confusing and maybe dangerous 2022-09-25 11:33:19 -03:00
13c07caef2
-fix typos 2022-09-23 22:30:50 +02:00
d2821fe4e0
bump manifest version 2022-09-23 22:27:59 +02:00
1d7290487a
-fix test 2022-09-23 22:26:13 +02:00
2337ddab61
wallet-core: fix withdrawal state machine 2022-09-23 21:47:38 +02:00
8d19b80153
wallet-core: backwards compatibility for bankAccounts store, naming conventions 2022-09-23 21:00:51 +02:00
72336b149b
wallet-core: do not block when accepting a manual withdrawal 2022-09-23 20:38:26 +02:00
Sebastian
9811e19252
new deposit page 2022-09-23 15:18:50 -03:00
Sebastian
fbf0502672
add bank account record 2022-09-23 15:18:49 -03:00
Sebastian
22e87bb18f
do not add a question mark if there is no params 2022-09-23 15:18:48 -03:00
2489001d83
bump versions 2022-09-23 10:32:04 +02:00
ed3fe5b502
bump manifest version 2022-09-22 00:23:25 +02:00
b382fd698d
-fix imports 2022-09-22 00:23:11 +02:00
4649469b58
wallet-core: DB improvements 2022-09-21 22:50:42 +02:00
a398959670
wallet-core: use more numeric fields 2022-09-21 22:50:42 +02:00
7d6bcd42ea
wallet-core: use numeric status field to allow range queries 2022-09-21 22:50:42 +02:00
Sebastian
5d31803c92
pretty 2022-09-21 15:45:41 -03:00
Sebastian
2caef6dcf2
moving deposit group fee into taler util 2022-09-21 15:45:41 -03:00
26cf19ab6c
wallet-cli: add --expect-success flag, exit with error on max retries 2022-09-21 19:53:38 +02:00
4fdc009753
-tag test 2022-09-21 12:48:11 +02:00
28b4489bea
wallet-core: make basic backup work again 2022-09-21 12:40:11 +02:00
Sebastian
859991a40c
exchange selection for invoices and some fixes 2022-09-20 20:26:47 -03:00
Sebastian
7adaeff0a5
pretty 2022-09-20 20:26:47 -03:00
Sebastian
415874fdfb
check age mask before 2022-09-20 20:26:47 -03:00
16a5bb4083
wallet-core: make basic backup work again 2022-09-20 23:17:42 +02:00
Sebastian
52ec740c82
new compose feature: sub-states
implemented in withdraw page, WIP
2022-09-20 16:05:59 -03:00
a5525eab1e
taler-util: fix CLI parsing for numberic options 2022-09-19 17:46:30 +02:00
f63765b9f7
wallet-core: fix tipping with age restricted denoms 2022-09-19 17:08:04 +02:00
ffe6a95214
wallet-core: handle suspended coins properly in refresh 2022-09-19 14:42:04 +02:00
97267e7d1f
-test tagging 2022-09-19 12:57:42 +02:00
d34f8e48da
wallet-core: make coin availability accounting idempotent 2022-09-19 12:48:11 +02:00
d759c7e78a
-comment 2022-09-19 12:21:15 +02:00
f1f332e0a6
-also check for revoked 2022-09-19 12:21:00 +02:00
e4679fba51
wallet-core: only pay with coins of offered denominations 2022-09-19 12:19:58 +02:00
fd752f3171
wallet-core: hide transient pay errors 2022-09-19 12:13:31 +02:00
548cecca21
update taler error codes 2022-09-19 12:12:09 +02:00
cffc4347a0
wallet-core: add wire method check in new coin selection 2022-09-19 11:28:47 +02:00
Sebastian
ba5f8ad386
p2p was not returning the value 2022-09-17 18:40:03 -03:00
Sebastian
e143108254
pretty 2022-09-16 16:04:41 -03:00
Sebastian
59d235e8d2
redirect after success #7357 2022-09-16 16:03:58 -03:00
Sebastian
6ddb2de842
pretty 2022-09-16 14:29:35 -03:00
Sebastian
860f10e6f0
pretty 2022-09-16 14:27:24 -03:00
4b72bbd017
wallet-core: fix mixed age restrictions 2022-09-16 17:51:07 +02:00
117baf0e5b
-fix compiler error 2022-09-16 17:41:13 +02:00
183c836614
-wallet-core: merge DenominationInfo and DenomInfo 2022-09-16 17:35:06 +02:00
16e7814445
-move declaration 2022-09-16 17:21:54 +02:00
d6c545a0ba
-prettier, fix type error 2022-09-16 17:04:32 +02:00
374d3498d8
-cleanup 2022-09-16 16:34:00 +02:00
b91caf977f
wallet-core: support age restrictions in new coin selection 2022-09-16 16:32:21 +02:00
2747bc260b
wallet-core: support forced coins in new coin selection algo 2022-09-16 16:31:16 +02:00
b7f7b95602
wallet-core: towards faster coin selection 2022-09-16 16:31:16 +02:00
Sebastian
5d08379139
working on #7357
getTransactionById is introduced:
 with that we move all transaction information building into a function
transactionId was added in every response that creates a tx
2022-09-16 11:13:09 -03:00
a66b636dee
wallet-core: restructure denomination record for easier querying 2022-09-14 21:27:03 +02:00
c021876b41
wallet-core: cache fresh coin count in DB 2022-09-14 20:40:38 +02:00
Sebastian
9d044058e2
fixing properly adding query params 2022-09-14 08:37:33 -03:00
Sebastian
62911fd593
stories resize (wip) 2022-09-14 08:19:59 -03:00
Sebastian
f026a8d326
import a complete database from cli 2022-09-14 08:19:59 -03:00
962bfde214
wallet-core: fix withdrawTestBalance command 2022-09-13 17:41:47 +02:00
676ae5102b
fix test and logging 2022-09-13 16:10:42 +02:00
48540f6264
wallet-core: introduce easier syntax for transactions 2022-09-13 16:10:42 +02:00
13e7a67477
wallet-core: uniform retry handling 2022-09-13 16:10:41 +02:00
Sebastian
f9f2911c76
adding missing i18n 2022-09-13 11:09:04 -03:00
d9bc32e0d1
bump manifest version 2022-09-12 20:58:43 +02:00
b645d793df
wallet-core: fix creation of refresh session after peer-{push,pull} 2022-09-12 20:52:01 +02:00
Sebastian
58211515d2
hours should be modulo 24, fix #7342 2022-09-12 14:32:45 -03:00
Sebastian
ad63d4c0e1
add clipboard perms 2022-09-12 14:28:53 -03:00
Sebastian
27201416c7
ref #7323 2022-09-12 10:58:09 -03:00
fc413bb5ec
wallet-core: make bank access API URL optional in runIntegrationTest 2022-09-12 14:09:28 +02:00
dbabb7b8d2
version bump 2022-09-12 14:05:12 +02:00
Sebastian
50c4cdabc1
add redirect to withdraw 2022-09-10 23:53:48 -03:00
Sebastian
e4f3acfeb2
fix #7343 2022-09-10 23:21:44 -03:00
Sebastian
dda90b51f6
find taler action in clipboard and withdraw with mobile 2022-09-09 12:22:57 -03:00
9b2d6d766f
include age commitment proof in refreshed coins 2022-09-08 14:02:09 +02:00
2119daba17
bump manifest version 2022-09-07 21:39:27 +02:00
Sebastian
2279ee2c39
add a tab update listener to look for taler:// 2022-09-07 12:48:16 -03:00
ef1aab5229
common manifest, bump version 2022-09-07 15:55:54 +02:00
3ce5eb4bd8
allow age-restricted withdrawal from the CLI 2022-09-07 15:40:03 +02:00
dcc1bcee43
also accept payment in test 2022-09-07 14:49:10 +02:00
Sebastian
96bc4d6692
firefox needs request origin permission as optional_permissions 2022-09-07 09:02:20 -03:00
Sebastian
09b085d24b
don't send dev files into the zip file 2022-09-07 08:49:04 -03:00
a37d201aa2
fix typo 2022-09-07 12:55:09 +02:00
319d51dc42
bump DB major version 2022-09-06 23:19:53 +02:00
772232ad63
bump manifest version 2022-09-06 23:14:52 +02:00
Sebastian
1e00724a0d
listExchangesDetailed to getExchangeDetailedInfo & ageRestriction taken from the denoms 2022-09-06 17:17:50 -03:00
03b2e064c2
-fix test setup 2022-09-05 22:33:51 +02:00
4240e1b767
add test for mixed age restrictions 2022-09-05 22:29:25 +02:00
3f5a76751b
wallet-core: make listExchanges return less data
Since the webextension UI depends on the full response, we have a
temporary listExchangesDetailled request.
See https://bugs.taler.net/n/7323 for details.
2022-09-05 21:09:28 +02:00
0f57f48f84
updated test-vectors for edx25519_derive (original typo in gnunet fixed) 2022-09-05 19:19:05 +02:00
Sebastian
d7a55a165f
replace __VERSION__ with a string definition 2022-09-05 13:04:31 -03:00
Sebastian
e0e33a88db
adding informantion about the service worker version on the setting page 2022-09-05 13:04:31 -03:00
4a0512884d
upgrade typescript (and some related deps) 2022-09-05 16:20:01 +02:00
43b893b8c4
consider supported wire types when selecting coins
Also add an integration test to check for the correct wallet behavior.
2022-09-05 15:38:47 +02:00
27fb2d2970
wallet-core: fix format of purse deposits 2022-09-05 13:26:09 +02:00
300242637f
wallet-core: include age restriction in p2p signature, mark coins as spent 2022-09-05 12:55:46 +02:00
b1f77f4662
add integration test for p2p age restrictions 2022-09-05 12:29:32 +02:00
4aaece0eff
remove abort-pay test
This test can't work anymore, as the merchant does batch deposits.
We should eventually add a different test as replacement that uses a
double-spent coin (via a forced coin selection).
2022-09-05 12:20:47 +02:00
Sebastian
d439c3e1bc
adding version and commit into the setting section 2022-09-04 23:08:45 -03:00
Sebastian
36376bdeb6
reproduce issue #7318 2022-09-02 16:47:33 -03:00
9fe0e74256
wallet-core: fix withdrawal of age-restricted denoms without age restriction 2022-09-01 22:43:57 +02:00
ec43b6a5bf
wallet-core: fix issue with crock encoding of age restrictions 2022-09-01 22:26:22 +02:00
Sebastian
d6a172c4a0
add invoice|transfer created view 2022-09-01 10:03:23 -03:00
Sebastian
91d5d55edc
show summary on tx history 2022-09-01 09:20:59 -03:00
Sebastian
5e7812d63e
show sharing action when the tx is not completed 2022-09-01 08:42:45 -03:00
Sebastian
94eeab8ad0
more information about p2p:
- added the contract terms on WgInfoBankPeerPush and WgInfoBankPeerPull, so we can show summary and expiration in the ui
 - added info: PeerInfoShort on Transaction* type
 - definition of completed p2p tx:
   - push debit: Amounts.cmp(sentAmount, pickedUpAmount) === 0. is this transfer already picked up? (not working)
   - pull debit: pi.paid, is this invoice already paid?
   - pull credit: wsr.timestampFinish, has someone already paid my invoice?
   - push credit: wsr.timestampFinish, have I already picked up this?
 - changed the txId of peer pull debit to have the incomingId instead of pursePub (allow deletion)
2022-09-01 08:42:45 -03:00
Sebastian
e759684fd0
invoice and transfer details 2022-08-31 11:46:39 -03:00
Sebastian
d84424202d
p2p tx rendering 2022-08-31 00:20:35 -03:00
Sebastian
7dc66c2441
fix broken build 2022-08-29 15:53:05 -03:00
Sebastian
6610a0b9d7
add senderWire to the withdrawal group again, group payto to avoid duplication 2022-08-29 13:23:22 -03:00
Sebastian
a5f052d69c
using CTA for manual withdrawal 2022-08-29 11:32:07 -03:00
Sebastian
cf894f1dd3
fix #7065 2022-08-26 12:59:09 -03:00
Sebastian
eef2d47020
exchange selection: timeline done 2022-08-26 01:09:47 -03:00
30e8fd83c2
wallet-core: fix revocation, re-introduce reserves object store 2022-08-26 01:18:01 +02:00
70d0199572
integration tests: various fixes 2022-08-25 23:35:29 +02:00
499e003ff8
specify bank access API separately in tests 2022-08-25 18:34:25 +02:00
22bc73ac4b
wallet-core: fix db index on withdraw URI 2022-08-25 17:49:24 +02:00
d112a5b6bc
-temporary fix to make webextension compile again 2022-08-25 17:18:23 +02:00
f3231ccdf9
wallet-core: put taler:// URIs in transactions list 2022-08-24 22:42:30 +02:00
a11ac57535
wallet-core: p2p support for transactions list 2022-08-24 22:17:19 +02:00
bf516a77e8
fix idb bug, p2p integration test 2022-08-24 21:07:13 +02:00
fff3df81e4
test harness: log with logger API 2022-08-24 19:57:18 +02:00
42c2b7508f
wallet-core: fix withdrawal idempotency 2022-08-24 19:44:24 +02:00
d32d2895ce
-get p2p pull integration test to run through 2022-08-24 11:11:02 +02:00
bc434ebb83
use fakebank for integration tests 2022-08-23 22:30:05 +02:00
f3ff5a7225
peer-to-peer pull payments MVP
p2p pull wip
2022-08-23 20:35:11 +02:00
Sebastian
4ca38113ab
first iteration of exchange selection: added information in the exchangeDetails response from core 2022-08-18 16:02:16 -03:00
Sebastian
d1980c39fc
moved wireInfo and denomInfo into taler-util so it can be used from the ui 2022-08-18 16:02:16 -03:00
Sebastian
23bb82f00c
disable button when wating for response 2022-08-18 12:48:05 -03:00
Sebastian
62713c7e71
prevent link nav 2022-08-18 12:35:36 -03:00
Sebastian
f5441a682d
fix: for bitcoin withdrawal the exchange payto:// is not enough and the withdrawal payto should always have the reserve pub 2022-08-18 11:30:16 -03:00
Sebastian
16777ba205
some fixes 2022-08-17 16:12:44 -03:00
Sebastian
17e627c2f0
default exchange 2022-08-17 16:12:44 -03:00
ac8f116780
implement peer to peer push payments 2022-08-16 17:55:12 +02:00
Sebastian
fb8372dfbf
default exchange and select currency 2022-08-15 23:01:05 -03:00
Sebastian
0798aa5ced
modal, popover and portal for select input 2022-08-15 21:36:53 -03:00
Sebastian
cdc8e9afdf
destination ui 2022-08-15 21:18:39 -03:00
Sebastian
004b1544f3
get send money skeleton 2022-08-14 10:10:37 -03:00
Sebastian
9bb9d149d2
qr reader 2022-08-11 12:28:02 -03:00
Sebastian
dce055d0d3
withdraw call to action 2022-08-10 11:50:46 -03:00
Sebastian
7a600514c6
fixing #6096
merchant details and contract terms details factored out, to be used by other components
tests and stories updated
payment completed != confirmed (confirmed if paid by someone else)
2022-08-08 14:09:36 -03:00
Sebastian
4409d8384b
add delivery info in the parse contract terms and a function to get info from a proposalId 2022-08-08 13:53:04 -03:00
Sebastian
88bdcae030
add request for getting details about contract terms 2022-08-08 13:51:17 -03:00
Sebastian
614a3e3c87
standarizing components 2022-08-01 10:55:17 -03:00
979cd2daf2
bump version 2022-08-01 12:34:00 +02:00
Sebastian
f9ccb94157
withdraw as module 2022-07-21 10:36:30 -03:00
Sebastian
84634a4ab4
removed the type check when accessing h_age_com 2022-07-21 10:32:30 -03:00
Sebastian
fd60edf475
contractTerms was missing, looks like in commit f11483b5 a move was intended 2022-07-21 09:48:16 -03:00
aff3100d89
proper handling of coin with age restriction
When a coin with age restriction is used for payment, the contract might
or might not require an attestation of minimum age.

When it does, we sent the signed minimum age along with the whole age
commitment (array of pubkeys).

Added:  When the contract doesn't require a minimum age, we still sent
the hash of the age commitment, as this is needed for the deposit of the
coin.
2022-07-21 11:35:31 +02:00
b8a61eb98c
fixed typo in info/salt 2022-07-21 11:34:43 +02:00
f11483b511
wallet-core: implement accepting p2p push payments 2022-07-12 17:41:14 +02:00
b214934b75
wallet-core: P2P push payments (still incomplete) 2022-07-08 11:08:30 +02:00
05cdbfb534
-typo 2022-06-30 11:18:49 +02:00
Sebastian
da024a4b92
-fix sort countries 2022-06-29 11:54:34 -03:00
Sebastian
dfb385aac9
anastasis build instruction and some fixes 2022-06-27 15:12:44 -03:00
Sebastian
d7dfdb1e27
removing await to keep building process compatibility with node12 (current debian stable) 2022-06-26 17:29:35 -03:00
Sebastian
ccd289904d
- typo fix 2022-06-26 15:52:32 -03:00
Sebastian
1b91d87f4f
- http -> https 2022-06-24 15:38:43 -03:00
Sebastian
5a71e4259f
- add missing id for styles 2022-06-24 15:32:14 -03:00
Sebastian
73551c83c4
fix #7077 file support 2022-06-24 14:28:45 -03:00
Sebastian
2f8fd783b6
add service providers for demoland and filename support for secrets 2022-06-24 14:25:33 -03:00
Sebastian
cc01417a99
fix #7090 dowload personal info as PDF 2022-06-24 13:27:39 -03:00
Sebastian
c239967813
fix tests 2022-06-24 12:32:37 -03:00
Sebastian
50379a1d5b
mui menu, select input inprogress 2022-06-24 11:42:21 -03:00
Sebastian
b06ae62de0
fix text field multiline 2022-06-23 12:01:11 -03:00
Sebastian
a0a9e6b9a4
normalize tests 2022-06-17 14:35:33 -03:00
Sebastian
6d06b52605
add testing to web components 2022-06-11 19:10:26 -03:00
716da3246b
wallet-core: correctly report 'confirmed' status of bank integrated withdrawal 2022-06-10 13:38:59 +02:00
f57dc7bf7a
wallet-core: implement and test forced coin/denom selection 2022-06-10 13:03:47 +02:00
Sebastian
3ebb1d1815
better select secret screen 2022-06-09 16:12:18 -03:00
Sebastian
78b056a0b1
remove listener on unload 2022-06-09 14:16:28 -03:00
Sebastian
ff49e3477e
format amount so it is align to fractional digitls 2022-06-09 13:37:33 -03:00
Sebastian
eb8bcc9532
fix: prevent undefined in URL 2022-06-09 10:04:30 -03:00
Sebastian
b419db505b
ui testing 2022-06-08 15:19:26 -03:00
Boss Marco
b00635c140
increase timeouts for retries 2022-06-08 10:58:54 +02:00
Boss Marco
46861e6a21
fix bench1 2022-06-07 13:46:09 +02:00
Boss Marco
244b99cfbd
fix bench1 2022-06-07 13:45:11 +02:00
Boss Marco
f8c814cf95
reserve long polling longer, add withdrawOnly to bench1 2022-06-07 13:42:34 +02:00
Sebastian
72c6643969
unused files 2022-06-06 12:13:40 -03:00
Sebastian
3598c7aadc
fix: missing copyrights 2022-06-06 12:06:25 -03:00
Sebastian
e09005a577
updating old copyright header 2022-06-06 12:05:26 -03:00