first commit

This commit is contained in:
salam committed 2026-10-19 08:18:39 +02:00
commit 1218dd1517
12716 files changed
+989233

No files matched your search

@@ -0,0 +1,291 @@
<?php
use TYPO3\CMS\Backend\Controller;
/**
* Definitions for routes provided by EXT:backend
* Contains all AJAX-based routes for entry points
*
* Currently the "access" property is only used so no token creation + validation is made
* but will be extended further.
*/
return [
// Expand or toggle in legacy file tree
'sc_alt_file_navframe_expandtoggle' => [
'path' => '/folder/tree/expand',
'target' => Controller\FileSystemNavigationFrameController::class . '::ajaxExpandCollapse'
],
// File processing
'file_process' => [
'path' => '/file/process',
'target' => Controller\File\FileController::class . '::processAjaxRequest'
],
// Check if file exists
'file_exists' => [
'path' => '/file/exists',
'target' => Controller\File\FileController::class . '::fileExistsInFolderAction'
],
// Get record details of a child record in IRRE
'record_inline_details' => [
'path' => '/record/inline/details',
'target' => Controller\FormInlineAjaxController::class . '::detailsAction'
],
// Create new inline element
'record_inline_create' => [
'path' => '/record/inline/create',
'target' => Controller\FormInlineAjaxController::class . '::createAction'
],
// Synchronize localization
'record_inline_synchronizelocalize' => [
'path' => '/record/inline/synchronizelocalize',
'target' => Controller\FormInlineAjaxController::class . '::synchronizeLocalizeAction'
],
// Expand / Collapse inline record
'record_inline_expandcollapse' => [
'path' => '/record/inline/expandcollapse',
'target' => Controller\FormInlineAjaxController::class . '::expandOrCollapseAction'
],
// Site configuration inline create route
'site_configuration_inline_create' => [
'path' => '/siteconfiguration/inline/create',
'target' => Controller\SiteInlineAjaxController::class . '::newInlineChildAction'
],
// Validate slug input
'record_slug_suggest' => [
'path' => '/record/slug/suggest',
'target' => Controller\FormSlugAjaxController::class . '::suggestAction'
],
// Site configuration inline open existing "record" route
'site_configuration_inline_details' => [
'path' => '/siteconfiguration/inline/details',
'target' => Controller\SiteInlineAjaxController::class . '::openInlineChildAction'
],
// Add a flex form section container
'record_flex_container_add' => [
'path' => '/record/flex/containeradd',
'target' => Controller\FormFlexAjaxController::class . '::containerAdd',
],
// FormEngine suggest wizard result generator
'record_suggest' => [
'path' => '/wizard/suggest/search',
'target' => \TYPO3\CMS\Backend\Controller\Wizard\SuggestWizardController::class . '::searchAction'
],
// Fetch the tree-structured data from a record for the tree selection
'record_tree_data' => [
'path' => '/record/tree/fetchData',
'target' => Controller\FormSelectTreeAjaxController::class . '::fetchDataAction'
],
// Get data for page tree
'page_tree_data' => [
'path' => '/page/tree/fetchData',
'target' => Controller\Page\TreeController::class . '::fetchDataAction'
],
// Get data for page tree
'page_tree_filter' => [
'path' => '/page/tree/filterData',
'target' => Controller\Page\TreeController::class . '::filterDataAction'
],
// Get page tree configuration
'page_tree_configuration' => [
'path' => '/page/tree/fetchConfiguration',
'target' => Controller\Page\TreeController::class . '::fetchConfigurationAction'
],
// Set temporary mount point
'page_tree_set_temporary_mount_point' => [
'path' => '/page/tree/setTemporaryMountPoint',
'target' => Controller\Page\TreeController::class . '::setTemporaryMountPointAction'
],
// Get shortcut edit form
'shortcut_editform' => [
'path' => '/shortcut/editform',
'target' => Controller\ShortcutController::class . '::showEditFormAction'
],
// Save edited shortcut
'shortcut_saveform' => [
'path' => '/shortcut/saveform',
'target' => Controller\ShortcutController::class . '::updateAction'
],
// Render shortcut toolbar item
'shortcut_list' => [
'path' => '/shortcut/list',
'target' => Controller\ShortcutController::class . '::menuAction'
],
// Delete a shortcut
'shortcut_remove' => [
'path' => '/shortcut/remove',
'target' => Controller\ShortcutController::class . '::removeAction'
],
// Create a new shortcut
'shortcut_create' => [
'path' => '/shortcut/create',
'target' => Controller\ShortcutController::class . '::addAction'
],
// Render systeminformtion toolbar item
'systeminformation_render' => [
'path' => '/system-information/render',
'target' => \TYPO3\CMS\Backend\Controller\SystemInformationController::class . '::renderMenuAction',
'parameters' => [
'skipSessionUpdate' => 1
]
],
// Reload the module menu
'modulemenu' => [
'path' => '/module-menu',
'target' => Controller\BackendController::class . '::getModuleMenu'
],
'topbar' => [
'path' => '/topbar',
'target' => Controller\BackendController::class . '::getTopbar'
],
// Log in into backend
'login' => [
'path' => '/login',
'target' => \TYPO3\CMS\Backend\Controller\AjaxLoginController::class . '::loginAction',
'access' => 'public'
],
// Log out from backend
'logout' => [
'path' => '/logout',
'target' => \TYPO3\CMS\Backend\Controller\AjaxLoginController::class . '::logoutAction',
'access' => 'public'
],
// Preflight check for login form
'login_preflight' => [
'path' => '/login/preflight',
'target' => \TYPO3\CMS\Backend\Controller\AjaxLoginController::class . '::preflightAction',
'access' => 'public'
],
// Refresh login of backend
'login_refresh' => [
'path' => '/login/refresh',
'target' => \TYPO3\CMS\Backend\Controller\AjaxLoginController::class . '::refreshAction',
],
// Check if backend session has timed out
'login_timedout' => [
'path' => '/login/timedout',
'target' => \TYPO3\CMS\Backend\Controller\AjaxLoginController::class . '::isTimedOutAction',
'access' => 'public',
'parameters' => [
'skipSessionUpdate' => 1
]
],
// Render flash messages
'flashmessages_render' => [
'path' => '/flashmessages/render',
'target' => \TYPO3\CMS\Backend\Controller\FlashMessageController::class . '::getQueuedFlashMessagesAction'
],
// Load context menu for
'contextmenu' => [
'path' => '/context-menu',
'target' => Controller\ContextMenuController::class . '::getContextMenuAction'
],
// Load context menu for
'contextmenu_clipboard' => [
'path' => '/context-menu/clipboard',
'target' => Controller\ContextMenuController::class . '::clipboardAction'
],
// Process data handler commands
'record_process' => [
'path' => '/record/process',
'target' => Controller\SimpleDataHandlerController::class . '::processAjaxRequest'
],
// Process user settings
'usersettings_process' => [
'path' => '/usersettings/process',
'target' => Controller\UserSettingsController::class . '::processAjaxRequest'
],
// Open the image manipulation wizard
'wizard_image_manipulation' => [
'path' => '/wizard/image-manipulation',
'target' => \TYPO3\CMS\Backend\Controller\Wizard\ImageManipulationController::class . '::getWizardContent'
],
// Save a newly added online media
'livesearch' => [
'path' => '/livesearch',
'target' => Controller\LiveSearchController::class . '::liveSearchAction'
],
// Save a newly added online media
'online_media_create' => [
'path' => '/online-media/create',
'target' => Controller\OnlineMediaController::class . '::createAction'
],
// Get icon from IconFactory
'icons' => [
'path' => '/icons',
'target' => \TYPO3\CMS\Core\Controller\IconController::class . '::getIcon'
],
// Get icon cache identifier
'icons_cache' => [
'path' => '/icons/cache',
'target' => \TYPO3\CMS\Core\Controller\IconController::class . '::getCacheIdentifier'
],
// Encode typolink parts on demand
'link_browser_encodetypolink' => [
'path' => '/link-browser/encode-typolink',
'target' => \TYPO3\CMS\Backend\Controller\LinkBrowserController::class . '::encodeTypoLink',
],
// Get languages in page
'page_languages' => [
'path' => '/records/localize/get-languages',
'target' => Controller\Page\LocalizationController::class . '::getUsedLanguagesInPage'
],
// Get summary of records to localize
'records_localize_summary' => [
'path' => '/records/localize/summary',
'target' => Controller\Page\LocalizationController::class . '::getRecordLocalizeSummary'
],
// Localize the records
'records_localize' => [
'path' => '/records/localize',
'target' => Controller\Page\LocalizationController::class . '::localizeRecords'
],
// context help
'context_help' => [
'path' => '/context-help',
'target' => \TYPO3\CMS\Backend\Controller\ContextHelpAjaxController::class . '::getHelpAction'
]
];
@@ -0,0 +1,219 @@
<?php
use TYPO3\CMS\Backend\Controller;
/**
* Definitions for routes provided by EXT:backend
* Contains all "regular" routes for entry points
*
* Please note that this setup is preliminary until all core use-cases are set up here.
* Especially some more properties regarding modules will be added until TYPO3 CMS 7 LTS, and might change.
*
* Currently the "access" property is only used so no token creation + validation is made,
* but will be extended further.
*/
return [
// Login screen of the TYPO3 Backend
'login' => [
'path' => '/login',
'access' => 'public',
'target' => Controller\LoginController::class . '::formAction'
],
// Main backend rendering setup (previously called backend.php) for the TYPO3 Backend
'main' => [
'path' => '/main',
'referrer' => 'required,refresh-always',
'target' => Controller\BackendController::class . '::mainAction'
],
// Logout script for the TYPO3 Backend
'logout' => [
'path' => '/logout',
'target' => Controller\LogoutController::class . '::logoutAction'
],
// Register login frameset
'login_frameset' => [
'path' => '/login/frame',
'access' => 'public',
'target' => Controller\LoginController::class . '::refreshAction'
],
/** Wizards */
// Register table wizard
'wizard_table' => [
'path' => '/wizard/table',
'target' => Controller\Wizard\TableController::class . '::mainAction'
],
// Register add wizard
'wizard_add' => [
'path' => '/wizard/add',
'target' => Controller\Wizard\AddController::class . '::mainAction'
],
// Register list wizard
'wizard_list' => [
'path' => '/wizard/list',
'target' => Controller\Wizard\ListController::class . '::mainAction'
],
// Register edit wizard
'wizard_edit' => [
'path' => '/wizard/edit',
'target' => Controller\Wizard\EditController::class . '::mainAction'
],
// Register link wizard
'wizard_link' => [
'path' => '/wizard/link/browse',
'target' => \TYPO3\CMS\Backend\Controller\LinkBrowserController::class . '::mainAction'
],
/** File- and folder-related routes */
// File navigation tree
'file_navframe' => [
'path' => '/folder/tree',
'target' => Controller\FileSystemNavigationFrameController::class . '::mainAction'
],
// Editing the contents of a file
'file_edit' => [
'path' => '/file/editcontent',
'target' => Controller\File\EditFileController::class . '::mainAction'
],
// Create a new folder
'file_newfolder' => [
'path' => '/file/new',
'target' => Controller\File\CreateFolderController::class . '::mainAction'
],
// Rename a file
'file_rename' => [
'path' => '/file/rename',
'target' => Controller\File\RenameFileController::class . '::mainAction'
],
// Replace a file with a different one
'file_replace' => [
'path' => '/file/replace',
'target' => Controller\File\ReplaceFileController::class . '::mainAction'
],
// Upload new files
'file_upload' => [
'path' => '/file/upload',
'target' => Controller\File\FileUploadController::class . '::mainAction'
],
// Add new online media
'online_media' => [
'path' => '/online-media',
'target' => Controller\OnlineMediaController::class . '::mainAction'
],
/** DB Records-related routes */
// Register record history module
'record_history' => [
'path' => '/record/history',
'target' => Controller\ContentElement\ElementHistoryController::class . '::mainAction'
],
// Register new record
'db_new' => [
'path' => '/record/new',
'target' => Controller\NewRecordController::class . '::mainAction'
],
// Register sort pages
'pages_sort' => [
'path' => '/pages/sort',
'target' => Controller\Page\SortSubPagesController::class . '::mainAction'
],
// Register create multiple pages
'pages_new' => [
'path' => '/pages/new',
'target' => Controller\Page\NewMultiplePagesController::class . '::mainAction'
],
// Register new content element module (as whole document)
'new_content_element' => [
'path' => '/record/content/new',
'target' => Controller\ContentElement\NewContentElementController::class . '::mainAction'
],
// Register new content element module (in modal)
'new_content_element_wizard' => [
'path' => '/record/content/wizard/new',
'target' => Controller\ContentElement\NewContentElementController::class . '::wizardAction'
],
// Register move element module
'move_element' => [
'path' => '/record/move',
'target' => Controller\ContentElement\MoveElementController::class . '::mainAction'
],
// Register show item module
'show_item' => [
'path' => '/record/info',
'target' => Controller\ContentElement\ElementInformationController::class . '::mainAction'
],
// Register browser
// @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0.
'browser' => [
'path' => '/record/browse',
'target' => \TYPO3\CMS\Recordlist\Controller\ElementBrowserFramesetController::class . '::mainAction'
],
// Dummy document - displays nothing but background color.
'dummy' => [
'path' => '/empty',
'target' => Controller\DummyController::class . '::mainAction'
],
/** TYPO3 Core Engine-related routes */
/**
* TCE gateway (TYPO3 Core Engine) for database handling
* This script is a gateway for POST forms to \TYPO3\CMS\Core\DataHandling\DataHandler
* that manipulates all information in the database!!
* For syntax and API information, see the document 'TYPO3 Core APIs'
*/
'tce_db' => [
'path' => '/record/commit',
'target' => Controller\SimpleDataHandlerController::class . '::mainAction'
],
/**
* Gateway for TCE (TYPO3 Core Engine) file-handling through POST forms.
* This script serves as the file administration part of the TYPO3 Core Engine.
* Basically it includes two libraries which are used to manipulate files on the server.
*
* For syntax and API information, see the document 'TYPO3 Core APIs'
*/
'tce_file' => [
'path' => '/file/commit',
'target' => Controller\File\FileController::class . '::mainAction'
],
/**
* Main form rendering script
* By sending certain parameters to this script you can bring up a form
* which allows the user to edit the content of one or more database records.
*/
'record_edit' => [
'path' => '/record/edit',
'target' => Controller\EditDocumentController::class . '::mainAction'
],
// Thumbnails
'thumbnails' => [
'path' => '/thumbnails',
'target' => Controller\File\ThumbnailController::class . '::render'
]
];