Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] WebPush push notification support #1350

Open
dbkr opened this issue Jan 16, 2023 · 0 comments · May be fixed by #3587
Open

[feature] WebPush push notification support #1350

dbkr opened this issue Jan 16, 2023 · 0 comments · May be fixed by #3587
Labels
enhancement New feature or request future tech Powerful technology to be added in the future.

Comments

@dbkr
Copy link
Contributor

dbkr commented Jan 16, 2023

Is your feature request related to a problem ?

Client that use the Mastodon WebPush API for notifications currently aren't able to send push notifications since GtS doesn't support the WebPush API.

Describe the solution you'd like.

GtS could implement the Mastodon push API (https://docs.joinmastodon.org/methods/push/) which would allow notifications to work in these clients.

I think this would involve something along the lines of:

  • Adding endpoints to subscribe to notifications, get, edit and remove subscriptions
  • Storing the current subscriptions in the database along with what they're subscribed to
  • A component that sends pokes to the endpoint given by the client in the subscription payload
  • Encrypting the payloads of those pokes with ECDH / AES

Resources:

Describe alternatives you've considered.

GtS supports pull-based notifications currently, so any apps that use this by polling will be able to support notifications without issue.

Additional context.

This would fix #1139

@dbkr dbkr added the enhancement New feature or request label Jan 16, 2023
@tsmethurst tsmethurst added the future tech Powerful technology to be added in the future. label Jan 16, 2023
@tsmethurst tsmethurst changed the title [feature] WebPush Support [feature] WebPush push notification support Jun 16, 2024
@VyrCossont VyrCossont linked a pull request Dec 1, 2024 that will close this issue
27 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request future tech Powerful technology to be added in the future.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants