From 6cbb60d13f75da6d9b6c6d60555ea119df79b5c0 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sat, 4 Oct 2014 16:30:34 +0200 Subject: [ticket/12620] Adds a yaml config file PHPBB3-12620 --- .../config/default/container/services_console.yml | 141 +++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 phpBB/config/default/container/services_console.yml (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml new file mode 100644 index 0000000000..1e18a7dd37 --- /dev/null +++ b/phpBB/config/default/container/services_console.yml @@ -0,0 +1,141 @@ +services: + console.command_collection: + class: phpbb\di\service_collection + arguments: + - @service_container + tags: + - { name: service_collection, tag: console.command } + + console.command.cache.purge: + class: phpbb\console\command\cache\purge + arguments: + - @user + - @cache.driver + - @dbal.conn + - @auth + - @log + - @config + tags: + - { name: console.command } + + console.command.config.delete: + class: phpbb\console\command\config\delete + arguments: + - @user + - @config + tags: + - { name: console.command } + + console.command.config.increment: + class: phpbb\console\command\config\increment + arguments: + - @user + - @config + tags: + - { name: console.command } + + console.command.config.get: + class: phpbb\console\command\config\get + arguments: + - @user + - @config + tags: + - { name: console.command } + + console.command.config.set: + class: phpbb\console\command\config\set + arguments: + - @user + - @config + tags: + - { name: console.command } + + console.command.config.set_atomic: + class: phpbb\console\command\config\set_atomic + arguments: + - @user + - @config + tags: + - { name: console.command } + + console.command.cron.list: + class: phpbb\console\command\cron\cron_list + arguments: + - @user + - @cron.manager + tags: + - { name: console.command } + + console.command.cron.run: + class: phpbb\console\command\cron\run + arguments: + - @user + - @cron.manager + - @cron.lock_db + tags: + - { name: console.command } + + console.command.db.migrate: + class: phpbb\console\command\db\migrate + arguments: + - @user + - @migrator + - @ext.manager + - @config + - @cache + - @log + - %core.root_path% + tags: + - { name: console.command } + + console.command.dev.migration_tips: + class: phpbb\console\command\dev\migration_tips + arguments: + - @user + - @ext.manager + tags: + - { name: console.command } + + console.command.extension.disable: + class: phpbb\console\command\extension\disable + arguments: + - @user + - @ext.manager + - @log + tags: + - { name: console.command } + + console.command.extension.enable: + class: phpbb\console\command\extension\enable + arguments: + - @user + - @ext.manager + - @log + tags: + - { name: console.command } + + console.command.extension.purge: + class: phpbb\console\command\extension\purge + arguments: + - @user + - @ext.manager + - @log + tags: + - { name: console.command } + + console.command.extension.show: + class: phpbb\console\command\extension\show + arguments: + - @user + - @ext.manager + - @log + tags: + - { name: console.command } + + console.command.fixup.recalculate_email_hash: + class: phpbb\console\command\fixup\recalculate_email_hash + arguments: + - @user + - @dbal.conn + tags: + - { name: console.command } -- cgit v1.2.1 From 4bdef6fd21a5dcab455b0cd1ee2652de606929c3 Mon Sep 17 00:00:00 2001 From: MateBartus Date: Thu, 12 Mar 2015 00:25:00 +0100 Subject: [ticket/13697] Moving filesystem related functions to filesystem service * Moving filesystem service to \phpbb\filesystem namespace * Wraping Symfony's Filesystem component * Moving filesystem related functions from includes/functions.php into \phpbb\filesystem\filesystem Functions moved (and deprecated): - phpbb_chmod - phpbb_is_writable - phpbb_is_absolute - phpbb_own_realpath - phpbb_realpath * Adding interface for filesystem service PHPBB3-13697 --- phpBB/config/default/container/services_console.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 1e18a7dd37..f0ae6c8ab4 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -84,6 +84,7 @@ services: - @config - @cache - @log + - @filesystem - %core.root_path% tags: - { name: console.command } -- cgit v1.2.1 From 615ab099e228f2d7a35a76557095a65321425963 Mon Sep 17 00:00:00 2001 From: JoshyPHP Date: Fri, 29 May 2015 19:33:17 +0200 Subject: [ticket/13891] Added reparser:list and reparser:reparse to CLI PHPBB3-13891 --- phpBB/config/default/container/services_console.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index f0ae6c8ab4..98a26b10e8 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -140,3 +140,19 @@ services: - @dbal.conn tags: - { name: console.command } + + console.command.reparser.list: + class: phpbb\console\command\reparser\list_all + arguments: + - @user + - @service_container + tags: + - { name: console.command } + + console.command.reparser.reparse: + class: phpbb\console\command\reparser\reparse + arguments: + - @user + - @text_reparser_collection + tags: + - { name: console.command } -- cgit v1.2.1 From 119f90e36301463ffd01005a9390d3346be7774f Mon Sep 17 00:00:00 2001 From: JoshyPHP Date: Mon, 29 Jun 2015 22:15:08 +0200 Subject: [ticket/13891] Replaced ContainerBuilder with service_collection PHPBB3-13891 --- phpBB/config/default/container/services_console.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 98a26b10e8..f39218ed9c 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -145,7 +145,7 @@ services: class: phpbb\console\command\reparser\list_all arguments: - @user - - @service_container + - @text_reparser_collection tags: - { name: console.command } -- cgit v1.2.1 From 98ab5478e6a74b4325f002c1a5daae9d6dbe80e1 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Thu, 12 Jun 2014 14:20:58 +0200 Subject: [ticket/12692] Add a console command to manage the thumbnails PHPBB3-12692 --- .../config/default/container/services_console.yml | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index f39218ed9c..15f597520c 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -156,3 +156,30 @@ services: - @text_reparser_collection tags: - { name: console.command } + + console.command.thumbnail.generate: + class: phpbb\console\command\thumbnail\generate + arguments: + - @dbal.conn + - @user + - @cache + - %core.root_path% + - %core.php_ext% + tags: + - { name: console.command } + + console.command.thumbnail.recreate: + class: phpbb\console\command\thumbnail\recreate + arguments: + - @user + tags: + - { name: console.command } + + console.command.thumbnail.delete: + class: phpbb\console\command\thumbnail\delete + arguments: + - @dbal.conn + - @user + - %core.root_path% + tags: + - { name: console.command } -- cgit v1.2.1 From 487fea8cfffe872e888ebcc3e1f5538b72bcaec1 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Tue, 22 Jul 2014 16:24:40 +0200 Subject: [ticket/12692] Move the language strings to cli.php PHPBB3-12692 --- phpBB/config/default/container/services_console.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 15f597520c..010bde025d 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -160,8 +160,8 @@ services: console.command.thumbnail.generate: class: phpbb\console\command\thumbnail\generate arguments: - - @dbal.conn - @user + - @dbal.conn - @cache - %core.root_path% - %core.php_ext% @@ -178,8 +178,8 @@ services: console.command.thumbnail.delete: class: phpbb\console\command\thumbnail\delete arguments: - - @dbal.conn - @user + - @dbal.conn - %core.root_path% tags: - { name: console.command } -- cgit v1.2.1 From 96c5165a655062bb12cf8150262459d883911d8c Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Wed, 27 Aug 2014 16:22:10 +0200 Subject: [ticket/12692] Fix languages vars and services order PHPBB3-12692 --- phpBB/config/default/container/services_console.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 010bde025d..0e6a1b7706 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -157,6 +157,15 @@ services: tags: - { name: console.command } + console.command.thumbnail.delete: + class: phpbb\console\command\thumbnail\delete + arguments: + - @user + - @dbal.conn + - %core.root_path% + tags: + - { name: console.command } + console.command.thumbnail.generate: class: phpbb\console\command\thumbnail\generate arguments: @@ -174,12 +183,3 @@ services: - @user tags: - { name: console.command } - - console.command.thumbnail.delete: - class: phpbb\console\command\thumbnail\delete - arguments: - - @user - - @dbal.conn - - %core.root_path% - tags: - - { name: console.command } -- cgit v1.2.1 From 903f100c5120ad516e248ee30b18dd9a64468656 Mon Sep 17 00:00:00 2001 From: JoshyPHP Date: Fri, 17 Jul 2015 11:53:28 +0200 Subject: [ticket/13986] Add --resume option to reparser CLI PHPBB3-13986 --- phpBB/config/default/container/services_console.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index f39218ed9c..49d0626b4f 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -154,5 +154,6 @@ services: arguments: - @user - @text_reparser_collection + - @config_text tags: - { name: console.command } -- cgit v1.2.1 From 17e7a89a60f700efc8a0b082b7a82005e6288e80 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Mon, 24 Aug 2015 12:04:22 +0200 Subject: [ticket/14124] Automatically translate exceptions in CLI PHPBB3-14124 --- phpBB/config/default/container/services_console.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index aee3cbdee6..71b6244e13 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -1,4 +1,12 @@ services: + console.exception_subscriber: + class: phpbb\console\exception_subscriber + arguments: + - @language + - %debug.exceptions% + tags: + - { name: kernel.event_subscriber } + console.command_collection: class: phpbb\di\service_collection arguments: -- cgit v1.2.1 From 2596fba487a067cba36b5ebe50e1c73e4dc954d3 Mon Sep 17 00:00:00 2001 From: Zoddo Date: Sun, 13 Sep 2015 16:08:22 +0200 Subject: [ticket/14162] Add CLI command db:revert This command allow to revert a migration from the CLI PHPBB3-14162 --- phpBB/config/default/container/services_console.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index aee3cbdee6..d4897be206 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -89,6 +89,19 @@ services: tags: - { name: console.command } + console.command.db.revert: + class: phpbb\console\command\db\revert + arguments: + - @user + - @migrator + - @ext.manager + - @config + - @cache + - @filesystem + - %core.root_path% + tags: + - { name: console.command } + console.command.dev.migration_tips: class: phpbb\console\command\dev\migration_tips arguments: -- cgit v1.2.1 From 60099cf97c13106b741ab779883a89a0dbc4b6fa Mon Sep 17 00:00:00 2001 From: Zoddo Date: Sun, 13 Sep 2015 17:15:35 +0200 Subject: [ticket/14162] Add CLI command db:list This command lists all installed and uninstalled migrations. Note: The class is named `list_command`, because `list` is a reserved word and can't be used as class name in PHP. PHPBB3-14162 --- phpBB/config/default/container/services_console.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index d4897be206..72cca8fcb8 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -75,6 +75,17 @@ services: tags: - { name: console.command } + console.command.db.list: + class: phpbb\console\command\db\list_command + arguments: + - @user + - @migrator + - @ext.manager + - @config + - @cache + tags: + - { name: console.command } + console.command.db.migrate: class: phpbb\console\command\db\migrate arguments: -- cgit v1.2.1 From 8f5a0ad6f73e7b7757b02c827436384c96069b5a Mon Sep 17 00:00:00 2001 From: Mate Bartus Date: Fri, 24 Jul 2015 09:20:50 +0200 Subject: [ticket/14039] Revamp updater PHPBB3-14039 --- phpBB/config/default/container/services_console.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 6b46375c7d..6f6e129b29 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -98,6 +98,7 @@ services: class: phpbb\console\command\db\migrate arguments: - @user + - @language - @migrator - @ext.manager - @config @@ -112,6 +113,7 @@ services: class: phpbb\console\command\db\revert arguments: - @user + - @language - @migrator - @ext.manager - @config -- cgit v1.2.1 From c7ecb1310f7663e5fdaafb655381663b9410c31a Mon Sep 17 00:00:00 2001 From: Oliver Schramm Date: Sat, 24 Oct 2015 20:10:16 +0200 Subject: [ticket/14257] Add reparse_lock to CLI command PHPBB3-14257 --- phpBB/config/default/container/services_console.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 6f6e129b29..9aba49b941 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -189,6 +189,7 @@ services: - @user - @text_reparser_collection - @config_text + - @text_reparser.lock tags: - { name: console.command } -- cgit v1.2.1 From 25e2b17837f5b1c2330d07a86f88b25bb55d96c1 Mon Sep 17 00:00:00 2001 From: Oliver Schramm Date: Mon, 26 Oct 2015 01:39:52 +0100 Subject: [ticket/14257] Add text_reparser manager PHPBB3-14257 --- phpBB/config/default/container/services_console.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 9aba49b941..169bf82098 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -187,9 +187,9 @@ services: class: phpbb\console\command\reparser\reparse arguments: - @user - - @text_reparser_collection - - @config_text - @text_reparser.lock + - @text_reparser_collection + - @text_reparser.manager tags: - { name: console.command } -- cgit v1.2.1 From d9d89cad94eada62e900a012046b8d45c5aa3129 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Mon, 7 Dec 2015 13:11:22 -0800 Subject: [ticket/14247] Use quotes around @ and % strings in YAML PHPBB3-14247 --- .../config/default/container/services_console.yml | 154 ++++++++++----------- 1 file changed, 77 insertions(+), 77 deletions(-) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 169bf82098..77f8338b44 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -2,220 +2,220 @@ services: console.exception_subscriber: class: phpbb\console\exception_subscriber arguments: - - @language - - %debug.exceptions% + - '@language' + - '%debug.exceptions%' tags: - { name: kernel.event_subscriber } console.command_collection: class: phpbb\di\service_collection arguments: - - @service_container + - '@service_container' tags: - { name: service_collection, tag: console.command } console.command.cache.purge: class: phpbb\console\command\cache\purge arguments: - - @user - - @cache.driver - - @dbal.conn - - @auth - - @log - - @config + - '@user' + - '@cache.driver' + - '@dbal.conn' + - '@auth' + - '@log' + - '@config' tags: - { name: console.command } console.command.config.delete: class: phpbb\console\command\config\delete arguments: - - @user - - @config + - '@user' + - '@config' tags: - { name: console.command } console.command.config.increment: class: phpbb\console\command\config\increment arguments: - - @user - - @config + - '@user' + - '@config' tags: - { name: console.command } console.command.config.get: class: phpbb\console\command\config\get arguments: - - @user - - @config + - '@user' + - '@config' tags: - { name: console.command } console.command.config.set: class: phpbb\console\command\config\set arguments: - - @user - - @config + - '@user' + - '@config' tags: - { name: console.command } console.command.config.set_atomic: class: phpbb\console\command\config\set_atomic arguments: - - @user - - @config + - '@user' + - '@config' tags: - { name: console.command } console.command.cron.list: class: phpbb\console\command\cron\cron_list arguments: - - @user - - @cron.manager + - '@user' + - '@cron.manager' tags: - { name: console.command } console.command.cron.run: class: phpbb\console\command\cron\run arguments: - - @user - - @cron.manager - - @cron.lock_db + - '@user' + - '@cron.manager' + - '@cron.lock_db' tags: - { name: console.command } console.command.db.list: class: phpbb\console\command\db\list_command arguments: - - @user - - @migrator - - @ext.manager - - @config - - @cache + - '@user' + - '@migrator' + - '@ext.manager' + - '@config' + - '@cache' tags: - { name: console.command } console.command.db.migrate: class: phpbb\console\command\db\migrate arguments: - - @user - - @language - - @migrator - - @ext.manager - - @config - - @cache - - @log - - @filesystem - - %core.root_path% + - '@user' + - '@language' + - '@migrator' + - '@ext.manager' + - '@config' + - '@cache' + - '@log' + - '@filesystem' + - '%core.root_path%' tags: - { name: console.command } console.command.db.revert: class: phpbb\console\command\db\revert arguments: - - @user - - @language - - @migrator - - @ext.manager - - @config - - @cache - - @filesystem - - %core.root_path% + - '@user' + - '@language' + - '@migrator' + - '@ext.manager' + - '@config' + - '@cache' + - '@filesystem' + - '%core.root_path%' tags: - { name: console.command } console.command.dev.migration_tips: class: phpbb\console\command\dev\migration_tips arguments: - - @user - - @ext.manager + - '@user' + - '@ext.manager' tags: - { name: console.command } console.command.extension.disable: class: phpbb\console\command\extension\disable arguments: - - @user - - @ext.manager - - @log + - '@user' + - '@ext.manager' + - '@log' tags: - { name: console.command } console.command.extension.enable: class: phpbb\console\command\extension\enable arguments: - - @user - - @ext.manager - - @log + - '@user' + - '@ext.manager' + - '@log' tags: - { name: console.command } console.command.extension.purge: class: phpbb\console\command\extension\purge arguments: - - @user - - @ext.manager - - @log + - '@user' + - '@ext.manager' + - '@log' tags: - { name: console.command } console.command.extension.show: class: phpbb\console\command\extension\show arguments: - - @user - - @ext.manager - - @log + - '@user' + - '@ext.manager' + - '@log' tags: - { name: console.command } console.command.fixup.recalculate_email_hash: class: phpbb\console\command\fixup\recalculate_email_hash arguments: - - @user - - @dbal.conn + - '@user' + - '@dbal.conn' tags: - { name: console.command } console.command.reparser.list: class: phpbb\console\command\reparser\list_all arguments: - - @user - - @text_reparser_collection + - '@user' + - '@text_reparser_collection' tags: - { name: console.command } console.command.reparser.reparse: class: phpbb\console\command\reparser\reparse arguments: - - @user - - @text_reparser.lock - - @text_reparser_collection - - @text_reparser.manager + - '@user' + - '@text_reparser.lock' + - '@text_reparser_collection' + - '@text_reparser.manager' tags: - { name: console.command } console.command.thumbnail.delete: class: phpbb\console\command\thumbnail\delete arguments: - - @user - - @dbal.conn - - %core.root_path% + - '@user' + - '@dbal.conn' + - '%core.root_path%' tags: - { name: console.command } console.command.thumbnail.generate: class: phpbb\console\command\thumbnail\generate arguments: - - @user - - @dbal.conn - - @cache - - %core.root_path% - - %core.php_ext% + - '@user' + - '@dbal.conn' + - '@cache' + - '%core.root_path%' + - '%core.php_ext%' tags: - { name: console.command } console.command.thumbnail.recreate: class: phpbb\console\command\thumbnail\recreate arguments: - - @user + - '@user' tags: - { name: console.command } -- cgit v1.2.1 From 3d6a6200d88e9aaf1a2e946ebd7b3ea64ab8e88e Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Mon, 14 Dec 2015 22:32:16 +0100 Subject: [ticket/14359] Fix console.command.reparser.reparse service definition PHPBB3-14359 --- phpBB/config/default/container/services_console.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 77f8338b44..2055fb68c5 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -188,8 +188,8 @@ services: arguments: - '@user' - '@text_reparser.lock' - - '@text_reparser_collection' - '@text_reparser.manager' + - '@text_reparser_collection' tags: - { name: console.command } -- cgit v1.2.1 From d17a8ab523f5cc77352170c679767c5523f57ec9 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Mon, 29 Feb 2016 08:28:37 -0800 Subject: [ticket/12684] Fix merge errors PHPBB3-12684 --- phpBB/config/default/container/services_console.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 2055fb68c5..b39353d841 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -175,6 +175,16 @@ services: tags: - { name: console.command } + console.command.user.add: + class: phpbb\console\command\user\add + arguments: + - '@user' + - '@dbal.conn' + - '@config' + - '@passwords.manager' + tags: + - { name: console.command } + console.command.reparser.list: class: phpbb\console\command\reparser\list_all arguments: -- cgit v1.2.1 From 6fe084a2fd967c188bdca827a46647120a5ea58d Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Mon, 29 Feb 2016 11:38:49 -0800 Subject: [ticket/12684] Updates for 3.2 API PHPBB3-12684 --- phpBB/config/default/container/services_console.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index b39353d841..006df0d7b3 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -182,6 +182,8 @@ services: - '@dbal.conn' - '@config' - '@passwords.manager' + - '%core.root_path%' + - '%core.php_ext%' tags: - { name: console.command } -- cgit v1.2.1 From 637b02690db0d3b7af2915c1da4bacc8fa054f6c Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Mon, 29 Feb 2016 13:28:42 -0800 Subject: [ticket/12684] Update to use non-deprecated methods PHPBB3-12684 --- .../config/default/container/services_console.yml | 25 +++++++++++----------- 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 006df0d7b3..0a28c0ed1f 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -175,18 +175,6 @@ services: tags: - { name: console.command } - console.command.user.add: - class: phpbb\console\command\user\add - arguments: - - '@user' - - '@dbal.conn' - - '@config' - - '@passwords.manager' - - '%core.root_path%' - - '%core.php_ext%' - tags: - - { name: console.command } - console.command.reparser.list: class: phpbb\console\command\reparser\list_all arguments: @@ -231,3 +219,16 @@ services: - '@user' tags: - { name: console.command } + + console.command.user.add: + class: phpbb\console\command\user\add + arguments: + - '@user' + - '@dbal.conn' + - '@config' + - '@language' + - '@passwords.manager' + - '%core.root_path%' + - '%core.php_ext%' + tags: + - { name: console.command } -- cgit v1.2.1 From 8a9429efa4b0a459a657a44b41a596969878ad65 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Sat, 26 Mar 2016 12:35:38 -0700 Subject: [ticket/14561] User delete command PHPBB3-14561 --- phpBB/config/default/container/services_console.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 0a28c0ed1f..3ada9d1639 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -232,3 +232,15 @@ services: - '%core.php_ext%' tags: - { name: console.command } + + console.command.user.delete: + class: phpbb\console\command\user\delete + arguments: + - '@user' + - '@dbal.conn' + - '@language' + - '@log' + - '%core.root_path%' + - '%core.php_ext%' + tags: + - { name: console.command } -- cgit v1.2.1 From 91f1116e046818fb49a19ff59652f684c6f5f736 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Sat, 26 Mar 2016 12:37:27 -0700 Subject: [ticket/14561] User activate command PHPBB3-14561 --- phpBB/config/default/container/services_console.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 3ada9d1639..710487dfe8 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -220,6 +220,20 @@ services: tags: - { name: console.command } + console.command.user.activate: + class: phpbb\console\command\user\activate + arguments: + - '@user' + - '@dbal.conn' + - '@config' + - '@language' + - '@log' + - '@notification_manager' + - '%core.root_path%' + - '%core.php_ext%' + tags: + - { name: console.command } + console.command.user.add: class: phpbb\console\command\user\add arguments: -- cgit v1.2.1 From 16f9b4630cfc3c6247894ac82ac6b95577075753 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Sat, 26 Mar 2016 12:38:07 -0700 Subject: [ticket/14561] Reclean usernames command PHPBB3-14561 --- phpBB/config/default/container/services_console.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 710487dfe8..994ac55ee9 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -258,3 +258,12 @@ services: - '%core.php_ext%' tags: - { name: console.command } + + console.command.user.reclean: + class: phpbb\console\command\user\reclean + arguments: + - '@user' + - '@dbal.conn' + - '@language' + tags: + - { name: console.command } -- cgit v1.2.1 From 4b789c041844396f3a5e6a51142c45c13d2edd59 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Sun, 27 Mar 2016 10:24:12 -0700 Subject: [ticket/14561] Use the user loader where appropriate PHPBB3-14561 --- phpBB/config/default/container/services_console.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 994ac55ee9..3f27ee666a 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -229,6 +229,7 @@ services: - '@language' - '@log' - '@notification_manager' + - '@user_loader' - '%core.root_path%' - '%core.php_ext%' tags: @@ -254,6 +255,7 @@ services: - '@dbal.conn' - '@language' - '@log' + - '@user_loader' - '%core.root_path%' - '%core.php_ext%' tags: -- cgit v1.2.1 From 346f31a03156839d1b1931d2fc69cd2ab5656bc0 Mon Sep 17 00:00:00 2001 From: Etienne Baroux Date: Mon, 2 Jun 2014 10:12:18 +0200 Subject: [ticket/12610] Add command to check if the board is up to date. PHPBB3-12610 --- phpBB/config/default/container/services_console.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 3f27ee666a..c3db4c29a5 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -220,6 +220,15 @@ services: tags: - { name: console.command } + console.command.update.check: + class: phpbb\console\command\update\check + arguments: + - @user + - @config + - @service_container + tags: + - { name: console.command } + console.command.user.activate: class: phpbb\console\command\user\activate arguments: -- cgit v1.2.1 From 57915a8aaa842064d42fee419c9e0eaf7288140a Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Thu, 1 Sep 2016 16:12:04 +0200 Subject: [ticket/12610] Correctly handle empty cache PHPBB3-12610 --- phpBB/config/default/container/services_console.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index c3db4c29a5..4420b6e345 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -223,9 +223,9 @@ services: console.command.update.check: class: phpbb\console\command\update\check arguments: - - @user - - @config - - @service_container + - '@user' + - '@config' + - '@service_container' tags: - { name: console.command } -- cgit v1.2.1 From 32aa0596f3750ff19f3da799d649e7b2a3429c47 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sun, 4 Dec 2016 17:43:51 +0100 Subject: [ticket/12610] Use Symfony style guide PHPBB3-12610 --- phpBB/config/default/container/services_console.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 4420b6e345..0c609a8051 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -226,6 +226,7 @@ services: - '@user' - '@config' - '@service_container' + - '@language' tags: - { name: console.command } -- cgit v1.2.1 From cbf6d71f6859fd6c036967ed19082f3e54efc328 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Thu, 8 Dec 2016 14:25:09 -0800 Subject: [ticket/14895] Fix issues in CLI classes PHPBB3-14895 --- phpBB/config/default/container/services_console.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 0c609a8051..e25ab4f03f 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -111,15 +111,7 @@ services: console.command.db.revert: class: phpbb\console\command\db\revert - arguments: - - '@user' - - '@language' - - '@migrator' - - '@ext.manager' - - '@config' - - '@cache' - - '@filesystem' - - '%core.root_path%' + parent: console.command.db.migrate tags: - { name: console.command } -- cgit v1.2.1 From 8a8d435ed4c065084fc35e48e8926b5e0ffb2ccc Mon Sep 17 00:00:00 2001 From: rxu Date: Fri, 26 May 2017 20:36:32 +0700 Subject: [ticket/15238] Add console command to fix forums/modules left/right IDs PHPBB3-15238 --- phpBB/config/default/container/services_console.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 282b5abb77..697e147d85 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -179,6 +179,15 @@ services: tags: - { name: console.command } + console.command.fixup.fix_left_right_ids: + class: phpbb\console\command\fixup\fix_left_right_ids + arguments: + - '@user' + - '@dbal.conn' + - '@cache.driver' + tags: + - { name: console.command } + console.command.reparser.list: class: phpbb\console\command\reparser\list_all arguments: -- cgit v1.2.1 From 6e86cd9e15241e9d1ce5fc3eaaf3844c155cc3e9 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sun, 10 Sep 2017 12:54:10 +0200 Subject: [ticket/15298] Never suppress exception trace when using CLI PHPBB3-15298 --- phpBB/config/default/container/services_console.yml | 1 - 1 file changed, 1 deletion(-) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 697e147d85..a327b74ac4 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -3,7 +3,6 @@ services: class: phpbb\console\exception_subscriber arguments: - '@language' - - '%debug.exceptions%' tags: - { name: kernel.event_subscriber } -- cgit v1.2.1 From 96491a70e8b61ba5700c78dd7b20fe9ca9a3b665 Mon Sep 17 00:00:00 2001 From: rubencm Date: Sat, 9 Feb 2019 12:16:47 +0000 Subject: [ticket/15965] Fix hardcoded directory PHPBB3-15965 --- phpBB/config/default/container/services_console.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpBB/config/default/container/services_console.yml') diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index a327b74ac4..05e467ff8d 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -208,6 +208,7 @@ services: console.command.thumbnail.delete: class: phpbb\console\command\thumbnail\delete arguments: + - '@config' - '@user' - '@dbal.conn' - '%core.root_path%' @@ -217,6 +218,7 @@ services: console.command.thumbnail.generate: class: phpbb\console\command\thumbnail\generate arguments: + - '@config' - '@user' - '@dbal.conn' - '@cache' -- cgit v1.2.1