summaryrefslogtreecommitdiff
path: root/src/bank-lib
AgeCommit message (Collapse)Author
2019-03-21Adapt "/history" tests to the new policy of 'start' defaults.Marcello Stanisci
2019-03-21"/history" 'start' default value.Marcello Stanisci
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-21Makefile.Marcello Stanisci
Do not install, but get to compile the utility command 'taler-fakebank-run'.
2019-03-21Comment.Marcello Stanisci
Commenting about the impossibility of the current history CMD to interpret the 'ordering' parameter of "/history" requests.
2019-03-18Do not run unneeded test.Marcello Stanisci
2019-03-14Fakebank debugMarcello Stanisci
2019-03-13Fakebank debugging.Marcello Stanisci
Adding a CLI launcher for the bare fakebank service.
2019-02-15initialize start_number in fakebankChristian Grothoff
2019-01-22Fix Makefiles.Marcello Stanisci
2018-12-19#5459Marcello Stanisci
2018-12-14/history API semantics extended.Marcello Stanisci
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-13Adapt test to bank returning descending /history elements.Marcello Stanisci
2018-12-13Adapt test to bank returning descending /history elements.Marcello Stanisci
2018-11-25fix misc. memory leaksChristian Grothoff
2018-11-17use more const in taler_testing_lib.hChristian Grothoff
2018-10-22Fix compiler warnings.Marcello Stanisci
This reverts changes made in b0d00823eb96de733510354. The warnings are fixed by changing the functions signatures, instead of casting their pointers.
2018-10-22Fix compiler warnings.Marcello Stanisci
2018-09-05fix "twisted" test-suites.Marcello Stanisci
2018-08-19fix test setup invocationFlorian Dold
2018-08-19increase listen backlog for fakebankFlorian Dold
2018-08-19make fakebank use epoll() on platforms where it is availableChristian Grothoff
2018-08-16fix all (?) wrong -l flagsFlorian Dold
2018-08-16fix more wrong -l flagsFlorian Dold
2018-08-16fix some wrong -l flagsFlorian Dold
2018-07-02Finish addressing #5332Marcello Stanisci
2018-07-02polish bank history CMDMarcello Stanisci
2018-06-27Addressing #5291.Marcello Stanisci
2018-06-12From payto:// to base url.Marcello Stanisci
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-05-29Commenting the bank-lib "testing" header file.Marcello Stanisci
2018-05-29do not use hard coded database stringMarcello Stanisci
2018-05-28Commenting the "history" CMDMarcello Stanisci
2018-05-28Commenting the "reject" CMDMarcello Stanisci
2018-05-28Commenting the remaining "lib" traits.Marcello Stanisci
2018-05-04Tests flexibility.Marcello Stanisci
It is now possible to launch the bank from the testing-lib regardless of it being served via HTTP or UWSGI.
2018-04-23address double-slash situation.Marcello Stanisci
2018-04-15merging Florian's changes with my wire changesChristian Grothoff
2018-04-06fix commentFlorian Dold
2018-04-04fix compiler warningsFlorian Dold
2018-04-02fix post-merge FTBFSChristian Grothoff
2018-04-02Changing configuration structure to enable multiple accounts.Christian Grothoff
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-03-26still on gentle twister termination.Marcello Stanisci
2018-03-22gently terminating the twister.Marcello Stanisci
2018-03-17fix makefile conditional.Marcello Stanisci
2018-03-17adding "with_fakebank_twisted" tests.Marcello Stanisci
2018-03-17add fakebank-version of twisted tests.Marcello Stanisci
2018-03-17mini testing of twister.Marcello Stanisci
Make one bank-lib test command pass through the twister.
2018-03-17fix return code.Marcello Stanisci
2018-03-17bank-lib twisted tests scaffold done.Marcello Stanisci
2018-03-17bank-lib's twisted tests scaffoldMarcello Stanisci
2018-03-12fix compiler warnings related to use of %llu on uint64_tChristian Grothoff