Wykres commitów

33 Commity (b287e1f6eae91312e9ff2295773186b39b255736)

Autor SHA1 Wiadomość Data
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 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 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 fb4bbe2c49 "actor" and "key_id" are now properties of CachedPublicKey, rather than methods. 2019-04-10 20:10:46 +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 0e7c89a03a Bringing the new validation system into models. Many more tests needed. 2019-04-07 21:39:11 +01: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 fa193e5bd7 intermediate checkin 2018-10-29 13:43:12 +00:00
Marnanel Thurman a813e7972a nuke all migrations and start again 2018-10-14 02:09:14 +01:00
Marnanel Thurman 6350ebe886 QuarantinedMessageNeeds are unique per (message, URL) 2018-09-23 23:57:09 +01:00
Marnanel Thurman 333c8590c7 enable celery 2018-09-23 21:59:13 +01:00
Marnanel Thurman cb5f115e45 Add "accepted" flag to Activity, which is a special case for Follows. Seems a bit hacky, though.
f_type becomes a CharField, because it was a URLField, which is blatantly wrong.

Activity now has the relevant properties to make it able to consider itself as an object type.
2018-09-18 23:10:58 +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 75eb3d6764 QuarantinedMessage, and an InboxView to create them 2018-09-13 16:06:33 +01:00
Marnanel Thurman 2325fe86c4 some migrations which should have been committed! 2018-09-12 02:51:16 +01:00
Marnanel Thurman 553c3d8d3d Okay, the NamedObject table was a mistake. Let's use the existing registration system. 2018-09-06 23:01:18 +01:00
Marnanel Thurman 928934eab2 First steps with the resolver 2018-09-06 20:00:39 +01:00
Marnanel Thurman a98d508cd3 oops, forgot migration 2018-08-30 19:59: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 d54103b3a5 RequestingAccess model 2018-08-28 14:22:45 +01:00
Marnanel Thurman 4d9dd5227d Foreign keys of Blocking have the correct names, and not Following's names! 2018-08-28 14:05:13 +01:00
Marnanel Thurman a18846b409 Added Blocking relationship. Version number bump to 0.0.3. Tests are passing. 2018-08-28 13:57:38 +01:00
Marnanel Thurman 38fbaf3366 intermediate 2018-08-24 18:13:57 +01:00
Marnanel Thurman 8fb9844a92 intermediate 2018-08-20 16:08:06 +01:00
Marnanel Thurman 354eee6a47 let's use a SlugField to identify Activities 2018-08-20 00:33:40 +01:00
Marnanel Thurman 8e9b36696a actually let's just not bother with Register 2018-08-20 00:10:19 +01:00
Marnanel Thurman f68205fa1c Corrected null handling on models 2018-08-19 01:33:37 +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
Marnanel Thurman caeeceea5d further intermediate work 2018-08-11 17:21:56 +01:00
Marnanel Thurman 82ff157579 django-kepi -> django_kepi, what was I thinking 2018-08-07 16:34:36 +01:00