Commit

commit ba0ddd7f3dd1489ff1d257cc0483c97abaf6d5ce
Author: dankert 
Date:   Sun Jan 30 23:38:42 2022 +0100

    Refactoring: Only 1 http-endpoint for both the UI and the API. Path "/api" is not available any more, all API data is served under "/".

 api/index.php                                      |  26 ---
 api/web/index.php                                  |   4 +-
 index.php                                          |  75 +-----
 .../cms/action/object/ObjectDelaclAction.class.php |   3 +-
 modules/cms/api/API.class.php                      | 252 ---------------------
 modules/cms/base/Startup.class.php                 |   6 +
 modules/cms/output/APIOutput.class.php             | 113 +++++++++
 modules/cms/output/BaseOutput.class.php            |  83 +++++++
 modules/cms/output/HtmlOutput.class.php            | 167 ++++++++++++++
 modules/cms/output/HtmlPlainOutput.class.php       |  29 +++
 modules/cms/output/JsonOutput.class.php            |  25 ++
 modules/cms/output/Output.class.php                |  33 +++
 modules/cms/output/OutputFactory.class.php         |  89 ++++++++
 modules/cms/output/PHPArrayOutput.class.php        |  26 +++
 modules/cms/output/PHPSerializeOutput.class.php    |  26 +++
 modules/cms/output/PlainOutput.class.php           |  27 +++
 modules/cms/output/XmlOutput.class.php             |  29 +++
 modules/cms/output/YamlOutput.class.php            |  26 +++
 modules/cms/ui/UI.class.php                        | 130 -----------
 .../cms/ui/themes/default/script/openrat/api.js    |   2 +-
 .../cms/ui/themes/default/script/openrat/view.js   |   7 +-
 .../script/plugin/jquery-plugin-orSearch.js        |   2 +-
 modules/util/Http.class.php                        |  46 ++--
 openapi.yaml                                       |   2 +-
 24 files changed, 708 insertions(+), 520 deletions(-)