Commit

commit 910f634aee65b916b3b6e05af1ced86656839b5c
Author: Jan Dankert 
Date:   Mon Sep 21 22:48:59 2020 +0200

    Complexe refactoring: Moving all generation logic from the model (Value,Page,File) to generators classes.

 modules/cms/action/FileAction.class.php            |   29 +-
 modules/cms/action/FolderAction.class.php          |   80 +-
 modules/cms/action/PageAction.class.php            |  150 +--
 modules/cms/action/PageelementAction.class.php     |   53 +-
 modules/cms/action/ProjectAction.class.php         |    4 +-
 modules/cms/generator/BaseContext.class.php        |   12 +
 modules/cms/generator/BaseGenerator.class.php      |   24 +
 modules/cms/generator/FileContext.class.php        |   36 +
 modules/cms/generator/FileGenerator.class.php      |   29 +
 modules/cms/generator/Generator.class.php          |   12 +
 modules/cms/generator/PageContext.class.php        |   44 +-
 modules/cms/generator/PageGenerator.class.php      |  255 +++++
 modules/cms/generator/Producer.class.php           |   92 ++
 modules/cms/generator/PublishPublic.class.php      |  389 --------
 modules/cms/generator/Publisher.class.php          |  203 ++++
 modules/cms/generator/ValueContext.class.php       |   37 +
 modules/cms/generator/ValueGenerator.class.php     | 1024 ++++++++++++++++++++
 .../cms/generator/filter/AbstractFilter.class.php  |    3 +-
 modules/cms/generator/filter/Filter.class.php      |   10 +
 modules/cms/generator/link/LinkFormat.class.php    |   12 +
 .../PreviewLink.class.php}                         |   30 +-
 modules/cms/generator/link/PublicLink.class.php    |  177 ++++
 modules/cms/generator/target/Dav.class.php         |    2 +-
 modules/cms/generator/target/Fax.class.php         |    2 +-
 modules/cms/generator/target/Ftp.class.php         |    4 +-
 modules/cms/generator/target/Local.class.php       |   54 +-
 modules/cms/generator/target/NoTarget.class.php    |    2 +-
 modules/cms/generator/target/README.md             |    7 +-
 modules/cms/generator/target/Scp.class.php         |    9 +-
 modules/cms/generator/target/Target.class.php      |   69 +-
 modules/cms/macros/MacroRunner.class.php           |   14 +-
 modules/cms/macros/macro/ClassicMenu.class.php     |   33 +-
 modules/cms/macros/macro/LastChanges.class.php     |   32 +-
 modules/cms/macros/macro/SearchIndex.class.php     |   26 +-
 modules/cms/macros/macro/TeaserList.class.php      |   26 +-
 modules/cms/model/File.class.php                   |   16 -
 modules/cms/model/Folder.class.php                 |    6 +-
 modules/cms/model/Name.class.php                   |    2 +-
 modules/cms/model/Page.class.php                   |  191 +---
 modules/cms/model/Pageelement.class.php            |    5 +-
 modules/cms/model/Project.class.php                |   32 +-
 modules/cms/model/Value.class.php                  | 1002 +------------------
 .../themes/default/html/views/element/advanced.php |    8 +-
 .../default/html/views/element/properties.php      |    6 +-
 .../themes/default/html/views/element/remove.php   |    6 +-
 .../ui/themes/default/html/views/file/compress.php |    4 +-
 .../ui/themes/default/html/views/file/remove.php   |    2 +-
 .../themes/default/html/views/file/uncompress.php  |    4 +-
 .../themes/default/html/views/folder/advanced.php  |    8 +-
 .../ui/themes/default/html/views/folder/pub.php    |    8 +-
 .../ui/themes/default/html/views/folder/remove.php |    4 +-
 .../default/html/views/group/memberships.php       |    2 +-
 .../ui/themes/default/html/views/group/remove.php  |    2 +-
 .../ui/themes/default/html/views/group/rights.php  |    2 +-
 .../themes/default/html/views/image/compress.php   |    4 +-
 .../ui/themes/default/html/views/image/size.php    |    6 +-
 .../themes/default/html/views/image/uncompress.php |    4 +-
 .../ui/themes/default/html/views/language/prop.php |    2 +-
 .../themes/default/html/views/language/remove.php  |    2 +-
 .../ui/themes/default/html/views/link/remove.php   |    2 +-
 .../ui/themes/default/html/views/login/login.php   |    2 +-
 .../ui/themes/default/html/views/login/openid.php  |    2 +-
 .../ui/themes/default/html/views/model/prop.php    |    2 +-
 .../ui/themes/default/html/views/model/remove.php  |    2 +-
 .../themes/default/html/views/object/aclform.php   |   10 +-
 .../themes/default/html/views/object/inherit.php   |    2 +-
 .../cms/ui/themes/default/html/views/page/form.php |    6 +-
 .../cms/ui/themes/default/html/views/page/name.php |    2 +-
 .../cms/ui/themes/default/html/views/page/pub.php  |    2 +-
 .../ui/themes/default/html/views/page/remove.php   |    2 +-
 .../default/html/views/pageelement/history.php     |    4 +-
 .../themes/default/html/views/pageelement/link.php |    4 +-
 .../themes/default/html/views/pageelement/pub.php  |    2 +-
 .../default/html/views/pageelement/value.php       |    8 +-
 .../ui/themes/default/html/views/profile/edit.php  |    4 +-
 .../ui/themes/default/html/views/project/add.php   |    4 +-
 .../default/html/views/project/maintenance.php     |    4 +-
 .../ui/themes/default/html/views/project/prop.php  |   14 +-
 .../themes/default/html/views/project/remove.php   |    2 +-
 .../themes/default/html/views/projectlist/add.php  |    4 +-
 .../ui/themes/default/html/views/search/edit.php   |   10 +-
 .../themes/default/html/views/template/addel.php   |    2 +-
 .../ui/themes/default/html/views/template/pub.php  |    2 +-
 .../themes/default/html/views/template/remove.php  |    2 +-
 .../default/html/views/template/srcelement.php     |    8 +-
 .../themes/default/html/views/templatelist/add.php |    6 +-
 .../ui/themes/default/html/views/text/compress.php |    4 +-
 .../cms/ui/themes/default/html/views/text/size.php |    6 +-
 .../themes/default/html/views/text/uncompress.php  |    4 +-
 .../ui/themes/default/html/views/url/remove.php    |    2 +-
 .../cms/ui/themes/default/html/views/user/info.php |    4 +-
 .../themes/default/html/views/user/memberships.php |    2 +-
 .../cms/ui/themes/default/html/views/user/prop.php |    6 +-
 .../cms/ui/themes/default/html/views/user/pw.php   |   10 +-
 .../ui/themes/default/html/views/user/remove.php   |    2 +-
 .../ui/themes/default/html/views/user/rights.php   |    2 +-
 modules/cms/ui/themes/default/script/openrat.js    |    2 +-
 .../cms/ui/themes/default/script/openrat.min.js    |    2 +-
 .../components/html/checkbox/Checkbox.class.php    |    2 +-
 .../components/html/radio/Radio.class.php          |    7 +-
 modules/util/Macro.class.php                       |   44 +-
 modules/util/Transformer.class.php                 |   13 +-
 modules/util/cache/Cache.class.php                 |   40 +
 modules/util/cache/FileCache.class.php             |   41 +-
 modules/wikiparser/model/DocumentElement.class.php |    8 +-
 modules/wikiparser/renderer/HtmlRenderer.class.php |    8 +-
 106 files changed, 2613 insertions(+), 2023 deletions(-)