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
Mouse Reeve
500394fc52
Make sure creating books doesn't broadcast in tests
2021-03-08 11:54:26 -08:00
Mouse Reeve
bf255bd51d
Merge pull request #460 from mouse-reeve/review-rate
...
Review rate
2021-03-08 11:50:42 -08:00
Mouse Reeve
37e29cc735
Adds tests of creating book with author
2021-03-08 11:11:05 -08:00
Mouse Reeve
58b48faff8
Tests create books flow
2021-03-08 10:50:01 -08:00
erion
031235009f
Fix albel for the OCLC number field.
2021-03-08 19:20:55 +01:00
Mouse Reeve
acbebbe947
Formats code changes
2021-03-08 10:10:30 -08:00
Mouse Reeve
01a2a77cbb
Merge branch 'main' into create-book
2021-03-08 10:07:02 -08:00
Mouse Reeve
5fe989e20f
Formats migrationwq
2021-03-08 09:58:07 -08:00
Mouse Reeve
84534a2991
Adds merge migration
2021-03-08 09:54:53 -08:00
Mouse Reeve
3bdfc341e4
Runs black
2021-03-08 09:54:02 -08:00
Mouse Reeve
ad43e5c83a
Merge branch 'main' into review-rate
2021-03-08 09:48:25 -08:00
Mouse Reeve
a5baa1f5c6
Create new books
2021-03-08 09:28:22 -08:00
Mouse Reeve
d3162e12db
Adds broadcast mock to edit book tests
2021-03-08 08:51:54 -08:00
Mouse Reeve
70296e760b
Runs black
2021-03-08 08:49:10 -08:00
Mouse Reeve
6d9c024e0e
Merge branch 'main' into create-book
2021-03-07 15:49:00 -08:00
Mouse Reeve
cb2011488c
Merge pull request #709 from mouse-reeve/fixes-support-link
...
Fixes support link display i18n
2021-03-07 15:48:25 -08:00
Mouse Reeve
642a2f26d7
Fixes support link display i18n
2021-03-07 15:42:49 -08:00
Mouse Reeve
7d55629823
typo fix
2021-03-07 15:20:09 -08:00
Mouse Reeve
0146cebb1a
Fixes incorrect user displayed for boosts
...
Fixes #706
2021-03-07 15:17:51 -08:00
Mouse Reeve
1eac2b9386
Test for deleting authors
2021-03-07 15:14:57 -08:00
Mouse Reeve
79d9c493f7
Remove author flow
2021-03-07 14:19:22 -08:00
Mouse Reeve
f1b699d810
Tests adding author to book
2021-03-07 13:59:27 -08:00