Commit
commit 5cb05b61011414d92da0459a1a26064cfeeb0240 Author: Jan DankertDate: Tue Nov 17 23:51:00 2020 +0100 Refactoring: Every Actionmethod has now its own class. dev-helper/test.php | 3 +- modules/cms/Dispatcher.class.php | 52 ++- modules/cms/action/Action.class.php | 7 +- modules/cms/action/AliasAction.class.php | 1 - modules/cms/action/ConfigurationAction.class.php | 3 +- modules/cms/action/ElementAction.class.php | 7 +- modules/cms/action/FileAction.class.php | 10 +- modules/cms/action/FolderAction.class.php | 23 +- modules/cms/action/GroupAction.class.php | 10 +- modules/cms/action/GrouplistAction.class.php | 1 + modules/cms/action/ImageAction.class.php | 12 +- modules/cms/action/LanguageAction.class.php | 6 +- modules/cms/action/LanguagelistAction.class.php | 6 +- modules/cms/action/LinkAction.class.php | 7 +- modules/cms/action/LoginAction.class.php | 19 +- modules/cms/action/Method.class.php | 12 + modules/cms/action/ModelAction.class.php | 7 +- modules/cms/action/ModellistAction.class.php | 3 +- modules/cms/action/ObjectAction.class.php | 17 +- modules/cms/action/PageAction.class.php | 16 +- modules/cms/action/PageelementAction.class.php | 24 +- modules/cms/action/ProfileAction.class.php | 10 +- modules/cms/action/ProjectAction.class.php | 6 +- modules/cms/action/SearchAction.class.php | 12 +- modules/cms/action/TemplateAction.class.php | 12 +- modules/cms/action/TemplatelistAction.class.php | 5 +- modules/cms/action/TextAction.class.php | 5 +- modules/cms/action/UrlAction.class.php | 9 +- modules/cms/action/UserAction.class.php | 20 +- modules/cms/action/UsergroupAction.class.php | 17 - modules/cms/action/UserlistAction.class.php | 51 --- .../ConfigurationEditAction.class.php | 13 + .../ConfigurationShowAction.class.php | 40 ++ .../configuration/ConfigurationSrcAction.class.php | 25 ++ .../action/element/ElementAdvancedAction.class.php | 473 +++++++++++++++++++++ .../cms/action/element/ElementInfoAction.class.php | 17 + .../cms/action/element/ElementPropAction.class.php | 51 +++ .../action/element/ElementRemoveAction.class.php | 32 ++ .../cms/action/file/FileAdvancedAction.class.php | 40 ++ .../cms/action/file/FileCompressAction.class.php | 71 ++++ modules/cms/action/file/FileEditAction.class.php | 58 +++ .../cms/action/file/FileExtractAction.class.php | 87 ++++ .../cms/action/file/FilePreviewAction.class.php | 17 + modules/cms/action/file/FilePubAction.class.php | 23 + modules/cms/action/file/FileRemoveAction.class.php | 23 + modules/cms/action/file/FileShowAction.class.php | 95 +++++ .../cms/action/file/FileUncompressAction.class.php | 73 ++++ modules/cms/action/file/FileValueAction.class.php | 17 + .../cms/action/folder/FolderAddAction.class.php | 16 + .../action/folder/FolderAdvancedAction.class.php | 375 ++++++++++++++++ .../action/folder/FolderContentAction.class.php | 69 +++ .../cms/action/folder/FolderCreateAction.class.php | 23 + .../action/folder/FolderCreatefileAction.class.php | 99 +++++ .../folder/FolderCreatefolderAction.class.php | 38 ++ .../folder/FolderCreateimageAction.class.php | 87 ++++ .../action/folder/FolderCreatelinkAction.class.php | 37 ++ .../action/folder/FolderCreatepageAction.class.php | 47 ++ .../action/folder/FolderCreatetextAction.class.php | 90 ++++ .../action/folder/FolderCreateurlAction.class.php | 33 ++ .../cms/action/folder/FolderEditAction.class.php | 68 +++ .../cms/action/folder/FolderOrderAction.class.php | 66 +++ .../action/folder/FolderPreviewAction.class.php | 16 + .../cms/action/folder/FolderPubAction.class.php | 109 +++++ .../cms/action/folder/FolderRemoveAction.class.php | 27 ++ .../cms/action/folder/FolderRootAction.class.php | 22 + .../cms/action/folder/FolderShowAction.class.php | 46 ++ modules/cms/action/group/GroupInfoAction.class.php | 15 + .../cms/action/group/GroupListingAction.class.php | 23 + .../action/group/GroupMembershipsAction.class.php | 51 +++ modules/cms/action/group/GroupPropAction.class.php | 20 + .../cms/action/group/GroupRemoveAction.class.php | 24 ++ .../cms/action/group/GroupRightsAction.class.php | 74 ++++ .../action/grouplist/GrouplistAddAction.class.php | 25 ++ .../action/grouplist/GrouplistEditAction.class.php | 13 + .../action/grouplist/GrouplistShowAction.class.php | 24 ++ .../cms/action/image/ImagePreviewAction.class.php | 15 + modules/cms/action/image/ImageSizeAction.class.php | 97 +++++ .../action/language/LanguageInfoAction.class.php | 14 + .../action/language/LanguagePropAction.class.php | 36 ++ .../action/language/LanguageRemoveAction.class.php | 15 + .../language/LanguageSetdefaultAction.class.php | 16 + .../languagelist/LanguagelistAddAction.class.php | 41 ++ .../languagelist/LanguagelistEditAction.class.php | 13 + .../languagelist/LanguagelistShowAction.class.php | 41 ++ modules/cms/action/link/LinkEditAction.class.php | 23 + modules/cms/action/link/LinkRemoveAction.class.php | 20 + modules/cms/action/link/LinkShowAction.class.php | 38 ++ .../cms/action/login/LoginLicenseAction.class.php | 59 +++ .../cms/action/login/LoginLoginAction.class.php | 259 +++++++++++ .../cms/action/login/LoginLogoutAction.class.php | 32 ++ modules/cms/action/login/LoginOidcAction.class.php | 59 +++ .../cms/action/login/LoginPasswordAction.class.php | 68 +++ .../action/login/LoginPasswordcodeAction.class.php | 51 +++ .../cms/action/login/LoginRegisterAction.class.php | 46 ++ .../action/login/LoginRegistercodeAction.class.php | 70 +++ .../cms/action/login/LoginUserinfoAction.class.php | 29 ++ modules/cms/action/migrate.sh | 50 +++ modules/cms/action/model/ModelInfoAction.class.php | 16 + modules/cms/action/model/ModelPropAction.class.php | 26 ++ .../cms/action/model/ModelRemoveAction.class.php | 25 ++ .../action/model/ModelSetdefaultAction.class.php | 18 + .../action/modellist/ModellistAddAction.class.php | 26 ++ .../action/modellist/ModellistEditAction.class.php | 13 + .../action/modellist/ModellistShowAction.class.php | 31 ++ .../action/object/ObjectAclformAction.class.php | 120 ++++++ .../cms/action/object/ObjectCopyAction.class.php | 176 ++++++++ .../cms/action/object/ObjectDelaclAction.class.php | 28 ++ .../cms/action/object/ObjectInfoAction.class.php | 66 +++ .../action/object/ObjectInheritAction.class.php | 79 ++++ .../cms/action/object/ObjectNameAction.class.php | 34 ++ .../cms/action/object/ObjectPropAction.class.php | 50 +++ .../cms/action/object/ObjectRightsAction.class.php | 36 ++ .../action/object/ObjectSettingsAction.class.php | 48 +++ .../action/page/PageChangetemplateAction.class.php | 37 ++ ...ageChangetemplateselectelementsAction.class.php | 75 ++++ modules/cms/action/page/PageEditAction.class.php | 185 ++++++++ modules/cms/action/page/PageFormAction.class.php | 180 ++++++++ modules/cms/action/page/PageInfoAction.class.php | 55 +++ modules/cms/action/page/PageNameAction.class.php | 46 ++ .../cms/action/page/PagePreviewAction.class.php | 16 + modules/cms/action/page/PagePubAction.class.php | 50 +++ modules/cms/action/page/PageRemoveAction.class.php | 22 + modules/cms/action/page/PageShowAction.class.php | 57 +++ modules/cms/action/page/PageSrcAction.class.php | 25 ++ .../PageelementAdvancedAction.class.php | 43 ++ .../pageelement/PageelementDiffAction.class.php | 58 +++ .../pageelement/PageelementEditAction.class.php | 44 ++ .../pageelement/PageelementHistoryAction.class.php | 59 +++ .../pageelement/PageelementInfoAction.class.php | 50 +++ .../pageelement/PageelementLinkAction.class.php | 74 ++++ .../pageelement/PageelementPreviewAction.class.php | 15 + .../pageelement/PageelementPropAction.class.php | 42 ++ .../pageelement/PageelementPubAction.class.php | 17 + .../pageelement/PageelementReleaseAction.class.php | 36 ++ .../pageelement/PageelementRestoreAction.class.php | 28 ++ .../pageelement/PageelementValueAction.class.php | 71 ++++ .../profile/ProfileAvailableAction.class.php | 45 ++ .../profile/ProfileConfirmmailAction.class.php | 33 ++ .../cms/action/profile/ProfileEditAction.class.php | 76 ++++ .../action/profile/ProfileHistoryAction.class.php | 26 ++ .../action/profile/ProfileLanguageAction.class.php | 14 + .../cms/action/profile/ProfileMailAction.class.php | 46 ++ .../profile/ProfileMembershipsAction.class.php | 13 + .../cms/action/profile/ProfilePingAction.class.php | 16 + .../cms/action/profile/ProfilePwAction.class.php | 46 ++ .../profile/ProfileUisettingsAction.class.php | 15 + .../action/profile/ProfileUserinfoAction.class.php | 35 ++ .../cms/action/project/ProjectCopyAction.class.php | 35 ++ .../cms/action/project/ProjectEditAction.class.php | 15 + .../action/project/ProjectHistoryAction.class.php | 14 + .../cms/action/project/ProjectInfoAction.class.php | 16 + .../action/project/ProjectListingAction.class.php | 24 ++ .../project/ProjectMaintenanceAction.class.php | 30 ++ .../cms/action/project/ProjectPropAction.class.php | 46 ++ .../action/project/ProjectRemoveAction.class.php | 25 ++ .../projectlist/ProjectlistAddAction.class.php | 48 +++ .../projectlist/ProjectlistEditAction.class.php | 38 ++ .../projectlist/ProjectlistHistoryAction.class.php | 14 + .../cms/action/search/SearchEditAction.class.php | 20 + .../search/SearchQuicksearchAction.class.php | 34 ++ .../cms/action/search/SearchResultAction.class.php | 35 ++ .../action/template/TemplateAddelAction.class.php | 59 +++ .../action/template/TemplateEditAction.class.php | 83 ++++ .../template/TemplateExtensionAction.class.php | 43 ++ .../action/template/TemplateInfoAction.class.php | 27 ++ .../template/TemplateListingAction.class.php | 29 ++ .../template/TemplatePreviewAction.class.php | 27 ++ .../action/template/TemplatePropAction.class.php | 30 ++ .../action/template/TemplatePubAction.class.php | 40 ++ .../action/template/TemplateRemoveAction.class.php | 23 + .../action/template/TemplateShowAction.class.php | 52 +++ .../action/template/TemplateSrcAction.class.php | 82 ++++ .../template/TemplateSrcelementAction.class.php | 53 +++ .../templatelist/TemplatelistAddAction.class.php | 133 ++++++ .../templatelist/TemplatelistEditAction.class.php | 12 + .../templatelist/TemplatelistShowAction.class.php | 23 + .../cms/action/text/TextPreviewAction.class.php | 19 + modules/cms/action/text/TextShowAction.class.php | 13 + modules/cms/action/text/TextValueAction.class.php | 23 + modules/cms/action/url/UrlEditAction.class.php | 17 + modules/cms/action/url/UrlPreviewAction.class.php | 13 + modules/cms/action/url/UrlRemoveAction.class.php | 24 ++ modules/cms/action/url/UrlShowAction.class.php | 31 ++ modules/cms/action/url/UrlValueAction.class.php | 26 ++ .../action/user/UserAddgrouptouserAction.class.php | 20 + .../cms/action/user/UserHistoryAction.class.php | 24 ++ modules/cms/action/user/UserInfoAction.class.php | 53 +++ .../cms/action/user/UserListingAction.class.php | 21 + .../action/user/UserMembershipsAction.class.php | 57 +++ modules/cms/action/user/UserPropAction.class.php | 67 +++ modules/cms/action/user/UserPwAction.class.php | 42 ++ modules/cms/action/user/UserRemoveAction.class.php | 16 + modules/cms/action/user/UserRightsAction.class.php | 89 ++++ modules/cms/action/user/UserSwitchAction.class.php | 19 + .../action/userlist/UserlistAddAction.class.php | 27 ++ .../action/userlist/UserlistEditAction.class.php | 23 + modules/cms/model/File.class.php | 2 +- modules/cms/ui/action/IndexAction.class.php | 14 +- modules/cms/ui/action/TreeAction.class.php | 6 +- .../ui/action/index/IndexManifestAction.class.php | 67 +++ .../cms/ui/action/index/IndexShowAction.class.php | 114 +++++ .../action/index/IndexThemestyleAction.class.php | 36 ++ .../ui/action/title/TitleAvailableAction.class.php | 27 ++ .../ui/action/title/TitleHistoryAction.class.php | 38 ++ .../cms/ui/action/title/TitleShowAction.class.php | 48 +++ .../cms/ui/action/tree/TreeBranchAction.class.php | 16 + .../cms/ui/action/tree/TreePathAction.class.php | 19 + .../cms/ui/action/tree/TreeShowAction.class.php | 12 + .../themes/default/html/views/folder/preview.php | 6 + .../default/html/views/folder/preview.tpl.src.xml | 8 + .../themes/default/html/views/project/history.php | 10 +- .../default/html/views/project/history.tpl.src.xml | 10 +- .../html/views/userlist/{show.php => edit.php} | 2 +- .../{show.tpl.src.xml => edit.tpl.src.xml} | 0 modules/cms/ui/themes/default/script/openrat.js | 2 +- .../cms/ui/themes/default/script/openrat.min.js | 2 +- .../cms/ui/themes/default/script/openrat/common.js | 2 +- modules/util/ClassName.class.php | 66 +++ modules/util/test/ClassNameTest.class.php | 37 ++ 219 files changed, 8623 insertions(+), 274 deletions(-)