Wykres commitów

137 Commity (7b5408ed4c687a4648860592cf8364bcec85a47a)

Autor SHA1 Wiadomość Data
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
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