Commit

commit d57d16a29aaf1c49582209fb50b279f13d09e42e
Author: Jan Dankert 
Date:   Sat Aug 29 03:23:06 2020 +0200

    Refactoring: Improved Exception-Handling; New: Generating pages using a page context which considers page aliases.

 modules/cms/Dispatcher.class.php                   |   8 +-
 modules/cms/action/FileAction.class.php            |   6 +-
 modules/cms/action/LoginAction.class.php           |   4 +-
 modules/cms/action/PageAction.class.php            |  28 +-
 modules/cms/api/API.class.php                      |   4 +-
 modules/cms/macros/MacroRunner.class.php           |  10 +-
 modules/cms/model/BaseObject.class.php             |  17 +-
 modules/cms/model/Page.class.php                   |  76 +-
 modules/cms/model/Value.class.php                  |  30 +-
 modules/cms/publish/Ftp.class.php                  |  20 +-
 modules/cms/publish/PageContext.class.php          |  35 +
 modules/cms/publish/Publish.class.php              |   8 +-
 modules/cms/publish/PublishEdit.class.php          |   2 +-
 modules/cms/publish/PublishPreview.class.php       |  28 +-
 modules/cms/publish/PublishPublic.class.php        |  34 +-
 modules/cms/publish/PublishShow.class.php          |   2 +-
 modules/cms/ui/UI.class.php                        |   4 +-
 .../default/html/views/configuration/show.php      |  54 +-
 .../default/html/views/configuration/src.php       |   6 +-
 .../themes/default/html/views/element/advanced.php | 624 ++++++++-------
 .../ui/themes/default/html/views/element/info.php  |  86 ++-
 .../ui/themes/default/html/views/element/name.php  |  80 +-
 .../ui/themes/default/html/views/element/prop.php  | 120 ++-
 .../default/html/views/element/properties.php      | 614 ++++++++-------
 .../themes/default/html/views/element/remove.php   | 124 ++-
 .../ui/themes/default/html/views/file/advanced.php |  58 +-
 .../ui/themes/default/html/views/file/compress.php | 100 ++-
 .../cms/ui/themes/default/html/views/file/edit.php |  54 +-
 .../ui/themes/default/html/views/file/extract.php  |  38 +-
 .../cms/ui/themes/default/html/views/file/info.php | 398 +++++-----
 .../ui/themes/default/html/views/file/preview.php  |  16 +-
 .../cms/ui/themes/default/html/views/file/pub.php  |  60 +-
 .../ui/themes/default/html/views/file/remove.php   |  50 +-
 .../cms/ui/themes/default/html/views/file/show.php |   4 +-
 .../themes/default/html/views/file/uncompress.php  |  80 +-
 .../ui/themes/default/html/views/file/value.php    |  58 +-
 .../themes/default/html/views/folder/advanced.php  | 228 +++---
 .../themes/default/html/views/folder/content.php   | 168 ++---
 .../ui/themes/default/html/views/folder/create.php | 120 ++-
 .../default/html/views/folder/createfile.php       | 146 ++--
 .../default/html/views/folder/createfolder.php     |  62 +-
 .../default/html/views/folder/createimage.php      | 146 ++--
 .../default/html/views/folder/createlink.php       |  70 +-
 .../default/html/views/folder/createpage.php       |  86 ++-
 .../default/html/views/folder/createtext.php       | 144 ++--
 .../themes/default/html/views/folder/createurl.php |  88 ++-
 .../ui/themes/default/html/views/folder/edit.php   | 144 ++--
 .../themes/default/html/views/folder/inherit.php   |  76 +-
 .../ui/themes/default/html/views/folder/order.php  | 120 ++-
 .../ui/themes/default/html/views/folder/pub.php    | 170 +++--
 .../ui/themes/default/html/views/folder/remove.php |  60 +-
 .../ui/themes/default/html/views/folder/show.php   | 134 ++--
 .../cms/ui/themes/default/html/views/group/add.php |  44 +-
 .../ui/themes/default/html/views/group/info.php    |  98 ++-
 .../default/html/views/group/memberships.php       |  90 ++-
 .../ui/themes/default/html/views/group/prop.php    |  48 +-
 .../ui/themes/default/html/views/group/remove.php  |  78 +-
 .../ui/themes/default/html/views/group/rights.php  | 190 +++--
 .../ui/themes/default/html/views/grouplist/add.php |  44 +-
 .../themes/default/html/views/grouplist/show.php   |  64 +-
 .../themes/default/html/views/image/compress.php   | 100 ++-
 .../ui/themes/default/html/views/image/edit.php    |  52 +-
 .../ui/themes/default/html/views/image/extract.php |  38 +-
 .../ui/themes/default/html/views/image/preview.php |   8 +-
 .../cms/ui/themes/default/html/views/image/pub.php |  58 +-
 .../ui/themes/default/html/views/image/remove.php  |  76 +-
 .../ui/themes/default/html/views/image/show.php    |  36 +-
 .../ui/themes/default/html/views/image/size.php    | 248 +++---
 .../themes/default/html/views/image/uncompress.php |  80 +-
 .../ui/themes/default/html/views/image/value.php   |  58 +-
 .../ui/themes/default/html/views/language/add.php  |  52 +-
 .../ui/themes/default/html/views/language/info.php |  78 +-
 .../themes/default/html/views/language/listing.php | 106 ++-
 .../ui/themes/default/html/views/language/prop.php |  76 +-
 .../themes/default/html/views/language/remove.php  |  90 ++-
 .../themes/default/html/views/languagelist/add.php |  52 +-
 .../default/html/views/languagelist/show.php       | 124 ++-
 .../cms/ui/themes/default/html/views/link/edit.php |  50 +-
 .../ui/themes/default/html/views/link/remove.php   |  50 +-
 .../ui/themes/default/html/views/login/license.php | 314 ++++----
 .../ui/themes/default/html/views/login/login.php   | 266 ++++---
 .../ui/themes/default/html/views/login/openid.php  | 154 ++--
 .../themes/default/html/views/login/password.php   | 102 ++-
 .../default/html/views/login/passwordcode.php      |  82 +-
 .../themes/default/html/views/login/register.php   |  90 ++-
 .../default/html/views/login/registercode.php      | 124 ++-
 .../ui/themes/default/html/views/model/info.php    |  50 +-
 .../ui/themes/default/html/views/model/listing.php | 102 ++-
 .../ui/themes/default/html/views/model/prop.php    |  58 +-
 .../ui/themes/default/html/views/model/remove.php  |  90 ++-
 .../ui/themes/default/html/views/modellist/add.php |  44 +-
 .../themes/default/html/views/modellist/show.php   | 120 ++-
 .../themes/default/html/views/object/aclform.php   | 222 +++---
 .../ui/themes/default/html/views/object/copy.php   |  78 +-
 .../ui/themes/default/html/views/object/info.php   | 546 +++++++-------
 .../themes/default/html/views/object/inherit.php   |  74 +-
 .../ui/themes/default/html/views/object/name.php   |  72 +-
 .../ui/themes/default/html/views/object/prop.php   |  88 ++-
 .../ui/themes/default/html/views/object/rights.php | 152 ++--
 .../themes/default/html/views/object/settings.php  | 138 ++--
 .../default/html/views/page/changetemplate.php     |  76 +-
 .../views/page/changetemplateselectelements.php    |  60 +-
 .../cms/ui/themes/default/html/views/page/edit.php | 100 ++-
 .../cms/ui/themes/default/html/views/page/form.php | 214 +++---
 .../cms/ui/themes/default/html/views/page/info.php | 374 +++++----
 .../cms/ui/themes/default/html/views/page/name.php | 132 ++--
 .../ui/themes/default/html/views/page/preview.php  |  86 ++-
 .../cms/ui/themes/default/html/views/page/pub.php  |  78 +-
 .../ui/themes/default/html/views/page/remove.php   |  50 +-
 .../cms/ui/themes/default/html/views/page/show.php |   4 +-
 .../cms/ui/themes/default/html/views/page/src.php  |  72 +-
 .../default/html/views/pageelement/advanced.php    |  92 ++-
 .../themes/default/html/views/pageelement/diff.php | 148 ++--
 .../themes/default/html/views/pageelement/edit.php |  64 +-
 .../default/html/views/pageelement/export.php      |  58 +-
 .../default/html/views/pageelement/history.php     | 236 +++---
 .../default/html/views/pageelement/import.php      |  68 +-
 .../themes/default/html/views/pageelement/info.php | 212 +++---
 .../themes/default/html/views/pageelement/link.php | 142 ++--
 .../default/html/views/pageelement/preview.php     |  32 +-
 .../themes/default/html/views/pageelement/prop.php | 284 ++++---
 .../themes/default/html/views/pageelement/pub.php  |  78 +-
 .../default/html/views/pageelement/value.php       | 612 ++++++++-------
 .../default/html/views/profile/confirmmail.php     |  64 +-
 .../ui/themes/default/html/views/profile/edit.php  | 352 +++++----
 .../themes/default/html/views/profile/history.php  |  78 +-
 .../ui/themes/default/html/views/profile/mail.php  |  94 ++-
 .../default/html/views/profile/memberships.php     |  56 +-
 .../ui/themes/default/html/views/profile/pw.php    | 162 ++--
 .../ui/themes/default/html/views/project/add.php   | 128 ++--
 .../ui/themes/default/html/views/project/edit.php  |  76 +-
 .../themes/default/html/views/project/export.php   |  52 +-
 .../themes/default/html/views/project/history.php  | 120 ++-
 .../ui/themes/default/html/views/project/info.php  |  42 +-
 .../default/html/views/project/maintenance.php     |  80 +-
 .../ui/themes/default/html/views/project/prop.php  | 254 ++++---
 .../default/html/views/project/prop.tpl.src.xml    |   4 +-
 .../themes/default/html/views/project/remove.php   |  84 +--
 .../themes/default/html/views/projectlist/add.php  | 108 ++-
 .../themes/default/html/views/projectlist/edit.php |  62 +-
 .../default/html/views/projectlist/history.php     |  80 +-
 .../themes/default/html/views/projectlist/info.php |   4 +-
 .../ui/themes/default/html/views/search/edit.php   | 126 ++--
 .../ui/themes/default/html/views/search/result.php |  64 +-
 .../default/html/views/start/applications.php      |  54 +-
 .../default/html/views/start/projectmenu.php       | 182 +++--
 .../html/views/start/userprojecttimeline.php       | 102 ++-
 .../themes/default/html/views/template/addel.php   | 110 ++-
 .../ui/themes/default/html/views/template/edit.php | 136 ++--
 .../default/html/views/template/extension.php      |  66 +-
 .../ui/themes/default/html/views/template/info.php |  64 +-
 .../themes/default/html/views/template/listing.php |  56 +-
 .../themes/default/html/views/template/preview.php |  80 +-
 .../ui/themes/default/html/views/template/prop.php | 110 ++-
 .../ui/themes/default/html/views/template/pub.php  |  78 +-
 .../themes/default/html/views/template/remove.php  |  90 ++-
 .../ui/themes/default/html/views/template/src.php  |  56 +-
 .../default/html/views/template/srcelement.php     | 148 ++--
 .../themes/default/html/views/templatelist/add.php | 146 ++--
 .../default/html/views/templatelist/show.php       |  78 +-
 .../ui/themes/default/html/views/text/compress.php | 100 ++-
 .../cms/ui/themes/default/html/views/text/edit.php |  52 +-
 .../ui/themes/default/html/views/text/extract.php  |  38 +-
 .../ui/themes/default/html/views/text/preview.php  |   8 +-
 .../cms/ui/themes/default/html/views/text/pub.php  |  60 +-
 .../ui/themes/default/html/views/text/remove.php   |  76 +-
 .../cms/ui/themes/default/html/views/text/show.php |   4 +-
 .../cms/ui/themes/default/html/views/text/size.php | 248 +++---
 .../themes/default/html/views/text/uncompress.php  |  80 +-
 .../ui/themes/default/html/views/text/value.php    |  60 +-
 .../ui/themes/default/html/views/title/ping.php    |   8 +-
 .../ui/themes/default/html/views/title/show.php    | 836 ++++++++++-----------
 .../cms/ui/themes/default/html/views/tree/tree.php |   4 +-
 .../cms/ui/themes/default/html/views/url/edit.php  |  52 +-
 .../ui/themes/default/html/views/url/preview.php   |  16 +-
 .../ui/themes/default/html/views/url/remove.php    |  50 +-
 .../cms/ui/themes/default/html/views/user/add.php  |  44 +-
 .../ui/themes/default/html/views/user/history.php  |  78 +-
 .../cms/ui/themes/default/html/views/user/info.php | 384 +++++-----
 .../ui/themes/default/html/views/user/listing.php  |  84 +--
 .../themes/default/html/views/user/memberships.php |  80 +-
 .../cms/ui/themes/default/html/views/user/prop.php | 334 ++++----
 .../cms/ui/themes/default/html/views/user/pw.php   | 170 +++--
 .../ui/themes/default/html/views/user/remove.php   |  96 ++-
 .../ui/themes/default/html/views/user/rights.php   | 180 +++--
 .../themes/default/html/views/usergroup/show.php   |  70 +-
 .../ui/themes/default/html/views/userlist/add.php  |  44 +-
 .../ui/themes/default/html/views/userlist/show.php | 116 ++-
 modules/database/Database.class.php                |   6 +-
 modules/database/Sql.class.php                     |   3 +-
 modules/database/Statement.class.php               |   5 +-
 modules/database/driver/PDODriver.class.php        |  14 +-
 .../components/html/output/Output.class.php        |   1 +
 .../engine/TemplateEngine.class.php                |  20 +-
 modules/util/exception/DatabaseException.class.php |  13 +
 .../util/exception/GeneratorException.class.php    |  13 +
 .../util/exception/PublisherException.class.php    |  13 +
 ...atException.class.php => UIException.class.php} |   6 +-
 modules/wikiparser/renderer/HtmlRenderer.class.php |  10 +-
 199 files changed, 10055 insertions(+), 10295 deletions(-)