Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 655
    • Issues 655
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 99
    • Merge requests 99
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleromapleroma
  • Merge requests
  • !3805

Add mix task to send a notifaction, with a web push

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Duponin requested to merge Duponin/pleroma:fix-463 into develop Dec 13, 2022
  • Overview 5
  • Commits 2
  • Pipelines 2
  • Changes 2

Sending only a Push notification can't be done, it needs a Notification. Creating a notification needs an activity. Creating an activity needs an object. That's why it's running throughout the whole process.

It isn't really clean because it's forging a post, it might be acceptable to perform it from an account like "admin" or similar.

That said, you can't use Pleroma's builtin users ('relay' and 'internal.fetch') because they are invisible and stripped out from notification creation pipeline. It would have been a better solution, to have real administrative users.

Close #463

Edited Dec 13, 2022 by Duponin
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-463