Commit graph

1259 commits

Author SHA1 Message Date
Mouse Reeve
b0202eb8e8 Remove special remote user handling code
also fixes date parsing
2020-11-28 11:48:17 -08:00
Mouse Reeve
fd7e476c9b refactors tag model to fit ordered collection structure 2020-11-28 11:04:54 -08:00
Mouse Reeve
a93b5cf5bc Use remote_id resolver to load books, user 2020-11-28 10:18:24 -08:00
Mouse Reeve
e0fec9f570 fixes incorrect decorators 2020-11-28 09:17:24 -08:00
Mouse Reeve
81bdd2b3f1 Merge branch 'main' into follow-remote-ids 2020-11-28 08:40:37 -08:00
Mouse Reeve
0fba7aaa1b
Merge pull request #370 from mouse-reeve/quick-add-description
Inline form to add description to book
2020-11-28 08:39:43 -08:00
Mouse Reeve
1c8a0c942a
Merge branch 'main' into quick-add-description 2020-11-28 08:36:46 -08:00
Mouse Reeve
305eeb64e7
Merge pull request #371 from mouse-reeve/http-method-decoration
use require_GET decorator
2020-11-28 08:35:26 -08:00
Mouse Reeve
b2ca67a67c Make adding a description require edit perms 2020-11-28 08:29:55 -08:00
Mouse Reeve
9c33d0ebfa use require_GET decorator 2020-11-28 08:22:25 -08:00
Mouse Reeve
3c8360010d
Merge pull request #369 from mouse-reeve/activitypub-cleanup
Activitypub cleanup
2020-11-28 08:17:36 -08:00
Mouse Reeve
78fa949237 Inline form to add description to book 2020-11-28 07:55:31 -08:00
Mouse Reeve
ebb82287c2 First pass at recursively resolving foreign keys 2020-11-27 22:10:38 -08:00
Mouse Reeve
5638597112 Fixes errors caught in tests 2020-11-27 20:27:56 -08:00
Mouse Reeve
86cbb3edbd Merge branch 'main' into activitypub-cleanup 2020-11-27 20:13:32 -08:00
Mouse Reeve
4626d94ab9 handle image attachments recursively 2020-11-27 20:11:46 -08:00
Mouse Reeve
2480690378 Automatically handle image fields in model serializer 2020-11-27 18:26:07 -08:00
Mouse Reeve
4ae785a7f7 move image activity to its own file 2020-11-27 17:59:46 -08:00
Mouse Reeve
624ff71a11 Makes attachment Images a serializable class 2020-11-27 17:20:01 -08:00
Mouse Reeve
ef4a0a6f3a
Merge pull request #368 from cincodenada/timezone-aware
Replaces naive datetimes with aware ones
2020-11-27 17:04:28 -08:00
Joel Bradshaw
d8b2afff3d Replace naive datetimes with aware ones 2020-11-27 16:35:03 -08:00
Mouse Reeve
69a6644011 Corrects activitypub fields to camelcase in Book 2020-11-27 15:34:47 -08:00
Mouse Reeve
1df5b2d481
Merge pull request #365 from mouse-reeve/refactor-bookwyrm-connector
Refactors bookwyrm connector to use activitypub serializer
2020-11-27 15:25:22 -08:00
Mouse Reeve
7b6035898b Serialize activitypub authors from data in connector 2020-11-27 14:54:08 -08:00
Mouse Reeve
f593970332 Merge branch 'main' into refactor-bookwyrm-connector 2020-11-27 14:26:02 -08:00
Mouse Reeve
0f851e15bb
Merge pull request #367 from mouse-reeve/test-ci
Adds django test runner
2020-11-27 14:23:24 -08:00
Mouse Reeve
9e48328e9e Mocks broadcast task for outgoing shelve tests 2020-11-27 14:18:45 -08:00
Mouse Reeve
4ec557fc5d fixes unit tests for incoming and outgoing follows 2020-11-27 14:15:13 -08:00
Mouse Reeve
f173d674ac Mock fetch_user function which makes http request 2020-11-27 13:53:38 -08:00
Mouse Reeve
a8f3ddec05 Trying to avoid issues from execusing http requests 2020-11-27 13:39:33 -08:00
Mouse Reeve
829615cdd7 Fixes celery mocks on more signature unit tests 2020-11-27 13:18:10 -08:00
Mouse Reeve
73279d65d7 Fix test remote signer and comment out failing tests 2020-11-27 13:08:01 -08:00
Mouse Reeve
48ab993861 Mocks celery task for follow request 2020-11-27 13:02:26 -08:00
Mouse Reeve
0c01af4042 Another nondeterministic list order problem 2020-11-27 12:42:01 -08:00
Mouse Reeve
44a0ef3b0b Fixes nondeterministic order of query causing test failure 2020-11-27 12:25:01 -08:00
Mouse Reeve
257a29dcfd Comment out failing tests
Obviously this is not a SOLUTION, it's an intermediary step in resolving
the redis dependency issues. this PR isn't mergable until the tests are
restored.
2020-11-27 11:53:30 -08:00
Mouse Reeve
efa5d5ef2c Adds ci test runner 2020-11-27 11:42:25 -08:00
Mouse Reeve
9b79eb5fc3 Removes outdated test of bookwyrm connector updater 2020-11-25 11:44:19 -08:00
Mouse Reeve
4f6ce0307d fixes import in abstract connector unit test 2020-11-25 11:24:36 -08:00
Mouse Reeve
0ec40ae748 Merge branch 'main' into refactor-bookwyrm-connector 2020-11-25 11:21:13 -08:00
Mouse Reeve
121e685f8a
Merge pull request #366 from mouse-reeve/tests
Fixes default field values in ActivityPub dataclasses
2020-11-25 11:19:31 -08:00
Mouse Reeve
aed360d07e Fixes serializer handling default dataclass fields 2020-11-25 11:16:01 -08:00
Mouse Reeve
9b57cfd331 Fixes default lists on activitypub dataclasses 2020-11-25 10:45:39 -08:00
Mouse Reeve
641ac22786 remove outdated tests 2020-11-24 16:26:28 -08:00
Mouse Reeve
847014720e Refactors bookwyrm connector to use activitypub serializer 2020-11-24 16:05:00 -08:00
Mouse Reeve
dd985094a5
Merge pull request #364 from mouse-reeve/edit-books-erros
Edit books errors
2020-11-24 13:45:54 -08:00
Mouse Reeve
7b4847852a Merge migrations manually 2020-11-24 13:42:47 -08:00
Mouse Reeve
3dc0fc7e8f Merge branch 'main' into edit-books-erros 2020-11-24 13:40:53 -08:00
Mouse Reeve
7ff8078be2
Merge pull request #362 from mouse-reeve/display-images
Display images
2020-11-24 13:40:07 -08:00
Mouse Reeve
1fd498c306 Display error messages in edit book form 2020-11-24 13:37:35 -08:00