Commit
commit 3785213507b687b05361d744aae9631a3be77f80 Author: Jan DankertDate: Sat Sep 26 13:11:23 2020 +0200 Refactoring: No global variables any more. All constants are capsulated by classes. dev-helper/tag-version.sh | 29 +++++++++++++++++----- index.php | 4 +-- modules/cms/Dispatcher.class.php | 6 +++-- modules/cms/action/FolderAction.class.php | 3 ++- modules/cms/action/LoginAction.class.php | 3 ++- modules/cms/action/StartAction.class.php | 3 ++- modules/cms/action/WebdavAction.class.php | 3 ++- modules/cms/api/API.class.php | 4 ++- modules/cms/base/DefaultConfig.class.php | 6 ++--- modules/cms/base/Startup.class.php | 21 ++++++++++++---- modules/cms/base/Version.class.php | 7 ++++++ modules/cms/base/version.php | 1 - modules/cms/generator/ValueGenerator.class.php | 6 ++--- modules/cms/generator/target/Local.class.php | 3 ++- modules/cms/ui/action/TitleAction.class.php | 3 ++- .../default/html/views/configuration/show.php | 2 +- .../default/html/views/configuration/src.php | 2 +- .../themes/default/html/views/element/advanced.php | 2 +- .../ui/themes/default/html/views/element/info.php | 2 +- .../ui/themes/default/html/views/element/name.php | 2 +- .../ui/themes/default/html/views/element/prop.php | 2 +- .../default/html/views/element/properties.php | 2 +- .../themes/default/html/views/element/remove.php | 2 +- .../ui/themes/default/html/views/file/advanced.php | 2 +- .../ui/themes/default/html/views/file/compress.php | 2 +- .../cms/ui/themes/default/html/views/file/edit.php | 4 +-- .../ui/themes/default/html/views/file/extract.php | 2 +- .../cms/ui/themes/default/html/views/file/info.php | 2 +- .../ui/themes/default/html/views/file/preview.php | 2 +- .../cms/ui/themes/default/html/views/file/pub.php | 2 +- .../ui/themes/default/html/views/file/remove.php | 2 +- .../cms/ui/themes/default/html/views/file/show.php | 2 +- .../themes/default/html/views/file/uncompress.php | 2 +- .../ui/themes/default/html/views/file/value.php | 2 +- .../themes/default/html/views/folder/advanced.php | 2 +- .../themes/default/html/views/folder/content.php | 2 +- .../ui/themes/default/html/views/folder/create.php | 2 +- .../default/html/views/folder/createfile.php | 4 +-- .../default/html/views/folder/createfolder.php | 2 +- .../default/html/views/folder/createimage.php | 4 +-- .../default/html/views/folder/createlink.php | 2 +- .../default/html/views/folder/createpage.php | 2 +- .../default/html/views/folder/createtext.php | 4 +-- .../themes/default/html/views/folder/createurl.php | 2 +- .../ui/themes/default/html/views/folder/edit.php | 2 +- .../themes/default/html/views/folder/inherit.php | 2 +- .../ui/themes/default/html/views/folder/order.php | 2 +- .../ui/themes/default/html/views/folder/pub.php | 2 +- .../ui/themes/default/html/views/folder/remove.php | 2 +- .../ui/themes/default/html/views/folder/show.php | 2 +- .../cms/ui/themes/default/html/views/group/add.php | 2 +- .../ui/themes/default/html/views/group/info.php | 2 +- .../default/html/views/group/memberships.php | 2 +- .../ui/themes/default/html/views/group/prop.php | 2 +- .../ui/themes/default/html/views/group/remove.php | 2 +- .../ui/themes/default/html/views/group/rights.php | 2 +- .../ui/themes/default/html/views/grouplist/add.php | 2 +- .../themes/default/html/views/grouplist/show.php | 2 +- .../themes/default/html/views/image/compress.php | 2 +- .../ui/themes/default/html/views/image/edit.php | 4 +-- .../ui/themes/default/html/views/image/extract.php | 2 +- .../ui/themes/default/html/views/image/preview.php | 2 +- .../cms/ui/themes/default/html/views/image/pub.php | 2 +- .../ui/themes/default/html/views/image/show.php | 2 +- .../ui/themes/default/html/views/image/size.php | 2 +- .../themes/default/html/views/image/uncompress.php | 2 +- .../ui/themes/default/html/views/image/value.php | 2 +- .../ui/themes/default/html/views/language/add.php | 2 +- .../ui/themes/default/html/views/language/info.php | 2 +- .../themes/default/html/views/language/listing.php | 2 +- .../ui/themes/default/html/views/language/prop.php | 2 +- .../themes/default/html/views/language/remove.php | 2 +- .../themes/default/html/views/languagelist/add.php | 2 +- .../default/html/views/languagelist/show.php | 2 +- .../cms/ui/themes/default/html/views/link/edit.php | 2 +- .../ui/themes/default/html/views/link/remove.php | 2 +- .../ui/themes/default/html/views/login/license.php | 2 +- .../ui/themes/default/html/views/login/login.php | 2 +- .../ui/themes/default/html/views/login/openid.php | 2 +- .../themes/default/html/views/login/password.php | 2 +- .../default/html/views/login/passwordcode.php | 2 +- .../themes/default/html/views/login/register.php | 2 +- .../default/html/views/login/registercode.php | 2 +- .../ui/themes/default/html/views/model/info.php | 2 +- .../ui/themes/default/html/views/model/listing.php | 2 +- .../ui/themes/default/html/views/model/prop.php | 2 +- .../ui/themes/default/html/views/model/remove.php | 2 +- .../ui/themes/default/html/views/modellist/add.php | 2 +- .../themes/default/html/views/modellist/show.php | 2 +- .../themes/default/html/views/object/aclform.php | 2 +- .../ui/themes/default/html/views/object/copy.php | 2 +- .../ui/themes/default/html/views/object/info.php | 2 +- .../themes/default/html/views/object/inherit.php | 2 +- .../ui/themes/default/html/views/object/name.php | 2 +- .../ui/themes/default/html/views/object/prop.php | 2 +- .../ui/themes/default/html/views/object/rights.php | 2 +- .../themes/default/html/views/object/settings.php | 2 +- .../default/html/views/page/changetemplate.php | 2 +- .../views/page/changetemplateselectelements.php | 2 +- .../cms/ui/themes/default/html/views/page/edit.php | 2 +- .../cms/ui/themes/default/html/views/page/form.php | 2 +- .../cms/ui/themes/default/html/views/page/info.php | 2 +- .../cms/ui/themes/default/html/views/page/name.php | 2 +- .../ui/themes/default/html/views/page/preview.php | 2 +- .../cms/ui/themes/default/html/views/page/pub.php | 2 +- .../ui/themes/default/html/views/page/remove.php | 2 +- .../cms/ui/themes/default/html/views/page/show.php | 2 +- .../cms/ui/themes/default/html/views/page/src.php | 2 +- .../default/html/views/pageelement/advanced.php | 2 +- .../themes/default/html/views/pageelement/diff.php | 2 +- .../themes/default/html/views/pageelement/edit.php | 2 +- .../default/html/views/pageelement/export.php | 2 +- .../default/html/views/pageelement/history.php | 2 +- .../default/html/views/pageelement/import.php | 4 +-- .../themes/default/html/views/pageelement/info.php | 2 +- .../themes/default/html/views/pageelement/link.php | 2 +- .../default/html/views/pageelement/preview.php | 2 +- .../themes/default/html/views/pageelement/prop.php | 2 +- .../themes/default/html/views/pageelement/pub.php | 2 +- .../default/html/views/pageelement/value.php | 2 +- .../default/html/views/profile/confirmmail.php | 2 +- .../ui/themes/default/html/views/profile/edit.php | 2 +- .../themes/default/html/views/profile/history.php | 2 +- .../ui/themes/default/html/views/profile/mail.php | 2 +- .../default/html/views/profile/memberships.php | 2 +- .../ui/themes/default/html/views/profile/pw.php | 2 +- .../ui/themes/default/html/views/project/add.php | 2 +- .../ui/themes/default/html/views/project/edit.php | 2 +- .../themes/default/html/views/project/export.php | 2 +- .../themes/default/html/views/project/history.php | 2 +- .../ui/themes/default/html/views/project/info.php | 2 +- .../default/html/views/project/maintenance.php | 2 +- .../ui/themes/default/html/views/project/prop.php | 2 +- .../themes/default/html/views/project/remove.php | 2 +- .../themes/default/html/views/projectlist/add.php | 2 +- .../themes/default/html/views/projectlist/edit.php | 2 +- .../default/html/views/projectlist/history.php | 2 +- .../themes/default/html/views/projectlist/info.php | 2 +- .../ui/themes/default/html/views/search/edit.php | 2 +- .../ui/themes/default/html/views/search/result.php | 2 +- .../default/html/views/start/applications.php | 2 +- .../default/html/views/start/projectmenu.php | 2 +- .../html/views/start/userprojecttimeline.php | 2 +- .../themes/default/html/views/template/addel.php | 2 +- .../ui/themes/default/html/views/template/edit.php | 2 +- .../default/html/views/template/extension.php | 2 +- .../ui/themes/default/html/views/template/info.php | 2 +- .../themes/default/html/views/template/listing.php | 2 +- .../themes/default/html/views/template/preview.php | 2 +- .../ui/themes/default/html/views/template/prop.php | 2 +- .../ui/themes/default/html/views/template/pub.php | 2 +- .../themes/default/html/views/template/remove.php | 2 +- .../ui/themes/default/html/views/template/show.php | 2 +- .../ui/themes/default/html/views/template/src.php | 2 +- .../default/html/views/template/srcelement.php | 2 +- .../themes/default/html/views/templatelist/add.php | 2 +- .../default/html/views/templatelist/show.php | 2 +- .../ui/themes/default/html/views/text/compress.php | 2 +- .../cms/ui/themes/default/html/views/text/edit.php | 4 +-- .../ui/themes/default/html/views/text/extract.php | 2 +- .../ui/themes/default/html/views/text/preview.php | 2 +- .../cms/ui/themes/default/html/views/text/pub.php | 2 +- .../cms/ui/themes/default/html/views/text/show.php | 2 +- .../cms/ui/themes/default/html/views/text/size.php | 2 +- .../themes/default/html/views/text/uncompress.php | 2 +- .../ui/themes/default/html/views/text/value.php | 2 +- .../ui/themes/default/html/views/title/ping.php | 2 +- .../ui/themes/default/html/views/title/show.php | 2 +- .../cms/ui/themes/default/html/views/tree/tree.php | 2 +- .../cms/ui/themes/default/html/views/url/edit.php | 2 +- .../ui/themes/default/html/views/url/preview.php | 2 +- .../ui/themes/default/html/views/url/remove.php | 2 +- .../cms/ui/themes/default/html/views/user/add.php | 2 +- .../ui/themes/default/html/views/user/history.php | 2 +- .../cms/ui/themes/default/html/views/user/info.php | 2 +- .../ui/themes/default/html/views/user/listing.php | 2 +- .../themes/default/html/views/user/memberships.php | 2 +- .../cms/ui/themes/default/html/views/user/prop.php | 2 +- .../cms/ui/themes/default/html/views/user/pw.php | 2 +- .../ui/themes/default/html/views/user/remove.php | 2 +- .../ui/themes/default/html/views/user/rights.php | 2 +- .../themes/default/html/views/usergroup/show.php | 2 +- .../ui/themes/default/html/views/userlist/add.php | 2 +- .../ui/themes/default/html/views/userlist/show.php | 2 +- modules/cms/ui/themes/default/layout/index.php | 6 ++--- modules/cms/update/Update.class.php | 4 ++- .../engine/TemplateEngine.class.php | 2 +- modules/util/Mail.class.php | 4 ++- modules/util/cache/FileCache.class.php | 3 ++- modules/wikiparser/renderer/PdfRenderer.class.php | 3 ++- 190 files changed, 263 insertions(+), 213 deletions(-)