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:
@@ -256,3 +256,5 @@ services:
|
||||
- '%core.php_ext%'
|
||||
- '%tables.notification_push%'
|
||||
- '%tables.push_subscriptions%'
|
||||
tags:
|
||||
- { name: notification.method }
|
||||
|
@@ -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'
|
||||
|
@@ -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 }
|
||||
|
Reference in New Issue
Block a user