Marnanel Thurman
|
f73e8dfbd1
|
you can have no F=V pairs with kepicreate
|
2019-06-17 20:45:30 +01:00 |
Marnanel Thurman
|
c89fb32dd9
|
management commands: kepicreate, kepilist
|
2019-06-17 20:38:18 +01:00 |
Marnanel Thurman
|
ffbec4bd09
|
"pretty" property for pretty-printing a Thing.
__getitem__() returns None if its argument is not found.
__getitem__("number") returns the serial number.
|
2019-06-17 20:37:20 +01:00 |
Marnanel Thurman
|
f2a5a3eca7
|
Delivery to collections
|
2019-06-15 19:13:43 +01:00 |
Marnanel Thurman
|
febda23a04
|
match_querystring on test collections, otherwise paging fails
|
2019-06-15 00:41:05 +01:00 |
Marnanel Thurman
|
e7b26ccd73
|
Refactor delivery into local and remote fns
|
2019-06-15 00:33:32 +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
|
42a42dbce0
|
create_remote_collection(). Plus some new constants.
|
2019-06-14 21:09:43 +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
|
8e9193c796
|
Pass inbox name into local POST handler, as if it came in via HTTP
|
2019-06-13 18:49:55 +01:00 |
Marnanel Thurman
|
7d5b635012
|
rm confusing debug message
|
2019-06-08 23:33:21 +01:00 |
Marnanel Thurman
|
ca144feeae
|
Intermediate checkin; local delivery works a bit better
|
2019-06-08 23:27:55 +01:00 |
Marnanel Thurman
|
d633ef4c08
|
fixed Audience debug messages to be similar to ThingField
|
2019-06-07 13:57:43 +01:00 |
Marnanel Thurman
|
02baeaa1f4
|
Thing adds Audiences for audience fields. Plus test.
|
2019-06-07 13:56:20 +01:00 |
Marnanel Thurman
|
b0a5b78f75
|
missing comma
|
2019-06-07 13:53:08 +01:00 |
Marnanel Thurman
|
1841276ae3
|
Thing's debug logging looks more like Audience's
|
2019-06-05 00:13:57 +01:00 |
Marnanel Thurman
|
51b8d7f347
|
new Audience model, plus tests. Not yet linked in to Thing.
|
2019-06-05 00:07:05 +01:00 |
Marnanel Thurman
|
63a3a82356
|
Sorted ACTIVITY_TYPE_CHOICES per https://code.djangoproject.com/ticket/30505
|
2019-06-05 00:06:23 +01:00 |
Marnanel Thurman
|
82cd4671a5
|
rm spurious warn
|
2019-06-05 00:05:29 +01:00 |
Marnanel Thurman
|
954a6fb627
|
Using httpretty for testing delivery
|
2019-06-03 23:04:20 +01:00 |
Marnanel Thurman
|
c15c38c287
|
calls to create() use the new param format
|
2019-06-03 23:04:08 +01:00 |
Marnanel Thurman
|
3eb0aa5666
|
mock_remote_object() gains "as_post" param
|
2019-06-03 23:03:09 +01:00 |
Marnanel Thurman
|
2dcc7e043f
|
check for None before checking for type.
Thing and Actor implement __contains__.
|
2019-06-03 23:02:43 +01:00 |
Marnanel Thurman
|
7a57d691df
|
Tombstones. Closes #7.
|
2019-05-29 12:37:51 +01:00 |
Marnanel Thurman
|
fb1444e4ef
|
Actors have an activity_form
|
2019-05-29 11:49:02 +01:00 |
Marnanel Thurman
|
244da31b47
|
test_activity brought up to date with changes in create() params
|
2019-05-29 11:42:57 +01:00 |
Marnanel Thurman
|
1a9e124e57
|
Thing.create() takes params as params rather than as a dict, like its Django core counterparts.
|
2019-05-29 11:34:43 +01:00 |
Marnanel Thurman
|
243e1d9ca0
|
mock_remote_object() allows its content to be bytes or string
|
2019-05-29 11:18:10 +01:00 |
Marnanel Thurman
|
03b9262402
|
checking for invalid remote JSON
|
2019-05-29 11:17:56 +01:00 |
Marnanel Thurman
|
f70c27ec2d
|
test_auto_follow() sends signed message. Closes #1.
|
2019-05-29 10:56:24 +01:00 |
Marnanel Thurman
|
47e0a58a22
|
Body of IncomingMessage is json-encoded, not Python encoded
|
2019-05-29 10:55:55 +01:00 |
Marnanel Thurman
|
bb2685476a
|
create_remote_person can pass arbitrary extra fields to mock_remote_object
|
2019-05-29 10:46:15 +01:00 |
Marnanel Thurman
|
bbef535b56
|
Cut test_all_parts_known() because it duplicates other tests
|
2019-05-29 10:37:25 +01:00 |
Marnanel Thurman
|
572b4e608e
|
Test for invalid UTF-8
|
2019-05-29 10:36:37 +01:00 |
Marnanel Thurman
|
d93212320b
|
Malformed JSON gets 400
|
2019-05-29 10:31:26 +01:00 |
Marnanel Thurman
|
0713dec537
|
More constants; rm extraneous comma
|
2019-05-29 10:31:12 +01:00 |
Marnanel Thurman
|
2ee4b416a5
|
Require incoming messages to be application/activity+json or application/json
|
2019-05-29 10:22:00 +01:00 |
Marnanel Thurman
|
b5a3aa1dbd
|
test_shared_post() passes
|
2019-05-29 09:58:52 +01:00 |
Marnanel Thurman
|
32689cba82
|
create_person() renamed to create_local_person()
|
2019-05-29 09:54:45 +01:00 |
Marnanel Thurman
|
a7948a76d0
|
create_remote_person()
|
2019-05-29 09:52:52 +01:00 |
Marnanel Thurman
|
54465e537e
|
Thing.__str___ improved, though I'm still not quite happy with it
|
2019-05-29 09:50:01 +01:00 |
Marnanel Thurman
|
0b3ee9a226
|
more default params for post_test_message
|
2019-05-29 09:45:28 +01:00 |
Marnanel Thurman
|
13b6370cb2
|
No need to create a separate Client
|
2019-05-29 09:43:37 +01:00 |
Marnanel Thurman
|
f71e8f0382
|
test_specific_post actually has assertions in it (oops)
Test user for test_specific_post has auto_follow=False so we don't create extra Activities.
|
2019-05-29 09:42:35 +01:00 |
Marnanel Thurman
|
d0786af451
|
auto_follow is an Actor field
|
2019-05-29 09:42:11 +01:00 |
Marnanel Thurman
|
00116bbf85
|
rm extra header in call in post_test_message()
|
2019-05-29 09:33:51 +01:00 |
Marnanel Thurman
|
038d0ca2d1
|
post_test_message()
|
2019-05-29 09:32:20 +01:00 |
Marnanel Thurman
|
dadff3a45d
|
test_specific_post passes
|
2019-05-29 09:16:43 +01:00 |
Marnanel Thurman
|
34b6c59e30
|
create_person() always creates an Actor object, even with no extra data for it.
test_message() split into test_message() and test_message_body_and_headers().
|
2019-05-29 09:15:39 +01:00 |