Marnanel Thurman
|
9d1fc571ea
|
"local" is no longer an argument to Create. Skipped one test.
|
2019-05-18 19:05:15 +01:00 |
Marnanel Thurman
|
472cbad85e
|
test_collection moving away from the old ActivityModel model.
More remains to do.
|
2019-05-18 18:41:54 +01:00 |
Marnanel Thurman
|
53be3e3efc
|
Renaming django_kepi.Activity to django_kepi.Thing, preparatory to
merging it with d_k.ActivityModel.
|
2019-05-18 17:41:55 +01:00 |
Marnanel Thurman
|
cdc6e64766
|
Intermediate checkin for task tests
|
2019-05-16 21:02:27 +01:00 |
Marnanel Thurman
|
40dd00697a
|
Test for KepiView producing an OrderedCollection if there are multiple items.
URL that lists all users changed to "/users" for simplicity.
|
2019-05-14 23:01:18 +01:00 |
Marnanel Thurman
|
deb6075986
|
Merged CollectionView into KepiView.
Split off get() from activity() because get() is usually the
same for all KepiViews.
|
2019-05-14 22:48:18 +01:00 |
Marnanel Thurman
|
e58dd2b856
|
partial checkin. Started work on local delivery. Tests don't pass.
|
2019-05-13 00:02:31 +01:00 |
Marnanel Thurman
|
d70a6d2f1f
|
Outgoing messages are signed. Tests added, but they need to be more thorough.
|
2019-05-12 20:07:52 +01:00 |
Marnanel Thurman
|
6e8433492a
|
Test for delivery: fetch remote user inboxes and post to them. Signing outgoing messages is still missing.
|
2019-05-11 23:25:52 +01:00 |
Marnanel Thurman
|
8ce0f13fcd
|
First pass at getting delivery working. Partial commit.
|
2019-05-11 21:52:27 +01:00 |
Marnanel Thurman
|
ed982f2254
|
Remove a lot of unused httpretty stuff.
Activity.create() takes a dict.
|
2019-05-11 21:18:48 +01:00 |
Marnanel Thurman
|
6c23310c0b
|
Finished moving extra fields to the "other_fields" field
|
2019-05-11 21:17:12 +01:00 |
Marnanel Thurman
|
ea6197e5e4
|
moving a lot of the fields of Activity into a TextField called
"other_fields". Not fully tested yet.
|
2019-05-11 20:37:04 +01:00 |
Marnanel Thurman
|
b3e65c8ab6
|
tasks.deliver() -- sketchy implementation
|
2019-05-11 20:34:18 +01:00 |
Marnanel Thurman
|
7599ed4630
|
Merged task tests with validation tests.
This is because validation is now carried out using tasks.
|
2019-05-08 00:32:55 +01:00 |
Marnanel Thurman
|
a92c5fc3c7
|
test_validation() renamed to test_local_lookup(). test_remote_user_known() added.
Old cruft removed.
|
2019-05-06 23:10:54 +01:00 |
Marnanel Thurman
|
18d6c7e83c
|
First part of moving validation entirely to batch processing.
There's still a lot to do.
|
2019-05-06 00:59:19 +01:00 |
Marnanel Thurman
|
e7e572f4bd
|
Remote find works! Hurrah!
|
2019-05-05 03:10:35 +01:00 |
Marnanel Thurman
|
21701eed83
|
Checked in two test modules which should have been in there already.
Removed a hack from KepiTestCase which was part of mock remote objects.
We don't do it that way any more.
|
2019-05-05 02:43:14 +01:00 |
Marnanel Thurman
|
7ab37f84ec
|
Rename test_embellish() to test_embellish_note()
|
2019-04-25 20:01:54 +01:00 |
Marnanel Thurman
|
b287e1f6ea
|
Dictionary subset was backwards!
|
2019-04-25 19:51:24 +01:00 |
Marnanel Thurman
|
d201903750
|
First set of embellish() additions for Notes
|
2019-04-25 19:47:44 +01:00 |
Marnanel Thurman
|
e73a34f10b
|
Partial checkin. Trying to generate the Create activity automatically when a Note (etc) is saved.
|
2019-04-25 01:13:10 +01:00 |
Marnanel Thurman
|
488770e5ba
|
Embellish framework: first stubs
|
2019-04-25 01:12:05 +01:00 |
Marnanel Thurman
|
696192daaa
|
CachedPublicKey renamed to CachedRemoteUser; its pk is the owner URL
and it gains the "inbox" and "outbox" user URLs.
|
2019-04-18 19:32:55 +01:00 |
Marnanel Thurman
|
aab84445da
|
rm extraneous comma
|
2019-04-18 19:26:32 +01:00 |
Marnanel Thurman
|
320624129c
|
Tests for django_kepi.tasks. All passed.
|
2019-04-14 20:52:47 +01:00 |
Marnanel Thurman
|
9ae34685e2
|
test_asyncresult -> test_tasks. Still updating this.
|
2019-04-14 19:27:59 +01:00 |
Marnanel Thurman
|
cb08c6c7db
|
Every module initialises its own logger.
|
2019-04-14 19:18:16 +01:00 |
Marnanel Thurman
|
c7564aabd6
|
First steps on getting test_inbox to pass.
IncomingMessage.waiting_for can be null.
d_k.views creates its own logger.
|
2019-04-10 20:43:37 +01:00 |
Marnanel Thurman
|
bbe19a8d77
|
Restoring old tests I deleted, inadvisably.
|
2019-04-10 20:35:16 +01:00 |
Marnanel Thurman
|
fb4bbe2c49
|
"actor" and "key_id" are now properties of CachedPublicKey, rather than methods.
|
2019-04-10 20:10:46 +01:00 |
Marnanel Thurman
|
6336eac2b2
|
Removed Quarantined* and CachedText because they duplicate what kepi.validation does.
Also removed their tests.
|
2019-04-10 20:09:20 +01:00 |
Marnanel Thurman
|
35be80864c
|
Tests for incoming initial message validation all written and passing.
Still need to write tests for validation of incoming messages where
the key has had to be fetched by a batch process.
|
2019-04-10 17:41:46 +01:00 |
Marnanel Thurman
|
df491d602f
|
Validation tests for local actor and remote actor
|
2019-04-10 06:35:16 +01:00 |
Marnanel Thurman
|
988b27f9f0
|
Generate test messages for validation, instead of supplying literals
|
2019-04-09 20:23:29 +01:00 |
Marnanel Thurman
|
ca6acca571
|
Public/private key pairs for testing.
(These are taken from the alicebobcarol.json fixture in un_chapeau.)
|
2019-04-08 20:52:52 +01:00 |
Marnanel Thurman
|
2303ac635d
|
mock cached key lookup
|
2019-04-08 19:48:06 +01:00 |
Marnanel Thurman
|
4aefc6c51c
|
add background task mock
|
2019-04-08 19:21:23 +01:00 |
Marnanel Thurman
|
0e7c89a03a
|
Bringing the new validation system into models. Many more tests needed.
|
2019-04-07 21:39:11 +01:00 |
Marnanel Thurman
|
528551ca37
|
Test to verify headers. (Not actually a proper test yet.)
|
2019-04-06 21:57:14 +01:00 |
Marnanel Thurman
|
da353f95ec
|
test note
|
2019-04-06 21:56:50 +01:00 |
Marnanel Thurman
|
dbaf53915d
|
rm out of date test
|
2019-03-04 08:01:35 +00:00 |
Marnanel Thurman
|
ee12bd6880
|
intermediate
|
2019-03-03 21:30:18 +00:00 |
Marnanel Thurman
|
c9a4df27c9
|
rm old tests
|
2019-03-03 21:13:00 +00:00 |
Marnanel Thurman
|
0d59ebbc58
|
The contents of a CachedText can be None by default. Tests added.
|
2019-02-16 20:24:43 +00:00 |
Marnanel Thurman
|
27b64f8e4e
|
CachedText model added, with simple test
|
2019-02-16 20:05:14 +00:00 |
Marnanel Thurman
|
63a6d16eed
|
Tests for the "something" model (which has a daft name, which should be changed).
|
2018-10-29 14:28:13 +00:00 |
Marnanel Thurman
|
f00b74b988
|
New approach to caching remote objects
|
2018-10-29 13:35:18 +00:00 |
Marnanel Thurman
|
e6953e329d
|
Renamed methods to avoid confusion.
activity is now activity_form.
find_activity is now activity_find.
django_kepi.resolve is now django_kepi.find.
|
2018-10-12 21:47:18 +01:00 |