Commit graph

1161 commits

Author SHA1 Message Date
Joel Bradshaw
500f05266a Add option for progress percentage
And rework display on book page as well
2020-11-28 00:07:04 -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
Joel Bradshaw
f86140c7e4 Move -x down to eliminate pointless noise 2020-11-27 17:39:15 -08:00
Joel Bradshaw
3cb28273c4 Merge branch 'main' into progress_update 2020-11-27 17:05:54 -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
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
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
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
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
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