Commit graph

447 commits

Author SHA1 Message Date
Mouse Reeve
8fb8e93e37
Merge pull request #375 from mouse-reeve/username-regex
Allow usernames with dots
2020-12-02 15:27:03 -08:00
Mouse Reeve
2cf73188f2 fixes localname regex 2020-12-02 15:24:43 -08:00
Mouse Reeve
b5e92fe65e Allow usernames with dots 2020-12-02 15:21:15 -08:00
Mouse Reeve
d7e9a00cf1 Fixes password reset flow 2020-12-02 15:19:29 -08:00
Mouse Reeve
e0fec9f570 fixes incorrect decorators 2020-11-28 09:17:24 -08:00
Mouse Reeve
1c8a0c942a
Merge branch 'main' into quick-add-description 2020-11-28 08:36:46 -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
78fa949237 Inline form to add description to book 2020-11-28 07:55:31 -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
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
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
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
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
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
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
1fd498c306 Display error messages in edit book form 2020-11-24 13:37:35 -08:00
Mouse Reeve
9bbedc5d9a Fixes field causing form invalidation when editing books 2020-11-24 13:25:58 -08:00
Mouse Reeve
6cc1e241fe display images at a reasonable size 2020-11-24 12:07:00 -08:00
Mouse Reeve
ff5a0f7bc2 Adds alt text to status images 2020-11-24 11:44:13 -08:00
Mouse Reeve
45a0bd79fd Very basic image display 2020-11-24 11:28:17 -08:00
Mouse Reeve
ad7ce6595b Receive and save incoming images 2020-11-24 11:25:07 -08:00
Mouse Reeve
88e4705717 Use attachment database table 2020-11-23 20:42:05 -08:00
Mouse Reeve
17fca8181b Simplify user creation code 2020-11-23 13:50:14 -08:00
Mouse Reeve
e2debd855c Convert activitypub Image into model ImageField 2020-11-23 13:43:46 -08:00
Mouse Reeve
5526b4773e Formatter for converting model images to AP Images
Replaces reduntant properties on user and book models
2020-11-23 13:07:26 -08:00
Mouse Reeve
dab0aeffb2 Adds image attachment field to status model 2020-11-23 12:48:41 -08:00
Mouse Reeve
56638f79cf
Merge pull request #359 from mouse-reeve/activity-tags
Serialize and deserialize activitypub "Tags" on statuses
2020-11-22 09:35:19 -08:00