Commit graph

79 commits

Author SHA1 Message Date
Adam Kelly
12bedf3316 Allow arguments to fr-dev test 2020-05-15 11:22:27 +01:00
Adam Kelly
b212456d0d Move signature code into fedireads.signatures. 2020-05-15 11:18:41 +01:00
Mouse Reeve
3e02123a0d Updates for broadcast changes 2020-05-13 18:23:54 -07:00
Mouse Reeve
e76f96eb6c Unify concept of absolute_id and remote_id 2020-05-13 09:28:48 -07:00
Adam Kelly
2db4da4061 Check all signatures are signed by the right actor. 2020-05-13 12:36:06 +01:00
Adam Kelly
5d4076d628 Use public key from db if available. 2020-05-13 12:36:06 +01:00
Mouse Reeve
72b4e7da76 Small code cleanup 2020-05-10 11:29:10 -07:00
Mouse Reeve
ee7c04cc7e code style cleanup 2020-05-09 16:16:23 -07:00
Mouse Reeve
3a4a194160 Path to update books 2020-05-03 18:56:29 -07:00
Mouse Reeve
bcd54f52f3 Only accept Create Status activities related to existing statuses 2020-05-03 14:55:13 -07:00
Mouse Reeve
4f9edae05a
Merge pull request #150 from cthulahoops/async_import
Async import
2020-04-27 10:15:43 -07:00
Adam Kelly
fba78d7a0e Style fixes suggested by pylint. 2020-04-22 14:53:22 +01:00
Adam Kelly
881cc4d64b First draft async imports. 2020-04-22 12:43:55 +01:00
Mouse Reeve
2d4c2a7ee2 Process incoming federated quotes
Fixes #149
2020-04-20 16:37:53 -07:00
Mouse Reeve
aeb648a8d5 Turn incoming activities into tasks 2020-03-31 17:00:01 -07:00
Mouse Reeve
bb04a40044 Move to redis and fix a bunch of things 2020-03-31 16:31:33 -07:00
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