Commit graph

2054 commits

Author SHA1 Message Date
Mouse Reeve
daea57f91c Updates python formatting 2021-03-30 10:31:23 -07:00
Mouse Reeve
f7b0a282a7 Set updated date on list when item is added 2021-03-30 10:28:50 -07:00
Mouse Reeve
9b949d9845 Merges display of lists to show all
Rather than separating out "your lists"
2021-03-30 10:19:51 -07:00
Mouse Reeve
b16f95c8cd Python formatting 2021-03-30 09:50:51 -07:00
Mouse Reeve
047e827382 Cleans up markup on import page 2021-03-30 09:30:25 -07:00
Mouse Reeve
59ebcc62ee Adds import retry test 2021-03-30 09:24:23 -07:00
Mouse Reeve
5deb7d8bba Updates librarthing importer tests 2021-03-30 09:13:41 -07:00
Mouse Reeve
c64fc79431 Updates goodreads tests 2021-03-30 09:09:28 -07:00
Mouse Reeve
754ccaedd6 Move importers into module 2021-03-30 09:03:57 -07:00
Mouse Reeve
1f0c4f86c2 Python formatting 2021-03-30 08:46:22 -07:00
Mouse Reeve
a54014f693 Fixes import retry 2021-03-30 08:44:17 -07:00
Mouse Reeve
4b325fedee Removes error views from init 2021-03-29 18:51:35 -07:00
Mouse Reeve
28f07f7729 Fixes error pages 2021-03-29 18:47:21 -07:00
Mouse Reeve
e86f160c53
Merge pull request #812 from SavinaRoja/357-tz-in-datetimes
357 Users set preferred timezone, used for readthroughs
2021-03-29 15:20:01 -07:00
Mouse Reeve
47cf1f3b22
Merge pull request #825 from mouse-reeve/misc-server-errors
Misc server errors
2021-03-29 15:09:42 -07:00
Mouse Reeve
4b445c3242 Fixes indentation on host-meta xml 2021-03-29 14:55:23 -07:00
Mouse Reeve
6bf3d9dcd8 Adds hosts-meta path 2021-03-29 14:36:24 -07:00
Mouse Reeve
2722050ee2 Python formatting 2021-03-29 14:20:51 -07:00
Mouse Reeve
4115edad6e Adds robots.txt 2021-03-29 14:12:15 -07:00
Mouse Reeve
662ddf44b9 Avoid error when request Accept header is not set 2021-03-29 14:12:07 -07:00
Mouse Reeve
3be420944e Fixes display of dms pagination 2021-03-29 13:51:06 -07:00
Mouse Reeve
84dfa69695 Fixes invite flow 2021-03-29 13:28:30 -07:00
Mouse Reeve
c284a5e409 Fixes error sending dm 2021-03-29 13:07:22 -07:00
Mouse Reeve
cc00a66b90
Merge pull request #800 from SavinaRoja/716-book-multiple-shelves
716 books can be on multiple shelves, but only on one shelf for reading status
2021-03-29 12:59:49 -07:00
Mouse Reeve
1e1d07e4e1
Merge pull request #821 from mouse-reeve/shelve-buttons
Unshelve option in shelve button menu
2021-03-29 12:50:38 -07:00
Mouse Reeve
794b47d119 Unshelve option in shelve button menu 2021-03-29 12:27:12 -07:00
Mouse Reeve
04ca6de968 Paginates editions page 2021-03-29 12:13:05 -07:00
Mouse Reeve
e9f202b9e0 Paginate shelf page
Also removes some fields from the table
2021-03-29 11:48:19 -07:00
Mouse Reeve
f6ad069f74 Fixes tests 2021-03-29 11:38:14 -07:00
Mouse Reeve
0a4e755516 Fixes setting lower() on NoneType 2021-03-29 11:27:51 -07:00
Mouse Reeve
f8a321c74d Fixes labels
Good bot
2021-03-29 11:16:34 -07:00
Mouse Reeve
9c798a4feb Filter editions 2021-03-29 11:14:34 -07:00
Mouse Reeve
769ba6466c Adds filters ui to editions page 2021-03-29 10:58:46 -07:00
Mouse Reeve
b13e8d75cd Introduces filters snippets 2021-03-29 10:39:13 -07:00
Mouse Reeve
7c9518afa6 Adds info to editions page 2021-03-29 10:21:48 -07:00
Mouse Reeve
87cf411a1a
Merge pull request #817 from mouse-reeve/invite-emails
Fixes sending invite emails
2021-03-29 09:09:19 -07:00
Mouse Reeve
f63b6fb325 Fixes sending invite emails
Corrects the email sender and avoids integrity error on saves
2021-03-29 08:33:12 -07:00
Mouse Reeve
b58ed244b0 Preserve request.GET params in pagination 2021-03-29 08:19:17 -07:00
Pablo Barton
765e6b542f adding middleware and use in readthrough template 2021-03-29 08:20:35 -04:00
Mouse Reeve
621c0ea15a Fixes password reset 2021-03-28 18:53:49 -07:00
Pablo Barton
224c7e4f0e consistency in style for bulma 2021-03-28 21:23:32 -04:00
Mouse Reeve
12f6c2abb2 Don't erase entire stream when new status is added
omg
2021-03-28 17:53:52 -07:00
Pablo Barton
b0dc5f3f93 357 Users set preferred timezone, used for readthroughs 2021-03-28 19:16:43 -04:00
Mouse Reeve
e3abc96266
Merge pull request #811 from mouse-reeve/user-admin
User admin view
2021-03-28 14:48:27 -07:00
Mouse Reeve
9a0568dabc Adds tests for server and users admin views 2021-03-28 14:36:57 -07:00
Mouse Reeve
f491f03ffa Adds filtering by server on users page 2021-03-28 14:27:56 -07:00
Mouse Reeve
43fc940a07 Adds user admin view 2021-03-28 14:20:49 -07:00
Mouse Reeve
f547df5940
Merge pull request #810 from mouse-reeve/server-details
Adds detail page for federated servers
2021-03-28 14:20:29 -07:00
Mouse Reeve
5416bb10fd Python formatting 2021-03-28 13:41:25 -07:00
Mouse Reeve
7373a7e8c4 Sort federated servers list 2021-03-28 13:36:05 -07:00
Mouse Reeve
158d2c5231 Paginates federated server list 2021-03-28 13:08:24 -07:00
Mouse Reeve
62cbfe0fac Filter reports by server 2021-03-28 13:03:24 -07:00
Mouse Reeve
96ea2b4477 Adds detail page for federated servers 2021-03-28 12:47:30 -07:00
Mouse Reeve
1e8444a622
Merge pull request #809 from mouse-reeve/stream-commands
Separates erase and populate stream commands
2021-03-28 12:04:51 -07:00
Mouse Reeve
713ec8bd69 Python whitespace formatting 2021-03-28 11:51:02 -07:00
Mouse Reeve
5441d4db09 Separates erase and populate stream comands 2021-03-28 11:38:39 -07:00
Mouse Reeve
ecf5ee4afc margin between quote and attribution 2021-03-28 11:30:53 -07:00
Mouse Reeve
63b319e286 Space between shelve button and isbn on book page 2021-03-28 11:27:09 -07:00
Mouse Reeve
f0876b57c5 Fixes change shelf menu display on shelf page 2021-03-28 11:25:05 -07:00
Mouse Reeve
323c72002b Fixes shelve menu display on book page 2021-03-28 11:18:01 -07:00
Mouse Reeve
71f6e0d330 Show invite request count 2021-03-28 11:15:26 -07:00
Mouse Reeve
6f99947cac Fixes python formatting 2021-03-28 10:45:46 -07:00
Mouse Reeve
c42719ee1e Fixes wildly high similiarity metrics in directory 2021-03-28 10:32:58 -07:00
Mouse Reeve
ef057dd573
Merge pull request #805 from mouse-reeve/shared-books
Adds shared books as a metric for recommending follows
2021-03-27 11:39:11 -07:00
Mouse Reeve
81925b11cf Removes duplicate patch annotation 2021-03-27 10:38:07 -07:00
Mouse Reeve
c398d8a870 Python formatting 2021-03-27 10:00:32 -07:00
Mouse Reeve
1341341a4f Adds test for annotated user helper 2021-03-27 09:56:46 -07:00
Mouse Reeve
25a3a7763c Adds books in common as a recommendation metric 2021-03-27 08:15:39 -07:00
Mouse Reeve
0ef33d2acb Adds shared books as a metric for recommending follows 2021-03-27 07:36:14 -07:00
Mouse Reeve
c8118c9bf4 Updates activity streams tests 2021-03-26 12:52:04 -07:00
Mouse Reeve
ee067b7d65 Fixes error adding unlisted statuses 2021-03-26 12:09:37 -07:00
Mouse Reeve
2490aa07aa Python formtting 2021-03-26 10:35:37 -07:00
Mouse Reeve
b0e1095fe6 Adds "suggested follows" panel 2021-03-26 10:32:42 -07:00
Pablo Barton
daf69d2375 716 books can be on multiple shelves, but only on one shelf for reading status 2021-03-26 08:21:42 -04:00
Mouse Reeve
2c9efd1ba6 BookWyrm users is the default directory filter 2021-03-25 17:00:16 -07:00
Mouse Reeve
6552dcefe8 Adds focus to filters toggle 2021-03-25 16:42:50 -07:00
Mouse Reeve
b94def80b0 Adds localstorage hide option for directory prompt 2021-03-25 16:32:15 -07:00
Mouse Reeve
2e0386aed8 Fixes missing label for select 2021-03-25 13:44:26 -07:00
Mouse Reeve
f9e5bdebc6 Adds clear filters link 2021-03-25 13:39:19 -07:00
Mouse Reeve
53af667698 Adds filtering 2021-03-25 13:36:35 -07:00
Mouse Reeve
c4901b9c4e Python formatting 2021-03-25 12:04:26 -07:00
Mouse Reeve
e6e16f61d3 Adds filters ui 2021-03-25 10:58:00 -07:00
Mouse Reeve
cdcef6ccb3 Simplifies wording for directory opt-in 2021-03-25 10:24:22 -07:00
Mouse Reeve
7711d43380 Display tweaks to make directory card size more consistent 2021-03-25 08:43:53 -07:00
Mouse Reeve
6548291571 Adds join directory insert 2021-03-25 08:39:45 -07:00
Mouse Reeve
ae6c2b6375 Updates tests 2021-03-24 14:19:12 -07:00
Mouse Reeve
9acb8e53d8 Adds privacy fields to boost activities 2021-03-24 13:35:49 -07:00
Mouse Reeve
3fe3b0b2d5 Adds published date field to boost activity 2021-03-24 13:25:00 -07:00
Mouse Reeve
d8c83fa31c Return activities for existing objs in resolve_remote_id 2021-03-24 12:58:39 -07:00
Mouse Reeve
28dc67bf5c Fixes ignore test for valid remote statuses 2021-03-24 12:37:42 -07:00
Mouse Reeve
81bd3f5be8 Tests not showing notifications for self boosts 2021-03-24 12:13:00 -07:00
Mouse Reeve
61a773cbe2 Python formatting 2021-03-24 11:01:23 -07:00
Mouse Reeve
c1e0471d1a Don't use html in article names for mastodon 2021-03-24 10:57:17 -07:00
Mouse Reeve
4f22657dc2
Merge pull request #791 from mouse-reeve/review-pure-title
Fixes review name in pure serialization
2021-03-24 10:42:46 -07:00
Mouse Reeve
4e768b72cf
Merge pull request #786 from mouse-reeve/css-transitions
Adds css transitions for notification and unread statuses
2021-03-24 10:32:28 -07:00
Mouse Reeve
30cebc017f Updates tests to catch decimal/float/int errors in status serialization 2021-03-24 10:31:05 -07:00
Mouse Reeve
73e38f9050 Fixes formatting rating value in template 2021-03-24 10:07:39 -07:00
Mouse Reeve
1d53a06e35 Fixes decimaal formatting 2021-03-24 09:51:49 -07:00
Mouse Reeve
9dc19b8bff Python formatting 2021-03-24 09:34:21 -07:00
Mouse Reeve
bde6ce8525 Fixes review name in pure serialization 2021-03-24 09:31:45 -07:00
Mouse Reeve
320dfd1a59 Python formatting 2021-03-24 08:39:37 -07:00
Mouse Reeve
1707bba8a8 Adds ordering to status model 2021-03-24 08:37:25 -07:00
Mouse Reeve
a67b0ae8a7 Adds stream length to .env 2021-03-24 08:33:05 -07:00
Mouse Reeve
8d5630e059 Adds css transitions to notification and unread statuses 2021-03-23 17:52:58 -07:00
Mouse Reeve
701487c526 Fixes mocks on activitystreams tests 2021-03-23 15:03:05 -07:00
Mouse Reeve
3e888c17dd Fixes audience filters with tests 2021-03-23 14:59:51 -07:00
Mouse Reeve
3a0025b105 Python formatting 2021-03-23 13:28:05 -07:00
Mouse Reeve
1fa7330595 Management command for rebuilding ALL feeds 2021-03-23 13:23:35 -07:00
Mouse Reeve
02bd94fdc8 Handle '/' view in updates 2021-03-23 13:23:19 -07:00
Mouse Reeve
0d88794f46 Python formatting 2021-03-23 13:07:29 -07:00
Mouse Reeve
5caac46c31 Updates updates tests 2021-03-23 13:02:45 -07:00
Mouse Reeve
9e9fd5c5a6 Only show feed additions on the first page 2021-03-23 12:54:49 -07:00
Mouse Reeve
2acf1355e9 Merge branch 'main' into redis-activity-stream 2021-03-23 12:53:12 -07:00
Mouse Reeve
b8cd1d5bce Show unread status reload link 2021-03-23 12:52:38 -07:00
Mouse Reeve
28651bd804 Fixes views tests 2021-03-23 11:34:32 -07:00
Mouse Reeve
7f271dbde7 Fixes model tests 2021-03-23 10:41:18 -07:00
Mouse Reeve
9e23bfe7c0 Updates activitypub tests 2021-03-23 10:25:52 -07:00
Mouse Reeve
59deb1cd05 More mocks for more tests 2021-03-23 09:35:39 -07:00
Mouse Reeve
de2cea5ff2 Adds mocks for block tests 2021-03-23 09:14:31 -07:00
Mouse Reeve
2d350474bf Mocks redis in feed view tests 2021-03-23 09:09:30 -07:00
Mouse Reeve
b9ec6a1e2b Mocks redis for helpers tests 2021-03-23 09:00:04 -07:00
Mouse Reeve
f290e60b85 Improves signal handling and updates inbox tests 2021-03-23 08:53:28 -07:00
Mouse Reeve
1cf4c0d5cc Mocks redis in interaction tests 2021-03-23 08:27:24 -07:00
Mouse Reeve
73661b9472 Mocks redis in outbox tests 2021-03-23 08:19:25 -07:00
Mouse Reeve
ea71c2aa88 Fixes status views tests 2021-03-23 08:13:57 -07:00
Mouse Reeve
e17ee40800 Generalizes broadcast mock in status view tests 2021-03-23 07:28:44 -07:00
Mouse Reeve
04d2085276 Create feeds on user registration 2021-03-23 07:01:49 -07:00
Mouse Reeve
371e908e8a Adds handlers for user relationship state changes 2021-03-22 21:11:23 -07:00
Mouse Reeve
39f34bc6e6 Adds activity stream utility for adding and removing statuses 2021-03-22 20:32:59 -07:00
Mouse Reeve
26fa81f19b Use redis lists instead of ordered sets
Django unsorts it so there's no point
2021-03-22 19:53:26 -07:00
Mouse Reeve
73185c6e40 Python formatting 2021-03-22 19:19:21 -07:00
Mouse Reeve
7eb494b4ab Removes get activity feed function 2021-03-22 19:17:46 -07:00
Mouse Reeve
0caea7e9ff Python formatting 2021-03-22 18:54:17 -07:00
Mouse Reeve
2fe9d1044a Moves tab title translations into templates 2021-03-22 18:42:12 -07:00
Mouse Reeve
3efabf1da3 Creates activity stream class 2021-03-22 18:39:16 -07:00
Mouse Reeve
459479db43 Add statuses to timelines 2021-03-22 16:19:02 -07:00
Mouse Reeve
1b9f78203e
Merge pull request #783 from mouse-reeve/book-tabs
Adds javascript for tabs on book page
2021-03-22 13:04:44 -07:00
Mouse Reeve
ebc01362e6 Adds redis image for activity streams 2021-03-22 12:50:55 -07:00
Mouse Reeve
e513ea8b9c Adds javascript for tabs on book page 2021-03-22 12:37:01 -07:00
Mouse Reeve
5890386fba Only show reading goal insert on first page of feed 2021-03-22 08:50:41 -07:00
Mouse Reeve
dedac83b5c Fixes model test 2021-03-21 17:18:42 -07:00
Mouse Reeve
01104581de Adds test for directory view 2021-03-21 16:50:03 -07:00
Mouse Reeve
abde06a700 Pytohn formatting 2021-03-21 16:47:09 -07:00
Mouse Reeve
6e3a203b46 Adds directory to main menu 2021-03-21 16:43:13 -07:00
Mouse Reeve
ba00672e66 Directory view 2021-03-21 16:37:52 -07:00
Mouse Reeve
3e75253ff1 Updates activitpub and tests for discoverability 2021-03-21 14:50:36 -07:00
Mouse Reeve
16994908d8 Lets users opt in to directory 2021-03-21 14:45:11 -07:00
Mouse Reeve
b29be11862 Updates reset password view test 2021-03-21 12:33:19 -07:00
Mouse Reeve
a0b106f6bb Adds emailing tests 2021-03-21 12:31:05 -07:00
Mouse Reeve
da2d146f0b runs black for python formatting 2021-03-21 12:07:58 -07:00
Mouse Reeve
c76ad0a312 Celery can't render tempaltes 2021-03-21 12:06:20 -07:00
Mouse Reeve
d8a20175b6 Adds email template layout and formatting 2021-03-21 12:06:12 -07:00
Mouse Reeve
33b5639af0 Fixes tests 2021-03-21 09:20:37 -07:00
Mouse Reeve
1644c421e5 Send invites 2021-03-21 09:13:21 -07:00
Mouse Reeve
685da1f5b8 Adds email templating 2021-03-21 08:54:57 -07:00
Mouse Reeve
5b8bd9ad44 Adds tests 2021-03-21 08:24:59 -07:00
Mouse Reeve
5297b9d796 Ignore request flow 2021-03-21 08:18:04 -07:00
Mouse Reeve
81ab73f309 Black formatting 2021-03-20 20:19:27 -07:00
Mouse Reeve
5e24b438ff Placeholders for send/ignore request flows 2021-03-20 20:16:13 -07:00
Mouse Reeve
f91a8144f4 Admin UI for managing invite requests 2021-03-20 19:39:39 -07:00
Mouse Reeve
d15396eb26 Request invite flow 2021-03-20 19:14:41 -07:00
Mouse Reeve
4d07cb1eb5 Adds invite request model 2021-03-20 18:27:30 -07:00
Mouse Reeve
396a43136d Black formatting 2021-03-20 18:04:10 -07:00
Mouse Reeve
d3a4282f11 Show progress on status 2021-03-20 18:03:20 -07:00
Mouse Reeve
17489f002f html linter fixes 2021-03-20 17:43:51 -07:00
Mouse Reeve
2a612f7278 Formatting 2021-03-20 17:39:05 -07:00
Mouse Reeve
dd15e87073 Merge branch 'main' into progress-update-ui 2021-03-20 17:38:22 -07:00
Mouse Reeve
daa0268eb3 Update progress with comments 2021-03-20 17:35:10 -07:00
Mouse Reeve
942c4a6664 Move progress updates into modal 2021-03-20 17:18:18 -07:00
Fabien Basmaison
fa79070b59 [lint] Update editorconfig linting:
- Add settings for comments.
- Remove custom settings that don’t work.
- Fix vendor JS file:
2021-03-20 16:33:18 +01:00
Fabien Basmaison
3ff336b104 Use the file on mouse-reeve/bookwyrm, verbatim. 2021-03-20 16:08:47 +01:00
Fabien Basmaison
4a7c0cd184 Fix indentation in bookwyrm/tests/data/ol_isbn_search.json. 2021-03-20 15:36:25 +01:00
Fabien Basmaison
b9a61162d7 Merge branch 'main' into ci 2021-03-20 15:26:51 +01:00
Mouse Reeve
c31bf1f0c8 Fixes loading javascript listeners 2021-03-19 15:59:28 -07:00
Mouse Reeve
1b5c71c7b1 formatting 2021-03-19 12:44:30 -07:00
Mouse Reeve
5a0723cde7 Migrations for django 3.1 upgrade 2021-03-19 12:43:36 -07:00
Mouse Reeve
08327b3a0a
Merge pull request #766 from mouse-reeve/decimal-ratings
Make rating a decimal field
2021-03-19 12:42:07 -07:00
Mouse Reeve
5ed3320c9b Formatting 2021-03-19 12:16:44 -07:00
Mouse Reeve
266c6fe777 Make rating a decimal field 2021-03-19 12:14:59 -07:00
Mouse Reeve
90cfff67d6 Updaates locale files 2021-03-19 11:58:27 -07:00
Mouse Reeve
5f1bed3d78
Merge pull request #764 from mouse-reeve/modular-javascript
Move javascript into separate files and only include where needed
2021-03-19 11:01:20 -07:00
Mouse Reeve
5ad645c225 Move check all js into separate file 2021-03-19 10:51:45 -07:00
Mouse Reeve
443daab128 Move tabs javascript into separate file 2021-03-19 10:47:32 -07:00
Mouse Reeve
e92a506e61 Upload cover via url form edit book view 2021-03-19 10:29:34 -07:00
Mouse Reeve
a8545e2701 Adds tests for upload cover view
bonus test for user view
2021-03-19 09:20:48 -07:00
Mouse Reeve
9470b2831f Add cover via url 2021-03-18 10:04:33 -07:00
Mouse Reeve
ae6d8529af Moves add cover into modal 2021-03-18 09:44:59 -07:00
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
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
Mouse Reeve
1f8e9bc668
Merge pull request #705 from mouse-reeve/federation-errors
Federation errors
2021-03-07 13:21:03 -08:00
Mouse Reeve
bbd3ac7242 Removes ID field from hideen form value 2021-03-07 13:17:11 -08:00
Mouse Reeve
410e0b04bb Fixes fav logic and base activity test 2021-03-07 13:13:16 -08:00
Mouse Reeve
0bd27928e4 Removes username snippet 2021-03-07 10:24:46 -08:00
Mouse Reeve
47cf77145d Updates tests for inbox tweaks 2021-03-07 09:48:39 -08:00
Mouse Reeve
09b77e567f Check for invalid json before verifying signature 2021-03-07 09:44:42 -08:00
Mouse Reeve
71bbea83f9 Adds discard check to favs 2021-03-07 09:42:31 -08:00
Mouse Reeve
c0ccb7065c Safer federation of book data changes
Only broadcast to other BW instances, plus bonus error handling
2021-03-07 09:22:35 -08:00
Mouse Reeve
a63471c56f
Merge pull request #704 from mouse-reeve/notification-preview
Clearer notification preview for generated notes
2021-03-07 08:59:18 -08:00
Mouse Reeve
f48a6399a4
Merge pull request #703 from mouse-reeve/list-display-fixes
List page display fixes
2021-03-07 08:53:33 -08:00
Mouse Reeve
ec92aff793 Clearer notification preview for generated notes 2021-03-07 08:50:07 -08:00
Mouse Reeve
283bfe8d6a
Merge pull request #702 from mouse-reeve/book-page-display
Book page display
2021-03-07 08:43:47 -08:00
Mouse Reeve
a70264c12c Fixes showing link to user lists 2021-03-07 08:42:30 -08:00
Mouse Reeve
5ddb3b810e Don't show books lists when item isn't approved 2021-03-07 08:37:39 -08:00
Mouse Reeve
336a3769b6 Hide empty body on delete readthrough modal 2021-03-07 08:03:28 -08:00
Mouse Reeve
dfecdca6f9 Fixes display of ratings 2021-03-07 07:56:33 -08:00
Mouse Reeve
b895059f03 Uses same alt text generation for books with no cover 2021-03-07 07:42:02 -08:00
Mouse Reeve
e5bdb4b9d1 Make empty cover value null 2021-03-07 07:35:50 -08:00
Mouse Reeve
9c94be8804 Fixes typo in subject places block 2021-03-07 07:35:38 -08:00
Mouse Reeve
4eefe33d9b
Merge pull request #701 from Flameborn/ScreenReaderImprovements
Screen reader improvements
2021-03-07 07:13:47 -08:00
Mouse Reeve
9082eefd8f Sets specific proportions for book page columns 2021-03-07 07:08:19 -08:00
erion
ae8d39995d Hide avatar image to screen readers on the status pages, since there is a link present for a user already. 2021-03-07 14:39:18 +01:00
erion
cb8ec01ccf Indicate which page is the current. 2021-03-07 13:55:50 +01:00
erion
09c5275ec4 Fix typo. 2021-03-07 13:18:10 +01:00
Mouse Reeve
e4fa85c2fb
Merge pull request #699 from mouse-reeve/display-name-title
Fixes display name showing up on user page
2021-03-06 13:34:42 -08:00
Mouse Reeve
13531f107d
Merge pull request #697 from mmai/feature/isbnSearch
ISBN search
2021-03-06 13:32:31 -08:00
Mouse Reeve
9ed18a2b1d Fixes display name showing up on user page 2021-03-06 13:11:44 -08:00
Mouse Reeve
5c9a3a5667
Merge pull request #696 from arkhi/fix-js
Fix toggling all checkboxes of failed imports
2021-03-06 13:05:07 -08:00
Fabien Basmaison
a52fee4ccf Remove (potentially useful) unused CSS. 2021-03-06 21:18:39 +01:00
Henri Bourcereau
703ff60271 isbn search 2021-03-06 18:09:15 +01:00
Fabien Basmaison
99e5e3e414 [import] Show skip link to all when there is more than 10 failed imports. 2021-03-05 22:09:56 +01:00
Mouse Reeve
91a14d3a13 Updates alt text in status model tests 2021-03-05 07:50:23 -08:00
Mouse Reeve
b70e728ffb Removes the word "cover" from cover alt text
Fixes #694
2021-03-05 06:58:22 -08:00
Fabien Basmaison
097b8e5811 Fix toggling all checkboxes of failed imports:
- Rename classes and function to something more descriptive.
- Listen to the element checked status instead of a click on a non‑focusable element.
- Use specific DOM targets instead of relying on the DOM ancestor tree.
- Add a skip‑link to the end of the list and avoid tabbing through all failed items.
- Update related i18n strings in French.
- Avoid having the label on the whole width to prevent accidental click.
- Move `fieldset` out of `ul`.
2021-03-05 15:41:21 +01:00
Mouse Reeve
5c089db086 Full add author flow 2021-03-04 17:10:33 -08:00
Mouse Reeve
b2d1384bc5 UI for adding and removing authors 2021-03-04 15:10:55 -08:00
Mouse Reeve
e2622d0594 Catches a couple translations, hides profile box when empty 2021-03-04 14:27:49 -08:00
Mouse Reeve
577f5db37b
Merge pull request #680 from arkhi/main
[profile] Fix HTML errors
2021-03-04 14:01:22 -08:00
Mouse Reeve
74ab3505fe
Merge pull request #686 from mouse-reeve/french-fuzzy
Removes "fuzzy" flag from translated French strings
2021-03-04 11:47:53 -08:00
Fabien Basmaison
dab6592c12 Testing moving a comment to see what accesslint says. 2021-03-04 20:38:28 +01:00
Fabien Basmaison
16ea657b5b [a11y] Add aria-modal:
- Addresses https://github.com/mouse-reeve/bookwyrm/pull/680#issuecomment-790603940
2021-03-04 20:14:38 +01:00