[FEATURE] Move workspaces scheduler tasks to native symfony commands 56/58056/5
authorBenni Mack <benni@typo3.org>
Tue, 28 Aug 2018 04:51:18 +0000 (06:51 +0200)
committerBenni Mack <benni@typo3.org>
Tue, 28 Aug 2018 11:11:11 +0000 (13:11 +0200)
commit78a6c428a045beffd3dab986ecbbfdeac6c045f8
tree282ebc21927a1b005ec5f6e6567cc897f2693d81
parent8b908c0561208bbd8a58ec7bb02cd34d28abf546
[FEATURE] Move workspaces scheduler tasks to native symfony commands

The previously available scheduler tasks for auto-publishing and cleaning up
preview links have been moved to a symfony/command, allowing them to be
scheduled, but also triggered manually on the command line without having
to create a task record in scheduler.

The old tasks have been deprecated, as there is the possibility to create
tasks out of symfony commands as well.

The AutoPublishService, which only acted as a wrapper, but had a major
design flaw has been deprecated as well.

The scheduler tasks will be removed in TYPO3 v10. For TYPO3 v9, their
labels have been updated, and they will trigger a deprecation notice.

Resolves: #86001
Releases: master
Change-Id: I9c1f1e31b6ff59d02b20ffc2df805e645bb3f675
Reviewed-on: https://review.typo3.org/58056
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Documentation/Changelog/master/Deprecation-86001-WorkspacesTasksMigratedToSymfonyCommands.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Feature-86001-RegularWorkspaceCleanupTasksAvailableViaCLICommands.rst [new file with mode: 0644]
typo3/sysext/install/Configuration/ExtensionScanner/Php/ClassNameMatcher.php
typo3/sysext/workspaces/Classes/Command/AutoPublishCommand.php [new file with mode: 0644]
typo3/sysext/workspaces/Classes/Command/CleanupPreviewLinksCommand.php [new file with mode: 0644]
typo3/sysext/workspaces/Classes/Service/AutoPublishService.php
typo3/sysext/workspaces/Classes/Task/AutoPublishTask.php
typo3/sysext/workspaces/Classes/Task/CleanupPreviewLinkTask.php
typo3/sysext/workspaces/Configuration/Commands.php
typo3/sysext/workspaces/Resources/Private/Language/locallang_mod.xlf
typo3/sysext/workspaces/ext_localconf.php