1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 11:13:59 +02:00

[ticket/17010] Add first webpush controller and start ucp integration

PHPBB3-17010
This commit is contained in:
Marc Alexander
2022-09-25 20:23:21 +02:00
parent 9bd9962aea
commit 199bc8f964
8 changed files with 145 additions and 35 deletions

View File

@@ -256,3 +256,5 @@ services:
- '%core.php_ext%'
- '%tables.notification_push%'
- '%tables.push_subscriptions%'
tags:
- { name: notification.method }

View File

@@ -15,3 +15,8 @@ services:
- '%tables.users%'
- '%core.root_path%'
- '%core.php_ext%'
phpbb.ucp.controller.push_worker:
class: phpbb\ucp\controller\webpush
arguments:
- '@config'

View File

@@ -5,3 +5,11 @@ phpbb_ucp_reset_password_controller:
phpbb_ucp_forgot_password_controller:
path: /forgot_password
defaults: { _controller: phpbb.ucp.controller.reset_password:request }
phpbb_ucp_push_worker_controller:
path: /push/worker
defaults: { _controller: phpbb.ucp.controller.webpush:request }
phpbb_ucp_push_subscribe_controller:
path: /push/subscribe
defaults: { _controller: phpbb.ucp.controller.webpush:request }