Commit Graph

23 Commits

Author SHA1 Message Date
Marcello Stanisci
bb44b9b475
Fix #5558. 2019-02-13 17:53:48 +01:00
Marcello Stanisci
8315e15123
Fix transactions list request. 2019-02-12 17:33:52 +01:00
Marcello Stanisci
82f01f111b
Getting transaction history 60% fixed. 2019-02-12 17:13:08 +01:00
Marcello Stanisci
15c1a877c6
/history API semantics extended.
That API has now a new 'ordering' flag that lets the
client choose what ordering the results should have:
ascending or descending.

In particular, this change adapted the fakebank and
tests logic to such introduction.
2018-12-14 19:25:42 +01:00
Christian Grothoff
f224017505
fix a few more leaks 2018-11-25 15:38:58 +01:00
Christian Grothoff
85aa6d17c7
fix misc. memory leaks 2018-11-25 14:51:31 +01:00
Marcello Stanisci
d3f73936ae
Skip test when wire-plugin is not loaded. 2018-11-19 23:52:24 +01:00
Christian Grothoff
48ad5d2b5c
fix compiler warning due to possiblity of uninitialized values if enum is out-of-range 2018-11-10 17:41:07 +01:00
Marcello Stanisci
78ebba7276
fix /reject base URL. 2018-09-24 18:31:08 +02:00
Marcello Stanisci
20ad59ba84
minor edit 2018-09-21 15:30:39 +02:00
Marcello Stanisci
281c5e3879
Debugging the wirewatch. 2018-09-21 14:53:58 +02:00
Christian Grothoff
f0a796a3f6
make curl check saner, use AS_IF 2018-08-16 14:22:01 +02:00
Marcello Stanisci
6df3227c24
Wire-plugin interface.
Add methods signatures to register merchants at banking institutions.
2018-07-23 14:32:20 +02:00
Marcello Stanisci
6a8c5209c3
fix leaks. 2018-06-14 11:49:20 +02:00
Marcello Stanisci
7d84a0eadf
Fix aggregator.
Now use the bank base *url* extracted
from the payto:// extractor.
2018-06-13 19:33:20 +02:00
Marcello Stanisci
465c666174
Payto parsing.
Moving the extracted bank base URL into proper structure.
2018-06-13 19:29:12 +02:00
Marcello Stanisci
5d1bb08a74
433 > 443 2018-06-12 19:48:11 +02:00
Marcello Stanisci
4d410dc7db
Making https:// default. 2018-06-12 19:32:35 +02:00
Marcello Stanisci
6f579eb833
From payto:// to base url.
The conversion prepends http// or https://
depending on the port given beside the hostname.
If port is 433, then prepends https://, otherwise
prepends http://.

For now, the conversion was only necessary at
the /history bank lib.
2018-06-12 19:16:43 +02:00
Marcello Stanisci
80ffdb45dc
adding missing information 2018-05-11 12:27:53 +02:00
Marcello Stanisci
868a0deecc
Fix offsetting. 2018-05-11 11:34:00 +02:00
Christian Grothoff
202827ebda
merging Florian's changes with my wire changes 2018-04-15 12:20:00 +02:00
Christian Grothoff
cb55c1a3af
Changing configuration structure to enable multiple accounts.
This change enables using multiple wire plugins at the same time.
Also, we now distinguish between the wire plugin (i.e. EBICS or
taler_bank) and the wire method (i.e. SEPA or x-taler-bank) that
the wire plugin is implementing.  The "taler-bank" wire method
was renamed from "test" to "x-taler-bank".

This also changes the format of the /wire response of the exchange,
as we now need to return multiple accounts.  Note that wire fees
are specified per wire method, not per wire account.

taler-exchange-keyup now automatically signs all of the /wire
responses in the location specified by the configuration.

Account identification in wire plugins was changed to use
payto://-URLs instead of method-specific JSON fields.  Signing
and validation of /wire responses was moved from each wire
plugin to a generic validation method in libtalerutil (crypto)
or libtalerjson (for JSON-formatted inputs).
Convenience methods were added to generate JSON for wire accounts
(salting, signing).

Various section and option names were adjusted to streamline the
configuration and make it more consistent overall.  Documentation
was updated as well.
2018-04-02 14:29:44 +02:00