Marnanel Thurman
5ea5e6193f
Drop YourPerson. It was only confusing things.
2018-09-01 22:54:30 +01:00
Marnanel Thurman
abb30341f7
Version number bump
2018-09-01 18:20:44 +01:00
Marnanel Thurman
514f5ecadf
Tests for FollowersView (they pass)
2018-09-01 18:19:48 +01:00
Marnanel Thurman
2ff911de96
The return of FollowersView
2018-09-01 18:19:10 +01:00
Marnanel Thurman
81a27fb853
ActivityObjectView delegates to its subclass for content via objectDetails().
...
Actor has a string representation.
FollowersView removed for now, because testing it is too fiddly
(it's not obvious how to construct the URL for the test client
now that we're using URLs as identifiers). It may be back later.
Version number bump.
2018-08-31 17:55:57 +01:00
Marnanel Thurman
a98d508cd3
oops, forgot migration
2018-08-30 19:59:48 +01:00
Marnanel Thurman
5a7307a0cf
RequestingAccess had some singulars and plurals the wrong way round
2018-08-30 19:54:25 +01:00
Marnanel Thurman
194fa96f12
Version number bump to 0.0.10
2018-08-30 01:03:24 +01:00
Marnanel Thurman
02017f8c3a
build/ and dist/ into .gitignore
2018-08-30 01:02:52 +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
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
482033504d
some models added to the admin console; also, version bump to 0.0.9
2018-08-28 22:29:11 +01:00
Marnanel Thurman
1f787fd851
fixed manifest so we get migrations
2018-08-28 22:28:33 +01:00
Marnanel Thurman
9cb6469ecb
name, not username. Version bump.
2018-08-28 15:44:47 +01:00
Marnanel Thurman
d54103b3a5
RequestingAccess model
2018-08-28 14:22:45 +01:00
Marnanel Thurman
7ab0d11b30
Version number bump (oops)
2018-08-28 14:06:09 +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
256822ddbc
version number bump to 0.0.2
2018-08-28 13:17:11 +01:00
Marnanel Thurman
91d9066f53
make_query_page() and render() become methods of ActivityObjectView;
...
CollectionView becomes a subclass of ActivityObjectView in order to
use them.
2018-08-28 13:16:07 +01:00
Marnanel Thurman
86df132551
built stub methods; basic tests pass
2018-08-27 19:13:30 +01:00
Marnanel Thurman
61a3c2e020
Collection tests pass
2018-08-27 19:06:39 +01:00
Marnanel Thurman
c04a83e442
intermediate
2018-08-27 18:53:52 +01:00
Marnanel Thurman
e196010b82
OrderedCollectionPage tests fixed further
2018-08-26 22:44:56 +01:00
Marnanel Thurman
507a39ee0e
fixed expression deciding when to include 'next' in collection pages
2018-08-26 22:44:27 +01:00
Marnanel Thurman
1c33a052c5
Tests now work with paging correctly
2018-08-26 22:21:09 +01:00
Marnanel Thurman
031826dd93
tests check for page contents correctly, but don't yet account for multiple pages
2018-08-26 21:16:04 +01:00
Marnanel Thurman
f310a57672
oops, follower, not following
2018-08-26 21:03:56 +01:00
Marnanel Thurman
da0af79011
_stringify_object
2018-08-26 21:03:00 +01:00
Marnanel Thurman
f31caf1264
intermediate
2018-08-26 20:07:27 +01:00
Marnanel Thurman
d7dfbee52d
can test followers collection up to 100
2018-08-26 19:35:08 +01:00
Marnanel Thurman
9157c2f215
intermediate
2018-08-26 19:27:45 +01:00
Marnanel Thurman
26720a9b69
fix urldefrag call
2018-08-25 00:07:36 +01:00
Marnanel Thurman
dbf8f149c0
intermediate
2018-08-25 00:04:08 +01:00
Marnanel Thurman
d3e90ec4c7
intermediate
2018-08-24 19:29:35 +01:00
Marnanel Thurman
38fbaf3366
intermediate
2018-08-24 18:13:57 +01:00
Marnanel Thurman
cacb67345e
Starting to get the tests in order
2018-08-20 20:14:49 +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
e1a3aca719
intermediate
2018-08-19 21:47:54 +01:00
Marnanel Thurman
f9c3447013
is_local
2018-08-19 19:02:40 +01:00
Marnanel Thurman
0f88fad085
objects have default url IDs
2018-08-19 19:02:11 +01:00
Marnanel Thurman
77a440b2a7
Merge branch 'master' of gitlab.com:marnanel/django-kepi
2018-08-19 17:48:43 +01:00
Marnanel Thurman
0d8017ac5e
added url_identifier to test ThingUser model
2018-08-19 17:47:46 +01:00
Marnanel Thurman
27098c9bfa
recursive serializer; foo_as_url methods
2018-08-19 17:47:11 +01:00
Marnanel Thurman
a1539b0b1a
recursive serializer; foo_as_url methods
2018-08-19 17:41:07 +01:00
Marnanel Thurman
0c07191660
it's the instance that has the data, not the class
2018-08-19 16:56:18 +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
be18932ca3
intermediate
2018-08-19 04:11:44 +01:00