Christian Grothoff
f079cff4ae
-fix transaction issue in exchange test
2023-02-05 20:15:26 +01:00
Christian Grothoff
64b2bc4558
-fix FTBFS of exchange test
2023-02-05 20:13:40 +01:00
Christian Grothoff
ab03ba16e9
exchangedb: use partial index instead of materialized tables deposits_by_ready and deposits_by_matching; remove now broken code; rename benchmarks to use perf_-prefix and correspond to function they benchmark
2023-02-05 19:11:47 +01:00
Christian Grothoff
e66087987f
-add missing file
2023-02-04 21:55:56 +01:00
Christian Grothoff
5a18e955eb
-fix AML decision update logic and history fetch logic
2023-02-04 21:54:47 +01:00
Christian Grothoff
47b9ef598d
-deduplicate configs
2023-02-04 18:05:36 +01:00
Christian Grothoff
4c5394fd4d
-doxygen typos
2023-02-04 16:09:31 +01:00
Christian Grothoff
19da4bd638
add tests for new AML logic, plus related bugfixes
2023-02-04 16:01:46 +01:00
Christian Grothoff
c3243aa39f
implement testing_api_cmd_check_aml_decision
2023-02-03 14:06:17 +01:00
Christian Grothoff
f6877449eb
implement testing_api_cmd_take_aml_decision.c
2023-02-03 12:57:04 +01:00
Christian Grothoff
e0687b90f1
implement testing_api_cmd_set_officer
2023-02-03 11:29:05 +01:00
Christian Grothoff
ba3b53cd27
-refund deadline should be optional/can be 0
2023-02-02 22:21:44 +01:00
Christian Grothoff
a703171f08
add logic to parse AML decisions response
2023-02-02 17:16:13 +01:00
Christian Grothoff
f60b09f8ef
add logic to parse AML decision response
2023-02-02 17:06:47 +01:00
Christian Grothoff
3898054b10
more work on KYC/AML decision inspection
2023-02-02 14:55:56 +01:00
Christian Grothoff
eab95d0154
draft for the AML GET decision endpoint
2023-02-02 12:03:55 +01:00
Christian Grothoff
915542e69c
first draft of implementation of GET AML decisions endpoint
2023-02-02 11:40:44 +01:00
Christian Grothoff
f8ff9c996f
add 2nd AML decision lookup API (skeleton only)
2023-02-01 17:05:11 +01:00
Christian Grothoff
e469e6698e
start work on AML decision query API
2023-02-01 17:00:51 +01:00
Christian Grothoff
f0567567fe
draft new AML API
2023-02-01 16:43:02 +01:00
Joseph
d93006c354
update link data test
2023-01-30 09:38:16 -05:00
Joseph
09c043c177
update test link data
2023-01-30 09:12:36 -05:00
Joseph
4bb96abc97
test for link data
2023-01-30 08:45:51 -05:00
Christian Grothoff
a1c0c2fafd
add test for KYC required on reserve close
2023-01-29 21:52:07 +01:00
Christian Grothoff
e8c8aa9efe
use correct attribute name in test
2023-01-29 14:12:19 +01:00
Christian Grothoff
ff202ef296
KYC: misc. fixes to attribute attestation logic
2023-01-29 13:58:56 +01:00
Christian Grothoff
99753a5d31
KYC: fix API call and memory leak
2023-01-28 17:45:56 +01:00
Christian Grothoff
92f16aad51
-misc fixes
2023-01-28 17:08:51 +01:00
Christian Grothoff
2aff69e7ec
fix Persona attribute extraction from webhooks
2023-01-28 14:06:19 +01:00
Christian Grothoff
8c5a12302e
-debug KYC webhook logic
2023-01-28 12:20:18 +01:00
Christian Grothoff
35d50ba36a
add persona attribute conversion logic
2023-01-27 22:47:42 +01:00
Christian Grothoff
0eb6f73176
add persona attribute conversion logic
2023-01-27 22:39:16 +01:00
Christian Grothoff
85e44ceea6
work on kycaid attribute extraction
2023-01-27 17:42:56 +01:00
Christian Grothoff
59716ffdc4
add logic to store attributes
2023-01-27 16:09:25 +01:00
Christian Grothoff
d79c23aaab
add logic to store attributes
2023-01-27 15:10:25 +01:00
Christian Grothoff
6da3cbedd4
-ignore new tests
2023-01-27 14:44:32 +01:00
Christian Grothoff
32fac55f7e
update GET attest logic now that it is clear that we must store KYC attributes locally:
2023-01-27 14:43:25 +01:00
Christian Grothoff
42bd2dadcf
address DB failure error handling in KYC check
2023-01-27 14:19:14 +01:00
Christian Grothoff
c239ba6f18
address DB failure error handling in KYC check
2023-01-27 14:10:40 +01:00
Christian Grothoff
7e8e2f4317
Merge branch 'master' of git+ssh://git.taler.net/exchange
2023-01-27 10:12:08 +01:00
Christian Grothoff
f199b45e52
-fix path
2023-01-27 10:11:59 +01:00
Joseph
10cf3b3b65
fix SQL syntax
2023-01-23 09:14:25 -05:00
Joseph
54fa07f5c7
tests for refunds_by_coin and ready_deposit
2023-01-23 07:57:54 -05:00
Christian Grothoff
a273b176da
-towards storing KYC attribute data
2023-01-22 21:51:46 +01:00
Christian Grothoff
c2eee251c2
add new subcommands for AML staff management and partner exchanges
2023-01-22 19:40:47 +01:00
Christian Grothoff
d53dd753e1
-typos
2023-01-22 15:41:08 +01:00
Christian Grothoff
f221db1c03
-address FIXMEs
2023-01-22 15:24:45 +01:00
Christian Grothoff
f8bfc4dc9d
address DB FIXMEs for AML
2023-01-22 15:13:34 +01:00
Christian Grothoff
d131951fbe
add new endpoints to main dispatcher
2023-01-21 23:08:29 +01:00
Christian Grothoff
31286b66f2
-integrate new AML APIs into build
2023-01-21 21:38:50 +01:00
Christian Grothoff
5b26bd3b83
-new testing APIs
2023-01-20 19:11:36 +01:00
Christian Grothoff
c782615262
-indent
2023-01-20 15:20:51 +01:00
Christian Grothoff
56cdb7e9e6
skeleton for adding partners
2023-01-20 15:20:19 +01:00
Christian Grothoff
ebb2601278
skeleton for AML officer update
2023-01-20 15:13:22 +01:00
Christian Grothoff
c30ee88336
skeleton for AML decision server handler
2023-01-20 14:47:02 +01:00
Christian Grothoff
3a7045bfca
-fix warning
2023-01-18 14:26:25 +01:00
Christian Grothoff
999209518d
new AML APIs (libtalerexchange)
2023-01-18 14:26:15 +01:00
Christian Grothoff
cda751eaa5
eventually kick out /keys clients also if ksh exists but krd array is empty
2023-01-17 17:53:16 +01:00
Christian Grothoff
c60e6184fd
terminate taler-exchange-offline on invalid inputs
2023-01-17 17:52:39 +01:00
Christian Grothoff
abb692f02d
-run fetch-transactions in auditor test to avoid non-deterministic failure
2023-01-17 15:33:36 +01:00
Christian Grothoff
9091c32c0f
move state to inner URL
2023-01-16 18:59:28 +01:00
Christian Grothoff
190a1b68b0
fix #7594 : skip test if DB not setup
2023-01-16 18:17:15 +01:00
Christian Grothoff
ab7c676f49
-typos
2023-01-16 17:47:16 +01:00
Christian Grothoff
faf3f57ce3
do not 500 on empty reserve history by not ignoring undecided purses that may have caused reserve to be created in the first place
2023-01-16 17:45:05 +01:00
Christian Grothoff
8563dcc845
log which subquery failed
2023-01-16 16:47:15 +01:00
Christian Grothoff
ce50b33fba
-fix args
2023-01-16 16:08:23 +01:00
Christian Grothoff
6596e6c723
fix for foreign key constraint problem for free purses on purse creation from reserve
2023-01-16 15:45:35 +01:00
Christian Grothoff
402ca17600
-fix warning
2023-01-16 11:28:13 +01:00
Christian Grothoff
d5619de525
fix test_kyc_api: adapt test logic to improved OAuth2.0 kyc API:
2023-01-16 11:25:18 +01:00
Christian Grothoff
6231c365fd
-fix KYC logic change to work for all plugins and not just OAuth2.0
2023-01-16 11:14:59 +01:00
Christian Grothoff
cbb021b6bf
-fix compiler warning: add missing prototype
2023-01-15 22:58:07 +01:00
MS
50a33389da
libeufin-based bank API test
...
Give Nexus and Sandbox one database each,
in order to reduce concurrent accesses to
the sqlite3 file.
2023-01-13 22:59:22 +01:00
Sebastian
f8ddd0b685
fix kyc-proof handle
...
1.- redirect_uri has an extra slash
2.- response_type=code is required https://www.rfc-editor.org/rfc/rfc6749#section-3.1.1
3.- add more info to "Unexpected response from KYC gateway"
4.- relax the requirements on the login response, marked as optional
5.- redirect_uri should be the same when exchanging the code for the access_token,
6.- remove legi and payto from kyc-proof path
7.- use state to transport h_payto https://www.rfc-editor.org/rfc/rfc6749#section-4.1.1
2023-01-13 12:16:44 -03:00
Christian Grothoff
f487cf43b3
-make LP delay configurable
2023-01-13 10:52:32 +01:00
Christian Grothoff
caaa90d3d8
-make LP delay configurable
2023-01-13 10:51:45 +01:00
Christian Grothoff
0ac0344d84
exchangedb: remove bogus foreign key constraint
2023-01-13 10:42:34 +01:00
Christian Grothoff
168fd80fbf
-do not include long delays in test mode, ever
2023-01-12 17:46:42 +01:00
Christian Grothoff
832097c144
-add missing library dependencies for clean build
2023-01-12 14:14:32 +01:00
Christian Grothoff
07289fd919
-remove duplicate definitions
2023-01-12 13:46:15 +01:00
MS
c6876bfb4f
tests: adjusting the bank URL for the wallet CLI.
...
The wallet CLI needs the bank URL to still end with
"/demobanks/default" to find the Access API endpoints,
as opposed to the latest libeufin-cli that builds those
from the "/"-only base URL.
2023-01-11 18:40:52 +01:00
Christian Grothoff
f2e444a6bb
Merge branch 'master' of git+ssh://git.taler.net/exchange
2023-01-11 17:33:01 +01:00
Christian Grothoff
30c6580c4e
-return EC as part of 451 KYC required replies
2023-01-11 17:32:56 +01:00
eafe3435e9
adjust partition and primary keys commitments and reveals in withdraw-age
2023-01-11 17:21:22 +01:00
Christian Grothoff
8992c30631
-typo
2023-01-11 17:06:59 +01:00
Christian Grothoff
af06ddc8e8
-add a few missing indices/foreign key constraints
2023-01-11 16:43:22 +01:00
Christian Grothoff
ce43a23ddd
-fix linker issue
2023-01-11 16:32:02 +01:00
Christian Grothoff
e2e04d8c8e
-purge libeufin DB before launch
2023-01-11 16:20:02 +01:00
Christian Grothoff
5a5e0c3723
remove demobanks/default everywhere in URLs, no longer needed
2023-01-11 16:04:04 +01:00
Christian Grothoff
cf7e0ccce6
-DCE
2023-01-11 15:54:12 +01:00
Christian Grothoff
b6f9f0040b
Merge branch 'master' of git+ssh://git.taler.net/exchange
2023-01-11 15:48:02 +01:00
Christian Grothoff
4dc7775ec4
-remove pybank remenants
2023-01-11 15:47:58 +01:00
e6929fd3ee
choose correct partition pivot and denormalization for withdraw-age related tables
2023-01-11 15:23:57 +01:00
Christian Grothoff
5ea311f9f6
-fix example KYC config options
2023-01-11 13:03:40 +01:00
Christian Grothoff
18515a2374
Merge branch 'master' of git+ssh://git.taler.net/exchange
2023-01-11 12:05:29 +01:00
Christian Grothoff
f85fe853ce
-no drop
2023-01-11 12:05:19 +01:00
Joseph
5de648b0f6
new functions for inserting into link_data ready_deposit refunds
2023-01-11 05:55:14 -05:00
23626c02c7
added schema for withdraw with age restriction
2023-01-10 21:56:56 +01:00
63e222d049
-fix multiple definitions of same variable in Makefile.am
2023-01-10 15:24:01 +01:00
Christian Grothoff
1df72de087
Merge branch 'master' of git+ssh://git.taler.net/exchange
2023-01-10 13:36:02 +01:00
Christian Grothoff
b41ffd1a1a
-more consistent naming of KYC_PERSONA options
2023-01-10 13:35:57 +01:00