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

@@ -67,18 +67,31 @@ added_by = Added by
last_modified = Last modified
by = by
error_404 = Error 404
error_404_msg = We are sory but there is no such a page in our service.
http_error_200_title = "OK"
http_error_200_msg = ""
http_error_400_title = Error 400 - Bad Request
http_error_400_msg = We are sorry, but your browser sent an invalid query.
http_error_403_title = Error 403 - Permission Denied
http_error_403_msg = We are sorry, but you don't have access to the page.
http_error_404_title = Error 404 - Not Found
http_error_404_msg = We are sorry, but there is no such a page in our service.
http_error_414_title = Error 414 - URI Too Long
http_error_414_msg = We are sorry, but your browser sent an invalid query.
http_error_500_title = Error 500 - Internal Error
http_error_500_msg = We are sorry, but an unknown internal error has occurred.
internal_error = Internal error, check system log for more details
was_errors = We are sory but there were some problems with the operation.
was_errors = We are sorry, but there were some problems with the operation.
error_code = Error code
access_denied = Permission denied
access_denied_msg = We are sory but you don't have access to the page.
download = download
cat_image_url = Image url