diff --git a/composer.lock b/composer.lock index 3e4b5ff2..38db6a3c 100644 --- a/composer.lock +++ b/composer.lock @@ -8857,23 +8857,23 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.15", + "version": "9.2.16", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f" + "reference": "2593003befdcc10db5e213f9f28814f5aa8ac073" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2e9da11878c4202f97915c1cb4bb1ca318a63f5f", - "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2593003befdcc10db5e213f9f28814f5aa8ac073", + "reference": "2593003befdcc10db5e213f9f28814f5aa8ac073", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.13.0", + "nikic/php-parser": "^4.14", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -8922,7 +8922,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.15" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.16" }, "funding": [ { @@ -8930,7 +8930,7 @@ "type": "github" } ], - "time": "2022-03-07T09:28:20+00:00" + "time": "2022-08-20T05:26:47+00:00" }, { "name": "phpunit/php-file-iterator", @@ -9175,16 +9175,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.21", + "version": "9.5.22", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "0e32b76be457de00e83213528f6bb37e2a38fcb1" + "reference": "e329ac6e8744f461518272612a479fde958752fe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0e32b76be457de00e83213528f6bb37e2a38fcb1", - "reference": "0e32b76be457de00e83213528f6bb37e2a38fcb1", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/e329ac6e8744f461518272612a479fde958752fe", + "reference": "e329ac6e8744f461518272612a479fde958752fe", "shasum": "" }, "require": { @@ -9261,7 +9261,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.21" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.22" }, "funding": [ { @@ -9273,7 +9273,7 @@ "type": "github" } ], - "time": "2022-06-19T12:14:25+00:00" + "time": "2022-08-20T08:25:46+00:00" }, { "name": "pimple/pimple", diff --git a/package-lock.json b/package-lock.json index 46ef06aa..f7851422 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,6 @@ "stimulus-use": "^0.25.4", "vue": "^2.6.14", "vue-router": "^3.5.2", - "vue-scrollto": "^2.20.0", "vue-session": "^1.0.0", "vuex": "^3.6.2", "whatwg-fetch": "^3.6.2" @@ -2777,11 +2776,6 @@ "integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==", "dev": true }, - "node_modules/bezier-easing": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/bezier-easing/-/bezier-easing-2.1.0.tgz", - "integrity": "sha512-gbIqZ/eslnUFC1tjEvtz0sgx+xTK20wDnYMIA27VA04R7w6xxXQPZDbibjA9DTWZRA2CXtwHykkVzlCaAJAZig==" - }, "node_modules/big.js": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", @@ -8206,14 +8200,6 @@ "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.5.4.tgz", "integrity": "sha512-x+/DLAJZv2mcQ7glH2oV9ze8uPwcI+H+GgTgTmb5I55bCgY3+vXWIsqbYUzbBSZnwFHEJku4eoaH/x98veyymQ==" }, - "node_modules/vue-scrollto": { - "version": "2.20.0", - "resolved": "https://registry.npmjs.org/vue-scrollto/-/vue-scrollto-2.20.0.tgz", - "integrity": "sha512-7i+AGKJTThZnMEkhIPgrZjyAX+fXV7/rGdg+CV283uZZwCxwiMXaBLTmIc5RTA4uwGnT+E6eJle3mXQfM2OD3A==", - "dependencies": { - "bezier-easing": "2.1.0" - } - }, "node_modules/vue-session": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/vue-session/-/vue-session-1.0.0.tgz", @@ -10808,11 +10794,6 @@ "integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==", "dev": true }, - "bezier-easing": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/bezier-easing/-/bezier-easing-2.1.0.tgz", - "integrity": "sha512-gbIqZ/eslnUFC1tjEvtz0sgx+xTK20wDnYMIA27VA04R7w6xxXQPZDbibjA9DTWZRA2CXtwHykkVzlCaAJAZig==" - }, "big.js": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", @@ -14754,14 +14735,6 @@ "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.5.4.tgz", "integrity": "sha512-x+/DLAJZv2mcQ7glH2oV9ze8uPwcI+H+GgTgTmb5I55bCgY3+vXWIsqbYUzbBSZnwFHEJku4eoaH/x98veyymQ==" }, - "vue-scrollto": { - "version": "2.20.0", - "resolved": "https://registry.npmjs.org/vue-scrollto/-/vue-scrollto-2.20.0.tgz", - "integrity": "sha512-7i+AGKJTThZnMEkhIPgrZjyAX+fXV7/rGdg+CV283uZZwCxwiMXaBLTmIc5RTA4uwGnT+E6eJle3mXQfM2OD3A==", - "requires": { - "bezier-easing": "2.1.0" - } - }, "vue-session": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/vue-session/-/vue-session-1.0.0.tgz", diff --git a/package.json b/package.json index 991dbb7c..6e274b26 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "stimulus-use": "^0.25.4", "vue": "^2.6.14", "vue-router": "^3.5.2", - "vue-scrollto": "^2.20.0", "vue-session": "^1.0.0", "vuex": "^3.6.2", "whatwg-fetch": "^3.6.2" diff --git a/public/typo3conf/ext/ep_products/Classes/Controller/ConceptController.php b/public/typo3conf/ext/ep_products/Classes/Controller/ConceptController.php index c9cf2b6c..ad640849 100644 --- a/public/typo3conf/ext/ep_products/Classes/Controller/ConceptController.php +++ b/public/typo3conf/ext/ep_products/Classes/Controller/ConceptController.php @@ -83,7 +83,7 @@ class ConceptController extends ActionController $excludedConceptUids = GeneralUtility::trimExplode(',', $this->settings['excludedConceptUids'], true); $limit = $this->settings['showMoreLink'] ? 4 : 0; $teasers = $this->productDataService->getTeasergroup($filterSettings, $excludedConceptUids, $limit); - $pages = $this->pageRepository->findPagesByPid($this->settings['conceptsPageUid']); + $pages = $this->pageRepository->findPagesByPid((int)$this->settings['conceptsPageUid']); $data = $this->configurationManager->getContentObject()->data; $this->view->assignMultiple([ diff --git a/public/typo3conf/ext/ep_theme/Classes/Controller/BackendController.php b/public/typo3conf/ext/ep_theme/Classes/Controller/BackendController.php index e7225f41..151b4be4 100644 --- a/public/typo3conf/ext/ep_theme/Classes/Controller/BackendController.php +++ b/public/typo3conf/ext/ep_theme/Classes/Controller/BackendController.php @@ -69,14 +69,14 @@ class BackendController extends ActionController public function initializeAction() { - $this->pageUid = (integer)GeneralUtility::_GET('id'); + $this->pageUid = (int)GeneralUtility::_GET('id'); parent::initializeAction(); } public function listPagesAction() { - $pages = $this->pageRepository->findPagesByPid($this->pageUid); + $pages = $this->pageRepository->findPagesByPid($this->pageUid, true); $this->view->assign('pages', $pages); } diff --git a/public/typo3conf/ext/ep_theme/Classes/Domain/Repository/PageRepository.php b/public/typo3conf/ext/ep_theme/Classes/Domain/Repository/PageRepository.php index 32c4f64e..b535d1e6 100644 --- a/public/typo3conf/ext/ep_theme/Classes/Domain/Repository/PageRepository.php +++ b/public/typo3conf/ext/ep_theme/Classes/Domain/Repository/PageRepository.php @@ -2,6 +2,7 @@ namespace EP\EpTheme\Domain\Repository; +use TYPO3\CMS\Core\Domain\Repository\PageRepository as CorePageRepository; use TYPO3\CMS\Extbase\Persistence\Repository; class PageRepository extends Repository @@ -13,23 +14,19 @@ class PageRepository extends Repository 'sorting' => 'ASC', ]; - /** - * @param int $pid - * @return array|\TYPO3\CMS\Extbase\Persistence\QueryResultInterface - */ - public function findPagesByPid($pid) + public function findPagesByPid(int $pid, bool $includeDisabled = false) { $query = $this->createQuery(); $query ->getQuerySettings() ->setRespectStoragePage(false) - ->setIgnoreEnableFields(true) + ->setIgnoreEnableFields($includeDisabled) ->setIncludeDeleted(false) ->setRespectSysLanguage(false) ; $query->matching($query->logicalAnd([ $query->equals('pid', $pid), - $query->equals('doktype', \TYPO3\CMS\Core\Domain\Repository\PageRepository::DOKTYPE_DEFAULT) + $query->equals('doktype', CorePageRepository::DOKTYPE_DEFAULT) ])); return $query->execute(); diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Address.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Address.vue index 196f4868..f903dc6c 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Address.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Address.vue @@ -62,13 +62,12 @@ diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/App.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/App.vue index 5d561e6f..e2a001c4 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/App.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/App.vue @@ -1,8 +1,9 @@ - - - My E&P - + + + My E&P + Adressdaten @@ -11,7 +12,7 @@ Buchungen Teamer - Logout + Logout @@ -19,7 +20,7 @@ - + @@ -31,7 +32,7 @@ diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue index 0dbfa8da..30eb77c1 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue @@ -158,7 +158,6 @@ diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/CrmData.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/CrmData.vue index c5df36ef..9b2d4675 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/CrmData.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/CrmData.vue @@ -51,7 +51,7 @@ diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Events.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Events.vue index 1d07c175..a7a99865 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Events.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Events.vue @@ -75,10 +75,10 @@ diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Teamer.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Teamer.vue index dd6a48a8..95cde61e 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Teamer.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Teamer.vue @@ -1,81 +1,77 @@ - Teamer + Teamer - - - Fährst du Ski oder Board? - - - - - - {{ ability['title'] }} - - + + + Fährst du Ski oder Board? + + + + {{ ability.title }} + - Mögliche Jobprofile - - - - - - {{ jobProfile['title'] }} - - + Mögliche Jobprofile + + + + {{ jobProfile.title }} + - Sonstiges - - - - - - Ich möchte eine Fahrtenleitung übernehmen. - - + Sonstiges + + + + Ich möchte eine Fahrtenleitung übernehmen + - + {{ status.label }} - + {{ size }} - + - - Verfügbarkeiten - - - + Verfügbarkeiten + + + - - {{ timeFrame | period }} + {{ timeFrame | period }} - - - - - - Ich habe Zeit und würde gerne über einen Monat am Stück in eine Destination. + + + Ich habe Zeit und würde gerne über einen Monat am Stück in eine Destination. - - - - - - Speichern - - + + + Speichern + @@ -84,10 +80,10 @@
Teamer