Commit graph

805 commits

Author SHA1 Message Date
Adam Kelly
4974fe4e5b Add tests for remote actors (fetch keys via http.) 2020-05-13 12:39:55 +01:00
Adam Kelly
3236e95ea2 Fix typo in requirements.txt 2020-05-13 12:36:06 +01:00
Adam Kelly
2db4da4061 Check all signatures are signed by the right actor. 2020-05-13 12:36:06 +01:00
Adam Kelly
10efe4d1b4 Add test for use of the wrong signature. 2020-05-13 12:36:06 +01:00
Adam Kelly
5d4076d628 Use public key from db if available. 2020-05-13 12:36:06 +01:00
Adam Kelly
05842b5c18 Pull out make_signature to separate into function. 2020-05-13 12:36:06 +01:00
Mouse Reeve
15cce156a0
Merge pull request #168 from mouse-reeve/books-manager-tests
Tests for books_manager
2020-05-12 18:58:48 -07:00
Mouse Reeve
e07a072ced Adds test coverage report and fr-dev shortcuts 2020-05-12 15:17:04 -07:00
Mouse Reeve
ebd1bf4754 Sort by rank in local db full text search
plus tests
2020-05-12 13:03:46 -07:00
Mouse Reeve
306f067a21
Merge pull request #167 from mouse-reeve/abstract-connector-tests
Tests for abstract connector
2020-05-12 10:04:08 -07:00
Mouse Reeve
62ef3e78cc Tests for books_manager 2020-05-12 10:01:36 -07:00
Mouse Reeve
0dde027f3d Tests match_from_mappings 2020-05-11 10:42:30 -07:00
Mouse Reeve
6d08996ee9 Tests abstract connector mappings 2020-05-11 08:34:25 -07:00
Mouse Reeve
228b003c1c Adds broadcast test 2020-05-10 21:07:19 -07:00
Mouse Reeve
29477c24f4 Fixes error in cover alt text templateteag 2020-05-10 18:22:34 -07:00
Mouse Reeve
d8aadb4587 Adds helper function for loading editions 2020-05-10 18:08:18 -07:00
Mouse Reeve
e11e1cc560 missing import in user model 2020-05-10 17:47:59 -07:00
Mouse Reeve
35ca61d7f6 Only use get_or_create_book with remote_id 2020-05-10 17:40:22 -07:00
Mouse Reeve
0f579e7d8d Re-thinks connector mappings 2020-05-10 16:45:03 -07:00
Mouse Reeve
d54c8c4dc4 Removes default books from initdb 2020-05-10 15:18:40 -07:00
Mouse Reeve
bc5dba97ef
Merge pull request #165 from mouse-reeve/code-cleanup
Code cleanup and tests
2020-05-10 15:11:58 -07:00
Mouse Reeve
64903157ff
Merge pull request #162 from mouse-reeve/fedireads_connector
Fedireads connector
2020-05-10 15:07:14 -07:00
Mouse Reeve
4555d7713a remove unneeded connector code 2020-05-10 14:56:53 -07:00
Mouse Reeve
7493abeb53 Tests for fedireads connector 2020-05-10 14:53:45 -07:00
Mouse Reeve
d5f46a1c6f more openlibrary connector tests 2020-05-10 14:18:18 -07:00
Mouse Reeve
5e78de1340 the way search keys work has changed, updating test 2020-05-10 13:42:35 -07:00
Mouse Reeve
2e7d2f96f8 Cleans up base model 2020-05-10 13:38:47 -07:00
Mouse Reeve
3edfc0be74 Merge branch 'fedireads_connector' into code-cleanup 2020-05-10 13:37:16 -07:00
Mouse Reeve
2ef87c2131 Refactors get_or_create_book 2020-05-10 13:23:02 -07:00
Mouse Reeve
72b4e7da76 Small code cleanup 2020-05-10 11:29:10 -07:00
Mouse Reeve
470c5d4acb Adds cursory openlibrary connector tests 2020-05-10 09:11:01 -07:00
Mouse Reeve
54c553312f Separate import job tests out 2020-05-09 22:13:44 -07:00
Mouse Reeve
67837f84b3 user activitypub serializer 2020-05-09 21:55:00 -07:00
Mouse Reeve
45e5df388d Activitypub serialize shelves 2020-05-09 21:52:13 -07:00
Mouse Reeve
932b4abcfe test coment 2020-05-09 20:15:33 -07:00
Mouse Reeve
ea420f9889 fixes quote test 2020-05-09 20:15:18 -07:00
Mouse Reeve
aefb718456 more tests 2020-05-09 19:48:30 -07:00
Mouse Reeve
ca8eb75352 Tests for creating reviews and statuses 2020-05-09 19:22:41 -07:00
Mouse Reeve
2e8afb90e6 Fixes bug in activitypub serialization of statuses 2020-05-09 18:55:45 -07:00
Mouse Reeve
db898e362b Tests and fixes whitespace bugs in sanitizer 2020-05-09 18:30:24 -07:00
Mouse Reeve
ab7acc6db6 user model tests 2020-05-09 17:30:14 -07:00
Mouse Reeve
768ce1e5e7 split tests into separate files 2020-05-09 17:10:02 -07:00
Mouse Reeve
4468933edd Adds status tests 2020-05-09 16:52:16 -07:00
Mouse Reeve
49cdd5388f shelf model unit test
also fixes my bad logic in the import job tests
2020-05-09 16:38:05 -07:00
Mouse Reeve
93e53d3cca Adds some model unit tests 2020-05-09 16:16:28 -07:00
Mouse Reeve
ee7c04cc7e code style cleanup 2020-05-09 16:16:23 -07:00
Mouse Reeve
2a98093ebe Tidy up self connector 2020-05-09 13:36:10 -07:00
Mouse Reeve
7220a17840 Fixes bug that uses edition remote_id for work 2020-05-09 13:17:50 -07:00
Mouse Reeve
277c1a80fd Fixes loading covers 2020-05-09 12:59:06 -07:00
Mouse Reeve
8c3e208282 Load covers in fedireads connector 2020-05-09 12:53:55 -07:00