mirror of
https://github.com/werkraum-media/events.git
synced 2024-12-22 06:06:08 +01:00
BREAKING: Change of vendor/namespace (#43)
The vendor was renamed from `wrm` to `werkraummedia`. And the namespace vendor was renamed from `Wrm` to `WerkraumMedia`. That way all references to PHP classes as well as the package name itself need to be adjusted.
This commit is contained in:
parent
8259ac40af
commit
a9f3f108e3
118 changed files with 325 additions and 294 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Wrm\Events\Backports\V12\Pagination;
|
||||
namespace WerkraumMedia\Events\Backports\V12\Pagination;
|
||||
|
||||
// Original source: https://github.com/TYPO3/typo3/blob/b60cf59fbe7875aff5ee1ba4c56155301694d6b8/typo3/sysext/core/Classes/Pagination/SlidingWindowPagination.php
|
||||
// Remove once we have v12 as minimum version.
|
||||
|
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Caching;
|
||||
namespace WerkraumMedia\Events\Caching;
|
||||
|
||||
use TYPO3\CMS\Core\Cache\CacheManager as Typo3CacheManager;
|
||||
use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
|
||||
|
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Caching;
|
||||
namespace WerkraumMedia\Events\Caching;
|
||||
|
||||
use DateTime;
|
||||
use DateTimeImmutable;
|
||||
|
@ -30,8 +30,8 @@ use TYPO3\CMS\Core\Cache\CacheManager;
|
|||
use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface;
|
||||
use TYPO3\CMS\Core\Context\Context;
|
||||
use TYPO3\CMS\Core\SingletonInterface;
|
||||
use Wrm\Events\Domain\Model\Date;
|
||||
use Wrm\Events\Events\Controller\DateListVariables;
|
||||
use WerkraumMedia\Events\Domain\Model\Date;
|
||||
use WerkraumMedia\Events\Events\Controller\DateListVariables;
|
||||
|
||||
/**
|
||||
* Teaches TYPO3 to set proper timeout for page cache.
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Command;
|
||||
namespace WerkraumMedia\Events\Command;
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use TYPO3\CMS\Core\Core\Bootstrap;
|
||||
use Wrm\Events\Domain\DestinationData\ImportFactory;
|
||||
use Wrm\Events\Service\DestinationDataImportService;
|
||||
use WerkraumMedia\Events\Domain\DestinationData\ImportFactory;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService;
|
||||
|
||||
class ImportDestinationDataViaAllConfigruationsCommand extends Command
|
||||
{
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Command;
|
||||
namespace WerkraumMedia\Events\Command;
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use TYPO3\CMS\Core\Core\Bootstrap;
|
||||
use Wrm\Events\Domain\DestinationData\ImportFactory;
|
||||
use Wrm\Events\Service\DestinationDataImportService;
|
||||
use WerkraumMedia\Events\Domain\DestinationData\ImportFactory;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService;
|
||||
|
||||
class ImportDestinationDataViaConfigruationCommand extends Command
|
||||
{
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Command;
|
||||
namespace WerkraumMedia\Events\Command;
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use TYPO3\CMS\Core\Core\Bootstrap;
|
||||
use Wrm\Events\Service\CleanupService;
|
||||
use WerkraumMedia\Events\Service\CleanupService;
|
||||
|
||||
class RemoveAllCommand extends Command
|
||||
{
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Command;
|
||||
namespace WerkraumMedia\Events\Command;
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use TYPO3\CMS\Core\Core\Bootstrap;
|
||||
use Wrm\Events\Service\CleanupService;
|
||||
use WerkraumMedia\Events\Service\CleanupService;
|
||||
|
||||
class RemovePastCommand extends Command
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Controller;
|
||||
namespace WerkraumMedia\Events\Controller;
|
||||
|
||||
/*
|
||||
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
@ -21,14 +21,13 @@ namespace Wrm\Events\Controller;
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
use TYPO3\CMS\Core\Exception\Page\PageNotFoundException;
|
||||
use TYPO3\CMS\Core\Http\ImmediateResponseException;
|
||||
use TYPO3\CMS\Core\Http\PropagateResponseException;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
use TYPO3\CMS\Extbase\Mvc\Controller\ActionController;
|
||||
use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
|
||||
use TYPO3\CMS\Frontend\Controller\ErrorController;
|
||||
use Wrm\Events\Caching\CacheManager;
|
||||
use WerkraumMedia\Events\Caching\CacheManager;
|
||||
|
||||
class AbstractController extends ActionController
|
||||
{
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Controller;
|
||||
namespace WerkraumMedia\Events\Controller;
|
||||
|
||||
use Throwable;
|
||||
use TYPO3\CMS\Core\EventDispatcher\EventDispatcher;
|
||||
use TYPO3\CMS\Extbase\Annotation as Extbase;
|
||||
use TYPO3\CMS\Extbase\Service\ExtensionService;
|
||||
use Throwable;
|
||||
use Wrm\Events\Domain\Model\Date;
|
||||
use Wrm\Events\Domain\Model\Dto\DateDemandFactory;
|
||||
use Wrm\Events\Domain\Repository\CategoryRepository;
|
||||
use Wrm\Events\Domain\Repository\DateRepository;
|
||||
use Wrm\Events\Domain\Repository\RegionRepository;
|
||||
use Wrm\Events\Events\Controller\DateListVariables;
|
||||
use Wrm\Events\Events\Controller\DateSearchVariables;
|
||||
use Wrm\Events\Pagination\Factory;
|
||||
use Wrm\Events\Service\DataProcessingForModels;
|
||||
use WerkraumMedia\Events\Domain\Model\Date;
|
||||
use WerkraumMedia\Events\Domain\Model\Dto\DateDemandFactory;
|
||||
use WerkraumMedia\Events\Domain\Repository\CategoryRepository;
|
||||
use WerkraumMedia\Events\Domain\Repository\DateRepository;
|
||||
use WerkraumMedia\Events\Domain\Repository\RegionRepository;
|
||||
use WerkraumMedia\Events\Events\Controller\DateListVariables;
|
||||
use WerkraumMedia\Events\Events\Controller\DateSearchVariables;
|
||||
use WerkraumMedia\Events\Pagination\Factory;
|
||||
use WerkraumMedia\Events\Service\DataProcessingForModels;
|
||||
|
||||
class DateController extends AbstractController
|
||||
{
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Controller;
|
||||
namespace WerkraumMedia\Events\Controller;
|
||||
|
||||
use TYPO3\CMS\Extbase\Annotation as Extbase;
|
||||
use Wrm\Events\Domain\Model\Dto\EventDemandFactory;
|
||||
use Wrm\Events\Domain\Model\Event;
|
||||
use Wrm\Events\Domain\Repository\EventRepository;
|
||||
use Wrm\Events\Service\DataProcessingForModels;
|
||||
use WerkraumMedia\Events\Domain\Model\Dto\EventDemandFactory;
|
||||
use WerkraumMedia\Events\Domain\Model\Event;
|
||||
use WerkraumMedia\Events\Domain\Repository\EventRepository;
|
||||
use WerkraumMedia\Events\Service\DataProcessingForModels;
|
||||
|
||||
class EventController extends AbstractController
|
||||
{
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\DestinationData;
|
||||
namespace WerkraumMedia\Events\Domain\DestinationData;
|
||||
|
||||
use TYPO3\CMS\Core\Database\ConnectionPool;
|
||||
use TYPO3\CMS\Core\Resource\Folder;
|
||||
use TYPO3\CMS\Core\Resource\ResourceFactory;
|
||||
use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper;
|
||||
use TYPO3\CMS\Extbase\Persistence\Generic\Session;
|
||||
use Wrm\Events\Domain\Model\Import;
|
||||
use WerkraumMedia\Events\Domain\Model\Import;
|
||||
|
||||
class ImportFactory
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Model;
|
||||
namespace WerkraumMedia\Events\Domain\Model;
|
||||
|
||||
use TYPO3\CMS\Extbase\Annotation as Extbase;
|
||||
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Model;
|
||||
namespace WerkraumMedia\Events\Domain\Model;
|
||||
|
||||
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
|
||||
|
||||
|
@ -35,7 +35,7 @@ class Date extends AbstractEntity
|
|||
protected $originalDate;
|
||||
|
||||
/**
|
||||
* @var \Wrm\Events\Domain\Model\Event
|
||||
* @var \WerkraumMedia\Events\Domain\Model\Event
|
||||
*/
|
||||
protected $event;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Model\Dto;
|
||||
namespace WerkraumMedia\Events\Domain\Model\Dto;
|
||||
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Model\Dto;
|
||||
namespace WerkraumMedia\Events\Domain\Model\Dto;
|
||||
|
||||
/*
|
||||
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Model\Dto;
|
||||
namespace WerkraumMedia\Events\Domain\Model\Dto;
|
||||
|
||||
class EventDemand
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Model\Dto;
|
||||
namespace WerkraumMedia\Events\Domain\Model\Dto;
|
||||
|
||||
/*
|
||||
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Model;
|
||||
namespace WerkraumMedia\Events\Domain\Model;
|
||||
|
||||
use TYPO3\CMS\Extbase\Annotation as Extbase;
|
||||
use TYPO3\CMS\Extbase\Domain\Model\FileReference;
|
||||
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
|
||||
use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
|
||||
use Wrm\Events\Service\DataProcessingForModels;
|
||||
use WerkraumMedia\Events\Service\DataProcessingForModels;
|
||||
|
||||
class Event extends AbstractEntity
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Model;
|
||||
namespace WerkraumMedia\Events\Domain\Model;
|
||||
|
||||
use TYPO3\CMS\Core\Resource\Folder;
|
||||
use TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Model;
|
||||
namespace WerkraumMedia\Events\Domain\Model;
|
||||
|
||||
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Model;
|
||||
namespace WerkraumMedia\Events\Domain\Model;
|
||||
|
||||
/*
|
||||
*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Model;
|
||||
namespace WerkraumMedia\Events\Domain\Model;
|
||||
|
||||
/*
|
||||
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Model;
|
||||
namespace WerkraumMedia\Events\Domain\Model;
|
||||
|
||||
/*
|
||||
*
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Wrm\Events\Domain\Repository;
|
||||
namespace WerkraumMedia\Events\Domain\Repository;
|
||||
|
||||
/*
|
||||
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
@ -26,7 +26,7 @@ namespace Wrm\Events\Domain\Repository;
|
|||
use TYPO3\CMS\Core\Database\ConnectionPool;
|
||||
use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper;
|
||||
use TYPO3\CMS\Extbase\Persistence\Repository;
|
||||
use Wrm\Events\Domain\Model\Category;
|
||||
use WerkraumMedia\Events\Domain\Model\Category;
|
||||
|
||||
class CategoryRepository extends Repository
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Repository;
|
||||
namespace WerkraumMedia\Events\Domain\Repository;
|
||||
|
||||
use DateTimeImmutable;
|
||||
use DateTimeZone;
|
||||
|
@ -12,8 +12,8 @@ use TYPO3\CMS\Extbase\Persistence\Generic\QueryResult;
|
|||
use TYPO3\CMS\Extbase\Persistence\QueryInterface;
|
||||
use TYPO3\CMS\Extbase\Persistence\Repository;
|
||||
use UnexpectedValueException;
|
||||
use Wrm\Events\Domain\Model\Dto\DateDemand;
|
||||
use Wrm\Events\Service\CategoryService;
|
||||
use WerkraumMedia\Events\Domain\Model\Dto\DateDemand;
|
||||
use WerkraumMedia\Events\Service\CategoryService;
|
||||
|
||||
class DateRepository extends Repository
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Repository;
|
||||
namespace WerkraumMedia\Events\Domain\Repository;
|
||||
|
||||
/*
|
||||
* This file is part of the TYPO3 CMS project.
|
||||
|
@ -20,9 +20,9 @@ use TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface;
|
|||
use TYPO3\CMS\Extbase\Persistence\Generic\QueryResult;
|
||||
use TYPO3\CMS\Extbase\Persistence\QueryInterface;
|
||||
use TYPO3\CMS\Extbase\Persistence\Repository;
|
||||
use Wrm\Events\Domain\Model\Dto\EventDemand;
|
||||
use Wrm\Events\Domain\Model\Event;
|
||||
use Wrm\Events\Service\CategoryService;
|
||||
use WerkraumMedia\Events\Domain\Model\Dto\EventDemand;
|
||||
use WerkraumMedia\Events\Domain\Model\Event;
|
||||
use WerkraumMedia\Events\Service\CategoryService;
|
||||
|
||||
class EventRepository extends Repository
|
||||
{
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Repository;
|
||||
namespace WerkraumMedia\Events\Domain\Repository;
|
||||
|
||||
use TYPO3\CMS\Extbase\Persistence\Repository;
|
||||
use Wrm\Events\Domain\Model\Location;
|
||||
use WerkraumMedia\Events\Domain\Model\Location;
|
||||
|
||||
class LocationRepository extends Repository
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Repository;
|
||||
namespace WerkraumMedia\Events\Domain\Repository;
|
||||
|
||||
/*
|
||||
* This file is part of the TYPO3 CMS project.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Domain\Repository;
|
||||
namespace WerkraumMedia\Events\Domain\Repository;
|
||||
|
||||
/*
|
||||
* This file is part of the TYPO3 CMS project.
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Events\Controller;
|
||||
namespace WerkraumMedia\Events\Events\Controller;
|
||||
|
||||
use TYPO3\CMS\Core\Pagination\PaginationInterface;
|
||||
use TYPO3\CMS\Extbase\Persistence\Generic\QueryResult;
|
||||
use Wrm\Events\Domain\Model\Date;
|
||||
use Wrm\Events\Domain\Model\Dto\DateDemand;
|
||||
use WerkraumMedia\Events\Domain\Model\Date;
|
||||
use WerkraumMedia\Events\Domain\Model\Dto\DateDemand;
|
||||
|
||||
final class DateListVariables
|
||||
{
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Events\Controller;
|
||||
namespace WerkraumMedia\Events\Events\Controller;
|
||||
|
||||
use TYPO3\CMS\Extbase\Domain\Model\Category;
|
||||
use TYPO3\CMS\Extbase\Persistence\QueryResultInterface;
|
||||
use Wrm\Events\Domain\Model\Dto\DateDemand;
|
||||
use Wrm\Events\Domain\Model\Region;
|
||||
use WerkraumMedia\Events\Domain\Model\Dto\DateDemand;
|
||||
use WerkraumMedia\Events\Domain\Model\Region;
|
||||
|
||||
class DateSearchVariables
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Extbase;
|
||||
namespace WerkraumMedia\Events\Extbase;
|
||||
|
||||
/*
|
||||
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
@ -24,7 +24,7 @@ namespace Wrm\Events\Extbase;
|
|||
use TYPO3\CMS\Core\Database\ConnectionPool;
|
||||
use TYPO3\CMS\Extbase\Event\Persistence\AfterObjectThawedEvent;
|
||||
use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper;
|
||||
use Wrm\Events\Domain\Model\Date;
|
||||
use WerkraumMedia\Events\Domain\Model\Date;
|
||||
|
||||
class AddSpecialProperties
|
||||
{
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Wrm\Events\Pagination;
|
||||
namespace WerkraumMedia\Events\Pagination;
|
||||
|
||||
use TYPO3\CMS\Core\Pagination\PaginationInterface;
|
||||
use TYPO3\CMS\Extbase\Pagination\QueryResultPaginator;
|
||||
use TYPO3\CMS\Extbase\Persistence\QueryResultInterface;
|
||||
use Wrm\Events\Backports\V12\Pagination\SlidingWindowPagination;
|
||||
use WerkraumMedia\Events\Backports\V12\Pagination\SlidingWindowPagination;
|
||||
|
||||
class Factory
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Service;
|
||||
namespace WerkraumMedia\Events\Service;
|
||||
|
||||
use TYPO3\CMS\Core\Cache\CacheManager;
|
||||
use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Service\Cleanup;
|
||||
namespace WerkraumMedia\Events\Service\Cleanup;
|
||||
|
||||
/*
|
||||
* Copyright (C) 2019 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Service\Cleanup;
|
||||
namespace WerkraumMedia\Events\Service\Cleanup;
|
||||
|
||||
/*
|
||||
* Copyright (C) 2019 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Service;
|
||||
namespace WerkraumMedia\Events\Service;
|
||||
|
||||
use Wrm\Events\Service\Cleanup\Database;
|
||||
use Wrm\Events\Service\Cleanup\Files;
|
||||
use WerkraumMedia\Events\Service\Cleanup\Database;
|
||||
use WerkraumMedia\Events\Service\Cleanup\Files;
|
||||
|
||||
class CleanupService
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Service;
|
||||
namespace WerkraumMedia\Events\Service;
|
||||
|
||||
/*
|
||||
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
@ -46,7 +46,7 @@ use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
|
|||
* plugin.tx_events {
|
||||
* settings {
|
||||
* dataProcessing {
|
||||
* Wrm\Events\Domain\Model\Event {
|
||||
* WerkraumMedia\Events\Domain\Model\Event {
|
||||
* 10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
|
||||
* 10 {
|
||||
* special = list
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Service;
|
||||
namespace WerkraumMedia\Events\Service;
|
||||
|
||||
use Exception;
|
||||
use TYPO3\CMS\Core\EventDispatcher\EventDispatcher;
|
||||
|
@ -11,25 +11,25 @@ use TYPO3\CMS\Extbase\Configuration\ConfigurationManager;
|
|||
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
|
||||
use TYPO3\CMS\Extbase\Object\ObjectManager;
|
||||
use TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager;
|
||||
use Wrm\Events\Caching\CacheManager;
|
||||
use Wrm\Events\Domain\Model\Event;
|
||||
use Wrm\Events\Domain\Model\Import;
|
||||
use Wrm\Events\Domain\Model\Organizer;
|
||||
use Wrm\Events\Domain\Model\Region;
|
||||
use Wrm\Events\Domain\Repository\DateRepository;
|
||||
use Wrm\Events\Domain\Repository\EventRepository;
|
||||
use Wrm\Events\Domain\Repository\OrganizerRepository;
|
||||
use Wrm\Events\Service\DestinationDataImportService\CategoriesAssignment;
|
||||
use Wrm\Events\Service\DestinationDataImportService\CategoriesAssignment\Import as CategoryImport;
|
||||
use Wrm\Events\Service\DestinationDataImportService\DataFetcher;
|
||||
use Wrm\Events\Service\DestinationDataImportService\DataHandler;
|
||||
use Wrm\Events\Service\DestinationDataImportService\DataHandler\Assignment;
|
||||
use Wrm\Events\Service\DestinationDataImportService\DatesFactory;
|
||||
use Wrm\Events\Service\DestinationDataImportService\Events\CategoriesAssignEvent;
|
||||
use Wrm\Events\Service\DestinationDataImportService\Events\EventImportEvent;
|
||||
use Wrm\Events\Service\DestinationDataImportService\FilesAssignment;
|
||||
use Wrm\Events\Service\DestinationDataImportService\LocationAssignment;
|
||||
use Wrm\Events\Service\DestinationDataImportService\Slugger;
|
||||
use WerkraumMedia\Events\Caching\CacheManager;
|
||||
use WerkraumMedia\Events\Domain\Model\Event;
|
||||
use WerkraumMedia\Events\Domain\Model\Import;
|
||||
use WerkraumMedia\Events\Domain\Model\Organizer;
|
||||
use WerkraumMedia\Events\Domain\Model\Region;
|
||||
use WerkraumMedia\Events\Domain\Repository\DateRepository;
|
||||
use WerkraumMedia\Events\Domain\Repository\EventRepository;
|
||||
use WerkraumMedia\Events\Domain\Repository\OrganizerRepository;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\CategoriesAssignment;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\CategoriesAssignment\Import as CategoryImport;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\DataFetcher;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\DataHandler;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\DataHandler\Assignment;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\DatesFactory;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\Events\CategoriesAssignEvent;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\Events\EventImportEvent;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\FilesAssignment;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\LocationAssignment;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\Slugger;
|
||||
|
||||
class DestinationDataImportService
|
||||
{
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService;
|
||||
|
||||
use TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager;
|
||||
use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
|
||||
use Wrm\Events\Domain\Model\Category;
|
||||
use Wrm\Events\Domain\Repository\CategoryRepository;
|
||||
use Wrm\Events\Service\DestinationDataImportService\CategoriesAssignment\Import;
|
||||
use WerkraumMedia\Events\Domain\Model\Category;
|
||||
use WerkraumMedia\Events\Domain\Repository\CategoryRepository;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\CategoriesAssignment\Import;
|
||||
|
||||
/**
|
||||
* Provides APIs to work with categories that will be assigned to events during import.
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService\CategoriesAssignment;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService\CategoriesAssignment;
|
||||
|
||||
use Wrm\Events\Domain\Model\Category;
|
||||
use WerkraumMedia\Events\Domain\Model\Category;
|
||||
|
||||
class Import
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService;
|
||||
|
||||
use GuzzleHttp\ClientInterface as GuzzleClientInterface;
|
||||
use Psr\Http\Client\ClientInterface;
|
||||
|
@ -8,7 +8,7 @@ use Psr\Http\Message\RequestFactoryInterface;
|
|||
use Psr\Http\Message\ResponseInterface;
|
||||
use TYPO3\CMS\Core\Log\Logger;
|
||||
use TYPO3\CMS\Core\Log\LogManager;
|
||||
use Wrm\Events\Domain\Model\Import;
|
||||
use WerkraumMedia\Events\Domain\Model\Import;
|
||||
|
||||
/**
|
||||
* Provides API to fetch data from remote.
|
||||
|
|
|
@ -21,13 +21,13 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService;
|
||||
|
||||
use TYPO3\CMS\Core\DataHandling\DataHandler as Typo3DataHandler;
|
||||
use TYPO3\CMS\Core\Log\Logger;
|
||||
use TYPO3\CMS\Core\Log\LogManager;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
use Wrm\Events\Service\DestinationDataImportService\DataHandler\Assignment;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\DataHandler\Assignment;
|
||||
|
||||
final class DataHandler
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService\DataHandler;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService\DataHandler;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService;
|
||||
|
||||
use TYPO3\CMS\Core\Context\Context;
|
||||
use TYPO3\CMS\Core\Log\Logger;
|
||||
use TYPO3\CMS\Core\Log\LogManager;
|
||||
use TYPO3\CMS\Extbase\Configuration\ConfigurationManager;
|
||||
use Wrm\Events\Domain\Model\Date;
|
||||
use WerkraumMedia\Events\Domain\Model\Date;
|
||||
|
||||
class DatesFactory
|
||||
{
|
||||
|
|
|
@ -21,11 +21,11 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService\Events;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService\Events;
|
||||
|
||||
use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
|
||||
use Wrm\Events\Domain\Model\Category;
|
||||
use Wrm\Events\Domain\Model\Event;
|
||||
use WerkraumMedia\Events\Domain\Model\Category;
|
||||
use WerkraumMedia\Events\Domain\Model\Event;
|
||||
|
||||
final class CategoriesAssignEvent
|
||||
{
|
||||
|
|
|
@ -21,9 +21,9 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService\Events;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService\Events;
|
||||
|
||||
use Wrm\Events\Domain\Model\Event;
|
||||
use WerkraumMedia\Events\Domain\Model\Event;
|
||||
|
||||
final class EventImportEvent
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService;
|
||||
|
||||
use Exception;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
@ -33,8 +33,8 @@ use TYPO3\CMS\Core\Resource\ResourceFactory;
|
|||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
use TYPO3\CMS\Extbase\Domain\Model\FileReference;
|
||||
use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
|
||||
use Wrm\Events\Domain\Model\Event;
|
||||
use Wrm\Events\Domain\Model\Import;
|
||||
use WerkraumMedia\Events\Domain\Model\Event;
|
||||
use WerkraumMedia\Events\Domain\Model\Import;
|
||||
|
||||
class FilesAssignment
|
||||
{
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService;
|
||||
|
||||
use Wrm\Events\Domain\Model\Location;
|
||||
use Wrm\Events\Domain\Repository\LocationRepository;
|
||||
use WerkraumMedia\Events\Domain\Model\Location;
|
||||
use WerkraumMedia\Events\Domain\Repository\LocationRepository;
|
||||
|
||||
class LocationAssignment
|
||||
{
|
||||
|
|
|
@ -21,14 +21,14 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService;
|
||||
|
||||
use TYPO3\CMS\Core\Database\ConnectionPool;
|
||||
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
|
||||
use TYPO3\CMS\Core\DataHandling\SlugHelper;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
use Wrm\Events\Service\DestinationDataImportService\Slugger\Registry;
|
||||
use Wrm\Events\Service\DestinationDataImportService\Slugger\SluggerType;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\Slugger\Registry;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\Slugger\SluggerType;
|
||||
|
||||
class Slugger
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService\Slugger;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService\Slugger;
|
||||
|
||||
use TYPO3\CMS\Core\Database\ConnectionPool;
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService\Slugger;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService\Slugger;
|
||||
|
||||
class Event implements SluggerType
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService\Slugger;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService\Slugger;
|
||||
|
||||
class Registry
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService\Slugger;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService\Slugger;
|
||||
|
||||
/**
|
||||
* Defines a slugger for a specific type, e.g. event or date.
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Service\DestinationDataImportService;
|
||||
namespace WerkraumMedia\Events\Service\DestinationDataImportService;
|
||||
|
||||
use TYPO3\CMS\Core\Http\Uri;
|
||||
use TYPO3\CMS\Extbase\Configuration\ConfigurationManager;
|
||||
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
|
||||
use Wrm\Events\Domain\Model\Import;
|
||||
use WerkraumMedia\Events\Domain\Model\Import;
|
||||
|
||||
/**
|
||||
* Factory to create URLs used during import of Destination Data.
|
||||
|
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Testing;
|
||||
namespace WerkraumMedia\Events\Testing;
|
||||
|
||||
use TYPO3\CMS\Core\SingletonInterface;
|
||||
use TYPO3\CMS\Core\TypoScript\TemplateService;
|
||||
|
|
|
@ -21,13 +21,13 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Updates;
|
||||
namespace WerkraumMedia\Events\Updates;
|
||||
|
||||
use Generator;
|
||||
use TYPO3\CMS\Core\Database\Connection;
|
||||
use TYPO3\CMS\Core\Database\ConnectionPool;
|
||||
use TYPO3\CMS\Install\Updates\UpgradeWizardInterface;
|
||||
use Wrm\Events\Domain\Model\Location;
|
||||
use WerkraumMedia\Events\Domain\Model\Location;
|
||||
|
||||
final class MigrateDuplicateLocations implements UpgradeWizardInterface
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Updates;
|
||||
namespace WerkraumMedia\Events\Updates;
|
||||
|
||||
use TYPO3\CMS\Core\Database\ConnectionPool;
|
||||
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
\Wrm\Events\Domain\Model\Category::class => [
|
||||
\WerkraumMedia\Events\Domain\Model\Category::class => [
|
||||
'tableName' => 'sys_category',
|
||||
],
|
||||
];
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Wrm\Events;
|
||||
namespace WerkraumMedia\Events;
|
||||
|
||||
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
|
||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
||||
use Wrm\Events\Service\DestinationDataImportService\Slugger\Registry;
|
||||
use Wrm\Events\Service\DestinationDataImportService\Slugger\SluggerType;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\Slugger\Registry;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\Slugger\SluggerType;
|
||||
|
||||
return static function (ContainerConfigurator $container, ContainerBuilder $containerBuilder) {
|
||||
$containerBuilder->registerForAutoconfiguration(SluggerType::class)->addTag('tx_events.slugger_type');
|
||||
|
|
|
@ -4,47 +4,47 @@ services:
|
|||
autoconfigure: true
|
||||
public: false
|
||||
|
||||
Wrm\Events\:
|
||||
WerkraumMedia\Events\:
|
||||
resource: '../Classes/*'
|
||||
|
||||
Wrm\Events\Command\ImportDestinationDataViaConfigruationCommand:
|
||||
WerkraumMedia\Events\Command\ImportDestinationDataViaConfigruationCommand:
|
||||
tags:
|
||||
- name: 'console.command'
|
||||
command: 'events:destinationdataimportviaconfiguration'
|
||||
description: 'Import Destination Data Events'
|
||||
|
||||
Wrm\Events\Command\ImportDestinationDataViaAllConfigruationsCommand:
|
||||
WerkraumMedia\Events\Command\ImportDestinationDataViaAllConfigruationsCommand:
|
||||
tags:
|
||||
- name: 'console.command'
|
||||
command: 'events:destinationdataimportviaallconfigurations'
|
||||
description: 'Import Destination Data Events from all configurations'
|
||||
|
||||
Wrm\Events\Command\RemoveAllCommand:
|
||||
WerkraumMedia\Events\Command\RemoveAllCommand:
|
||||
tags:
|
||||
- name: 'console.command'
|
||||
command: 'events:removeAll'
|
||||
description: 'Remove all event data'
|
||||
|
||||
Wrm\Events\Command\RemovePastCommand:
|
||||
WerkraumMedia\Events\Command\RemovePastCommand:
|
||||
tags:
|
||||
- name: 'console.command'
|
||||
command: 'events:removePast'
|
||||
description: 'Remove past events'
|
||||
|
||||
Wrm\Events\Extbase\AddSpecialProperties:
|
||||
WerkraumMedia\Events\Extbase\AddSpecialProperties:
|
||||
tags:
|
||||
- name: event.listener
|
||||
identifier: 'WrmEventsAddSpecialPropertiesToDate'
|
||||
identifier: 'WerkraumMediaEventsAddSpecialPropertiesToDate'
|
||||
event: TYPO3\CMS\Extbase\Event\Persistence\AfterObjectThawedEvent
|
||||
|
||||
Wrm\Events\Updates\MigrateDuplicateLocations:
|
||||
WerkraumMedia\Events\Updates\MigrateDuplicateLocations:
|
||||
public: true
|
||||
|
||||
Wrm\Events\Updates\MigrateOldLocations:
|
||||
WerkraumMedia\Events\Updates\MigrateOldLocations:
|
||||
public: true
|
||||
|
||||
Wrm\Events\Caching\PageCacheTimeout:
|
||||
WerkraumMedia\Events\Caching\PageCacheTimeout:
|
||||
tags:
|
||||
- name: event.listener
|
||||
event: Wrm\Events\Events\Controller\DateListVariables
|
||||
event: WerkraumMedia\Events\Events\Controller\DateListVariables
|
||||
method: 'trackDates'
|
||||
|
|
|
@ -58,7 +58,7 @@ plugin.tx_events {
|
|||
}
|
||||
|
||||
dataProcessing {
|
||||
Wrm\Events\Domain\Model\Event {
|
||||
WerkraumMedia\Events\Domain\Model\Event {
|
||||
10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
|
||||
10 {
|
||||
special = list
|
||||
|
|
32
Documentation/Changelog/4.0.0.rst
Normal file
32
Documentation/Changelog/4.0.0.rst
Normal file
|
@ -0,0 +1,32 @@
|
|||
4.0.0
|
||||
=====
|
||||
|
||||
Breaking
|
||||
--------
|
||||
|
||||
* Change of vendor/namespace.
|
||||
The vendor was renamed from `wrm` to `werkraummedia`.
|
||||
And the namespace vendor was renamed from `Wrm` to `WerkraumMedia`.
|
||||
|
||||
That way all references to PHP classes as well as the package name itself need to
|
||||
be adjusted.
|
||||
|
||||
Features
|
||||
--------
|
||||
|
||||
Nothing
|
||||
|
||||
Fixes
|
||||
-----
|
||||
|
||||
Nothing
|
||||
|
||||
Tasks
|
||||
-----
|
||||
|
||||
Nothing
|
||||
|
||||
Deprecation
|
||||
-----------
|
||||
|
||||
Nothing
|
|
@ -21,7 +21,7 @@ The TTL of the extension is determined in the following way:
|
|||
|
||||
#. End of each shown date as fallback.
|
||||
|
||||
The corresponding code is ``Wrm\Events\Caching\PageCacheTimeout``.
|
||||
The corresponding code is ``WerkraumMedia\Events\Caching\PageCacheTimeout``.
|
||||
|
||||
That way the TTL of each page is not longer than the valid period for shown events,
|
||||
leading to re-rendering of the page once an event might change.
|
||||
|
|
|
@ -8,7 +8,7 @@ Events
|
|||
events
|
||||
|
||||
:Package name:
|
||||
wrm/events
|
||||
werkraummedia/events
|
||||
|
||||
:Language:
|
||||
en
|
||||
|
|
|
@ -9,4 +9,4 @@ Remove ``SlidingWindowPagination`` backport.
|
|||
We backported https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Feature-94625-IntroduceSlidingWindowPagination.html.
|
||||
That allowed us to use the new Code compatible with v12 onwards.
|
||||
|
||||
We should remove the file ``Classes/Backports/V12/Pagination/SlidingWindowPagination.php`` and switch to TYPO3 native class within ``Wrm\Events\Pagination\Factory``.
|
||||
We should remove the file ``Classes/Backports/V12/Pagination/SlidingWindowPagination.php`` and switch to TYPO3 native class within ``WerkraumMedia\Events\Pagination\Factory``.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests;
|
||||
namespace WerkraumMedia\Events\Tests;
|
||||
|
||||
use GuzzleHttp\Client;
|
||||
use GuzzleHttp\Handler\MockHandler;
|
||||
|
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Tests\Functional;
|
||||
namespace WerkraumMedia\Events\Tests\Functional;
|
||||
|
||||
use Codappix\Typo3PhpDatasets\TestingFramework;
|
||||
use DateTimeImmutable;
|
||||
|
@ -38,9 +38,9 @@ use TYPO3\CMS\Core\Utility\ArrayUtility;
|
|||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\Internal\TypoScriptInstruction;
|
||||
use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
|
||||
use Wrm\Events\Command\ImportDestinationDataViaConfigruationCommand;
|
||||
use Wrm\Events\Testing\TypoScriptInstructionModifier;
|
||||
use Wrm\Events\Tests\ClientFactory;
|
||||
use WerkraumMedia\Events\Command\ImportDestinationDataViaConfigruationCommand;
|
||||
use WerkraumMedia\Events\Testing\TypoScriptInstructionModifier;
|
||||
use WerkraumMedia\Events\Tests\ClientFactory;
|
||||
|
||||
abstract class AbstractFunctionalTestCase extends FunctionalTestCase
|
||||
{
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Cleanup;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Cleanup;
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Tester\CommandTester;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
use Wrm\Events\Command\RemoveAllCommand;
|
||||
use Wrm\Events\Tests\Functional\AbstractFunctionalTestCase;
|
||||
use WerkraumMedia\Events\Command\RemoveAllCommand;
|
||||
use WerkraumMedia\Events\Tests\Functional\AbstractFunctionalTestCase;
|
||||
|
||||
/**
|
||||
* @testdox Cleanup RemoveAll
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Cleanup;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Cleanup;
|
||||
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Tester\CommandTester;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
use Wrm\Events\Command\RemovePastCommand;
|
||||
use Wrm\Events\Tests\Functional\AbstractFunctionalTestCase;
|
||||
use WerkraumMedia\Events\Command\RemovePastCommand;
|
||||
use WerkraumMedia\Events\Tests\Functional\AbstractFunctionalTestCase;
|
||||
|
||||
/**
|
||||
* @testdox Cleanup RemovePast
|
||||
|
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Frontend;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Frontend;
|
||||
|
||||
use Codappix\Typo3PhpDatasets\PhpDataSet;
|
||||
use DateTimeImmutable;
|
||||
|
@ -30,10 +30,10 @@ use GuzzleHttp\Psr7\Response;
|
|||
use Psr\Http\Message\ResponseInterface;
|
||||
use TYPO3\CMS\Core\Information\Typo3Version;
|
||||
use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest;
|
||||
use Wrm\Events\Tests\Functional\AbstractFunctionalTestCase;
|
||||
use WerkraumMedia\Events\Tests\Functional\AbstractFunctionalTestCase;
|
||||
|
||||
/**
|
||||
* @covers \Wrm\Events\Caching\PageCacheTimeout
|
||||
* @covers \WerkraumMedia\Events\Caching\PageCacheTimeout
|
||||
*/
|
||||
class CacheTest extends AbstractFunctionalTestCase
|
||||
{
|
||||
|
|
|
@ -21,14 +21,14 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Frontend;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Frontend;
|
||||
|
||||
use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest;
|
||||
use Wrm\Events\Frontend\Dates;
|
||||
use Wrm\Events\Tests\Functional\AbstractFunctionalTestCase;
|
||||
use WerkraumMedia\Events\Frontend\Dates;
|
||||
use WerkraumMedia\Events\Tests\Functional\AbstractFunctionalTestCase;
|
||||
|
||||
/**
|
||||
* @covers \Wrm\Events\Frontend\Dates
|
||||
* @covers \WerkraumMedia\Events\Frontend\Dates
|
||||
*/
|
||||
class DatesTest extends AbstractFunctionalTestCase
|
||||
{
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Frontend;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Frontend;
|
||||
|
||||
use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest;
|
||||
use Wrm\Events\Tests\Functional\AbstractFunctionalTestCase;
|
||||
use WerkraumMedia\Events\Tests\Functional\AbstractFunctionalTestCase;
|
||||
|
||||
/**
|
||||
* @covers \Wrm\Events\Controller\DateController
|
||||
* @covers \Wrm\Events\Domain\Repository\DateRepository
|
||||
* @covers \WerkraumMedia\Events\Controller\DateController
|
||||
* @covers \WerkraumMedia\Events\Domain\Repository\DateRepository
|
||||
*/
|
||||
class FilterTest extends AbstractFunctionalTestCase
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\EventsExample;
|
||||
namespace WerkraumMedia\EventsExample;
|
||||
|
||||
use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
|
||||
use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
"name": "wrm/events-example",
|
||||
"name": "werkraummedia/events-example",
|
||||
"type": "typo3-cms-extension",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"require": {
|
||||
"wrm/events": "*"
|
||||
"werkraummedia/events": "*"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Wrm\\EventsExample\\": "Classes/"
|
||||
"WerkraumMedia\\EventsExample\\": "Classes/"
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||
'Events',
|
||||
'DateListTest',
|
||||
[\Wrm\Events\Controller\DateController::class => 'list']
|
||||
[\WerkraumMedia\Events\Controller\DateController::class => 'list']
|
||||
);
|
||||
|
|
|
@ -11,7 +11,7 @@ page {
|
|||
10 {
|
||||
// Simulates foreign access prior our rendering.
|
||||
// TYPO3 has an internal cache in order to not recalculate timeout.
|
||||
userFunc = Wrm\EventsExample\UserFunc->accessTsfeTimeout
|
||||
userFunc = WerkraumMedia\EventsExample\UserFunc->accessTsfeTimeout
|
||||
}
|
||||
|
||||
20 < styles.content.get
|
||||
|
@ -20,7 +20,7 @@ page {
|
|||
30 {
|
||||
// Simulates further long running rendering.
|
||||
// In order to test that our ttl is calculated as expected.
|
||||
userFunc = Wrm\EventsExample\UserFunc->sleep
|
||||
userFunc = WerkraumMedia\EventsExample\UserFunc->sleep
|
||||
userFunc {
|
||||
sleep = 0
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use Wrm\Events\Tests\Functional\AbstractFunctionalTestCase;
|
||||
use WerkraumMedia\Events\Tests\Functional\AbstractFunctionalTestCase;
|
||||
|
||||
abstract class AbstractTest extends AbstractFunctionalTestCase
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
use TYPO3\CMS\Core\Core\Environment;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
use TYPO3\CMS\Core\Core\Environment;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
use Wrm\Events\Command\ImportDestinationDataViaAllConfigruationsCommand;
|
||||
use WerkraumMedia\Events\Command\ImportDestinationDataViaAllConfigruationsCommand;
|
||||
|
||||
/**
|
||||
* @testdox Import of configuration
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
|
|
|
@ -21,10 +21,10 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Psr14Events\DestinationDataImport;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Psr14Events\DestinationDataImport;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
use Wrm\Events\Tests\Functional\Import\DestinationDataTest\AbstractTest;
|
||||
use WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest\AbstractTest;
|
||||
|
||||
final class CategoriesAssignEventTest extends AbstractTest
|
||||
{
|
||||
|
|
|
@ -21,10 +21,10 @@ declare(strict_types=1);
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace Wrm\Events\Tests\Functional\Psr14Events\DestinationDataImport;
|
||||
namespace WerkraumMedia\Events\Tests\Functional\Psr14Events\DestinationDataImport;
|
||||
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
use Wrm\Events\Tests\Functional\Import\DestinationDataTest\AbstractTest;
|
||||
use WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest\AbstractTest;
|
||||
|
||||
final class EventImportEventTest extends AbstractTest
|
||||
{
|
||||
|
|
|
@ -23,8 +23,8 @@ declare(strict_types=1);
|
|||
|
||||
namespace WerkraumMedia\CustomCategories\EventListener;
|
||||
|
||||
use Wrm\Events\Domain\Model\Category;
|
||||
use Wrm\Events\Service\DestinationDataImportService\Events\CategoriesAssignEvent;
|
||||
use WerkraumMedia\Events\Domain\Model\Category;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\Events\CategoriesAssignEvent;
|
||||
|
||||
final class CategoriesAssignListener
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@ declare(strict_types=1);
|
|||
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
|
||||
|
||||
use WerkraumMedia\CustomCategories\EventListener\CategoriesAssignListener;
|
||||
use Wrm\Events\Service\DestinationDataImportService\Events\CategoriesAssignEvent;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\Events\CategoriesAssignEvent;
|
||||
|
||||
return static function (ContainerConfigurator $containerConfigurator) {
|
||||
$services = $containerConfigurator->services()
|
||||
|
|
|
@ -23,7 +23,7 @@ declare(strict_types=1);
|
|||
|
||||
namespace WerkraumMedia\CustomEvent\EventListener;
|
||||
|
||||
use Wrm\Events\Service\DestinationDataImportService\Events\EventImportEvent;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\Events\EventImportEvent;
|
||||
|
||||
final class EventImportListener
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@ declare(strict_types=1);
|
|||
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
|
||||
|
||||
use WerkraumMedia\CustomEvent\EventListener\EventImportListener;
|
||||
use Wrm\Events\Service\DestinationDataImportService\Events\EventImportEvent;
|
||||
use WerkraumMedia\Events\Service\DestinationDataImportService\Events\EventImportEvent;
|
||||
|
||||
return static function (ContainerConfigurator $containerConfigurator) {
|
||||
$services = $containerConfigurator->services()
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue