Commit Graph

6399 Commits

Author SHA1 Message Date
d3c509fcd9
WIP: Added policy extension handling during deposit 2022-10-07 09:59:39 +02:00
52106eea42
refactor: extensions_ -> policy_; added policy_fulfilment 2022-10-06 23:17:46 +02:00
dd60d9b984
Merge branch 'master' into auction_brandt 2022-10-06 21:12:17 +02:00
b447506342
refinements of policy extension APIs 2022-10-06 21:11:47 +02:00
086c4a243f
mark future policy extensions 2022-10-06 21:09:59 +02:00
cf21ee2647
-rm todo.md 2022-10-06 21:09:33 +02:00
1f6c8d0c33
refactor h_extensions -> h_policy, and structs accordingly 2022-10-05 19:26:04 +02:00
Christian Grothoff
7e5c6a7e46
-insert routines 2022-10-05 16:38:29 +02:00
bcbd909892
-debug msg removed; typos 2022-10-05 16:29:23 +02:00
Christian Grothoff
67d6bbd736
-work on header towards taler-auditor-sync for new tables 2022-10-05 16:13:12 +02:00
fc83650115
refactor extensions: config -> manifest 2022-10-05 16:07:22 +02:00
2524dfc8d3
refactor extensions: config -> manifest 2022-10-05 16:07:09 +02:00
477d009cb0
Merge branch 'master' into auction_brandt 2022-10-04 21:42:21 +02:00
787b5b4544
-syntax error fixed 2022-10-04 21:42:05 +02:00
0a089db4ef
rename auction_brandt -> policy_auction 2022-10-04 21:31:19 +02:00
0ad6a8cbfb
Merge branch 'master' into auction_brandt 2022-10-04 20:06:49 +02:00
Christian Grothoff
1cf6fbe8dc
-fix typos 2022-10-04 19:28:11 +02:00
Christian Grothoff
012249fc09
-fix typos 2022-10-04 19:23:01 +02:00
Christian Grothoff
f7b06e308f
-work on reserve_open DB API 2022-10-04 19:18:43 +02:00
77266e6c93
Merge branch 'master' into auction_brandt 2022-10-04 11:35:21 +02:00
3fdf88f612
-fix some vars 2022-10-04 11:34:46 +02:00
3ec07d62c3
improved error handling 2022-10-04 11:33:21 +02:00
424bbddaa3
correct http reply 2022-10-04 11:32:10 +02:00
64ebcadabb
added targets for age_restriciton and auction_brandt 2022-10-04 11:31:17 +02:00
Christian Grothoff
856b8e26c2
-more work on new DB logic 2022-10-03 23:54:12 +02:00
Christian Grothoff
4a487b179c
-implement sketch for pg_do_reserve_open.c 2022-10-03 19:34:11 +02:00
Christian Grothoff
2dbf8cefe0
-work on DB logic 2022-10-03 17:05:29 +02:00
Christian Grothoff
f4c8eb6a9c
-skeletons for new PG functions 2022-10-03 12:46:30 +02:00
e1bf3661ec
-fix unsused variable 2022-10-03 11:21:07 +02:00
Christian Grothoff
87ec6916c8
complete taler-exchange-httpd_reserves_attest.c logic (first pass, still without DB logic or tests) 2022-10-03 09:36:10 +02:00
12736abcf7
WiP: parsing and replay of auction transcripts
POST handler of auction_brandt extension now parses JSON transcript and
passes JSON via stdin to external program.  Reads result via stdout.

TODOs:
- check signatures in transcript
- parse JSON output of replay progam
- add configuration to to auction_brandt:
	- types of auctions
	- max. concurrent users
	- max. number of prices
	- maximum price
	- fees
- add timeout handler for replay program execution
- (maybe) sign output of exchange by master-key
- (maybe) add GET handler with information re: auction_brandt?
2022-10-03 08:15:07 +02:00
Christian Grothoff
3bca75d6cf
complete taler-exchange-httpd_reserves_get_attest.c logic (first pass, still without DB logic or tests) 2022-10-02 23:57:09 +02:00
Christian Grothoff
1ce70b1dab
complete taler-exchange-httpd_reserves_close.c logic (first pass, still without DB logic or tests) 2022-10-02 23:19:48 +02:00
b2d68d4b2d
-rm debug info; typo 2022-10-02 23:07:40 +02:00
72cbf66395
WiP: added auction_brandt as extension
- added an extension to handle auctions via libbrandt
  - /extensions/auction_brandt GET and POST handler defined
  - initial parsing of transcript.json implemented, yet WiP

- multiple cleanups and changes to extension handling
2022-10-02 22:51:54 +02:00
Christian Grothoff
4a36ed7fbf
complete taler-exchange-httpd_reserves_open.c logic (first pass, still without DB logic or tests) 2022-10-02 22:47:28 +02:00
04c7e0bb33
Refactor extensions
- Extensions are now compiled as shared libraries and loaded at runtime
  according to the TALER configuration.

- So far, only age restriction is loaded as extension.

- Groundwork for extension auction_brandt started.
2022-10-02 18:05:58 +02:00
Christian Grothoff
de657800a8
-get taler-exchange-httpd_reserves_attest.c to build (but not finished) 2022-10-02 13:34:51 +02:00
Christian Grothoff
2d9270a01d
-get taler-exchange-httpd_reserves_get_attest.c to build (but not finished) 2022-10-02 13:22:57 +02:00
Christian Grothoff
bd3741c1c1
-taler-exchange-httpd_reserves_close.c now builds (but not complete) 2022-10-02 12:41:37 +02:00
Christian Grothoff
4ea4f03aea
taler-exchange-httpd_reserves_open.c now builds (but not complete) 2022-10-02 12:28:40 +02:00
Christian Grothoff
2f1fb32e1c
-skeletons for reserve control endpoints 2022-10-01 23:06:24 +02:00
Christian Grothoff
7bf0f2a43d
-doxygen 2022-10-01 16:35:13 +02:00
Christian Grothoff
442b2116ed
-already done, remove finished FIXME 2022-10-01 16:32:58 +02:00
Christian Grothoff
9cba7d4c3e
-implement first draft of testing_api_cmd_reserve_attest.c 2022-10-01 16:30:22 +02:00
Christian Grothoff
538ab8753c
-implement first draft of testing_api_cmd_reserve_get_attestable.c 2022-10-01 16:25:06 +02:00
165b85ddd5
-make static, return json_null() 2022-09-29 12:52:33 +02:00
adfb7ffd0e
added benchmark tool for age restriction 2022-09-29 11:59:42 +02:00
Christian Grothoff
3f901571d5
implemented reserve_open testing CMD 2022-09-28 12:17:50 +02:00
Christian Grothoff
58e7e98657
-first sketch for reserve_open testing CMD 2022-09-28 12:12:53 +02:00