63b19fad0c
simplify datastructures
2022-10-14 20:10:06 +02:00
29e5cd0ef5
fix errors
2022-10-14 20:09:39 +02:00
15e8697ece
-added missing files to last commit
2022-10-14 19:00:57 +02:00
054e157af8
WIP: policy_details handling continued
...
- policy details generated on deposit/batch-deposit requests
- insert or update of policy details in the DB
- accumulation of amounts of multiple deposits for the same
policy_details
2022-10-14 18:56:59 +02:00
956e3c3065
WIP: policy handling advancements
...
- introduction of policy states.
- introduction of default state on timeout.
- introduction of TALER_PolicyFulfilmentOutcome
- parsing for policy_details now also provides default state on timeout.
- introduction of check_serial as preflight func before heavy operations
in policy post handler
- brandt auction now returns outcomes.
2022-10-09 22:11:09 +02:00
18d8dcd1f9
-fix type
2022-10-08 17:27:00 +02:00
4154a0c466
-logic fixed
2022-10-08 17:20:59 +02:00
4ba07b54e4
WIP: policy_*_fulfiment added and API changes
...
- policy_fulfilment table defined, handlers added
- policy_details_fulfilment table defined, handlers added
- TALER_extensions_serial_from_policy_details implemened
2022-10-08 17:13:57 +02:00
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