Marnanel Thurman
eef4405280
tests.mastodon.test_create passes!
...
Public collection IDs are now exported from d_k.__init__ as a set.
user['following'] etc are returned as URLs, not paths.
side_effects.create() goes to some trouble to check whether a new object is relevant to us,
and rejects it if it isn't.
2019-08-11 19:44:49 +01:00
Marnanel Thurman
ea74909726
Side effect for "Follow" uses the new class methods in Following
2019-08-10 20:21:27 +01:00
Marnanel Thurman
b17af6f62b
Removing d_k/types.py and doing the whole thing via polymorphic models.
...
Model names are their ActivityPub types.
As a result, Thing is renamed to Object.
2019-08-05 15:26:40 +01:00
Marnanel Thurman
acf2ff5b04
Side-effects for "Follow" work properly now.
2019-08-04 22:44:53 +01:00
Marnanel Thurman
a6a42576cb
activity.go_into_outbox_if_local() called by FollowersView,
...
not as a special case of side effect.
2019-08-01 16:17:55 +01:00
Marnanel Thurman
20d82ba511
Create's side effect includes going into outbox if local
2019-07-31 20:40:05 +01:00
Marnanel Thurman
55aaff9a4a
Removed extraneous deletes() on errors, because Thing will delete for us.
...
delete() implemented.
2019-07-22 17:59:59 +01:00
Marnanel Thurman
270e55b1af
Introduced django_kepi.side_effects, to move all that special-case
...
code out of django_kepi.models.thing.
2019-07-22 17:30:15 +01:00