Levi Bard
9db75cc5b7
Add test for creating a book with a cover url
2021-09-28 10:01:31 +02:00
Mouse Reeve
0a37556941
Merge pull request #1401 from bookwyrm-social/opensearch
...
Adds opensearch xml file
2021-09-27 19:48:53 -07:00
Mouse Reeve
95cdaae4d4
Python formatting
2021-09-27 19:38:54 -07:00
Mouse Reeve
46a7030dbc
Merge pull request #1463 from bookwyrm-social/list-item-perms
...
Updates how permissions are verified in views
2021-09-27 19:36:35 -07:00
Mouse Reeve
c32f975a67
Working in firefox
2021-09-27 19:28:50 -07:00
Mouse Reeve
99ef81be9b
Linter fixes
2021-09-27 19:05:13 -07:00
Mouse Reeve
15fc31bf77
Merge branch 'main' into opensearch
2021-09-27 18:58:28 -07:00
Mouse Reeve
767d378170
Update status tests
2021-09-27 18:52:45 -07:00
Mouse Reeve
e0aa8a7fdf
Fixes shelf view boolean logic
2021-09-27 17:58:21 -07:00
Mouse Reeve
f13f3d460c
Fixing checking list perms
2021-09-27 17:52:27 -07:00
Mouse Reeve
99c1a670f4
Fixes checking goal perms
2021-09-27 17:52:20 -07:00
Mouse Reeve
56bf8d923f
Updates goal and list tests
2021-09-27 17:52:10 -07:00
Mouse Reeve
6c0b1da83b
Fixes feed tests
2021-09-27 17:32:54 -07:00
Mouse Reeve
c874a762dd
Updates inbox view
2021-09-27 17:27:17 -07:00
Mouse Reeve
62ff9d6199
Python formatting
2021-09-27 16:08:52 -07:00
Mouse Reeve
af2f78095e
Fixes assert syntax
2021-09-27 16:06:01 -07:00
Mouse Reeve
dfa8bafe18
Uses new visible/editable/deleteable functions
2021-09-27 16:04:40 -07:00
Mouse Reeve
e6ae500569
Fixes syntax problem on http raises
2021-09-27 16:00:50 -07:00
Mouse Reeve
84443c7f81
Custom perms function for shelf view
2021-09-27 15:55:55 -07:00
Mouse Reeve
3f10ae248a
Changes visiblity function to raise
2021-09-27 15:54:58 -07:00
Mouse Reeve
3657f9e0df
Check perms in status views
2021-09-27 14:03:17 -07:00
Mouse Reeve
556ae0726b
Check perms in list views
2021-09-27 14:03:06 -07:00
Mouse Reeve
ab31798931
Adds model function to check perms
2021-09-27 14:02:34 -07:00
Mouse Reeve
0f57a43bfb
Separate access controls for delete and re-order
2021-09-27 13:31:35 -07:00
Mouse Reeve
10098a402d
Don't show list item controls to contributing viewers
2021-09-27 13:25:53 -07:00
Mouse Reeve
ab5521480d
Merge pull request #1462 from bookwyrm-social/fewer-active-shelf-queries
...
Fewer active shelf queries
2021-09-27 13:16:50 -07:00
Mouse Reeve
1efe62a70e
Check for readthrough annotation
2021-09-27 13:08:11 -07:00
Mouse Reeve
d7a54b0b10
Removes stray print
2021-09-27 12:56:40 -07:00
Mouse Reeve
6d2403bbc7
Merge pull request #1459 from bookwyrm-social/password-reset
...
Prevent password reset for inactive users
2021-09-27 12:55:05 -07:00
Mouse Reeve
8b0a8e2611
Another user mock on request
2021-09-27 12:38:49 -07:00
Mouse Reeve
dd3850a3ba
Updates books test
2021-09-27 12:26:56 -07:00
Mouse Reeve
36c00c49ab
User viewer aware objects for feed suggested books
2021-09-27 11:37:50 -07:00
Mouse Reeve
ba4df5b38b
Safely return if there are no current shelves
2021-09-27 11:29:53 -07:00
Mouse Reeve
8e8f46ee51
Only call .all once in shelf view
2021-09-27 11:27:46 -07:00
Mouse Reeve
cb089ed817
One query to get book for book view
2021-09-27 11:23:55 -07:00
Mouse Reeve
35131262ff
CHeck for current shelves attr before querying for it
2021-09-27 11:17:53 -07:00
Mouse Reeve
995e2c47db
User viewer aware objects for book page
...
Plus other refactors for that view
2021-09-27 11:17:42 -07:00
Mouse Reeve
6d06edc2c7
User viewer aware books for all books shelf view
2021-09-27 10:58:34 -07:00
Mouse Reeve
eb34bb2d93
Merge pull request #1461 from bookwyrm-social/views-init
...
Adds init file to admin views dir
2021-09-27 10:37:23 -07:00
Mouse Reeve
e75a49f799
Merge pull request #1455 from bookwyrm-social/refactor-readthroughs
...
Refactor read-throughs
2021-09-27 10:29:46 -07:00
Mouse Reeve
bc87856c2e
Merge branch 'main' into book-format-choices
2021-09-27 10:29:12 -07:00
Mouse Reeve
1cb1b29f57
Adds request user to mock
2021-09-27 10:26:25 -07:00
Mouse Reeve
69b010a8d3
f string updates
2021-09-27 10:21:46 -07:00
Mouse Reeve
28d40e9914
Use url names in redirects
2021-09-27 10:17:16 -07:00
Mouse Reeve
92de48afd4
Adds init file to admin views dir
...
Is this why they're not pylinting?
2021-09-27 10:06:46 -07:00
Mouse Reeve
c399d6edfb
Prevent password reset for inactive users
2021-09-27 09:31:51 -07:00
Hugh Rundle
fb823189a0
don't allow non-local users to join groups (yet)
...
Groups are not compatible with ActivityPub because I don't know what I'm doing.
NOTE: this is super hacky, fix ASAP
2021-09-27 21:48:40 +10:00
Hugh Rundle
e15eef16c5
improve new group member adding
...
The add-members page now looks almost identical to the group
page and is clearer.
2021-09-27 21:21:00 +10:00
Levi Bard
0e6895633c
Allow adding a cover by url when adding a new book ( #1443 )
2021-09-27 13:00:16 +02:00
Hugh Rundle
1a02af1450
allow members to see groups and their lists
...
- add additional logic to visible_to_user, for groups and their objects
- cleans up some queries in Group view
NOTE: I can't work out how to make group lists only visible
to users who should be able to see them, on user group listings.
They still can't access the actual group, but can see it on
user pages. This is potentialy problematic.
2021-09-27 20:24:25 +10:00