Changes for phpbb 3.3.0

This commit is contained in:
2020-08-03 20:54:37 +02:00
parent 1538ba757a
commit a2fd058bf5
153 changed files with 3142 additions and 6406 deletions

View File

@@ -15,8 +15,7 @@ services:
- '@user'
- '@board3.portal.fetch_posts'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.attachments:
class: board3\portal\modules\attachments
arguments:
@@ -30,8 +29,7 @@ services:
- '%core.root_path%'
- '@user'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.birthday_list:
class: board3\portal\modules\birthday_list
arguments:
@@ -40,8 +38,7 @@ services:
- '@dbal.conn'
- '@user'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.calendar:
class: board3\portal\modules\calendar
arguments:
@@ -56,16 +53,14 @@ services:
- '@path_helper'
- '@log'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.clock:
class: board3\portal\modules\clock
arguments:
- '@config'
- '@template'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.custom:
class: board3\portal\modules\custom
arguments:
@@ -78,8 +73,7 @@ services:
- '@user'
- '@log'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.donation:
class: board3\portal\modules\donation
arguments:
@@ -89,8 +83,7 @@ services:
- '@user'
- '@board3.portal.modules_helper'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.forumlist:
class: board3\portal\modules\forumlist
arguments:
@@ -101,8 +94,7 @@ services:
- '%core.php_ext%'
- '@user'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.friends:
class: board3\portal\modules\friends
arguments:
@@ -112,8 +104,7 @@ services:
- '@template'
- '@user'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.latest_bots:
class: board3\portal\modules\latest_bots
arguments:
@@ -122,8 +113,7 @@ services:
- '@template'
- '@user'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.latest_members:
class: board3\portal\modules\latest_members
arguments:
@@ -132,8 +122,7 @@ services:
- '@template'
- '@user'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.leaders:
class: board3\portal\modules\leaders
arguments:
@@ -145,8 +134,7 @@ services:
- '%core.php_ext%'
- '@user'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.link_us:
class: board3\portal\modules\link_us
arguments:
@@ -154,8 +142,7 @@ services:
- '@template'
- '@user'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.links:
class: board3\portal\modules\links
arguments:
@@ -168,8 +155,7 @@ services:
- '@user'
- '@log'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.main_menu:
class: board3\portal\modules\main_menu
arguments:
@@ -182,8 +168,7 @@ services:
- '@user'
- '@log'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.news:
class: board3\portal\modules\news
arguments:
@@ -200,8 +185,7 @@ services:
- '@user'
- '@board3.portal.fetch_posts'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.poll:
class: board3\portal\modules\poll
arguments:
@@ -215,8 +199,7 @@ services:
- '@user'
- '@board3.portal.modules_helper'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.random_member:
class: board3\portal\modules\random_member
arguments:
@@ -224,8 +207,7 @@ services:
- '@template'
- '@user'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.recent:
class: board3\portal\modules\recent
arguments:
@@ -237,8 +219,7 @@ services:
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.search:
class: board3\portal\modules\search
arguments:
@@ -246,8 +227,7 @@ services:
- '%core.php_ext%'
- '%core.root_path%'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.statistics:
class: board3\portal\modules\statistics
arguments:
@@ -257,8 +237,7 @@ services:
- '@template'
- '@user'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.stylechanger:
class: board3\portal\modules\stylechanger
arguments:
@@ -269,8 +248,7 @@ services:
- '@request'
- '@user'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.topposters:
class: board3\portal\modules\topposters
arguments:
@@ -280,8 +258,7 @@ services:
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.user_menu:
class: board3\portal\modules\user_menu
arguments:
@@ -295,8 +272,7 @@ services:
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.welcome:
class: board3\portal\modules\welcome
arguments:
@@ -307,8 +283,7 @@ services:
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: board3.portal.module }
- {name: board3.portal.module}
board3.portal.module.whois_online:
class: board3\portal\modules\whois_online
arguments:
@@ -319,5 +294,18 @@ services:
- '@user'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- {name: board3.portal.module}
board3.portal.module.portal_tl_menu:
class: board3\portal\modules\portal_tl_menu
arguments:
- '@config'
- '@dbal.conn'
- '@request'
- '@template'
- '%core.root_path%'
- '%core.php_ext%'
- '@user'
- '@log'
tags:
- { name: board3.portal.module }

View File

@@ -1,13 +1,8 @@
board3_portal_controller:
path: /portal
defaults: { _controller: board3.portal.main:handle }
# This is currently not supported yet
# board3_portal_pages_controller:
# pattern: /portal/{page}
# defaults: { _controller: board3.portal.main:handle_page, page: "portal" }
# Redirect to portal by default
defaults:
_controller: 'board3.portal.main:handle'
board3_portal_redirect_controller:
path: /
defaults: { _controller: board3.portal.main:handle }
defaults:
_controller: 'board3.portal.main:handle'

View File

@@ -1,10 +1,9 @@
imports:
- { resource: modules.yml }
-
resource: modules.yml
parameters:
board3.portal.config.table: %core.table_prefix%portal_config
board3.portal.modules.table: %core.table_prefix%portal_modules
board3.portal.config.table: '%core.table_prefix%portal_config'
board3.portal.modules.table: '%core.table_prefix%portal_modules'
services:
board3.portal.main:
class: board3\portal\controller\main
@@ -16,36 +15,31 @@ services:
- '@user'
- '@path_helper'
- '%core.root_path%'
- '.%core.php_ext%'
- .%core.php_ext%
- '%board3.portal.config.table%'
- '%board3.portal.modules.table%'
board3.portal.controller_helper:
class: board3\portal\controller\helper
arguments:
- '@auth'
- '@board3.portal.columns'
- '@config'
- '@language'
- '@template'
- '@user'
- '@path_helper'
- '@board3.portal.helper'
- '%core.root_path%'
- '.%core.php_ext%'
- .%core.php_ext%
board3.portal.module_collection:
class: phpbb\di\service_collection
arguments:
- '@service_container'
tags:
- { name: service_collection, tag: board3.portal.module }
- {name: service_collection, tag: board3.portal.module}
board3.portal.helper:
class: board3\portal\includes\helper
arguments:
- '@board3.portal.module_collection'
board3.portal.modules_helper:
class: board3\portal\includes\modules_helper
arguments:
@@ -53,10 +47,8 @@ services:
- '@config'
- '@controller.helper'
- '@request'
board3.portal.columns:
class: board3\portal\portal\columns
board3.portal.fetch_posts:
class: board3\portal\portal\fetch_posts
arguments:
@@ -66,7 +58,6 @@ services:
- '@dbal.conn'
- '@board3.portal.modules_helper'
- '@user'
board3.portal.listener:
class: board3\portal\event\listener
arguments:
@@ -79,8 +70,7 @@ services:
- '@user'
- '%core.php_ext%'
tags:
- { name: event.listener }
- {name: event.listener}
board3.portal.modules.manager:
class: board3\portal\portal\modules\manager
arguments:
@@ -93,12 +83,10 @@ services:
- '@board3.portal.modules.database_handler'
- '@request'
- '@user'
board3.portal.modules.database_handler:
class: board3\portal\portal\modules\database_handler
arguments:
- '@dbal.conn'
board3.portal.modules.constraints_handler:
class: board3\portal\portal\modules\constraints_handler
arguments: