Wykres commitów

10 Commity (abb30341f747a9a67e830b640f762b0636131266)

Autor SHA1 Wiadomość Data
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 86df132551 built stub methods; basic tests pass 2018-08-27 19:13:30 +01:00
Marnanel Thurman c04a83e442 intermediate 2018-08-27 18:53:52 +01:00
Marnanel Thurman 38fbaf3366 intermediate 2018-08-24 18:13:57 +01:00
Marnanel Thurman e1a3aca719 intermediate 2018-08-19 21:47:54 +01:00
Marnanel Thurman 0d8017ac5e added url_identifier to test ThingUser model 2018-08-19 17:47:46 +01:00
Marnanel Thurman 368434fd89 renamed activity_fields() to serialize() throughout. rm old call to register_type which no longer exists 2018-08-19 16:49:48 +01:00
Marnanel Thurman 737e58d6cd Rewrite of much of django_kepi/models.py to use GenericForeignKeys.
Unfortunately, now the tests break...
2018-08-18 20:21:39 +01:00
Marnanel Thurman 1c09eb1d5d one-to-one links from ActivityObject 2018-08-12 14:06:26 +01:00