Commit Graph

46 Commits

Author SHA1 Message Date
Marcello Stanisci
704e0913c6
Fix compilation warnings, + enable polymorphic /history handler. 2019-04-08 02:37:45 +02:00
Marcello Stanisci
ddb8cdfa7a
Finishing /history-range implementation, untested. 2019-04-08 02:37:45 +02:00
Marcello Stanisci
3c66bb30b9
Gather /history implementation(s) in one point. 2019-04-08 02:37:45 +02:00
Marcello Stanisci
eca27d9d91
Finish abstract history builder. 2019-04-08 02:37:44 +02:00
Marcello Stanisci
8655a40ad7
Half-baking #5666. 2019-04-05 19:31:01 +02:00
Marcello Stanisci
32cdef2b62
Making the bug /history[-range] args parser. 2019-04-05 16:13:56 +02:00
Marcello Stanisci
a3979b583f
"/history" 'start' default value.
The fakebank got adapted to the same logic from the
Python bank (with negative deltas, 'start' defaults to
UINT64_MAX, whereas with positives it defaults to 0).
2019-03-21 18:45:50 +01:00
Marcello Stanisci
115ecfbc49
Fakebank debug 2019-03-14 18:48:11 +01:00
Christian Grothoff
1ce69e6b2f
initialize start_number in fakebank 2019-02-15 12:41:26 +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
Florian Dold
ec08232b3f
increase listen backlog for fakebank 2018-08-19 11:37:42 +02:00
Christian Grothoff
7fb43dd2ae
make fakebank use epoll() on platforms where it is available 2018-08-19 11:20: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
Florian Dold
e318edb5e5
use url instead of uri consistently 2018-01-30 01:38:04 +01:00
Christian Grothoff
bc7957f393
fix fakebank memory leak 2018-01-16 13:11:35 +01:00
Marcello Stanisci
346c351e5f
redefining/adding bank error codes 2017-12-22 21:22:57 +01:00
Marcello Stanisci
9ea3145745
respect /reject API: credit_account -> account_number 2017-12-13 19:07:41 +01:00
Christian Grothoff
cf9e5efbfb
use dual stack for fakebank 2017-12-12 19:23:16 +01:00
Christian Grothoff
878c68faf6
better diagnostics from fakebank 2017-12-10 21:19:30 +01:00
Christian Grothoff
6623afa2a3
add testcase for #5077 (passes), start to reduce use of exchange's admin/add/incoming (#5172, more to come) 2017-12-10 16:02:03 +01:00
Florian Dold
e75afb3164
use row_id instead of serial_id everywhere 2017-12-08 17:04:11 +01:00
Christian Grothoff
042616899f
largely fix #5077 2017-12-06 19:24:00 +01:00
Christian Grothoff
0580168c0e
automated refunds of expired reserves now work and tested, fixes #4956 2017-06-11 17:04:54 +02:00
Christian Grothoff
ba17729f65
tolerate empty transaction list when returning history 2017-06-11 16:06:52 +02:00
Christian Grothoff
becb7139e1
fix doxygen 2017-06-11 15:28:18 +02:00
Christian Grothoff
16b7c26605
modify fakebank API to allow arbitrary subjects, not just well-fromed WTIDs 2017-06-11 15:25:59 +02:00
Christian Grothoff
59fd83b731
fix memory leaks (#5050) 2017-06-04 12:07:53 +02:00
Christian Grothoff
1e30d60a25
fixing misc doxygen issues 2017-06-04 11:30:43 +02:00
Christian Grothoff
bdfa18830d
start_row is actually start in the spec, fix naming 2017-05-16 11:05:00 +02:00
Christian Grothoff
7c28823caf
handle base32-wire transfer subject being followed by space+exchange base url in wire plugin and fakebank 2017-05-16 11:05:00 +02:00
Christian Grothoff
be3b891dbd
fix port numbers, no longer 8081 but on 8080; and box json array /history response in {data} as required by API 2017-05-16 11:05:00 +02:00
Marcello Stanisci
edf24557bf
revert last change 2017-05-10 15:46:05 +02:00
Marcello Stanisci
ec53b9f6ce
serial_id -> row_id in returned json 2017-05-10 11:49:59 +02:00
Christian Grothoff
783642272d
fix possible NULL deref, simplify logic 2017-05-09 13:24:53 +02:00
Christian Grothoff
18a020dd02
implement fakebank support (incl. tests) for #5005/#4964/4959 2017-05-07 21:11:56 +02:00
Christian Grothoff
69fa9b41d1
start to add /history testing support to tests, fix some minor issues 2017-05-04 23:52:54 +02:00
Christian Grothoff
1ea22a37c6
add /history support to fakebank 2017-05-04 23:29:08 +02:00
Christian Grothoff
234dbcc7b7
switch bank api to new authentication method API 2017-05-04 15:18:43 +02:00
Christian Grothoff
57502edf15
fix typo 2017-05-04 14:06:16 +02:00
Christian Grothoff
405859d068
implement #4993 2017-05-04 11:19:00 +02:00
Christian Grothoff
487237381d
fix misc doxygen issues 2017-04-20 07:49:56 +02:00
Christian Grothoff
397c718809
implementing #4921: add base URL to wire transfers 2017-03-02 06:26:12 +01:00
Marcello Stanisci
59c6856284 fixing #4594 2016-07-07 17:55:25 +02:00
Christian Grothoff
2886187a02 fix leaks 2016-06-11 16:47:13 +02:00
Christian Grothoff
a7379930d2 turn libfakebank into libtalerfakebank so we can use it for testcases in the merchant 2016-06-08 11:35:28 +02:00
Christian Grothoff
8d503b17e3 move fake bank implementation to new library to re-use the code in upcoming testcases in preparation of fixing #4399 2016-04-17 23:14:23 +02:00