Commit graph

63 commits

Author SHA1 Message Date
Adam Kelly
745ca7d4ff Boosts - handle url, store in database, send, notify. 2020-03-30 16:18:37 +01:00
Mouse Reeve
84d7e7c394 Simplifies incoming activity handler 2020-03-29 18:42:34 -07:00
Mouse Reeve
92790d520f code style cleanup 2020-03-29 11:18:42 -07:00
Mouse Reeve
3ead02e05f Rename handle_incoming_whatever functions 2020-03-28 23:52:07 -07:00
Mouse Reeve
952250009b Rename handle_outgoing_whatever to handle_whatever
it's in a file called outgoing.py! you can already tell it's outoging
2020-03-28 19:23:19 -07:00
Mouse Reeve
7862af9729 Adds commenting
works on #59
2020-03-21 16:50:49 -07:00
Mouse Reeve
7455467c40 Unfavorite statuses 2020-03-21 15:21:27 -07:00
Mouse Reeve
e0bd8200ad (Un)follow and boost/like buttons via javascript
Works on #78
2020-03-21 14:29:39 -07:00
Mouse Reeve
1ec515034c Fixes bug in accepting unmanaged follow requests 2020-03-21 14:25:31 -07:00
Adam Kelly
ffe81291ad Use database constraint to prevent relationships with yourself. 2020-03-14 22:20:01 +00:00
Mouse Reeve
4765f965cf Combine html and json views
Fixes #80
2020-03-13 17:57:36 -07:00
Adam Kelly
20662a90dd Generate Reject activities.
Work on checking incoming / outgoing will work alone.
2020-03-13 17:04:39 +00:00
Adam Kelly
6b5644ed00 Generate a notification for pending follow requests. 2020-03-13 13:41:05 +00:00
Mouse Reeve
a8ea3c08c9 Don't duplicate incoming statuses 2020-03-12 17:16:55 -07:00
Mouse Reeve
ee56ae86ec Finishes implementing reply activitypub json
Fixes #24
2020-03-12 16:45:18 -07:00
Adam Kelly
b21c5fc98f Update follow and unfollow to use UserFollowRequest & UserFollows. 2020-03-11 12:37:19 +00:00
Mouse Reeve
a47f573b2b Fixes storage of remote statuses 2020-03-10 12:04:38 -07:00
Adam Kelly
e1fa7a73cc Don't automatically accept follows if the user doesn't want to. 2020-03-09 21:16:46 +00:00
Mouse Reeve
f4008eb8c8 Adds notifications
Fixes #70
2020-03-07 14:51:04 -08:00
Mouse Reeve
e45b04f22e Adds published date separate from created date 2020-03-06 16:35:56 -08:00
Adam Kelly
592c2b7dfd Reverse user_subject & user_object.
In the relationships table:

user_subject should be the user doing the following.
user_object should be the user who is followed.

This fixes a bug where unfollowing a user deletes the relationship in
both directions.
2020-02-24 16:10:09 +00:00
Adam Kelly
8cbca4229f Add following as a related_name for followers. 2020-02-24 15:10:03 +00:00
Mouse Reeve
20522cbd11 Minor formatting changes 2020-02-23 13:24:23 -08:00
Adam Kelly
25e49d8ba2 Handle and ignore duplicate follower error. 2020-02-23 09:37:21 +00:00
Mouse Reeve
76d2e20742 cleans up urls and views 2020-02-22 14:02:03 -08:00
Mouse Reeve
bc4e65ae81 Fixes incoming tagging 2020-02-20 22:37:50 -08:00
Mouse Reeve
870d0b9697 Tagging
Works on #55
2020-02-20 22:19:19 -08:00
Mouse Reeve
a664ad3328 Adds favorit handling 2020-02-19 00:13:06 -08:00
Mouse Reeve
95bfb61cf3 Follow/unfollow behavior
Fixes #23
2020-02-18 22:44:13 -08:00
Mouse Reeve
14d300162d Send a different review to mastodon than to fedireads 2020-02-18 17:30:23 -08:00
Mouse Reeve
0447fef279 Fixes replies ap access 2020-02-17 21:58:02 -08:00
Mouse Reeve
5a3bc37bca MOves replies formatter out of incoming 2020-02-17 21:50:30 -08:00
Mouse Reeve
0d4f6851b9 small fixes for replies 2020-02-17 21:42:09 -08:00
Mouse Reeve
9194b3c50d Adds commenting 2020-02-17 21:39:08 -08:00
Mouse Reeve
ff5217efd8 Moves incoming activitypub json to module 2020-02-17 21:23:08 -08:00
Mouse Reeve
75ef3baabd Move activitypub serialization into a module 2020-02-17 20:12:19 -08:00
Mouse Reeve
b6964dd8aa Bug fixes and absolute ids 2020-02-17 17:53:40 -08:00
Mouse Reeve
4eeb842350 Status updates for shelving actions 2020-02-16 18:45:25 -08:00
Mouse Reeve
f28ee934fc Stop storing activitypub json in db entirely 2020-02-16 18:22:01 -08:00
Mouse Reeve
296bb379ec Small syntax fix 2020-02-15 13:14:43 -08:00
Mouse Reeve
f39cc6530b Formatting and display fixes 2020-02-15 13:07:57 -08:00
Mouse Reeve
8bd566bccb Endpoint for status 2020-02-15 12:32:40 -08:00
Mouse Reeve
cea458acdd Adds more urls 2020-02-15 11:31:35 -08:00
Mouse Reeve
818e5bd0fa Trying to get federated posting to work 2020-02-15 11:13:49 -08:00
Mouse Reeve
e0e419a757 Fixes accept follow request
Fixes #3
2020-02-14 22:44:07 -08:00
Mouse Reeve
6df9700604 Sanitizes html input 2020-02-14 21:45:13 -08:00
Mouse Reeve
f414884e00 Fixes duplicate save attempt of review 2020-02-14 21:15:38 -08:00
Mouse Reeve
cc1f222431 Cleans up review logic 2020-02-14 21:00:11 -08:00
Mouse Reeve
4aa4898484 Tidies up inbox code 2020-02-14 20:37:02 -08:00
Mouse Reeve
48d92f1990 Handle follow request accept activities 2020-02-14 20:24:35 -08:00