Commit Graph

6204 Commits

Author SHA1 Message Date
Christian Grothoff
f2c3443860
fix mime-type matching (#7882) 2023-07-05 18:20:46 +02:00
Christian Grothoff
95c05a8827
fix mime-type matching (#7882) 2023-07-05 18:19:54 +02:00
Christian Grothoff
40dfb94e0f
fix mime-type matching (#7882) 2023-07-05 18:18:23 +02:00
Christian Grothoff
1db17d43bd
-misc minor fixes 2023-07-05 13:13:16 +02:00
Christian Grothoff
999db0fb80
-bugfixes 2023-07-04 23:21:47 +02:00
Christian Grothoff
ff8349e6e7
more exchange API refactoring 2023-07-04 15:37:46 +02:00
47620fa81b
better error handling; use handle result 2023-07-04 11:57:27 +02:00
Christian Grothoff
d3772a834f
more API clean up 2023-07-03 18:39:06 +02:00
Christian Grothoff
290268e9af
more work on API atomization 2023-07-03 17:51:13 +02:00
Christian Grothoff
75ea35722b
more work on API atomization 2023-07-03 17:22:33 +02:00
f969bd3c5b
Merge branch 'master' into age-withdraw 2023-07-03 16:20:44 +02:00
40629e8992
[age-withdraw] added library function for age-withdraw
- Added TALER_EXCHANGE_age_withdraw
- Also: Change TALER_EXCHANGE_batch_withdraw and related functions to
  use GNUNET_CURL_ctx, TALER_EXCHANGE_keys and const char *echange_url
2023-07-03 16:18:40 +02:00
Christian Grothoff
57527a5e8d
dce 2023-07-01 22:06:47 +02:00
9c3ddcbc18
added TALER_adult_age(struct TALER_AgeMask *mask) 2023-06-27 18:57:05 +02:00
537206e49f
-update author 2023-06-27 18:56:27 +02:00
e889179bdd
[auditor] use the date for the report-directory 2023-06-27 13:09:16 +02:00
d3d744a444
[testing] start an oauth2 server which returns static birthdates 2023-06-27 12:41:22 +02:00
1be14a3416
[age-withdraw] added handlers for age-withdraw to router 2023-06-27 09:48:51 +02:00
2f21fa24e4
-rename variable 2023-06-27 09:48:07 +02:00
89de1678ef
-fix typo 2023-06-27 09:47:33 +02:00
f8536e8c14
-fix parameter in stored procedures 2023-06-27 09:46:31 +02:00
145310e20e
added birthdate parser 2023-06-27 09:45:50 +02:00
ddd0e0af13
-fixed typos 2023-06-26 15:04:57 +02:00
ee42b70692
add exchange_do_age_withdraw.sql 2023-06-26 11:47:15 +02:00
eeece1c96d
-ruuid not needed 2023-06-26 11:46:13 +02:00
17001e445d
-free spec 2023-06-26 09:44:33 +02:00
c5c3a44c25
-comment updates 2023-06-26 09:44:22 +02:00
b87d1112ea
Merge branch 'master' into age-withdraw-merge 2023-06-26 00:09:01 +02:00
ddedf03a81
[age-withdraw] age-withdraw commit- and reveal-handlers implemented, 12/n
The handlers for the commit- and reveal-phases of the age-withdraw
HTTP-endpoints are implemented, yet not active.

Still missing:

- support for age-withdraw is missing in lib/.
- tests
2023-06-26 00:01:31 +02:00
Christian Grothoff
421129a32e
next round of exchange API atomization 2023-06-25 19:10:26 +02:00
Christian Grothoff
75733ee00e
more work on atomizing exchange API: deposit 2023-06-25 13:59:47 +02:00
Christian Grothoff
e2f44ea7b3
fix test 2023-06-25 00:08:49 +02:00
Christian Grothoff
fcd3948f3b
-fix typo 2023-06-25 00:06:35 +02:00
Christian Grothoff
d25dc8b0ad
fix #7870 2023-06-23 11:41:52 +02:00
Christian Grothoff
720783b66a
-more exchange API atomization 2023-06-22 22:05:34 +02:00
Christian Grothoff
999dae7c5d
-more exchange API atomization 2023-06-22 20:42:10 +02:00
Christian Grothoff
d4a65faad4
-more exchange API atomization 2023-06-22 20:37:15 +02:00
Christian Grothoff
7bb9547599
more API cleanup 2023-06-22 20:26:34 +02:00
Christian Grothoff
22d5b9fc3a
-fail, not skip 2023-06-22 16:31:51 +02:00
Christian Grothoff
32d5b90827
fix typo 2023-06-22 11:03:36 +02:00
Christian Grothoff
ee2471a8c3
fix uninitialized SANDBOX_PORT if only starting sandbox without nexus 2023-06-22 10:27:11 +02:00
Christian Grothoff
ef6496aba5
new -W option for unified setup 2023-06-21 23:13:57 +02:00
Christian Grothoff
c512c8b101
-simplify 2023-06-21 09:03:55 +02:00
Christian Grothoff
f5ce22ddf6
-more clean up of auditor api: atomization complete 2023-06-21 09:00:58 +02:00
Christian Grothoff
af77a2a178
-more auditor API atomization 2023-06-21 08:15:06 +02:00
Christian Grothoff
a37a8d34d5
-towards API atomization 2023-06-21 08:02:36 +02:00
Christian Grothoff
17789253e9
ensure forward-compatibility for auditor C API 2023-06-21 07:53:17 +02:00
Christian Grothoff
d6838ed841
-doxygen fixes 2023-06-20 21:57:13 +02:00
MS
9b20c5047e
test_bank_api_with_nexus
Fixing the wiring of accounts in the test preparation.
In particular, the name and IBAN of one debited account
(along the /admin/add-incoming) was wrongly registered
at Sandbox.
2023-06-12 16:34:35 +02:00
70bfe0ed1b
Merge branch 'master' into age-withdraw 2023-06-10 11:07:06 +02:00
Christian Grothoff
d8f8c550bd
-fix FTBFS 2023-06-09 17:52:16 +02:00
Christian Grothoff
a2dde02b64
major libtalertesting API refactoring, including no longer having taler-specific logic in the test engine core 2023-06-07 23:11:05 +02:00
Christian Grothoff
015b08b048
new command to use taler-benchmark-setup.sh 2023-06-05 17:01:23 +02:00
46188ae07e
Merge branch 'master' into age-withdraw 2023-06-05 16:39:43 +02:00
Christian Grothoff
96cbda85e3
perms 2023-06-05 15:58:52 +02:00
Christian Grothoff
4355a08769
-docu 2023-06-05 15:58:03 +02:00
Christian Grothoff
4a86d411de
expand taler-benchmark-setup script 2023-06-05 15:54:20 +02:00
Christian Grothoff
27f22ef1d2
more fixes for taler-benchmark-setup 2023-06-05 15:13:41 +02:00
98b51edf49
Merge branch 'master' into age-withdraw 2023-06-05 09:18:35 +02:00
Christian Grothoff
8cc1edfe0a
work on cleaning up benchmark logic 2023-06-05 00:24:01 +02:00
Christian Grothoff
82fd1a1164
try to create universal benchmark setup script 2023-06-04 22:33:23 +02:00
Christian Grothoff
9e7d3f9065
address FIXMEs in bank service API 2023-06-04 14:29:15 +02:00
Christian Grothoff
0ad3de938e
address API stability FIXMEs in taler_exchange_service 2023-06-04 14:10:54 +02:00
Christian Grothoff
809300158c
code cleanup, fixing misc. memory leaks in the process 2023-06-04 13:26:00 +02:00
Christian Grothoff
9718bc4920
-allow NULL for i18n 2023-06-04 01:29:21 +02:00
Christian Grothoff
8f2c2766a4
-logging 2023-06-03 13:01:12 +02:00
Christian Grothoff
f8fd492e9e
add DB idempotency test 2023-06-03 12:53:45 +02:00
80a1b8f524
Merge branch 'master' into age-withdraw 2023-06-03 10:45:31 +02:00
2ea3ae1008
make CREATE TYPE usage idempotent
PostgresSQL doesn't have a CREATE TYPE OR REPLACE, so we have to work
around this with exception handling.
2023-06-02 11:46:48 +02:00
Christian Grothoff
be40886515
fix FTBFS 2023-05-26 17:16:48 +02:00
Christian Grothoff
ae6e62a0a3
add document download logic for kycaid 2023-05-23 15:44:23 +02:00
Christian Grothoff
89e2a02380
-style 2023-05-21 19:25:31 +02:00
Christian Grothoff
d36f1b3b6a
-fix SQL 2023-05-21 19:20:09 +02:00
Christian Grothoff
aa8d44aab3
-typo 2023-05-21 18:47:39 +02:00
Christian Grothoff
144b3a50a9
-minor fixes 2023-05-21 14:50:50 +02:00
Christian Grothoff
bac7123763
array-based do_reserves_in_insert 2023-05-18 14:45:28 +02:00
Christian Grothoff
0045eea277
-typo 2023-05-18 08:43:20 +02:00
Christian Grothoff
6cc3846f4d
use external helper for conversion also for KYCAID 2023-05-18 08:31:08 +02:00
Christian Grothoff
b30952ed72
-doxygen 2023-05-17 20:23:35 +02:00
Christian Grothoff
79671bba66
-no +1 2023-05-17 15:34:06 +02:00
Christian Grothoff
f7dc35e59e
implement logic to conditionally trigger AML review based on KYC attributes 2023-05-17 00:28:41 +02:00
Christian Grothoff
755955de28
towards KYC AML triggers 2023-05-16 22:26:39 +02:00
Christian Grothoff
e371d76cfe
add KYC_AML_TRIGGER option (not implemented) 2023-05-16 14:17:33 +02:00
Christian Grothoff
30b953ff0f
add new trigger option 2023-05-16 13:37:09 +02:00
4a31a180a4
[æge-withdraw] WiP: towards new API 2023-05-14 13:11:36 +02:00
Christian Grothoff
ef2059c9df
allow '#' 2023-05-14 12:12:49 +02:00
Christian Grothoff
4e5a9906c2
more AML_THRESHOLD fixes 2023-05-13 22:08:45 +02:00
Christian Grothoff
89ed38c03c
typos 2023-05-13 22:04:14 +02:00
Christian Grothoff
40e45e7f5e
avoid generating useless file by tests 2023-05-13 22:02:10 +02:00
Christian Grothoff
bac4932cf5
-fix templating tests 2023-05-13 22:00:04 +02:00
Christian Grothoff
b7d1ca4cd9
strcasecmp 2023-05-13 20:37:58 +02:00
Christian Grothoff
89e21002d6
return tipping_allowed from /keys 2023-05-13 20:31:47 +02:00
Christian Grothoff
90ca90b576
-start with new ENABLE_TIPPING option 2023-05-13 20:23:38 +02:00
Christian Grothoff
92df1cb1da
-move AML_THRESHOLD option to exchange 2023-05-13 20:22:16 +02:00
Christian Grothoff
c9ed524bc3
add logic to oauth2 plugin to use /setup endpoint when configured 2023-05-13 17:06:21 +02:00
9f1f069cea
Merge branch 'age-withdraw' of ssh://git.kesim.org/taler/exchange into age-withdraw 2023-05-12 15:10:59 +02:00
a04425df34
[age-withdraw] WIP: change schema to use new support for array types, 11/n 2023-05-12 15:10:23 +02:00
Christian Grothoff
ff1a28319f
-fix FTBFS 2023-05-11 15:24:16 +02:00
Christian Grothoff
bc03a27cba
-fix doxygen 2023-05-11 11:47:35 +02:00
Christian Grothoff
7899bc5621
externalize persona JSON conversion logic, expand with file download 2023-05-11 01:18:24 +02:00
Christian Grothoff
ec8ad2e3b3
update mustach library 2023-05-11 01:16:53 +02:00
Christian Grothoff
0dd0fff17d
-typo 2023-05-10 22:13:18 +02:00
Christian Grothoff
b15713f42e
add helper logic for JSON2JSON conversion 2023-05-10 22:09:47 +02:00
Christian Grothoff
4954963405
ensure amounts are in upper-case 2023-05-10 09:13:09 +02:00
Christian Grothoff
5259ea0532
-fix logging 2023-05-10 01:21:52 +02:00
Christian Grothoff
cc34502ac1
-fix TOTP calculation 2023-05-10 01:13:45 +02:00
Christian Grothoff
5f9c3021db
exceptions-apply 2023-05-10 01:08:05 +02:00
Christian Grothoff
09f09a2104
fix more VLAs 2023-05-10 01:07:20 +02:00
Christian Grothoff
c014acf3c4
always use GNUNET_memcpy 2023-05-10 01:01:37 +02:00
Christian Grothoff
3ebd0a70b2
fix 0-length VLAs 2023-05-10 00:57:04 +02:00
Christian Grothoff
aedd13a778
assertions to make compiler happy 2023-05-10 00:27:33 +02:00
Christian Grothoff
1cf58e8ff8
-fix warning 2023-05-10 00:02:52 +02:00
Christian Grothoff
4e79967f9b
-consistency 2023-05-09 23:53:02 +02:00
dc5b0fb0d3
Fix age mask parsing from config
- initialize age mask to zero
- drop default bitstring for age mask, use string instead

-remove default age mask bits, use string instead

-strdup
2023-05-09 21:45:59 +02:00
Christian Grothoff
d1379e492d
-fix include 2023-05-09 14:11:21 +02:00
Christian Grothoff
f009e0bd12
-make content-length optional again 2023-05-09 14:07:13 +02:00
Christian Grothoff
6d363488a1
allow NULL 2023-05-07 00:16:06 +02:00
Christian Grothoff
1639cefa61
-doxygen 2023-05-06 21:29:43 +02:00
Christian Grothoff
404b2b78f1
add convenience function TALER_TEMPLATING_reply_error 2023-05-06 20:55:40 +02:00
Christian Grothoff
1f9427e1d9
add convenience function for content-length limiation 2023-05-06 19:43:17 +02:00
Christian Grothoff
737b3338ed
-doxygen 2023-05-04 21:32:36 +02:00
Christian Grothoff
1e88796045
finish implementation for #7808 2023-05-04 17:36:43 +02:00
Christian Grothoff
7c0de44a2b
towards LP support for GET /deposits (#7808) 2023-05-04 17:14:54 +02:00
Christian Grothoff
2de2b6e3cf
-fix crypto test 2023-05-04 16:04:29 +02:00
Christian Grothoff
4c1a2c0307
more shared logic for argument/header parsing 2023-05-04 14:42:06 +02:00
Christian Grothoff
0b8752bb1b
-more readable, no semantic change 2023-05-03 20:25:39 +02:00
Christian Grothoff
8e0f9b40c0
check regex syntax at least 2023-05-02 21:48:23 +02:00
Christian Grothoff
4267f1d762
include 0-terminator when hashing 2023-05-02 17:32:26 +02:00
Christian Grothoff
ffd4057c61
use same canonicalization of JSON as for contract hashes when doing normal JSON hashing 2023-05-02 17:29:41 +02:00
Christian Grothoff
41cb79c685
implement taler-exchange-offline account restriction and conversion functionality 2023-05-02 12:07:27 +02:00
Christian Grothoff
00021d7e83
-doxygen 2023-05-02 11:03:26 +02:00
Christian Grothoff
8ce9433736
fix uninitialized old_scope 2023-05-01 23:10:44 +02:00
Christian Grothoff
647ae694cc
-fix uninitialized variable and memory leak 2023-05-01 22:34:35 +02:00
Christian Grothoff
faca037018
expose TALER_EXCHANGE_parse_accounts() in external API 2023-05-01 22:34:35 +02:00
Christian Grothoff
75f75c4a51
breaking protocol changes towards fixing #7810 (incomplete, taler-exchange-offline still unfinished) 2023-05-01 22:34:35 +02:00
5ee567d1ba
-fix memory leak 2023-05-01 20:59:03 +02:00
84bde679a7
-typos 2023-05-01 20:19:51 +02:00
e68d9f9b75
-cleanup signatures 2023-05-01 14:22:18 +02:00
153a078ca5
-typo in comment 2023-05-01 14:12:38 +02:00
1a63275d98
WiP: age-withdraw, finished reveal-request, 10/n
- /age-withdraw/$ACH/reveal handler now fully implemented
- for consistency with api: rename of tables from withdraw_age_... to
  age_withdraw
2023-05-01 14:05:58 +02:00
Christian Grothoff
af3c92f9d5
-dox 2023-04-25 23:19:18 +02:00
Christian Grothoff
e1439e6401
-fix doxygen 2023-04-25 23:12:33 +02:00
Christian Grothoff
487f23502f
add nexus-fetch-transactions 2023-04-25 23:06:58 +02:00
Christian Grothoff
1a3dbf8c98
-fix port 2023-04-24 21:15:04 +02:00
Christian Grothoff
505170ce1f
fix filename 2023-04-24 20:37:53 +02:00
Christian Grothoff
b219366cdf
update for API change as per #6363 2023-04-23 22:57:39 +02:00
08b420dd52
-fix typos for doxygen 2023-04-23 11:55:17 +02:00
Christian Grothoff
88a69ac7f2
add missing original makefile 2023-04-22 18:33:17 +02:00
5d17c9c909
wallet expects bankAccessApiBaseUrl 2023-04-22 18:14:33 +02:00
6f492b2a97
WiP: age-withdraw, continue with finalize_age_withdraw_and_sign, 9/n
Also:

- added duplicate planchet check for age-withdraw_reveal
- added stubs for (get|insert)_age_withdraw_reveal
2023-04-22 17:18:59 +02:00