remove Request::post_tab and add Request::http_status

Instead of Reqest::post_tab we use now Request::post_in (pt::Space).

Request::http_status will be used instead Request::status,
but at the moment is not changed in all places.
Request::status has been marked as depracated.

While here:
- Check for root dir in App and not in FunctionParser,
let FunctionParser only log the root dir.
- Read post variables after parsing url parameters,
this allows winix functions to set limits
for post input.
- Set limits when parsing input json format, new
options added to config: post_max_object_items, post_max_table_items,
post_max_all_items, post_max_nested_objects.
There are similar options in each winix function (they are in
FunctionBase).
- Some refactoring in App.
- Add config option: log_whole_http_post if true
then the whole parsed post input is logged.
- Add config option: post_json_max - max length of input stream
for parsing json.
- Add config option: templates_request_status, default request_status.html
this is an ezc template used as [content] when the request status
is not 200_ok.
- Fix: Sort winix function didn't show items to sort (fix and do some
refactoring as well)
- Properly sort items in: ImgCrop, Ls, Sort, Upload
- Remove ezc templates: err_404.html, err_per_denied.html - now
request_status.html is used.
This commit is contained in:
2022-05-30 01:29:18 +02:00
parent 9e222f5b80
commit 7d1fb3c04e
46 changed files with 1224 additions and 835 deletions

View File

@@ -62,6 +62,7 @@ createticket.o: ../../../../morm/src/postgresqlexpression.h
createticket.o: ../../../../morm/src/jsonconnector.h
createticket.o: ../../../../morm/src/postgresqlconnector.h
createticket.o: ../../../../morm/src/postgresqlqueryresult.h
createticket.o: ../../../../morm/src/transaction.h
createticket.o: ../../../../winix/winixd/core/log.h
createticket.o: ../../../../winix/winixd/core/synchro.h
createticket.o: ../../../../winix/winixd/core/filelog.h
@@ -259,6 +260,7 @@ editticket.o: ../../../../morm/src/postgresqlexpression.h
editticket.o: ../../../../morm/src/jsonconnector.h
editticket.o: ../../../../morm/src/postgresqlconnector.h
editticket.o: ../../../../morm/src/postgresqlqueryresult.h
editticket.o: ../../../../morm/src/transaction.h
editticket.o: ../../../../winix/winixd/core/log.h
editticket.o: ../../../../winix/winixd/core/synchro.h
editticket.o: ../../../../winix/winixd/core/filelog.h
@@ -453,6 +455,7 @@ funticket.o: ../../../../morm/src/postgresqlexpression.h
funticket.o: ../../../../morm/src/jsonconnector.h
funticket.o: ../../../../morm/src/postgresqlconnector.h
funticket.o: ../../../../morm/src/postgresqlqueryresult.h
funticket.o: ../../../../morm/src/transaction.h
funticket.o: ../../../../winix/winixd/core/log.h
funticket.o: ../../../../winix/winixd/core/synchro.h
funticket.o: ../../../../winix/winixd/core/filelog.h
@@ -640,6 +643,7 @@ init.o: ../../../../morm/src/postgresqlexpression.h
init.o: ../../../../morm/src/jsonconnector.h
init.o: ../../../../morm/src/postgresqlconnector.h
init.o: ../../../../morm/src/postgresqlqueryresult.h
init.o: ../../../../morm/src/transaction.h
init.o: ../../../../winix/winixd/core/log.h
init.o: ../../../../winix/winixd/core/synchro.h
init.o: ../../../../winix/winixd/core/filelog.h
@@ -848,6 +852,7 @@ showtickets.o: ../../../../morm/src/postgresqlexpression.h
showtickets.o: ../../../../morm/src/jsonconnector.h
showtickets.o: ../../../../morm/src/postgresqlconnector.h
showtickets.o: ../../../../morm/src/postgresqlqueryresult.h
showtickets.o: ../../../../morm/src/transaction.h
showtickets.o: ../../../../winix/winixd/core/log.h
showtickets.o: ../../../../winix/winixd/core/synchro.h
showtickets.o: ../../../../winix/winixd/core/filelog.h
@@ -1036,7 +1041,7 @@ tdb.o: ../../../../morm/src/postgresqlexpression.h
tdb.o: ../../../../morm/src/jsonconnector.h
tdb.o: ../../../../morm/src/postgresqlconnector.h
tdb.o: ../../../../morm/src/postgresqlqueryresult.h
tdb.o: ../../../../winix/winixd/core/log.h
tdb.o: ../../../../morm/src/transaction.h ../../../../winix/winixd/core/log.h
tdb.o: ../../../../winix/winixd/core/synchro.h
tdb.o: ../../../../winix/winixd/core/filelog.h
tdb.o: ../../../../winix/winixd/core/lock.h
@@ -1101,6 +1106,7 @@ templates.o: ../../../../morm/src/postgresqlexpression.h
templates.o: ../../../../morm/src/jsonconnector.h
templates.o: ../../../../morm/src/postgresqlconnector.h
templates.o: ../../../../morm/src/postgresqlqueryresult.h
templates.o: ../../../../morm/src/transaction.h
templates.o: ../../../../winix/winixd/core/log.h
templates.o: ../../../../winix/winixd/core/synchro.h
templates.o: ../../../../winix/winixd/core/filelog.h
@@ -1296,6 +1302,7 @@ ticketinfo.o: ../../../../morm/src/postgresqlexpression.h
ticketinfo.o: ../../../../morm/src/jsonconnector.h
ticketinfo.o: ../../../../morm/src/postgresqlconnector.h
ticketinfo.o: ../../../../morm/src/postgresqlqueryresult.h
ticketinfo.o: ../../../../morm/src/transaction.h
ticketinfo.o: ../../../../winix/winixd/core/log.h
ticketinfo.o: ../../../../winix/winixd/core/synchro.h
ticketinfo.o: ../../../../winix/winixd/core/filelog.h