PDF rausgenommen
This commit is contained in:
3
msd2/phpBB3/config/installer/container/environment.yml
Normal file
3
msd2/phpBB3/config/installer/container/environment.yml
Normal file
@ -0,0 +1,3 @@
|
||||
imports:
|
||||
- { resource: services.yml }
|
||||
- { resource: parameters.yml }
|
5
msd2/phpBB3/config/installer/container/parameters.yml
Normal file
5
msd2/phpBB3/config/installer/container/parameters.yml
Normal file
@ -0,0 +1,5 @@
|
||||
imports:
|
||||
- { resource: ../../default/container/parameters.yml }
|
||||
|
||||
parameters:
|
||||
installer.create_config_file.options: []
|
104
msd2/phpBB3/config/installer/container/services.yml
Normal file
104
msd2/phpBB3/config/installer/container/services.yml
Normal file
@ -0,0 +1,104 @@
|
||||
imports:
|
||||
- { resource: services_installer.yml }
|
||||
- { resource: ../../default/container/services_event.yml }
|
||||
- { resource: ../../default/container/services_filesystem.yml }
|
||||
- { resource: ../../default/container/services_http.yml }
|
||||
- { resource: ../../default/container/services_language.yml }
|
||||
- { resource: ../../default/container/services_php.yml }
|
||||
- { resource: ../../default/container/services_routing.yml }
|
||||
- { resource: ../../default/container/services_twig.yml }
|
||||
|
||||
services:
|
||||
cache.driver:
|
||||
class: '%cache.driver.class%'
|
||||
arguments:
|
||||
- '%core.cache_dir%'
|
||||
|
||||
config:
|
||||
class: phpbb\config\config
|
||||
arguments:
|
||||
-
|
||||
rand_seed: 'installer_seed'
|
||||
rand_seed_last_update: 0
|
||||
|
||||
controller.resolver:
|
||||
class: phpbb\controller\resolver
|
||||
arguments:
|
||||
- '@service_container'
|
||||
- '%core.root_path%'
|
||||
- '@template'
|
||||
|
||||
file_locator:
|
||||
class: phpbb\routing\file_locator
|
||||
arguments:
|
||||
- '@filesystem'
|
||||
- '%core.root_path%'
|
||||
|
||||
kernel_exception_subscriber:
|
||||
class: phpbb\install\event\kernel_exception_subscriber
|
||||
arguments:
|
||||
- '@phpbb.installer.controller.helper'
|
||||
- '@language'
|
||||
- '@template'
|
||||
tags:
|
||||
- { name: kernel.event_subscriber }
|
||||
|
||||
language.loader:
|
||||
parent: language.loader_abstract
|
||||
|
||||
path_helper:
|
||||
class: phpbb\path_helper
|
||||
arguments:
|
||||
- '@symfony_request'
|
||||
- '@filesystem'
|
||||
- '@request'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
|
||||
routing.resources_locator.default:
|
||||
class: phpbb\routing\resources_locator\installer_resources_locator
|
||||
arguments:
|
||||
- '@filesystem'
|
||||
- '%core.root_path%'
|
||||
- '%core.environment%'
|
||||
tags:
|
||||
- { name: routing.resources_locator }
|
||||
|
||||
template:
|
||||
class: phpbb\template\twig\twig
|
||||
arguments:
|
||||
- '@path_helper'
|
||||
- '@config'
|
||||
- '@template_context'
|
||||
- '@template.twig.environment'
|
||||
- '%core.template.cache_path%'
|
||||
- null
|
||||
- '@template.twig.extensions.collection'
|
||||
|
||||
template.twig.environment:
|
||||
class: phpbb\template\twig\environment
|
||||
arguments:
|
||||
- '@config'
|
||||
- '@filesystem'
|
||||
- '@path_helper'
|
||||
- '%core.template.cache_path%'
|
||||
- null
|
||||
- '@template.twig.loader'
|
||||
- null
|
||||
- []
|
||||
calls:
|
||||
- [setLexer, ['@template.twig.lexer']]
|
||||
|
||||
user:
|
||||
class: phpbb\user
|
||||
arguments:
|
||||
- '@language'
|
||||
- '%datetime.class%'
|
||||
|
||||
console.exception_subscriber:
|
||||
class: phpbb\console\exception_subscriber
|
||||
arguments:
|
||||
- '@language'
|
||||
- '%debug.exceptions%'
|
||||
tags:
|
||||
- { name: kernel.event_subscriber }
|
@ -0,0 +1,38 @@
|
||||
services:
|
||||
installer.file_updater.factory:
|
||||
class: phpbb\install\helper\file_updater\factory
|
||||
arguments:
|
||||
- '@installer.file_updater.collection'
|
||||
|
||||
installer.file_updater.collection:
|
||||
class: phpbb\di\service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- { name: service_collection, tag: file_updater }
|
||||
|
||||
installer.file_updater.compress:
|
||||
class: phpbb\install\helper\file_updater\compression_file_updater
|
||||
arguments:
|
||||
- '@installer.helper.update_helper'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- { name: file_updater }
|
||||
|
||||
installer.file_updater.ftp:
|
||||
class: phpbb\install\helper\file_updater\ftp_file_updater
|
||||
arguments:
|
||||
- '@installer.helper.update_helper'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- { name: file_updater }
|
||||
|
||||
installer.file_updater.file:
|
||||
class: phpbb\install\helper\file_updater\file_updater
|
||||
arguments:
|
||||
- '@filesystem'
|
||||
- '%core.root_path%'
|
||||
tags:
|
||||
- { name: file_updater }
|
@ -0,0 +1,61 @@
|
||||
services:
|
||||
console.installer.command_collection:
|
||||
class: phpbb\di\service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- { name: service_collection, tag: console.installer.command }
|
||||
|
||||
console.installer.command.install:
|
||||
class: phpbb\install\console\command\install\install
|
||||
arguments:
|
||||
- '@language'
|
||||
- '@installer.helper.iohandler_factory'
|
||||
- '@installer.installer.install'
|
||||
- '@installer.helper.install_helper'
|
||||
tags:
|
||||
- { name: console.installer.command }
|
||||
|
||||
console.installer.command.config.show:
|
||||
class: phpbb\install\console\command\install\config\show
|
||||
arguments:
|
||||
- '@language'
|
||||
- '@installer.helper.iohandler_factory'
|
||||
tags:
|
||||
- { name: console.installer.command }
|
||||
|
||||
|
||||
console.installer.command.config.validate:
|
||||
class: phpbb\install\console\command\install\config\validate
|
||||
arguments:
|
||||
- '@language'
|
||||
- '@installer.helper.iohandler_factory'
|
||||
tags:
|
||||
- { name: console.installer.command }
|
||||
|
||||
console.updater.command.update:
|
||||
class: phpbb\install\console\command\update\update
|
||||
arguments:
|
||||
- '@language'
|
||||
- '@installer.helper.iohandler_factory'
|
||||
- '@installer.installer.update'
|
||||
- '@installer.helper.install_helper'
|
||||
tags:
|
||||
- { name: console.installer.command }
|
||||
|
||||
console.updater.command.config.show:
|
||||
class: phpbb\install\console\command\update\config\show
|
||||
arguments:
|
||||
- '@language'
|
||||
- '@installer.helper.iohandler_factory'
|
||||
tags:
|
||||
- { name: console.installer.command }
|
||||
|
||||
|
||||
console.updater.command.config.validate:
|
||||
class: phpbb\install\console\command\update\config\validate
|
||||
arguments:
|
||||
- '@language'
|
||||
- '@installer.helper.iohandler_factory'
|
||||
tags:
|
||||
- { name: console.installer.command }
|
@ -0,0 +1,73 @@
|
||||
services:
|
||||
phpbb.installer.controller.welcome:
|
||||
class: phpbb\install\controller\installer_index
|
||||
arguments:
|
||||
- '@phpbb.installer.controller.helper'
|
||||
- '@language'
|
||||
- '@template'
|
||||
- '%core.root_path%'
|
||||
|
||||
phpbb.installer.controller.helper:
|
||||
class: phpbb\install\controller\helper
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@language'
|
||||
- '@language.helper.language_file'
|
||||
- '@installer.navigation.provider'
|
||||
- '@template'
|
||||
- '@path_helper'
|
||||
- '@request'
|
||||
- '@symfony_request'
|
||||
- '@router'
|
||||
- '%core.root_path%'
|
||||
|
||||
phpbb.installer.controller.install:
|
||||
class: phpbb\install\controller\install
|
||||
arguments:
|
||||
- '@phpbb.installer.controller.helper'
|
||||
- '@installer.helper.iohandler_factory'
|
||||
- '@installer.navigation.provider'
|
||||
- '@language'
|
||||
- '@template'
|
||||
- '@request'
|
||||
- '@installer.installer.install'
|
||||
- '@installer.helper.install_helper'
|
||||
|
||||
phpbb.installer.controller.update:
|
||||
class: phpbb\install\controller\update
|
||||
arguments:
|
||||
- '@phpbb.installer.controller.helper'
|
||||
- '@installer.installer.update'
|
||||
- '@installer.helper.install_helper'
|
||||
- '@installer.helper.iohandler_factory'
|
||||
- '@language'
|
||||
- '@installer.navigation.provider'
|
||||
- '@request'
|
||||
- '@template'
|
||||
|
||||
phpbb.installer.controller.file_downloader:
|
||||
class: phpbb\install\controller\archive_download
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
|
||||
phpbb.installer.controller.convert:
|
||||
class: phpbb\convert\controller\convertor
|
||||
arguments:
|
||||
- '@cache.driver'
|
||||
- '@installer.helper.container_factory'
|
||||
- '@installer.helper.database'
|
||||
- '@phpbb.installer.controller.helper'
|
||||
- '@installer.helper.install_helper'
|
||||
- '@installer.helper.iohandler_factory'
|
||||
- '@language'
|
||||
- '@installer.navigation.provider'
|
||||
- '@request'
|
||||
- '@template'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
|
||||
phpbb.installer.controller.status:
|
||||
class: phpbb\install\controller\timeout_check
|
||||
arguments:
|
||||
- '@phpbb.installer.controller.helper'
|
||||
- '%core.root_path%'
|
@ -0,0 +1,55 @@
|
||||
services:
|
||||
installer.install_data.add_bots:
|
||||
class: phpbb\install\module\install_data\task\add_bots
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.helper.container_factory'
|
||||
- '@language'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- { name: install_data_install, order: 20 }
|
||||
|
||||
installer.install_data.add_languages:
|
||||
class: phpbb\install\module\install_data\task\add_languages
|
||||
arguments:
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.helper.container_factory'
|
||||
- '@language.helper.language_file'
|
||||
tags:
|
||||
- { name: install_data_install, order: 10 }
|
||||
|
||||
installer.install_data.add_modules:
|
||||
class: phpbb\install\module\install_data\task\add_modules
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.helper.container_factory'
|
||||
tags:
|
||||
- { name: install_data_install, order: 30 }
|
||||
|
||||
installer.install_data.create_search_index:
|
||||
class: phpbb\install\module\install_data\task\create_search_index
|
||||
arguments:
|
||||
- '@config'
|
||||
- '@installer.helper.container_factory'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- { name: install_data_install, order: 40 }
|
||||
|
||||
installer.module.data_install_collection:
|
||||
class: phpbb\di\ordered_service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- { name: service_collection, tag: install_data_install, class_name_aware: true }
|
||||
|
||||
installer.module.data_install:
|
||||
class: phpbb\install\module\install_data\module
|
||||
parent: installer.module_base
|
||||
arguments:
|
||||
- '@installer.module.data_install_collection'
|
||||
tags:
|
||||
- { name: installer_install_module, order: 50 }
|
@ -0,0 +1,71 @@
|
||||
services:
|
||||
installer.install_database.create_schema_file:
|
||||
class: phpbb\install\module\install_database\task\create_schema_file
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.database'
|
||||
- '@filesystem'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- { name: install_database_install, order: 10 }
|
||||
|
||||
installer.install_database.set_up_database:
|
||||
class: phpbb\install\module\install_database\task\set_up_database
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.database'
|
||||
- '@filesystem'
|
||||
- '@installer.helper.iohandler'
|
||||
- '%core.root_path%'
|
||||
tags:
|
||||
- { name: install_database_install, order: 20 }
|
||||
|
||||
installer.install_database.add_tables:
|
||||
class: phpbb\install\module\install_database\task\add_tables
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.database'
|
||||
- '@filesystem'
|
||||
- '%core.root_path%'
|
||||
tags:
|
||||
- { name: install_database_install, order: 30 }
|
||||
|
||||
installer.install_database.add_default_data:
|
||||
class: phpbb\install\module\install_database\task\add_default_data
|
||||
arguments:
|
||||
- '@installer.helper.database'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.helper.container_factory'
|
||||
- '@language'
|
||||
- '%core.root_path%'
|
||||
tags:
|
||||
- { name: install_database_install, order: 40 }
|
||||
|
||||
installer.install_database.add_config_settings:
|
||||
class: phpbb\install\module\install_database\task\add_config_settings
|
||||
arguments:
|
||||
- '@filesystem'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.helper.container_factory'
|
||||
- '@language'
|
||||
- '%core.root_path%'
|
||||
tags:
|
||||
- { name: install_database_install, order: 50 }
|
||||
|
||||
installer.module.install_database_collection:
|
||||
class: phpbb\di\ordered_service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- { name: service_collection, tag: install_database_install, class_name_aware: true }
|
||||
|
||||
installer.module.database_install:
|
||||
class: phpbb\install\module\install_database\module
|
||||
parent: installer.module_base
|
||||
arguments:
|
||||
- '@installer.module.install_database_collection'
|
||||
tags:
|
||||
- { name: installer_install_module, order: 40 }
|
@ -0,0 +1,28 @@
|
||||
services:
|
||||
installer.install_filesystem.create_config_file:
|
||||
class: phpbb\install\module\install_filesystem\task\create_config_file
|
||||
arguments:
|
||||
- '@filesystem'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.database'
|
||||
- '@installer.helper.iohandler'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
- '%installer.create_config_file.options%'
|
||||
tags:
|
||||
- { name: install_filesystem_install, order: 10 }
|
||||
|
||||
installer.module.install_filesystem_collection:
|
||||
class: phpbb\di\ordered_service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- { name: service_collection, tag: install_filesystem_install, class_name_aware: true }
|
||||
|
||||
installer.module.filesystem_install:
|
||||
class: phpbb\install\module\install_filesystem\module
|
||||
parent: installer.module_base
|
||||
arguments:
|
||||
- '@installer.module.install_filesystem_collection'
|
||||
tags:
|
||||
- { name: installer_install_module, order: 30 }
|
@ -0,0 +1,44 @@
|
||||
services:
|
||||
installer.install_finish.populate_migrations:
|
||||
class: phpbb\install\module\install_finish\task\populate_migrations
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.container_factory'
|
||||
tags:
|
||||
- { name: install_finish, order: 10 }
|
||||
|
||||
installer.install_finish.install_extensions:
|
||||
class: phpbb\install\module\install_finish\task\install_extensions
|
||||
arguments:
|
||||
- '@installer.helper.container_factory'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '%core.root_path%'
|
||||
tags:
|
||||
- { name: install_finish, order: 20 }
|
||||
|
||||
installer.install_finish.notify_user:
|
||||
class: phpbb\install\module\install_finish\task\notify_user
|
||||
arguments:
|
||||
- '@installer.helper.container_factory'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- { name: install_finish, order: 30 }
|
||||
|
||||
installer.module.install_finish_collection:
|
||||
class: phpbb\di\ordered_service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- { name: service_collection, tag: install_finish, class_name_aware: true }
|
||||
|
||||
installer.module.finish_install:
|
||||
class: phpbb\install\module\install_finish\module
|
||||
parent: installer.module_base
|
||||
arguments:
|
||||
- '@installer.module.install_finish_collection'
|
||||
tags:
|
||||
- { name: installer_install_module, order: 60 }
|
@ -0,0 +1,42 @@
|
||||
services:
|
||||
installer.navigation.provider:
|
||||
class: phpbb\install\helper\navigation\navigation_provider
|
||||
arguments:
|
||||
- '@installer.navigation.service_collection'
|
||||
|
||||
installer.navigation.service_collection:
|
||||
class: phpbb\di\service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- { name: service_collection, tag: installer.navigation }
|
||||
|
||||
installer.navigation.main_navigation:
|
||||
class: phpbb\install\helper\navigation\main_navigation
|
||||
shared: false
|
||||
tags:
|
||||
- { name: installer.navigation }
|
||||
|
||||
installer.navigation.install_navigation:
|
||||
class: phpbb\install\helper\navigation\install_navigation
|
||||
arguments:
|
||||
- '@installer.helper.install_helper'
|
||||
shared: false
|
||||
tags:
|
||||
- { name: installer.navigation }
|
||||
|
||||
installer.navigation.update_navigation:
|
||||
class: phpbb\install\helper\navigation\update_navigation
|
||||
arguments:
|
||||
- '@installer.helper.install_helper'
|
||||
shared: false
|
||||
tags:
|
||||
- { name: installer.navigation }
|
||||
|
||||
installer.navigation.convertor_navigation:
|
||||
class: phpbb\install\helper\navigation\convertor_navigation
|
||||
arguments:
|
||||
- '@installer.helper.install_helper'
|
||||
shared: false
|
||||
tags:
|
||||
- { name: installer.navigation }
|
@ -0,0 +1,59 @@
|
||||
services:
|
||||
installer.obtain_data.obtain_admin_data:
|
||||
class: phpbb\install\module\obtain_data\task\obtain_admin_data
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
tags:
|
||||
- { name: install_obtain_data, order: 10 }
|
||||
|
||||
installer.obtain_data.obtain_board_data:
|
||||
class: phpbb\install\module\obtain_data\task\obtain_board_data
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@language.helper.language_file'
|
||||
tags:
|
||||
- { name: install_obtain_data, order: 50 }
|
||||
|
||||
installer.obtain_data.obtain_database_data:
|
||||
class: phpbb\install\module\obtain_data\task\obtain_database_data
|
||||
arguments:
|
||||
- '@installer.helper.database'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
tags:
|
||||
- { name: install_obtain_data, order: 20 }
|
||||
|
||||
installer.obtain_data.obtain_email_data:
|
||||
class: phpbb\install\module\obtain_data\task\obtain_email_data
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
tags:
|
||||
- { name: install_obtain_data, order: 40 }
|
||||
|
||||
installer.obtain_data.obtain_server_data:
|
||||
class: phpbb\install\module\obtain_data\task\obtain_server_data
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
tags:
|
||||
- { name: install_obtain_data, order: 30 }
|
||||
|
||||
installer.module.install_obtain_data_collection:
|
||||
class: phpbb\di\ordered_service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- { name: service_collection, tag: install_obtain_data, class_name_aware: true }
|
||||
|
||||
installer.module.obtain_data_install:
|
||||
class: phpbb\install\module\obtain_data\install_module
|
||||
parent: installer.module_base
|
||||
arguments:
|
||||
- '@installer.module.install_obtain_data_collection'
|
||||
- true
|
||||
- false
|
||||
tags:
|
||||
- { name: installer_install_module, order: 20 }
|
@ -0,0 +1,37 @@
|
||||
services:
|
||||
installer.requirements.check_filesystem:
|
||||
class: phpbb\install\module\requirements\task\check_filesystem
|
||||
arguments:
|
||||
- '@filesystem'
|
||||
- '@installer.helper.iohandler'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- { name: installer_requirements, order: 10 }
|
||||
|
||||
installer.requirements.check_server_environment:
|
||||
class: phpbb\install\module\requirements\task\check_server_environment
|
||||
arguments:
|
||||
- '@installer.helper.database'
|
||||
- '@installer.helper.iohandler'
|
||||
tags:
|
||||
- { name: installer_requirements, order: 20 }
|
||||
- { name: update_requirements, order: 20 }
|
||||
|
||||
installer.module.install_requirements_collection:
|
||||
class: phpbb\di\ordered_service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- { name: service_collection, tag: installer_requirements, class_name_aware: true }
|
||||
|
||||
# Please note, that the name of this module is hard coded in the installer service
|
||||
installer.module.requirements_install:
|
||||
class: phpbb\install\module\requirements\install_module
|
||||
parent: installer.module_base
|
||||
arguments:
|
||||
- '@installer.module.install_requirements_collection'
|
||||
- true
|
||||
- false
|
||||
tags:
|
||||
- { name: installer_install_module, order: 10 }
|
119
msd2/phpBB3/config/installer/container/services_installer.yml
Normal file
119
msd2/phpBB3/config/installer/container/services_installer.yml
Normal file
@ -0,0 +1,119 @@
|
||||
imports:
|
||||
- { resource: services_file_updater.yml }
|
||||
- { resource: services_install_console.yml }
|
||||
- { resource: services_install_controller.yml }
|
||||
- { resource: services_install_data.yml }
|
||||
- { resource: services_install_database.yml }
|
||||
- { resource: services_install_filesystem.yml }
|
||||
- { resource: services_install_finish.yml }
|
||||
- { resource: services_install_navigation.yml }
|
||||
- { resource: services_install_obtain_data.yml }
|
||||
- { resource: services_install_requirements.yml }
|
||||
- { resource: services_update_database.yml }
|
||||
- { resource: services_update_filesystem.yml }
|
||||
- { resource: services_update_obtain_data.yml }
|
||||
- { resource: services_update_requirements.yml }
|
||||
|
||||
services:
|
||||
# -------- Installer helpers ------------------------
|
||||
installer.helper.config:
|
||||
class: phpbb\install\helper\config
|
||||
arguments:
|
||||
- '@filesystem'
|
||||
- '@php_ini'
|
||||
- '%core.root_path%'
|
||||
|
||||
installer.helper.database:
|
||||
class: phpbb\install\helper\database
|
||||
arguments:
|
||||
- '@filesystem'
|
||||
- '%core.root_path%'
|
||||
|
||||
installer.helper.iohandler_factory:
|
||||
class: phpbb\install\helper\iohandler\factory
|
||||
arguments:
|
||||
- '@service_container'
|
||||
|
||||
installer.helper.iohandler_abstract:
|
||||
abstract: true
|
||||
calls:
|
||||
- [set_language, ['@language']]
|
||||
|
||||
installer.helper.iohandler_ajax:
|
||||
class: phpbb\install\helper\iohandler\ajax_iohandler
|
||||
parent: installer.helper.iohandler_abstract
|
||||
arguments:
|
||||
- '@path_helper'
|
||||
- '@request'
|
||||
- '@template'
|
||||
- '@router'
|
||||
- '%core.root_path%'
|
||||
|
||||
installer.helper.iohandler_cli:
|
||||
class: phpbb\install\helper\iohandler\cli_iohandler
|
||||
parent: installer.helper.iohandler_abstract
|
||||
|
||||
installer.helper.iohandler:
|
||||
class: phpbb\install\helper\iohandler\iohandler_interface
|
||||
factory: ['@installer.helper.iohandler_factory', get]
|
||||
|
||||
installer.helper.container_factory:
|
||||
class: phpbb\install\helper\container_factory
|
||||
arguments:
|
||||
- '@language'
|
||||
- '@request'
|
||||
- '@installer.helper.update_helper'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
|
||||
installer.helper.install_helper:
|
||||
class: phpbb\install\helper\install_helper
|
||||
arguments:
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
|
||||
installer.helper.update_helper:
|
||||
class: phpbb\install\helper\update_helper
|
||||
arguments:
|
||||
- '%core.root_path%'
|
||||
|
||||
# -------- Installer --------------------------------
|
||||
installer.module_base:
|
||||
abstract: true
|
||||
calls:
|
||||
- [setup, ['@installer.helper.config', '@installer.helper.iohandler']]
|
||||
|
||||
installer.installer.abstract:
|
||||
class: phpbb\install\installer
|
||||
abstract: true
|
||||
arguments:
|
||||
- '@cache.driver'
|
||||
- '@installer.helper.config'
|
||||
- '@path_helper'
|
||||
- '@installer.helper.container_factory'
|
||||
|
||||
installer.install.module_collection:
|
||||
class: phpbb\di\ordered_service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- { name: service_collection, tag: installer_install_module }
|
||||
|
||||
installer.update.module_collection:
|
||||
class: phpbb\di\ordered_service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- { name: service_collection, tag: installer_update_module }
|
||||
|
||||
installer.installer.install:
|
||||
parent: installer.installer.abstract
|
||||
calls:
|
||||
- [set_modules, ['@installer.install.module_collection']]
|
||||
- [set_purge_cache_before, [false]]
|
||||
|
||||
installer.installer.update:
|
||||
parent: installer.installer.abstract
|
||||
calls:
|
||||
- [set_modules, ['@installer.update.module_collection']]
|
||||
- [set_purge_cache_before, [true]]
|
@ -0,0 +1,40 @@
|
||||
services:
|
||||
installer.update_database.update_task:
|
||||
class: phpbb\install\module\update_database\task\update
|
||||
arguments:
|
||||
- '@installer.helper.container_factory'
|
||||
- '@filesystem'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@language'
|
||||
- '%core.root_path%'
|
||||
tags:
|
||||
- { name: update_database_task, order: 10 }
|
||||
|
||||
installer.update_database.update_extensions:
|
||||
class: phpbb\install\module\update_database\task\update_extensions
|
||||
arguments:
|
||||
- '@installer.helper.container_factory'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.helper.update_helper'
|
||||
- '%core.root_path%'
|
||||
tags:
|
||||
- { name: update_database_task, order: 20 }
|
||||
|
||||
installer.module.update_database_collection:
|
||||
class: phpbb\di\ordered_service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- { name: service_collection, tag: update_database_task, class_name_aware: true }
|
||||
|
||||
installer.module.update_database:
|
||||
class: phpbb\install\module\update_database\module
|
||||
parent: installer.module_base
|
||||
arguments:
|
||||
- '@installer.module.update_database_collection'
|
||||
- true
|
||||
- false
|
||||
tags:
|
||||
- { name: installer_update_module, order: 40 }
|
@ -0,0 +1,72 @@
|
||||
services:
|
||||
installer.update_filesystem.check_task:
|
||||
class: phpbb\install\module\update_filesystem\task\file_check
|
||||
arguments:
|
||||
- '@filesystem'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.helper.update_helper'
|
||||
- '%core.root_path%'
|
||||
tags:
|
||||
- { name: update_filesystem, order: 10 }
|
||||
|
||||
installer.update_filesystem.diff_files:
|
||||
class: phpbb\install\module\update_filesystem\task\diff_files
|
||||
arguments:
|
||||
- '@installer.helper.container_factory'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.helper.update_helper'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- { name: update_filesystem, order: 20 }
|
||||
|
||||
installer.update_filesystem.show_file_status:
|
||||
class: phpbb\install\module\update_filesystem\task\show_file_status
|
||||
arguments:
|
||||
- '@installer.helper.container_factory'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@filesystem'
|
||||
- '@installer.file_updater.factory'
|
||||
tags:
|
||||
- { name: update_filesystem, order: 30 }
|
||||
|
||||
installer.update_filesystem.update_files:
|
||||
class: phpbb\install\module\update_filesystem\task\update_files
|
||||
arguments:
|
||||
- '@installer.helper.container_factory'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.file_updater.factory'
|
||||
- '@installer.helper.update_helper'
|
||||
- '%core.root_path%'
|
||||
tags:
|
||||
- { name: update_filesystem, order: 40 }
|
||||
|
||||
installer.update_filesystem.download_updated_files:
|
||||
class: phpbb\install\module\update_filesystem\task\download_updated_files
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@filesystem'
|
||||
tags:
|
||||
- { name: update_filesystem, order: 50 }
|
||||
|
||||
installer.module.update_filesystem_collection:
|
||||
class: phpbb\di\ordered_service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- { name: service_collection, tag: update_filesystem, class_name_aware: true }
|
||||
|
||||
installer.module.filesystem_update:
|
||||
class: phpbb\install\module\update_filesystem\module
|
||||
parent: installer.module_base
|
||||
arguments:
|
||||
- '@installer.module.update_filesystem_collection'
|
||||
- true
|
||||
- false
|
||||
tags:
|
||||
- { name: installer_update_module, order: 30 }
|
@ -0,0 +1,53 @@
|
||||
services:
|
||||
installer.obtain_data.update_options:
|
||||
class: phpbb\install\module\obtain_data\task\obtain_update_settings
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
tags:
|
||||
- { name: update_obtain_data, order: 10 }
|
||||
|
||||
installer.obtain_data.file_updater_method:
|
||||
class: phpbb\install\module\obtain_data\task\obtain_file_updater_method
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
tags:
|
||||
- { name: update_obtain_data, order: 20 }
|
||||
|
||||
installer.obtain_data.update_files:
|
||||
class: phpbb\install\module\obtain_data\task\obtain_update_files
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- { name: update_obtain_data, order: 30 }
|
||||
|
||||
installer.obtain_data.update_ftp_settings:
|
||||
class: phpbb\install\module\obtain_data\task\obtain_update_ftp_data
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.helper.update_helper'
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- { name: update_obtain_data, order: 40 }
|
||||
|
||||
installer.module.update_obtain_data_collection:
|
||||
class: phpbb\di\ordered_service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- { name: service_collection, tag: update_obtain_data, class_name_aware: true }
|
||||
|
||||
installer.module.obtain_data_update:
|
||||
class: phpbb\install\module\obtain_data\update_module
|
||||
parent: installer.module_base
|
||||
arguments:
|
||||
- '@installer.module.update_obtain_data_collection'
|
||||
- true
|
||||
- false
|
||||
tags:
|
||||
- { name: installer_update_module, order: 20 }
|
@ -0,0 +1,41 @@
|
||||
services:
|
||||
installer.requirements.check_filesystem_update:
|
||||
class: phpbb\install\module\requirements\task\check_filesystem
|
||||
arguments:
|
||||
- '@filesystem'
|
||||
- '@installer.helper.iohandler'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
- false
|
||||
tags:
|
||||
- { name: update_requirements, order: 10 }
|
||||
|
||||
installer.requirements.update_requirements:
|
||||
class: phpbb\install\module\requirements\task\check_update
|
||||
arguments:
|
||||
- '@installer.helper.container_factory'
|
||||
- '@filesystem'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.helper.update_helper'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- { name: update_requirements, order: 30 }
|
||||
|
||||
installer.module.update_requirements_collection:
|
||||
class: phpbb\di\ordered_service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- { name: service_collection, tag: update_requirements, class_name_aware: true }
|
||||
|
||||
installer.module.requirements_update:
|
||||
class: phpbb\install\module\requirements\update_module
|
||||
parent: installer.module_base
|
||||
arguments:
|
||||
- '@installer.module.update_requirements_collection'
|
||||
- true
|
||||
- false
|
||||
tags:
|
||||
- { name: installer_update_module, order: 10 }
|
Reference in New Issue
Block a user