Commit Graph

111 Commits

Author SHA1 Message Date
c31eaf2d18 Test NonActivityHandler 2019-01-23 16:54:53 -05:00
52219a5e59 Formatting 2019-01-23 15:43:04 -05:00
9672b06e3a Finish PostController test suite 2019-01-23 14:27:27 -05:00
986f83cf27 Write a test for PostController 2019-01-23 14:16:40 -05:00
ffca344f03 [WIP] Begin writing PostController test; refactor testing APObjects 2019-01-23 11:37:05 -05:00
94777ef55a Test Router 2019-01-23 09:43:23 -05:00
04920a86a2 Refactor routing/controller layer for better separation of concerns 2019-01-23 09:28:15 -05:00
ffc32e312c Refactor ActivityEvent to also have the actor; implement NonActivityHandler 2019-01-22 17:36:21 -05:00
19aa482d78 Put together activity handling framework; implement + test IdProvider 2019-01-22 10:01:35 -05:00
402b85680e Remove trailing comma 2019-01-21 11:10:24 -05:00
2f458c0448 Test and debug AuthService 2019-01-20 22:55:36 -05:00
36b0a9c0bc Handle nonexistent pages; more tests 2019-01-20 22:30:29 -05:00
5e979c4236 More CollectionsService tests 2019-01-20 17:35:33 -05:00
ed46ec1e1f Extract objectFromArray to service; implement CollectionService; test 2019-01-20 17:24:28 -05:00
499e4d235d [WIP] Extract auth and collection paging/filtering to their own services 2019-01-20 15:02:37 -05:00
f2d42130ea Rename outdated test method 2019-01-19 22:40:41 -05:00
3320ba45ee [WIP] Begin implementing collection handling for GetObjectController 2019-01-19 22:37:26 -05:00
cab1f667f4 Test the module, use class paths as container ids 2019-01-19 22:37:07 -05:00
c36bca1adb Allow public access to objects with no defined audience 2019-01-19 17:22:58 -05:00
e927d88c23 Refactor ControllerResolver; implement auth check for GetObjectController 2019-01-18 17:13:46 -05:00
88dd8a7b8f Implement and test AuthListener 2019-01-18 09:45:34 -05:00
887ac185ca Handle persisting circular references; improve asArray semantics 2019-01-18 09:13:50 -05:00
88bceea939 Test SignatureListener 2019-01-18 09:13:38 -05:00
aba516fd34 Implement dependency injection 2019-01-17 22:53:11 -05:00
4a1d2f7c08 Fix all tests 2019-01-17 17:14:11 -05:00
11152623d4 Use dereference() instead of getObject() 2019-01-17 14:48:12 -05:00
0e494a7306 Rename createObject -> persist in tests 2019-01-17 14:47:51 -05:00
4c5b667175 Fix http signatures signing of psr7 requests 2019-01-17 14:47:30 -05:00
47d384332d Finish implementing and test HttpSignatureService 2019-01-14 21:30:22 -05:00
366e34069c [WIP] Begin implementing http sig signing/verification 2019-01-14 11:12:47 -05:00
b344c7ae8a Return not found for POST to non-inbox/outbox URL 2019-01-10 10:36:54 -05:00
0dc3bbe275 Test the GetObjectController 2019-01-10 10:20:05 -05:00
d33c221a89 Test ControllerResolver and fix errors 2019-01-08 17:23:04 -05:00
acb10b682d Restore SQLiteTestCase
This reverts commit 2b58bb4dfa.
2019-01-08 16:41:30 -05:00
2b58bb4dfa Restructure tests 2019-01-08 10:14:42 -05:00
48f7c6205c [WIP] Begin implementing actor creation 2018-12-21 09:51:58 -05:00
dacd01a47b Finish testing and debugging RsaKeypair 2018-12-18 08:42:09 -05:00
d3c79dfa4d Debug and test key generation 2018-12-18 08:14:26 -05:00
c3a7e89713 Test nested object field access 2018-12-12 13:26:39 -05:00
bc06810432 Add array access semantics to ActivityPubObjects 2018-12-12 11:04:19 -05:00
590ad71081 Make the tests deterministic 2018-12-11 11:56:23 -05:00
8e5706aff1 Delete orphaned nodes and test update() 2018-12-08 19:12:08 -05:00
a9f18c7396 Implement update 2018-11-30 07:00:14 -05:00
903c20fd51 Don't create a new object if an object with the id already exists 2018-11-29 08:56:42 -05:00
9e41111146 Implement querying 2018-11-28 23:16:42 -05:00
1bb7c1eecf [WIP] Don't differentiate between sequential and associative arrays
One test still broken, but 90% of the way there now
2018-11-26 22:53:53 -05:00
c00cf35c32 [WIP] So close now... 2018-11-25 21:38:19 -05:00
4398f543dc [WIP] Begin implementing support for nested/sequential queries 2018-11-25 11:01:35 -05:00
5d643fd3ec [WIP] Start implementing recursive queries 2018-11-24 09:56:22 -05:00
b4809731b6 Implement querying by value 2018-11-24 09:45:31 -05:00
4c24dd3806 Add created and last updated timestamps to objects and fields 2018-11-24 08:09:44 -05:00
c23604206c Autoload the test classes 2018-11-23 22:25:56 -05:00
a79c2f316f Handle nested objects and arrays 2018-11-23 08:28:46 -05:00
be945b8715 [WIP] Support nested objects and array values 2018-11-22 07:25:14 -05:00
0ed936dff5 Implement and test base entities 2018-11-20 22:34:39 -05:00
c0587ba04c Untrack db.sqlite 2018-11-20 22:33:16 -05:00
76e013ef12 Don't commit this 2018-11-20 06:29:41 -05:00
eb1b8dd833 Test DB schema update 2018-11-20 06:29:09 -05:00
484d35d3ce Fix test DB setup 2018-11-20 05:52:18 -05:00
6c58cf1d90 [WIP] Add index entity, bootstrap tests 2018-11-19 07:14:58 -05:00
778bdfe6b8 Set up tests and change directory structure 2018-11-14 08:08:15 -05:00