Commit graph

14 commits

Author SHA1 Message Date
silverpill 6d331f7669 Allow calling follow/unfollow API methods multiple times
For compatibility with Mastodon.
2022-01-03 18:37:07 +00:00
silverpill 3993c76c65 Add API methods for retrieving followers and following lists 2022-01-02 22:06:25 +00:00
silverpill 40958500c1 Add ID column to relationship table 2022-01-02 15:52:20 +00:00
silverpill c11cd26961 Move get_followers to relationships::queries module 2022-01-02 13:42:10 +00:00
silverpill 3662d1a558 Don't call get_relationship in relationships::queries::(un)follow 2021-12-26 15:06:21 +00:00
silverpill f785541205 Delete accepted follow request when unfollowing actor 2021-12-17 22:35:39 +00:00
silverpill 12c21d86f8 Use ULIDs instead of v4 UUIDs for identifiers 2021-12-02 01:36:35 +00:00
silverpill 5547403200 Use macros to create FromSql/ToSql implementations for int enums 2021-11-19 17:47:26 +00:00
silverpill c473070fd4 Configure linter and fix its warnings 2021-11-13 17:37:31 +00:00
silverpill 3d537f5987 Properly catch violations of unique constraint 2021-11-12 23:10:20 +00:00
silverpill b50da3e3a4 Create notification only if recipient is local user 2021-10-29 11:54:17 +00:00
silverpill c4ea2900c8 Notify user about new followers 2021-10-14 15:10:25 +00:00
silverpill 602e4ec229 Add handler for Reject(Follow) activity 2021-09-20 21:06:48 +00:00
silverpill fdef4b6e6a Initial commit 2021-09-14 12:24:05 +00:00