Commit graph

1617 commits

Author SHA1 Message Date
Mouse Reeve
4e55018e41 Moves book templates into dir 2021-03-18 09:37:16 -07:00
Mouse Reeve
1ad7d88cc8
Merge pull request #760 from mouse-reeve/reveal-cws
Remove a step when unfurling statuses with content warnings
2021-03-18 09:21:42 -07:00
Mouse Reeve
c2386bd3a1 Remove a step when unfurling statuses with content warnings 2021-03-18 09:15:47 -07:00
Mouse Reeve
77f11572f3 Remove invalid aria tag
thank you, bot
2021-03-18 09:08:19 -07:00
Mouse Reeve
48a5232ebb Formatting 2021-03-18 09:06:00 -07:00
Mouse Reeve
91aaf704f5 Adds set reading goal display control in user settings 2021-03-18 09:05:18 -07:00
Mouse Reeve
baee0796cd Moves localstorage handlers into its own file 2021-03-18 09:02:07 -07:00
Mouse Reeve
9a20b5dbd5 Hide goal using database field instead of localstorage 2021-03-18 09:00:25 -07:00
Mouse Reeve
ba09377041 Use None instead of empty dict for endpoint default value 2021-03-17 13:59:16 -07:00
Mouse Reeve
0d8e1f0ae2 Makes endponts a default field 2021-03-17 09:34:20 -07:00
Mouse Reeve
db426d71ee Fixes failed serialization of empty avatar field 2021-03-17 09:22:45 -07:00
Mouse Reeve
d50689e63f
Merge pull request #754 from mouse-reeve/ui-fixes
misc UI fixes
2021-03-16 14:20:11 -07:00
Mouse Reeve
f0711ad40e Fixes margins on lists 2021-03-16 14:13:42 -07:00
Mouse Reeve
bb1e8edc00 Shifts alignment on oclc number with line wrap 2021-03-16 14:09:21 -07:00
Mouse Reeve
64eb6e8b07 Fixes large covers overlapping on book page 2021-03-16 14:04:51 -07:00
Mouse Reeve
8e1e4572f6
Merge pull request #747 from mouse-reeve/edit-book-fields
Adds publishers to edit book form
2021-03-16 14:03:49 -07:00
Mouse Reeve
46906f7e41 Fixes whitespace jump when switching from trimmed to full 2021-03-16 14:03:25 -07:00
Mouse Reeve
9251883d77 Checks if publisher fields is present (it isn't on works) 2021-03-16 13:54:15 -07:00
Mouse Reeve
6755137bad Fixes displaying publisehrs when none are set 2021-03-16 13:46:02 -07:00
Mouse Reeve
6370fbf2c6 Formatting 2021-03-16 13:39:33 -07:00
Mouse Reeve
b285fb2fc0 Set shelf user by default 2021-03-16 13:37:22 -07:00
Mouse Reeve
b816c322b5
Merge pull request #751 from mouse-reeve/report-notifications
Notify admins when a report is filed
2021-03-16 13:04:15 -07:00
Mouse Reeve
550eba1f68 Black formatting 2021-03-16 12:59:25 -07:00
Mouse Reeve
e5750de3dd Notify admins when a report is filed 2021-03-16 12:57:23 -07:00
Mouse Reeve
08edba4891 Ignore activities that expect dict args but get strs
Some Undo activities are coming from Pleroma with just the id
of the activity, rather than the serialized object. There isn't
an obvious way to know what is being undone, so for now this
just ignores those
2021-03-16 12:00:21 -07:00
Mouse Reeve
c50ca9f951 Still trying to catch connection error
I guess I was catching the wrong TYPE of connection error? annoying.
2021-03-15 16:23:35 -07:00
Mouse Reeve
0550918e5c
Merge pull request #744 from mouse-reeve/images
Fixes image attachments
2021-03-15 16:02:29 -07:00
Mouse Reeve
bb8ce74f52 Updates base activity tests for updated Image type 2021-03-15 15:57:00 -07:00
Mouse Reeve
e6e1af9ec1
Merge pull request #745 from mouse-reeve/list-add
Add books to lists from the book page
2021-03-15 15:51:31 -07:00
Mouse Reeve
5a24c97cb5 Updates image type in fields tests 2021-03-15 15:45:18 -07:00
Mouse Reeve
20bcbb1a3c Updates image type to Document in status model tests 2021-03-15 15:44:26 -07:00
Mouse Reeve
def834a0ac
Merge pull request #736 from mouse-reeve/rating-template
Render rating status from template
2021-03-15 15:42:36 -07:00
Mouse Reeve
0037a22cb6 Updates list tests 2021-03-15 15:41:11 -07:00
Mouse Reeve
d947632b69 Adds publisher to book cover alt text 2021-03-15 15:39:16 -07:00
Mouse Reeve
b1335d2811 Formatting 2021-03-15 15:33:05 -07:00
Mouse Reeve
b3951a77d9 Adds publishers to edit book form 2021-03-15 15:28:50 -07:00
Mouse Reeve
f79bb60d81 Adds ability to reset default edition based on computer ranks 2021-03-15 15:08:20 -07:00
Mouse Reeve
f0a936f15e Add books to lists from the book page 2021-03-15 14:44:03 -07:00
Mouse Reeve
6bd0f94269 Adds plural version for rating text 2021-03-15 14:09:04 -07:00
Mouse Reeve
220f2c1eb4 Fixes image attachments 2021-03-15 13:55:48 -07:00
Mouse Reeve
99ba39413e Fixes upload and display of logos in admin panel 2021-03-15 10:05:08 -07:00
Mouse Reeve
aa2950daf3 Render rating status from template 2021-03-13 18:24:46 -08:00
Mouse Reeve
8e71186067 Fixes adding mutiple authors 2021-03-13 18:09:09 -08:00
Mouse Reeve
23cca85ee3 Fixes busted author path in confirmation step 2021-03-13 17:31:06 -08:00
Mouse Reeve
d802f4b85e Fixes layout showing wrong user in header on user page 2021-03-13 15:57:54 -08:00
Mouse Reeve
54682d6f5c Formatting 2021-03-13 15:36:00 -08:00
Mouse Reeve
6490a55274 Handle incoming follow request cancellations 2021-03-13 15:32:56 -08:00
Mouse Reeve
e2d394d894 Checks activity type in view test 2021-03-13 15:04:23 -08:00
Mouse Reeve
4d7364d045 Undo follow request view 2021-03-13 14:55:09 -08:00
Mouse Reeve
e9575cae6c Buttons for undoing follow requests 2021-03-13 14:48:15 -08:00
Mouse Reeve
546579c231
Merge pull request #732 from mouse-reeve/search-info
Search info
2021-03-13 14:34:47 -08:00
Mouse Reeve
ad8257f8bd Formats changes 2021-03-13 14:04:41 -08:00
Mouse Reeve
05fcfbc66f Show more data about books in search 2021-03-13 13:55:20 -08:00
Mouse Reeve
611e7870e7 Show publisher on book data page 2021-03-13 12:36:53 -08:00
Mouse Reeve
091ad53061 JS linting and whitespace fixes 2021-03-13 12:14:34 -08:00
Mouse Reeve
6e5f2f411f
Merge pull request #728 from mouse-reeve/wellknown-view
Moves federation info endpoints into views module
2021-03-13 11:11:28 -08:00
Mouse Reeve
1f2da18655 Adds test for updates endpoint 2021-03-13 11:11:06 -08:00
Mouse Reeve
139416d9c3 Moves federation info endpoints into views module 2021-03-13 11:00:55 -08:00
Mouse Reeve
78df37a861
Merge pull request #727 from mouse-reeve/connector-tests
Connector tests
2021-03-13 10:24:40 -08:00
Mouse Reeve
76f1643269 Tests ignore edition openlibrary connector code
also removes print statements oops
2021-03-13 10:11:13 -08:00
Mouse Reeve
414dd6bd20 Adds isbn search test to connector manager 2021-03-13 10:01:17 -08:00
Mouse Reeve
6b22de2075 More tests for bookwyrm connector 2021-03-13 09:43:15 -08:00
Mouse Reeve
382170d662 Adds get_or_create_author abstract connector test 2021-03-13 09:28:48 -08:00
Mouse Reeve
393ea625a2
Merge pull request #726 from mouse-reeve/search-tests
Search tests
2021-03-13 09:27:46 -08:00
Mouse Reeve
d3b1941eaa Uses get_data helper in isbn search (plus test) 2021-03-13 09:07:19 -08:00
Mouse Reeve
a1d95d5010
Merge pull request #725 from mouse-reeve/incoming-unshelve
Fixes handling incoming unshelve activities
2021-03-13 08:53:37 -08:00
Mouse Reeve
e459c440de tests formulating search queries with min_confidence field 2021-03-13 08:52:48 -08:00
Mouse Reeve
2ab913018d Use get_data helper when executing searches 2021-03-13 08:52:36 -08:00
Mouse Reeve
e1a8c4d260 Fixes handling incoming unshelve activities 2021-03-13 08:43:36 -08:00
Mouse Reeve
3edfcb7631 Trying to fix broadcast connectionerror exceptions 2021-03-13 08:15:58 -08:00
Mouse Reeve
919b166241 Catch error in serializing unknown boosts 2021-03-13 08:13:20 -08:00
Mouse Reeve
1f4b3e9586 Adds tests for status recipients property 2021-03-13 07:38:19 -08:00
Mouse Reeve
2548ba926a Fixes error when receiving Undo for unknown boost 2021-03-13 07:15:30 -08:00
Mouse Reeve
848edd2972 Adds missing migration for reports model 2021-03-12 16:32:11 -08:00
Mouse Reeve
b64fb3e0aa
Merge pull request #715 from mouse-reeve/reporting
Reporting
2021-03-12 16:28:15 -08:00
Mouse Reeve
1617cfaac7 Clarifies report headers in moderation panel 2021-03-12 16:20:10 -08:00
Mouse Reeve
7323f63803 Adds test for report comments 2021-03-12 16:02:23 -08:00
Mouse Reeve
9245b9d9ca Comments on reports 2021-03-12 15:56:54 -08:00
Mouse Reeve
46581e37e2 Mocks boradcast for moderation test 2021-03-12 15:24:57 -08:00
Mouse Reeve
8c74beb78c Allow moderators to delete reported statuses 2021-03-12 11:25:56 -08:00
Mouse Reeve
677a49fee3 Option to deactivate reported users 2021-03-12 11:13:53 -08:00
Mouse Reeve
422cd2da73 Direct message report action 2021-03-12 10:37:52 -08:00
Mouse Reeve
8bd12f0e06 Remove unused method 2021-03-12 10:27:08 -08:00
Mouse Reeve
f220290a2b
Merge pull request #692 from mouse-reeve/create-book
Create book
2021-03-12 10:26:15 -08:00
Mouse Reeve
bedc9e0a88 Resolve and re-open reports 2021-03-12 10:22:03 -08:00
Mouse Reeve
b42c761b0b Safer author add logic 2021-03-12 09:46:28 -08:00
Mouse Reeve
4583662f51 Whitespace for so accesslint can clap at me every time I commit 2021-03-11 17:45:41 -08:00
Mouse Reeve
33b8537a3d Let user supply a note for report 2021-03-11 17:38:21 -08:00
Mouse Reeve
28db3e2733 Formatting 2021-03-11 16:40:35 -08:00
Mouse Reeve
c1976dbd62 Add multiple authors 2021-03-11 16:33:49 -08:00
Mouse Reeve
965d84f86f Fixes creating news works 2021-03-11 15:41:12 -08:00
Mouse Reeve
7f45206693 Moves moderation templates to their own directory 2021-03-10 12:38:49 -08:00
Mouse Reeve
0d2c641d01 Reformats report model 2021-03-09 12:57:38 -08:00
Mouse Reeve
999bff4bba Basic reports admin templates 2021-03-09 12:35:07 -08:00
Mouse Reeve
ff624e33fa fixes display of report items on admin page 2021-03-09 10:08:02 -08:00
Mouse Reeve
21f199c548 Make reports 2021-03-08 18:36:50 -08:00
Mouse Reeve
e59c127686 Adds models for reporting 2021-03-08 17:16:59 -08:00
Mouse Reeve
7337a357fa Adds tests file 2021-03-08 16:02:16 -08:00
Mouse Reeve
ab57b5b906 First pass at views for reporting 2021-03-08 15:55:48 -08:00
Mouse Reeve
a29d6a5f16 Hide secondary save button in confirm mode 2021-03-08 14:11:08 -08:00