Commit Graph

91 Commits

Author SHA1 Message Date
Christian Grothoff
0ef7c0a0b7
fix #6960 2021-07-29 23:56:46 +02:00
Christian Grothoff
b9e4431ae6
-fix amount packer 2021-07-28 09:45:33 +02:00
Christian Grothoff
91bb5623de
JSON: implement taler-specific json pack functions 2021-07-26 17:26:09 +02:00
Christian Grothoff
42decef957
fix #6939 in exchange 2021-07-24 09:00:35 +02:00
Christian Grothoff
95f0fdf369
distinguish between input failure and internal failures when hashing contracts 2021-07-21 20:21:08 +02:00
Christian Grothoff
d37e4eabc4
-use nicer enum 2021-07-20 15:38:56 +02:00
Christian Grothoff
5c569d3df7
expose TALER_JSON_validate_payto 2021-07-20 15:36:08 +02:00
Christian Grothoff
5cec88e87e
-fix segv 2021-07-18 18:59:11 +02:00
Christian Grothoff
6680f9b4ef
implement logic to replace 'true' forgettable salts with random salts, fix object deletion when forgetting 2021-06-16 23:12:21 +02:00
Christian Grothoff
bf7adbfa2e
-remove dead leaky code 2021-06-16 17:40:04 +02:00
ffb24f5b59
use dollar to prefix reserved JSON names 2021-06-16 11:45:44 +02:00
Christian Grothoff
2918448338
purge fields instead of setting to NULL as suggested by Florian 2021-06-15 20:34:25 +02:00
Christian Grothoff
5f268913dd
return NO if forgetting did not work because it was already forgotten earlier 2021-05-11 19:17:09 +02:00
Christian Grothoff
684a234264
fix #6855 2021-05-09 13:41:23 +02:00
Christian Grothoff
5fc1764db3
do not upgrade gana to master on bootstrap 2021-04-09 16:33:35 +02:00
Christian Grothoff
da15a59717
omit charset from en_US.UTF-8 env variable when picking i18n strings, handle no preference case 2021-04-05 19:29:00 +02:00
Christian Grothoff
f36fe8c22c
omit charset from en_US.UTF-8 env variable when picking i18n strings 2021-04-05 19:27:53 +02:00
Christian Grothoff
63c6654c0f
omit charset from en_US.UTF-8 env variable when picking i18n strings 2021-04-05 19:27:19 +02:00
Christian Grothoff
004a7c9d54
implement convenience function to extract i18n values from JSON (for #6749) 2021-04-05 18:40:23 +02:00
Christian Grothoff
99fff4f98f
implement convenience function to extract i18n values from JSON (for #6749) 2021-04-05 18:33:01 +02:00
Christian Grothoff
cb686975ed
fix leak 2021-04-02 14:55:15 +02:00
Christian Grothoff
25fd6dc25a
fix misc leaks 2021-04-02 13:27:22 +02:00
Christian Grothoff
ec0b1b512c
fix json parsing invocation 2021-03-28 21:52:02 +02:00
Christian Grothoff
99b3ed45fa
update log level 2021-01-21 13:07:19 +01:00
Christian Grothoff
7bbb44ec04
improve logging and comments in json.c 2021-01-18 11:22:52 +01:00
Christian Grothoff
b5534977a3
add missing linker options, bonus fun 2020-12-31 22:23:54 +01:00
Christian Grothoff
8d312562bf
adjust ECs 2020-11-07 18:51:54 +01:00
Christian Grothoff
4bba726356
nicer generic error reporting logic, for #6432 2020-08-25 15:11:56 +02:00
Christian Grothoff
46dde9368f
implement i18n lookup logic for #6458 2020-08-19 18:19:00 +02:00
Jonathan Buchanan
c3eb0fd8e2
change behavior of expanding json paths with arrays 2020-07-21 16:34:14 -04:00
Jonathan Buchanan
fecfa27727
add parser for json path 2020-07-21 03:14:41 -04:00
Christian Grothoff
c326a5bd9d
implement forgettable contract terms core logic (#6365) 2020-07-16 14:35:47 +02:00
Christian Grothoff
e1ad498bff
first draft for #6365, test pending 2020-07-16 01:51:45 +02:00
Christian Grothoff
90e756ddea
rename TALER_JSON_hash to TALER_JSON_contract_hash 2020-07-16 00:42:42 +02:00
Christian Grothoff
575c10027b
also offer API for receiving rounded relative time via JSON 2020-07-05 22:00:01 +02:00
Christian Grothoff
54e63f01df
fix #6408: make sure all timestamps are always rounded when they arrive over JSON, or 400 the requester; similarly don't tolerate anything else as client 2020-07-05 21:54:11 +02:00
MS
1039a1c2f4
IBAN parser skips BIC part. 2020-06-10 17:56:58 +02:00
MS
ab1fc20a45
avoid assert() upon malformed IBANs 2020-06-10 16:15:48 +02:00
MS
3d1dc57bd8
IBAN parsing test. 2020-06-10 11:02:04 +02:00
Christian Grothoff
e2e8d62574
need array terminator 2020-04-24 20:57:04 +02:00
Christian Grothoff
8148c1e8af
fix #6186 2020-04-21 00:55:38 +02:00
Christian Grothoff
ab752e9591
also validate merchant IBANs before signing 2020-04-19 22:31:00 +02:00
Christian Grothoff
44272bf1ce
adapations to GNUnet API change 2020-04-11 21:06:30 +02:00
Christian Grothoff
bf8c5982a2
make exchange API more uniform in how information is returned 2020-04-05 22:05:38 +02:00
Christian Grothoff
17cfbced1d
fix inconsistency in field naming 2020-03-27 17:32:39 +01:00
Christian Grothoff
10c56bcea0
improving benchmarking logic, including more timings 2020-03-20 02:36:50 +01:00
Christian Grothoff
15489275ba
make DB reset optional in API, use it in tests, but not in the benchmark 2020-03-19 17:56:23 +01:00
Christian Grothoff
7fee395bb6
harden URI validation logic 2020-03-16 16:13:21 +01:00
Christian Grothoff
f457e1332d
use memcpy/memcmp instead of str-functions where applicable 2020-03-01 13:36:40 +01:00
Christian Grothoff
1eb292fe1f
check well-formedness of URI when signing, check return value of function for error 2020-03-01 13:31:46 +01:00