Add ability to follow hashtags (#336)
authorfloatingghost <hannah@coffee-and-dreams.uk>
Sun, 4 Dec 2022 17:36:59 +0000 (17:36 +0000)
committerfloatingghost <hannah@coffee-and-dreams.uk>
Sun, 4 Dec 2022 17:36:59 +0000 (17:36 +0000)
commit4a94c9a31ef11f63ea71ad9c1f085c18cf8ef083
treed1ad0f9400ee2b46698ca2fa94052f149286ca36
parent6b882a2c0b98bdf94bc557f86c2d16460d90f44e
Add ability to follow hashtags (#336)

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/336
18 files changed:
lib/mix/tasks/pleroma/user.ex
lib/pleroma/hashtag.ex
lib/pleroma/user.ex
lib/pleroma/user/hashtag_follow.ex [new file with mode: 0644]
lib/pleroma/web/activity_pub/activity_pub.ex
lib/pleroma/web/api_spec/operations/tag_operation.ex [new file with mode: 0644]
lib/pleroma/web/api_spec/schemas/tag.ex
lib/pleroma/web/mastodon_api/controllers/tag_controller.ex [new file with mode: 0644]
lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex
lib/pleroma/web/mastodon_api/views/tag_view.ex [new file with mode: 0644]
lib/pleroma/web/router.ex
lib/pleroma/web/streamer.ex
priv/repo/migrations/20221203232118_add_user_follows_hashtag.exs [new file with mode: 0644]
test/pleroma/user_test.exs
test/pleroma/web/activity_pub/activity_pub_test.exs
test/pleroma/web/mastodon_api/controllers/tag_controller_test.exs [new file with mode: 0644]
test/pleroma/web/streamer_test.exs
test/support/factory.ex