Mouse Reeve
ebbc56b3d0
Merge pull request #1503 from bookwyrm-social/dashboard
...
More! Charts!
2021-10-04 11:59:46 -07:00
Mouse Reeve
636eca97cb
Better mobile display
2021-10-04 11:22:14 -07:00
Mouse Reeve
2335945a50
Python formatting
2021-10-04 11:16:02 -07:00
Mouse Reeve
551b49b903
Adds works chart and updates colors
2021-10-04 11:14:50 -07:00
Mouse Reeve
37cd7e684c
Updates chart markup
2021-10-04 10:53:22 -07:00
Mouse Reeve
fa241b08e7
Rename charts snippets and add register chart file
2021-10-04 10:42:02 -07:00
Mouse Reeve
2a88753e17
Chart class
2021-10-04 10:40:39 -07:00
Mouse Reeve
ac70a810af
Boosts by remote users
2021-10-04 09:58:05 -07:00
Mouse Reeve
321949f2fa
Lightly updates tests
2021-10-04 09:47:33 -07:00
Mouse Reeve
443750d6db
f strings for activistreams tasks tests
2021-10-04 09:14:04 -07:00
Hugh Rundle
da53bad0f5
make Black happy
2021-10-04 22:22:00 +11:00
Hugh Rundle
3a90311129
update indenting for linter
2021-10-04 22:20:02 +11:00
Hugh Rundle
05969c5311
improve group creation hint
...
- use help class
- hopefully make the linter happy
2021-10-04 22:18:51 +11:00
Hugh Rundle
57b2c83c64
disable pylint suppression
...
I don't know what this does so I removed it - maybe I'll find out!
2021-10-04 21:34:54 +11:00
Hugh Rundle
dafda649f1
run Black on changed code
2021-10-04 21:31:28 +11:00
Hugh Rundle
782512b2ce
replace get_group_suggestions
...
- adds **filters argument to get_suggestions()
- passes local=True arg to get_suggestions() for group member suggestions
- removes get_group_suggestions()
Thanks to Mouse for the suggestion to keep the codebase DRY!
2021-10-04 21:25:38 +11:00
Hugh Rundle
2b96b3365c
Merge branch 'main' into bookwyrm-groups
2021-10-04 21:10:15 +11:00
Mouse Reeve
ea18252549
Fixes broken migration
2021-10-03 13:26:02 -07:00
Mouse Reeve
5cd8109820
Adds missing connector migration
2021-10-03 12:15:44 -07:00
Mouse Reeve
a3f0e23d23
Merge pull request #1496 from bookwyrm-social/fix-add-book
...
Fixes create book flow for search refactor
2021-10-03 12:12:10 -07:00
Mouse Reeve
d72d4eddfd
Merge pull request #1495 from bookwyrm-social/unblock-bug
...
Unblock bug
2021-10-03 12:02:18 -07:00
Mouse Reeve
889930aa69
Fixes create book flow for search refactor
2021-10-03 11:55:16 -07:00
Mouse Reeve
0798ba028f
Fixes unblock signal
2021-10-03 11:51:17 -07:00
Mouse Reeve
668f71f96c
Tests block and unblock activitystream signals
2021-10-03 11:45:19 -07:00
Mouse Reeve
15f6d2afc4
Merge pull request #1494 from bookwyrm-social/search-limits
...
Remove hard limit on search endpoints
2021-10-03 11:45:12 -07:00
Mouse Reeve
f4cb5933e4
Merge pull request #1493 from bookwyrm-social/auth-search
...
Logged out users can't search remote sources
2021-10-03 09:57:25 -07:00
Mouse Reeve
9059b78b57
Fixes testing if endpoint got results
2021-10-03 09:44:27 -07:00
Mouse Reeve
7d8cd99926
Remove hard limit on search endpoints
2021-10-03 09:38:41 -07:00
Mouse Reeve
ca7967a3a3
Adds test for remote search for anonymous user
2021-10-03 09:29:24 -07:00
Mouse Reeve
4787d854b8
require auth on resolve book endpoint
2021-10-03 09:19:19 -07:00
Mouse Reeve
9a5003f92a
Don't let anonymous users search remote data
2021-10-03 09:18:17 -07:00
Hugh Rundle
c59194f808
Merge branch 'main' into new-shelf-fix
2021-10-03 19:47:15 +11:00
Hugh Rundle
9509c5e288
new shelves can be given names always
...
Previously new shelves created when a default shelf was selected did not provide the option to create a new unique name. Now they do.
fixes #1491
2021-10-03 19:41:38 +11:00
Mouse Reeve
cd5541ac30
Merge pull request #1487 from bookwyrm-social/thread
...
Fixes thread display
2021-10-02 20:15:46 -07:00
Hugh Rundle
0d5c20bcde
remove_from_group button updates
...
- enable blocked users to be removed
- make "remove" button more subtle
2021-10-03 13:57:21 +11:00
Hugh Rundle
9d8e978686
sort group members in UserGroups view
2021-10-03 13:45:41 +11:00
Hugh Rundle
c04659984f
fix raise_not_editable for group lists
2021-10-03 13:45:19 +11:00
Mouse Reeve
3c82230eed
Load subclasses
2021-10-02 19:24:23 -07:00
Mouse Reeve
c821aaa18e
Load status ancestors
2021-10-02 19:22:11 -07:00
Mouse Reeve
e1271dd079
Less costly migration
2021-10-02 19:04:01 -07:00
Hugh Rundle
603a9dc25c
fix group members not being able to delete items on group lists
2021-10-03 12:22:03 +11:00
Hugh Rundle
7db2af89dd
use group.local_path instead of harcoded url
2021-10-03 12:03:37 +11:00
Hugh Rundle
1ad8d87434
use raise_visible_to_user in group model
...
instead of if visible_to_user
2021-10-03 12:02:57 +11:00
Hugh Rundle
f13223b8ca
add notifications for groups
...
Moved into new structure after merge.
2021-10-03 11:46:51 +11:00
Hugh Rundle
77ac8e0c04
add group membership to raise_not_deletable for lists
2021-10-03 11:45:53 +11:00
Mouse Reeve
14ac8bb1b5
Python formatting
2021-10-02 16:56:23 -07:00
Mouse Reeve
43f0440505
Improved privacy query
2021-10-02 16:55:15 -07:00
Mouse Reeve
cd57161489
Privacy filter for thread
2021-10-02 16:55:05 -07:00
Hugh Rundle
602664b8d7
Merge branch 'main' into groups-merge-test
...
Big merge of a couple of weeks' work from the main project back into this branch. :ohno:
2021-10-03 10:49:38 +11:00
Hugh Rundle
f39887cf7f
groups should appear before lists on user pages
2021-10-03 10:07:47 +11:00
Mouse Reeve
7caaddbb22
Get thread children with depth first recusive search
2021-10-02 15:50:09 -07:00
Hugh Rundle
1c5789f283
remove group-curated lists when user leaves group
2021-10-03 09:16:19 +11:00
Hugh Rundle
a179de33bc
fix incorrect wording on group selection
...
select a group, not a list!
2021-10-03 09:07:42 +11:00
Hugh Rundle
4ea99d1763
don't assign a group when creating non-group curated lists
...
same as updating a list but for if a user changes their mind about curation when initially creating a list.
2021-10-03 09:06:06 +11:00
Mouse Reeve
55a556863c
Improves display on author page
...
Fixes #1482
2021-10-02 11:44:25 -07:00
Mouse Reeve
eaa77906b2
Merge pull request #1485 from bookwyrm-social/notifications
...
Refactors notifications templates
2021-10-02 11:41:18 -07:00
Mouse Reeve
446d286b12
Merge pull request #1483 from bookwyrm-social/threads
...
Threads
2021-10-02 11:41:10 -07:00
Mouse Reeve
db74538345
Update for js linter
2021-10-02 11:28:16 -07:00
Mouse Reeve
b9632039f9
Link notification block to its main path
2021-10-02 11:26:22 -07:00
Mouse Reeve
2a9f8f8122
Updates curated list notification link generation
2021-10-02 10:52:35 -07:00
Mouse Reeve
5adbf2d087
Move notification items into dir
2021-10-02 10:46:09 -07:00
Mouse Reeve
0320898f4e
Expands notifications views test
2021-10-02 10:42:38 -07:00
Mouse Reeve
1d79bb58e1
Better mobile display for notifications
2021-10-02 10:28:49 -07:00
Mouse Reeve
085d3270a3
Load related objects in query
...
Reduces query load in template
2021-10-02 10:11:27 -07:00
Mouse Reeve
8f56ad9e99
Adds report templates
2021-10-02 09:50:48 -07:00
Mouse Reeve
df8f67895c
Adds mention notification template
2021-10-02 08:09:57 -07:00
Mouse Reeve
29157d03fc
Create snippet for notification items
2021-10-02 07:34:59 -07:00
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
eed9d44cfd
fix visible_to_user for groups user is a member of
2021-10-02 20:52:19 +10:00
Hugh Rundle
72e00f75c9
send notification when other group members add books to group lists
2021-10-02 20:14:53 +10:00
Hugh Rundle
3a954ca6ae
improve responsive layout for groups
2021-10-02 20:05:19 +10:00
Hugh Rundle
29f18ee123
only suggest local users as potential group members
2021-10-02 19:35:57 +10:00
Hugh Rundle
2c399fe1aa
fix suggested members all appearing in a column
2021-10-02 19:35:08 +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
832a9b9890
fix group local_path
...
as per Lists, we need to override get_remote_id to remove the user from the URL
2021-10-02 16:54:44 +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
f82af6382f
make message about group members more generic
2021-10-02 15:48:34 +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
5237e88aba
remove user button for groups
2021-10-02 13:48:53 +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
89dea44614
accepting membership fixes
...
- don't delete the invitation twice
- send membership information properly to notification
2021-10-02 12:29:01 +10:00
Hugh Rundle
9290655116
fix urls for group invitations
2021-10-02 12:13:34 +10:00
Hugh Rundle
80fb37b55c
add has_groups tag for use on user page
2021-10-02 12:12:59 +10:00
Mouse Reeve
bd463ea6fe
Lint fixes
2021-10-01 18:09:11 -07:00
Mouse Reeve
29ee99c03e
Styles for the thread page
2021-10-01 18:05:48 -07:00
Hugh Rundle
0f3be40957
fix group references in templates
...
Let's do this the sensible way huh, by using backwards references to memberships etc
Also adds filters for is_member and is_invited so we don't have to do weird things in group Views
2021-10-02 10:47:42 +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
f901806574
Test to ensure incoming statuses have thread ids
2021-10-01 14:56:38 -07:00
Mouse Reeve
ca4b262e72
Link to status anchor
2021-10-01 14:50:42 -07:00
Mouse Reeve
0cd55147ee
Set thread id on parent status
2021-10-01 14:41:30 -07:00
Mouse Reeve
7ff040470f
Use more f strings in status models test file
2021-10-01 14:26:01 -07:00
Mouse Reeve
8461fe5ec3
Adds anchor id to status
2021-10-01 14:12:49 -07:00
Mouse Reeve
565c9dfa72
Removes block div from thread markup
2021-10-01 14:12:34 -07:00
Mouse Reeve
b8fd909fe3
Adds thread id to status model
2021-10-01 14:12:03 -07: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
70bf7c522f
Adds tests
2021-10-01 11:23:35 -07:00
Mouse Reeve
d2f80c2446
Adds test for reading status with comment
2021-10-01 10:57:56 -07:00