Mouse Reeve
9d765751e8
Creates notification template directory
2021-10-02 07:32:00 -07:00
Hugh Rundle
680e547c8b
add button for non-owner members to leave group
2021-10-02 21:24:26 +10:00
Hugh Rundle
29f18ee123
only suggest local users as potential group members
2021-10-02 19:35:57 +10:00
Hugh Rundle
8708d71f4b
group members can see lists
...
- fix visible_to_user for group objects (like lists)
- temporarily disable privacy_filter on group lists
2021-10-02 18:31:56 +10:00
Hugh Rundle
8496f24032
fix filters for group members to see and edit group lists
2021-10-02 18:09:15 +10:00
Hugh Rundle
52a083a907
revert name change for Group, GroupMember
...
these were named as BookwyrmGroup and BookwyrmGroupMember due to a misunderstanding about related_name and a dodgy development environment. This naming makes more sense.
2021-10-02 16:52:34 +10:00
Hugh Rundle
21e6ed7388
complete group notifications
...
- notify group members when a new member accepts an invitation
- notify all group members when a member leaves or is removed
- notify ex-member when they are removed
2021-10-02 15:48:55 +10:00
Hugh Rundle
70e0128052
non-owners can't add users to groups
...
- hide add-user pages from non-owners
- hide user searchbox from non-owners
- fix find-user searchbox being in wrong place where no results
2021-10-02 14:41:23 +10:00
Hugh Rundle
0984972b05
group membership invitations
...
- fix display of group information on user and group pages
- send, receive, accept and reject invitations
2021-10-02 12:30:48 +10:00
Hugh Rundle
2f42161dda
disambiguate groups and prep for group invitations
...
- rename Group to BookwyrmGroup
- create group memberships and invitations
- adjust all model name references accordingly
2021-10-02 10:10:37 +10:00
Mouse Reeve
a24fe558fc
Merge pull request #1480 from bookwyrm-social/comment-formatting
...
Post-processes statuses composed in modals
2021-10-01 12:00:56 -07:00
Mouse Reeve
7d03bfd2f6
Merge pull request #1477 from bookwyrm-social/add-edit-book
...
Updates for adding and editing books
2021-10-01 10:36:09 -07:00
Mouse Reeve
6902ffc4c3
Adds missing view file
2021-09-30 22:22:32 -07:00
Mouse Reeve
5dd2aac600
Merge branch 'main' into search-refactor
2021-09-30 10:41:30 -07:00
Mouse Reeve
75e69eb269
Post-processes statuses composed in modals
2021-09-30 10:00:05 -07:00
Mouse Reeve
33b3b518e8
Move views into subdirectory
2021-09-29 13:42:27 -07:00
Mouse Reeve
899e6b55a8
Updates references to book templates
2021-09-29 13:27:07 -07:00
Mouse Reeve
52c6a90498
Don't redirect on http request to readthrough
2021-09-29 11:02:04 -07:00
Mouse Reeve
d78c278665
Progress update flow for modal
2021-09-29 10:59:36 -07:00
Mouse Reeve
002a9c4267
Merge pull request #1456 from Tak/add-cover-from-url-while-adding-book
...
Add cover from url while adding book
2021-09-29 08:56:05 -07:00
Mouse Reeve
6dbd402345
Merge pull request #1469 from bookwyrm-social/user-shelf
...
Reorganize user/shelf/goal views code
2021-09-28 17:51:58 -07:00
Mouse Reeve
5ea40e23b7
Moves shelf delete button
2021-09-28 17:17:01 -07:00
Mouse Reeve
6d9bf349d1
Fixes delete shelf logic and adds tests
2021-09-28 17:02:18 -07:00
Mouse Reeve
24553e0e35
Updates edit/create shelf forms
2021-09-28 16:37:24 -07:00
Mouse Reeve
183e76eb2a
Adds test for shelf
2021-09-28 16:18:32 -07:00
Mouse Reeve
d9945ac5e3
Updates references to templates
2021-09-28 16:04:08 -07:00
Mouse Reeve
21fee19b42
Use recently active as the default sort order
2021-09-28 15:51:49 -07:00
Mouse Reeve
9b091eaf75
Moves user admin templates into settings directory
2021-09-28 12:46:38 -07:00
Mouse Reeve
a1a1fd90a1
Moves reports into settings directory
2021-09-28 12:43:21 -07:00
Mouse Reeve
9c9adfc6f0
Updates references to templates
2021-09-28 12:39:52 -07:00
Mouse Reeve
a9eb544bac
Moves blocks views and tests into preferences dir
2021-09-28 11:44:53 -07:00
Mouse Reeve
85f6b615bd
Python formatting
2021-09-28 11:27:16 -07:00
Mouse Reeve
1b0a5232bc
Move preferences views into directory
2021-09-28 11:23:47 -07:00
Hugh Rundle
66494e7788
fix reverse reference to user bookwyrm_groups
2021-09-28 18:53:11 +10: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
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
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
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
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
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
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
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
36c00c49ab
User viewer aware objects for feed suggested books
2021-09-27 11:37:50 -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
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
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
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
Hugh Rundle
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
Hugh Rundle
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
Hugh Rundle
e38d7b63f3
make groups actually editable
2021-09-27 16:49:56 +10:00
Hugh Rundle
493ed14f34
better group creation form logic and placement
2021-09-27 16:39:12 +10:00
Hugh Rundle
2874e52309
rationalise group creation and prep for group privacy
2021-09-27 15:34:14 +10:00
Hugh Rundle
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
Hugh Rundle
f3a3ba5f01
pass group value to list views and vice-versa
2021-09-26 15:56:02 +10:00
Hugh Rundle
ec0720514e
don't allow non-manager to add and remove group members
2021-09-25 20:25:30 +10:00
Hugh Rundle
b645d75303
add and remove users from groups
2021-09-25 17:34:44 +10:00
Hugh Rundle
7c0deabcb2
update urls and group view for searching users to add to group
2021-09-25 11:14:04 +10:00
Hugh Rundle
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
Hugh Rundle
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
Hugh Rundle
86a60d58e5
add user cards to group pages
2021-09-24 21:24:06 +10:00
Hugh Rundle
9b6d2a9d88
add group page
2021-09-24 20:34:11 +10:00
Hugh Rundle
f32a2cc4d0
group creation form can now be submitted!
...
Whoops
2021-09-24 15:04:52 +10:00
Hugh Rundle
4e93b09067
create group form
...
adds a group creation form to user dashboard
2021-09-24 14:12:36 +10:00
Hugh Rundle
3e3c90ec03
add views for groups
2021-09-24 07:49:25 +10:00
Mouse Reeve
c465c70c22
Handles statuses with no readthrough updates
2021-09-22 17:06:06 -07:00
Mouse Reeve
d510d72b8d
Fixes syntax in reading view
2021-09-22 16:41:43 -07:00
Mouse Reeve
a96d027cf3
Easier to read first-item-or-none list logic
2021-09-22 16:16:53 -07:00
Mouse Reeve
c54609d7fd
Refactors how readthroughs get updated
2021-09-22 16:08:25 -07:00
Mouse Reeve
2419942770
Create model function to update user last active date
2021-09-22 08:35:20 -07:00
Mouse Reeve
ea303fb285
Updating string format synatx part 3
2021-09-20 16:45:26 -07:00
Mouse Reeve
cf3157a3b5
Merge branch 'main' into pylint-update
2021-09-20 16:31:27 -07:00
Mouse Reeve
89fad59793
Query efficiency in user view
2021-09-20 15:25:29 -07:00
Mouse Reeve
aa0ffd86c0
Fetch related items when loading list page
2021-09-20 14:49:07 -07:00
Mouse Reeve
22ead6ba46
More efficient followers query
2021-09-20 14:29:01 -07:00
Mouse Reeve
38c66b208c
Adds customizable invite request copy
2021-09-18 15:45:04 -07:00
Mouse Reeve
385da1ea43
Handle get request to /register path
2021-09-18 15:08:02 -07:00
Mouse Reeve
acfb1bb376
Updating string format synatx part 2
2021-09-18 11:32:00 -07:00
Mouse Reeve
6022e7b232
Adds IP blocklist views
2021-09-17 13:04:10 -07:00
Mouse Reeve
8c4cafed79
Fixes formatting isbn endpoint results
2021-09-16 12:53:27 -07:00
Mouse Reeve
0d5e05a3c2
Updates other calls to the search endpoint
2021-09-16 10:55:23 -07:00
Mouse Reeve
98325818b2
Display search results in api mode and regular
2021-09-16 10:44:33 -07:00
Mouse Reeve
1f06d1a1d8
Removes local connector
2021-09-14 15:26:36 -07:00
Mouse Reeve
be7fae2053
Show recent servers first
2021-09-12 10:02:15 -07:00