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
8aa62d5abd
Fields unique to Actor have the "f_" prefix if they're fields of the Thing.
...
For example, publicKey becomes f_publicKey. This allows polymorphic subscripting.
Also, cleaned up some of the code from before we introduced polymorphism.
2019-07-18 14:27:21 +01:00
Marnanel Thurman
f2a5a3eca7
Delivery to collections
2019-06-15 19:13:43 +01:00
Marnanel Thurman
c8193491e2
test_remote_followers(), which fails at present
...
because delivery doesn't do collections yet
2019-06-14 21:18:22 +01:00
Marnanel Thurman
852a8541c0
"Public" and "as:Public" work as synonyms for the public collection.
...
Some outdated comments removed.
2019-06-13 19:38:26 +01:00
Marnanel Thurman
ec6ffec965
Delivery test system greatly simplified. Basic tests added, which pass.
2019-06-13 18:50:55 +01:00
Marnanel Thurman
954a6fb627
Using httpretty for testing delivery
2019-06-03 23:04:20 +01:00
Marnanel Thurman
32689cba82
create_person() renamed to create_local_person()
2019-05-29 09:54:45 +01:00
Marnanel Thurman
47d2989d29
A bunch of shared code moved to tests/__init__, with the underscore prefixes removed.
2019-05-27 21:18:28 +01:00
Marnanel Thurman
824c082011
Partial checkin; renaming d_k.tasks to d_k.deliver now we've
...
split validation away from it.
2019-05-24 20:40:02 +01:00