Commit graph

466 commits

Author SHA1 Message Date
Joel Bradshaw 7fadbeeb55 Merge branch 'main' into progress_update 2020-11-28 11:06:01 -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
Joel Bradshaw a951f20ff6 Add a couple forgotten files 2020-11-28 00:36:01 -08:00
Joel Bradshaw 500f05266a Add option for progress percentage
And rework display on book page as well
2020-11-28 00:07:04 -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
Joel Bradshaw 9ed7d23000 Test updating a progress
Also remove spurious whitespace change
2020-11-27 18:19:12 -08:00
Joel Bradshaw 6455cc7fe9 Add initial tests and some fixes
Make timezones aware, and create a progress update if we can upon
starting a readthrough
2020-11-27 18:16:13 -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 3cb28273c4 Merge branch 'main' into progress_update 2020-11-27 17:05:54 -08:00
Joel Bradshaw d8b2afff3d Replace naive datetimes with aware ones 2020-11-27 16:35:03 -08:00
Joel Bradshaw 5f2ac6d961 Rename fr_* to bw_* 2020-11-27 16:12:47 -08:00
Joel Bradshaw 3b0b8f16f6 Merge migration branches
Also add $@ to bw-dev migrations, and factor the shift 1 out
2020-11-27 16:08:04 -08:00
Joel Bradshaw 85026b837c Merge branch 'main' into progress_update 2020-11-27 15:52:55 -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
Joel Bradshaw 97e49c4bd2 Undo stray css edit 2020-11-25 23:12:05 -08:00
Joel Bradshaw 692aa08364 Remove unneeded class, wrap line 2020-11-25 23:11:30 -08:00
Joel Bradshaw 64fb88cc10 ProgressUpdate doesn't need its own date field
Just use the base model's created_date
2020-11-25 23:03:32 -08:00
Joel Bradshaw 090cf2aea7 Make inline progress form actually work 2020-11-25 23:03:27 -08:00
Joel Bradshaw e7c0368168 PR feedback 2020-11-25 22:36:55 -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