Wykres commitów

11 Commity (e8d217ac449765c48527a2fe02f428a920854a9f)

Autor SHA1 Wiadomość Data
Marnanel Thurman 7b5408ed4c Sort out model identifiers in things_for_testing 2018-09-27 17:53:25 +01:00
Marnanel Thurman 16a023e9df Search for ThingUsers by URL, not name 2018-09-27 14:27:36 +01:00
Marnanel Thurman 1f027c2968 Check for Follows which are accepted, now that "accepted" is tracked. 2018-09-18 23:11:48 +01:00
Marnanel Thurman 2b29a8e8e2 Removed all the old Cobject stuff, at last. This confused
makemigrations so much that I killed all the existing migrations
and started again.

Activity fields representing key+value pairs all begin with "f_"
because it was getting confusing when only some of them did.

Activity.deserialize() renamed Activity.create().

The tests don't all pass at present, but they will soon.
2018-09-16 21:42:27 +01:00
Marnanel Thurman f515b3767f ThingUser.serialize() -> activity property.
also, "Queen Anne" is a magic value for throwing a Tombstone in testing
2018-09-06 18:31:16 +01:00
Marnanel Thurman 27c218e42b Check both following and followed views 2018-09-01 22:54:51 +01:00
Marnanel Thurman 514f5ecadf Tests for FollowersView (they pass) 2018-09-01 18:19:48 +01:00
Marnanel Thurman dd8daa7f66 Added tests to ensure that other apps can make to our data.
Reworked Actor: the only thing we know about an Actor is their URL.
Removed tests for Followers collections because it's hard to test
without subclassing the view. I may put it back in later.
2018-08-30 00:59:38 +01:00
Marnanel Thurman 6e63dcdeab Actor's "name" is a URLField, not a CharField.
The identifying URL is the only information we can be sure we have.

ThingUser's "name" field is modified similarly.

get_or_make() method is added to Actor.

ThingUser's as_activity() method is renamed to serialize() for consistency.
2018-08-29 20:21:39 +01:00
Marnanel Thurman c04a83e442 intermediate 2018-08-27 18:53:52 +01:00
Marnanel Thurman 1c09eb1d5d one-to-one links from ActivityObject 2018-08-12 14:06:26 +01:00