Commit Graph

1159 Commits

Author SHA1 Message Date
Christian Grothoff
4a031a692b implementing /refund API (#3848) 2016-05-04 09:42:52 +02:00
Christian Grothoff
c0e3021040 dead code elimination 2016-05-04 06:59:48 +02:00
Christian Grothoff
4553681476 fix issues in tracking API and tracking API test, resolves #4399 2016-05-04 06:10:41 +02:00
Christian Grothoff
910e01d1c1 be more careful with terminology 2016-05-04 05:38:29 +02:00
Christian Grothoff
2c832199b2 check WTID matches 2016-05-04 05:36:23 +02:00
Christian Grothoff
c1253703ae fix size in purpose 2016-05-04 05:30:06 +02:00
Christian Grothoff
991d13178b fix JSON format string 2016-05-04 05:21:39 +02:00
Christian Grothoff
27300ad1cc round exec time 2016-05-04 05:19:47 +02:00
Christian Grothoff
9f0245ca99 modify test to trigger aggregation properly and check resulting fakebank transfers 2016-05-04 05:16:32 +02:00
Christian Grothoff
dc2d0a186c towards fixing #4399 2016-05-03 13:55:40 +02:00
Christian Grothoff
79c316f0d5 enable multiple wire methods to be used with aggregator, add command to run aggregator in testcase 2016-05-03 07:57:49 +02:00
Christian Grothoff
f2b7e36269 finish tests for #4437 2016-05-03 06:15:09 +02:00
Christian Grothoff
eabbafc4df adding assertions to assist figuring out #4482 2016-05-03 05:52:37 +02:00
Christian Grothoff
5852baa7e9 fix testcase 2016-05-02 09:06:16 +02:00
Christian Grothoff
08ef15ec94 adding bank-lib test against fakebank (currently fails) -- towards addressing #4437 2016-05-02 08:54:05 +02:00
Christian Grothoff
31ad6aaf11 separate interpreter from the rest of the test logic 2016-05-02 08:46:17 +02:00
Christian Grothoff
5fd6a25c6d code simplification via new extended libgnunetcurl API 2016-05-02 08:24:21 +02:00
Christian Grothoff
ad45e5ab7a adjust shutdown/timeout to match latest GNUnet scheduler API semantics 2016-05-02 06:48:25 +02:00
Christian Grothoff
1cbba4bec1 fixing #4462: avoid temporary schemata altogether 2016-05-02 06:36:58 +02:00
Christian Grothoff
53e7547aaf removing broken and redundant testcase 2016-05-02 05:17:42 +02:00
Christian Grothoff
b98a204562 fix #4184 2016-05-02 05:10:40 +02:00
Christian Grothoff
1c2be591d3 fixing #4479 2016-05-02 02:33:14 +02:00
Christian Grothoff
d34c6401b4 fixing #4470 2016-05-02 01:30:13 +02:00
Christian Grothoff
7fe7f66ffa update use to match new GNUnet scheduler API 2016-04-30 10:58:35 +02:00
Christian Grothoff
2c3dc44a20 Merge branch 'master' of ssh://taler.net:/var/git/exchange into HEAD 2016-04-28 22:07:04 +02:00
Florian Dold
e7e14f3009 misspelt variable 2016-04-26 21:49:48 +02:00
Florian Dold
d17629bf72 create directories 2016-04-26 21:46:44 +02:00
Florian Dold
ad40c23390 check_permissions for AF_UNIX 2016-04-26 14:16:35 +02:00
Florian Dold
bf0ee981ff typo 2016-04-25 21:30:54 +02:00
Florian Dold
34f9900f66 chmod instead of fchmod 2016-04-25 21:30:13 +02:00
Florian Dold
4656f7f883 missing free 2016-04-25 21:23:08 +02:00
Florian Dold
9488d72347 missing newline in log 2016-04-25 21:19:01 +02:00
Florian Dold
99f8434e50 typo 2016-04-25 21:18:00 +02:00
Florian Dold
5b4d2ed1be octal 2016-04-25 21:17:16 +02:00
Florian Dold
275296311f comment 2016-04-25 20:51:19 +02:00
Florian Dold
37266ffacd socket permissions 2016-04-25 20:36:47 +02:00
Florian Dold
edd704fa73 precheck for UDS 2016-04-25 20:25:05 +02:00
Florian Dold
57728835cf use GNUnet helpers 2016-04-25 20:22:06 +02:00
Florian Dold
c2c2b92ed4 implement serving exchange via unix domain sockets 2016-04-25 16:20:38 +02:00
Florian Dold
423565e74b fix CURRENCY section in test case 2016-04-25 13:47:59 +02:00
Christian Grothoff
47c3a489e2 presumably fixing #4455. A check did exist (see taler-exchange-httpd_deposit.c:225), but the two checks disagreed whether it was OK for the fee to be exactly equal to the amount. Now both checks allow the fee to be equal to the amount. 2016-04-25 00:31:23 +02:00
Christian Grothoff
fbbf35c87f fix #4438 2016-04-25 00:26:34 +02:00
Florian Dold
95e52cd2e8 make names related to wire plugins less generic 2016-04-22 19:09:55 +02:00
Florian Dold
9507c8c369 base config varname 2016-04-22 16:11:19 +02:00
Florian Dold
ad321624be add taler-arm wrapper 2016-04-22 15:17:02 +02:00
Christian Grothoff
21188ca703 Merge branch 'master' of ssh://taler.net:/var/git/exchange 2016-04-21 20:00:40 +02:00
Christian Grothoff
77e9e3a7f6 sketching out refund API implementation 2016-04-20 03:05:16 +02:00
Christian Grothoff
edd31c7415 implementing parsing of /refund requests 2016-04-20 02:50:52 +02:00
Christian Grothoff
f693e25793 introduce refund fee 2016-04-20 01:50:26 +02:00
Christian Grothoff
1d8da4bf84 unset env variable instead of setting to empty 2016-04-20 01:50:16 +02:00
Florian Dold
fda03a481f add missing file 2016-04-19 23:43:11 +02:00
Florian Dold
e01143daf3 move currency to taler section, create taler.conf 2016-04-19 23:41:07 +02:00
Florian Dold
f9d4a96715 move currency to taler section 2016-04-19 23:11:57 +02:00
Florian Dold
6d551b3073 unnecessary include 2016-04-19 14:44:53 +02:00
Florian Dold
37be942f48 do not include gnunet's platform header in our public headers 2016-04-19 13:54:59 +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
Christian Grothoff
4dcd70ac2b fix #4400: add test for amount_round wire plugin API 2016-04-17 22:46:49 +02:00
Christian Grothoff
a881e44944 update code to match new API 2016-04-17 20:03:57 +02:00
Christian Grothoff
7496a03978 replace bank_api_context with libgnunetcurl 2016-04-17 18:03:01 +02:00
Christian Grothoff
1ed567a14b replace exchange_api_context with libgnunetcurl 2016-04-17 17:45:15 +02:00
Christian Grothoff
05751b63aa Merge branch 'master' of git+ssh://taler.net/var/git/exchange 2016-04-17 16:28:50 +02:00
Christian Grothoff
2c693bcb72 fix comments 2016-04-17 16:28:37 +02:00
Christian Grothoff
dda069f5f9 fix linker issue 2016-04-16 19:53:01 +02:00
Christian Grothoff
719b51b65d fix config parsing for dbinit tool 2016-04-16 19:49:53 +02:00
Christian Grothoff
a34891981c make all exchange-tools load configs properly like other Taler tools 2016-04-16 13:57:22 +02:00
Christian Grothoff
3abb3bc372 use user_config_file as well 2016-04-16 13:10:29 +02:00
Christian Grothoff
f552b7e4c0 use exchange section consistently for master_priv_file option 2016-04-16 12:46:01 +02:00
Christian Grothoff
fe36ba0062 fix taler-exchange-wire way of loading configuration 2016-04-16 12:44:45 +02:00
Christian Grothoff
ecc5b6791f fix taler-exchange-keyup way of loading configuration 2016-04-16 12:37:37 +02:00
Christian Grothoff
480b9cdf39 automatically set 'type' in taler-exchange-wire 2016-04-15 20:08:19 +02:00
Christian Grothoff
663363fc0e Fix #4229 2016-04-15 19:41:44 +02:00
Florian Dold
bcf4b7f724 gitignore 2016-04-15 15:41:11 +02:00
Christian Grothoff
74e237164c Merge branch 'master' of ssh://taler.net:/var/git/exchange 2016-04-15 15:00:26 +02:00
Christian Grothoff
ebf049a8c2 add missing rollback 2016-04-15 15:00:24 +02:00
Florian Dold
3098c0a9e0 new taler-bank-manage invocation 2016-04-14 01:19:32 +02:00
Florian Dold
c234a8bed8 Create taler-config wrapper around gnunet-config
The wrapper uses LD_PRELOAD to make sure that paths are adjusted
for taler.
2016-04-13 15:58:02 +02:00
Florian Dold
9f9d41dd06 set currency to default bank currency for test case 2016-04-11 23:58:02 +02:00
Florian Dold
7e648c042c account numbers start at 1 2016-04-11 23:44:09 +02:00
Florian Dold
21ea107cc0 newline 2016-04-11 21:10:20 +02:00
Christian Grothoff
cb987575c1 check exchange signature on /wire/deposit response (#4135) 2016-04-11 20:16:58 +02:00
Christian Grothoff
ce9dd3365d implement signing of /wire/deposit replies (#4135) 2016-04-11 19:54:54 +02:00
Christian Grothoff
3a5902b590 Merge branch 'master' of git+ssh://taler.net/var/git/exchange 2016-04-11 19:27:26 +02:00
Christian Grothoff
a2bb69910a refactor /wire/deposit response generation to do all JSON logic in httpd_responses.c 2016-04-11 19:27:18 +02:00
Christian Grothoff
a7f2496795 adding wire plugin tests, resolving #4357 2016-04-11 15:59:24 +02:00
Christian Grothoff
58373f2a92 adding new test, still failing 2016-04-11 13:16:12 +02:00
Christian Grothoff
aee99021a7 reduce unnecessary #includes 2016-04-11 13:02:58 +02:00
Christian Grothoff
af91cd87d6 use libtalerwire instead of duplicating logic 2016-04-11 13:01:20 +02:00
Christian Grothoff
b018d4d5b0 implementing #4357, but test missing 2016-04-11 02:37:56 +02:00
Christian Grothoff
30d66bcebc fixing #4386: use more sane configuration and data file structure 2016-04-10 17:10:20 +02:00
Christian Grothoff
5fb65f59b2 add testcase for profiteering from rounding, also passes, this concludes #4141 2016-04-10 14:28:54 +02:00
Christian Grothoff
71107a7b3d expanding aggregator testcase 2016-04-10 02:52:46 +02:00
Christian Grothoff
6e90ef9f4a implement selection by wire_deadline as documented 2016-04-10 02:43:09 +02:00
Christian Grothoff
bf92166be3 do not clear result until end of iteration over results 2016-04-10 02:14:07 +02:00
Christian Grothoff
0dee91e014 changing code to meet latest change in GNUNET_SCHEDULER API 2016-04-10 00:57:20 +02:00
Christian Grothoff
df893df505 fix make dist rules 2016-04-09 01:56:24 +02:00
Christian Grothoff
43e9ac9471 recent changes to GNUNET_OS-IPK logic make plugin.c obsolete 2016-04-07 23:06:05 +02:00
Christian Grothoff
e00370d4f5 removing duplication of --help logic 2016-04-07 22:52:23 +02:00
Christian Grothoff
d986269dae for #4374 2016-04-07 11:09:30 +02:00
Christian Grothoff
148dda09d4 Merge branch 'master' of git+ssh://taler.net/var/git/exchange 2016-04-07 09:33:04 +02:00
Christian Grothoff
8df75214f4 install data and plugins in taler-exchange, not taler 2016-04-07 09:30:58 +02:00
Christian Grothoff
d28d1e82f3 install configuration template file in share/taler/config.d/ 2016-04-07 09:27:55 +02:00
Christian Grothoff
a96c7177aa get simple aggregation test to pass 2016-04-06 12:04:51 +02:00
Christian Grothoff
aee021aa37 update ignore file, fix compiler warning 2016-04-06 11:27:51 +02:00
Christian Grothoff
07541d319c address 'shutdown' TODO in taler-exchange-aggregator 2016-04-06 11:24:33 +02:00
Christian Grothoff
4977a3eb8f address 'global_ret' simplification TODO 2016-04-06 10:34:42 +02:00
Christian Grothoff
ad8351c912 fix iterate_matching_deposits(), LIMIT does not work with variables in Postgres (#4360) 2016-04-06 10:22:09 +02:00
Christian Grothoff
f3819ae60d undef dead symbol 2016-04-05 23:45:05 +02:00
Christian Grothoff
afb1ab2a11 -fix mem leaks 2016-04-04 17:40:51 +02:00
Christian Grothoff
0ff76b5abb fix test to ensure DB invariants are met 2016-04-04 16:47:11 +02:00
Christian Grothoff
bd6fb59e4b skeletons for other commands 2016-04-04 16:06:30 +02:00
Christian Grothoff
13f1c1c195 implementing /deposit for test 2016-04-04 15:58:40 +02:00
Christian Grothoff
6eb2e73ee0 implementing /deposit for test 2016-04-04 15:47:09 +02:00
Christian Grothoff
db44dc3e95 how to run expect_transaction example 2016-04-04 15:07:01 +02:00
Christian Grothoff
a72661fd29 add bank logic to log transactions 2016-04-04 14:43:42 +02:00
Christian Grothoff
c83e22d199 add MHD skeleton logic 2016-04-04 14:26:24 +02:00
Christian Grothoff
7401433644 make use of r36977/78 API improvement in GNUnet 2016-04-04 14:04:44 +02:00
Christian Grothoff
9909a04d5b use new PQ_query_param_string function to fix 0-termination bug, also terminate idle aggregator in test mode 2016-04-03 21:41:26 +02:00
Christian Grothoff
08e9c29570 Fix testcase to match latest spec without receiver_ 2016-04-03 21:10:10 +02:00
Christian Grothoff
1dea7998db fix json generation, use proper json in test 2016-04-03 21:08:24 +02:00
Christian Grothoff
daae3d3ddf change taler-exchange-sepa to a more generic taler-exchange-wire tool using the wire plugins (#4237) 2016-04-02 20:58:22 +02:00
Christian Grothoff
937078bbdc fix NPE 2016-04-01 21:00:05 +02:00
Christian Grothoff
d7d33b6812 set environment variable to ensure plugins are found during tests 2016-04-01 20:35:22 +02:00
Christian Grothoff
bf3e5487b4 fix newline 2016-04-01 20:32:44 +02:00
Christian Grothoff
1168010160 fix error message 2016-04-01 20:30:52 +02:00
Christian Grothoff
1c568f8eb6 fix testcase init with new API 2016-04-01 20:27:57 +02:00
Christian Grothoff
4154e41a41 hash inputs to sign_fdh functions as required by new API 2016-04-01 20:18:18 +02:00
Christian Grothoff
9bc96506bb update man pages and templates to use current options 2016-04-01 17:32:10 +02:00
Christian Grothoff
76c8ab07e1 fix testcase with new path detection logic 2016-04-01 17:14:30 +02:00
Christian Grothoff
de3e26303e implementing #4356, tests still failing, but main logic should now be updated 2016-04-01 16:15:35 +02:00
Christian Grothoff
92907bee45 return nicer error message from bank API and fix compiler warning 2016-04-01 08:37:44 +02:00
Christian Grothoff
3a2e547da9 use GNUnet-SVN #36970 API improvement to de-duplicate code in Taler 2016-03-31 20:56:16 +02:00
Christian Grothoff
b4c4f0b078 towards a testcase for aggregation logic 2016-03-30 22:56:17 +02:00
Christian Grothoff
3938ad4d20 Merge branch 'master' of git+ssh://git.taler.net/var/git/exchange 2016-03-26 18:18:58 +01:00
Christian Grothoff
17b2c7e011 fix indent, fix some comments 2016-03-26 18:18:57 +01:00
Christian Grothoff
73a0510705 use bank and exchange account numbers in test 2016-03-23 18:38:57 +01:00
Christian Grothoff
e76154e076 ref to bug #4340 2016-03-23 11:34:50 +01:00
Christian Grothoff
ac950fbe61 switch to wid to comply with spec 2016-03-23 11:34:24 +01:00
Christian Grothoff
7f7ac5d92c avoid waiting forever 2016-03-23 10:06:41 +01:00
Christian Grothoff
d57576d5dd Merge branch 'master' of git+ssh://git.taler.net/var/git/exchange 2016-03-23 10:04:56 +01:00
Christian Grothoff
08a051a7c0 update test_bank_api to match current bank setup methods 2016-03-23 10:04:40 +01:00
Jeff Burdges
2e0067d9dd Merge branch 'master' of git.taler.net:/var/git/exchange 2016-03-21 15:19:43 +01:00
Jeff Burdges
130957f69d Note two errors in the tests suit 2016-03-21 15:19:04 +01:00
Christian Grothoff
6a80c0bfa2 Merge branch 'master' of git+ssh://git.taler.net/var/git/exchange 2016-03-21 14:40:59 +01:00
Christian Grothoff
3cb188e8a7 rename to match GNUnet symbol change 2016-03-21 14:40:57 +01:00
Jeff Burdges
553d6eb23e API change in GNUnet crypto for Full Domain Hashing 2016-03-21 10:57:12 +01:00
Christian Grothoff
6f8fa678c1 implementing #3987 2016-03-21 01:45:53 +01:00
Christian Grothoff
737e3f4bf6 refactor to eliminate duplicated JSON parsing logic (#4150) 2016-03-19 19:16:35 +01:00
Christian Grothoff
3d5e096fa2 eliminate warning 2016-03-19 19:14:19 +01:00
Christian Grothoff
1c4b72cb47 fix test script escaping 2016-03-19 18:50:48 +01:00
Christian Grothoff
362b275c7d fix test script escaping 2016-03-19 18:50:40 +01:00