0a37556941
Merge pull request #1401 from bookwyrm-social/opensearch
...
Adds opensearch xml file
2021-09-27 19:48:53 -07:00
95cdaae4d4
Python formatting
2021-09-27 19:38:54 -07:00
c32f975a67
Working in firefox
2021-09-27 19:28:50 -07:00
99ef81be9b
Linter fixes
2021-09-27 19:05:13 -07:00
15fc31bf77
Merge branch 'main' into opensearch
2021-09-27 18:58:28 -07:00
e0aa8a7fdf
Fixes shelf view boolean logic
2021-09-27 17:58:21 -07:00
f13f3d460c
Fixing checking list perms
2021-09-27 17:52:27 -07:00
99c1a670f4
Fixes checking goal perms
2021-09-27 17:52:20 -07:00
c874a762dd
Updates inbox view
2021-09-27 17:27:17 -07:00
62ff9d6199
Python formatting
2021-09-27 16:08:52 -07:00
dfa8bafe18
Uses new visible/editable/deleteable functions
2021-09-27 16:04:40 -07:00
e6ae500569
Fixes syntax problem on http raises
2021-09-27 16:00:50 -07:00
84443c7f81
Custom perms function for shelf view
2021-09-27 15:55:55 -07:00
3657f9e0df
Check perms in status views
2021-09-27 14:03:17 -07:00
556ae0726b
Check perms in list views
2021-09-27 14:03:06 -07:00
ab5521480d
Merge pull request #1462 from bookwyrm-social/fewer-active-shelf-queries
...
Fewer active shelf queries
2021-09-27 13:16:50 -07:00
6d2403bbc7
Merge pull request #1459 from bookwyrm-social/password-reset
...
Prevent password reset for inactive users
2021-09-27 12:55:05 -07:00
36c00c49ab
User viewer aware objects for feed suggested books
2021-09-27 11:37:50 -07:00
8e8f46ee51
Only call .all once in shelf view
2021-09-27 11:27:46 -07:00
cb089ed817
One query to get book for book view
2021-09-27 11:23:55 -07:00
995e2c47db
User viewer aware objects for book page
...
Plus other refactors for that view
2021-09-27 11:17:42 -07:00
6d06edc2c7
User viewer aware books for all books shelf view
2021-09-27 10:58:34 -07:00
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
69b010a8d3
f string updates
2021-09-27 10:21:46 -07:00
28d40e9914
Use url names in redirects
2021-09-27 10:17:16 -07:00
92de48afd4
Adds init file to admin views dir
...
Is this why they're not pylinting?
2021-09-27 10:06:46 -07:00
c399d6edfb
Prevent password reset for inactive users
2021-09-27 09:31:51 -07:00
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
0e6895633c
Allow adding a cover by url when adding a new book ( #1443 )
2021-09-27 13:00:16 +02:00
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
c87712c995
allow group members to add items to group lists directly
...
NOTE: this will be the case regardless of privacy settings of the list
2021-09-27 18:41:29 +10:00
81e5ff5b76
show groups on member pages if allowed
...
- display groups on user pages when not the logged in user
- restrict visibility of groups on user pages and group pages themselves according to privacy settings
2021-09-27 17:51:18 +10:00
e38d7b63f3
make groups actually editable
2021-09-27 16:49:56 +10:00
493ed14f34
better group creation form logic and placement
2021-09-27 16:39:12 +10:00
2874e52309
rationalise group creation and prep for group privacy
2021-09-27 15:34:14 +10:00
5fccb991a7
remove list from group when changing curation
...
Allows 'group' to be blank when saving a list.
Removes the 'group' field when saving a list with curation other than 'group' - this stops the list "sticking" to a group after it is changed from group curation to something else.
2021-09-26 18:28:16 +10:00
f3a3ba5f01
pass group value to list views and vice-versa
2021-09-26 15:56:02 +10:00
ec0720514e
don't allow non-manager to add and remove group members
2021-09-25 20:25:30 +10:00
b645d75303
add and remove users from groups
2021-09-25 17:34:44 +10:00
7c0deabcb2
update urls and group view for searching users to add to group
2021-09-25 11:14:04 +10:00
273ad9a466
add create_group to __init__.py
...
you probably want this otherwise nothing previously added for group creation will work :-)
2021-09-25 10:55:32 +10:00
d4fcf88cf5
add list cards to groups page
...
- add list cards to groups page based on lists page
- add sort to members on group page
2021-09-24 21:57:01 +10:00
86a60d58e5
add user cards to group pages
2021-09-24 21:24:06 +10:00
9b6d2a9d88
add group page
2021-09-24 20:34:11 +10:00
f32a2cc4d0
group creation form can now be submitted!
...
Whoops
2021-09-24 15:04:52 +10:00
4e93b09067
create group form
...
adds a group creation form to user dashboard
2021-09-24 14:12:36 +10:00
3e3c90ec03
add views for groups
2021-09-24 07:49:25 +10:00
c465c70c22
Handles statuses with no readthrough updates
2021-09-22 17:06:06 -07:00
d510d72b8d
Fixes syntax in reading view
2021-09-22 16:41:43 -07:00
a96d027cf3
Easier to read first-item-or-none list logic
2021-09-22 16:16:53 -07:00