Commit Graph

2294 Commits

Author SHA1 Message Date
Christian Grothoff
4a84520514
resolve #4963 2017-10-16 17:57:29 +02:00
Christian Grothoff
2cddf524a8
work on #4963 for taler-auditor 2017-10-16 17:57:29 +02:00
Marcello Stanisci
88cdaf70c9
adding missing table in the drop method 2017-10-16 16:47:14 +02:00
Christian Grothoff
d970d6abb4
suppress compiler warning 2017-10-15 17:42:41 +02:00
Christian Grothoff
6dbbd36a81
add CSS to dist 2017-10-14 11:37:03 +02:00
Christian Grothoff
b5f5956ee2
fix geq, needs{} 2017-10-14 00:01:59 +02:00
Christian Grothoff
fca44ed626
fix syntax issue in texi 2017-10-13 21:45:11 +02:00
Christian Grothoff
7a232a0941
add references to Mantis bugs to TODO/FIXME comments in code 2017-10-12 20:56:16 +02:00
Christian Grothoff
cb13afaf54
complete first pass of taler-wre-auditor's wire-out audit logic 2017-10-12 20:46:42 +02:00
Christian Grothoff
600d1684e3
completing reserves_in logic of taler-wire-auditor, but not tested 2017-10-12 16:26:52 +02:00
Christian Grothoff
cc5d09cf1d
properly handle signing errors if httpd lacks signing keys by returning internal errors (and handling new return value from TEH_KS_sign) 2017-10-07 15:10:24 +02:00
Christian Grothoff
7935349d35
check return value from create_denom_key_pair in test 2017-10-06 22:19:13 +02:00
Christian Grothoff
c92d88d944
check rval from TALER_amount_to_string 2017-10-06 22:16:28 +02:00
Christian Grothoff
837fcd515c
use proper return value, some c99 changes 2017-10-06 22:13:28 +02:00
Christian Grothoff
15e27abed5
doh, do not try to clean up after allocation failure 2017-10-06 22:10:32 +02:00
Christian Grothoff
1261971987
yet another TALER_amount_get_zero with missing rval check 2017-10-06 22:08:35 +02:00
Christian Grothoff
1c725c055e
use proper enum value for error code on signature parsing in wire plugin 2017-10-06 22:06:25 +02:00
Christian Grothoff
d86a6615cc
really carefully check strtoll() return value before casting to uint64_t 2017-10-06 22:04:51 +02:00
Christian Grothoff
332a37292c
handle (most) TEH_KS_acquire errors 2017-10-06 21:54:55 +02:00
Christian Grothoff
98b7444a7b
handle hypothetical failure of plugin not found 2017-10-06 21:41:41 +02:00
Christian Grothoff
9b585fd066
handle plugin load failure without crashing 2017-10-06 21:39:19 +02:00
Christian Grothoff
ad97b8d439
use proper type for do_shutdown() callback 2017-10-06 21:36:40 +02:00
Christian Grothoff
a90936f858
reduce scope of local vars 2017-10-06 21:35:17 +02:00
Christian Grothoff
a7746c8153
add assertion to be more defensive against buffer overflow (cannot happen, but this better protects against future changes) 2017-10-06 21:32:33 +02:00
Christian Grothoff
d55050652d
BLOB is BYTEA in Postgres 2017-10-06 21:31:07 +02:00
Christian Grothoff
dc883f8556
add assertion to be more defensive against buffer overflow (cannot happen, but this better protects against future changes) 2017-10-06 21:27:58 +02:00
Christian Grothoff
8f08e4634f
do not potentially pass -1 to fcntl() 2017-10-06 21:23:29 +02:00
Christian Grothoff
7f37c2ae00
more return value checks on TALER_amount_get_zero 2017-10-06 21:21:20 +02:00
Christian Grothoff
800c54b19e
do not potentially pass -1 to fcntl() 2017-10-06 21:06:47 +02:00
Christian Grothoff
06f5621fba
better logging if IBAN validation fails, also avoid potentially unbounded stack allocation 2017-10-06 21:04:56 +02:00
Christian Grothoff
dbab0c6587
check return value from TALER_amount_get_zero 2017-10-06 20:54:42 +02:00
Christian Grothoff
2f715c27f8
check return value from TALER_JSON_hash 2017-10-06 20:02:28 +02:00
Christian Grothoff
1da03b95eb
fix indentation 2017-10-06 19:54:48 +02:00
Christian Grothoff
e5aed9e5cb
fix signed calls to isalpha/isdigit/isspace etc. 2017-10-06 19:53:48 +02:00
Christian Grothoff
85a2d3dc0e
modify wire auditor to deal with asynchrony of WIRE plugin API 2017-09-30 21:28:17 +02:00
Christian Grothoff
6a4f6b1836
also store wire position in auditordb 2017-09-30 20:47:52 +02:00
Christian Grothoff
96e04d33e1
update auditordb API to support logic for taler-wire-auditor 2017-09-30 20:29:19 +02:00
Christian Grothoff
34db060b4c
update .gitignore 2017-09-26 15:16:16 +02:00
Christian Grothoff
a0d410e01b
fix mapping of auditor sigs to DKs, avoid one hash operation by caching hash value 2017-09-26 15:05:27 +02:00
Christian Grothoff
d36a2008e8
fix uninit auditor_url field 2017-09-26 14:09:55 +02:00
Christian Grothoff
472853442f
fix calculation of 'Expires:' header, also handle HTTP HEAD requests 2017-09-26 13:56:33 +02:00
Christian Grothoff
a8de810bf7
simplify time conversion using strptime instead of manual hack, also check for timezone issues if we get unusual time values 2017-09-26 13:46:06 +02:00
Christian Grothoff
7cb48a720b
check json_array_append_new() return values, proper logging on errors 2017-09-26 12:30:24 +02:00
Christian Grothoff
a3b71ac75b
fix bad sizeof() 2017-09-26 12:23:06 +02:00
Christian Grothoff
e78e0f6c4e
starting point for #4948 2017-09-25 23:27:16 +02:00
Christian Grothoff
e5a9b3ffa7
bump version of taler protocol we implement 2017-09-17 16:56:23 +02:00
Christian Grothoff
e328b44172
clean up /keys cherry picking logic, including changing the last_issue_date value to be in seconds 2017-09-17 16:53:14 +02:00
Christian Grothoff
1c3e787243
be more precise about encoding HTTP bodies 2017-09-14 21:07:43 +02:00
Christian Grothoff
f346e89ceb
(imperfect) test for #4840 2017-09-14 20:52:39 +02:00
Christian Grothoff
f440904f1b
note on messy / duplicated code 2017-09-13 21:45:10 +02:00