Wykres commitów

102 Commity (d5ccee5e2abfb8a192d511faaf3530ec0be2d99f)

Autor SHA1 Wiadomość Data
Marnanel Thurman d5ccee5e2a Don't check Iterable-- strings are iterable! 2018-09-07 14:54:26 +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 5b98d22c42 test_collection_with_overridden_transform() 2018-09-06 18:53:18 +01:00
Marnanel Thurman c066ff7e80 test_tombstone_collection_response() added
CollectionResponse correctly uses x.activity instead of str(x)

CollectionResponse handles TombstoneException correctly
2018-09-06 18:47:24 +01:00
Marnanel Thurman 20101646af TombstoneException imported properly 2018-09-06 18:47:01 +01:00
Marnanel Thurman f515b3767f ThingUser.serialize() -> activity property.
also, "Queen Anne" is a magic value for throwing a Tombstone in testing
2018-09-06 18:31:16 +01:00
Marnanel Thurman 45e8772430 test_collection_response_spills() 2018-09-06 18:26:11 +01:00
Marnanel Thurman 7895641ec3 ThingUser.__str__ 2018-09-06 18:23:53 +01:00
Marnanel Thurman 52855a96b4 Don't assert that collections are ordered; they're always ordered 2018-09-06 17:21:17 +01:00
Marnanel Thurman 852b57ddce test contents of page 1 in collection response 2018-09-06 17:18:21 +01:00
Marnanel Thurman 95b15477d6 rm note 2018-09-06 17:10:06 +01:00
Marnanel Thurman 2f652d1d33 replace refs to activity_get() with the activity property 2018-09-06 17:09:31 +01:00
Marnanel Thurman 59fe9d4372 test_collection_response, for index pages. Content pages to follow'. 2018-09-06 16:09:32 +01:00
Marnanel Thurman efe245739b Fixed call to __super__.__init__() in CollectionResponse. Re-added _make_index_page. 2018-09-06 16:08:43 +01:00
Marnanel Thurman 69f26c183f __str__ on TombstoneException 2018-09-06 15:50:27 +01:00
Marnanel Thurman ce4ccf95ca test_tombstone_object_response. Also, checked response status code in test_object_response. 2018-09-06 15:47:36 +01:00
Marnanel Thurman 99ef7250aa qualify TombstoneResponse 2018-09-06 15:44:20 +01:00
Marnanel Thurman f750b8e9a0 test_empty_response, test_object_response 2018-09-06 15:40:46 +01:00
Marnanel Thurman 7778f0a512 test_tombstone_exception 2018-09-06 15:30:26 +01:00
Marnanel Thurman 84c5afb403 intermediate 2018-09-05 23:11:18 +01:00
Marnanel Thurman 3da527d639 intermediate 2018-09-05 23:09:11 +01:00
Marnanel Thurman f2b8c6b7c8 First sketch of splitting out the responses from the views 2018-09-05 22:53:50 +01:00
Marnanel Thurman f19440498d yet more readme work. Still much to do 2018-09-05 18:03:11 +01:00
Marnanel Thurman 426426aaed yet more readme work. Still much to do 2018-09-05 17:21:41 +01:00
Marnanel Thurman d7b6d2834a yet more readme work. Still much to do 2018-09-05 17:20:10 +01:00
Marnanel Thurman 39b6db7c9e more readme work. Still much to do 2018-09-05 17:01:43 +01:00
Marnanel Thurman e1f932c05b README.md 2018-09-04 22:58:27 +01:00
Marnanel Thurman 51c9129fec Actor.__str__ uses self to access member variables. Silly mistake.
Version number bump.
2018-09-02 22:09:26 +01:00
Marnanel Thurman e6346ddcda Version number bump to 0.0.15 2018-09-01 22:55:22 +01:00
Marnanel Thurman 27c218e42b Check both following and followed views 2018-09-01 22:54:51 +01:00
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