MastodonAPI: Support poll notification
authorAlex Gleason <alex@alexgleason.me>
Sun, 18 Jul 2021 01:35:35 +0000 (20:35 -0500)
committerAlex Gleason <alex@alexgleason.me>
Sun, 18 Jul 2021 03:19:38 +0000 (22:19 -0500)
commit0114754db2d9dde25b31729644f898f20121de27
tree72c5f8bf0890ebbcf2f7876db99e1308b28689f9
parentb221d77a6da07c684bdbc63ddf4500e0d7ffeae8
MastodonAPI: Support poll notification
14 files changed:
config/config.exs
lib/pleroma/notification.ex
lib/pleroma/web/activity_pub/activity_pub.ex
lib/pleroma/web/api_spec/operations/notification_operation.ex
lib/pleroma/web/mastodon_api/controllers/notification_controller.ex
lib/pleroma/web/mastodon_api/views/notification_view.ex
lib/pleroma/web/push/subscription.ex
lib/pleroma/workers/poll_worker.ex [new file with mode: 0644]
priv/repo/migrations/20210717000000_add_poll_to_notifications_enum.exs [new file with mode: 0644]
test/pleroma/notification_test.exs
test/pleroma/web/common_api_test.exs
test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
test/pleroma/web/mastodon_api/views/notification_view_test.exs
test/support/factory.ex