Commit Graph

290 Commits

Author SHA1 Message Date
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
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
e1b363c7dd
delete database when pressing reset-db 2021-06-04 12:42:35 -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
a68af80514
typo 2021-05-21 13:32:49 +02:00
6b1aea426a
tombstone processing in backup import 2021-05-21 11:47:24 +02: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
e7e337605e
remove unused interfaces 2021-05-17 12:58:18 +02:00
f4ec5b1a32
implement currencies subcommand 2021-05-12 16:18:32 +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
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
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
4fa88007f9
get coin re-selection after accidental double spending to work 2021-04-07 19:29:51 +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
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
1a0610f222
WIP: wallet backup integration test 2021-03-03 21:20:05 +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
f234eef469
increase pay timeout 2021-02-05 12:10:56 +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
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
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
5f3c02d31a
implement deposits 2021-01-18 23:35:41 +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
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
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
6772c54793
backup WIP 2021-01-12 17:17:34 +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
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
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
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
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
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
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
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
7e07ad6b2a
use index to check existing tip record 2020-11-16 14:48:33 +01:00
292160f7e9
fix tip record creation, migrate DB 2020-11-16 14:12:37 +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
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
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
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
35999179b1
comment 2020-09-09 11:48:50 +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
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
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
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
9ec6018efe
test recoup, fix bug in reserve state machine, fix bug in recoup-refresh 2020-09-04 02:20:20 +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
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
38e6d51946
estimate refresh output, show correct(er) balance 2020-09-01 23:01:44 +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