0683ce1c33
Proper markdown formatting
2022-02-04 12:07:26 -08:00
f85158191b
Use form for saving list items
2022-01-25 12:11:17 -08:00
d0a4c78d02
Limit length on list item note
2022-01-24 12:02:05 -08:00
8a84bd3490
Apply suggestions from python lint
2021-12-04 17:33:28 +01:00
3bd28afe93
Add unique embed_key to List model
2021-12-04 16:06:07 +01:00
2a31bf2f0c
delete groups
...
Whoops, forgot to add this functionality earlier.
- allow owner to delete a group
- change all group lists to closed curation with group=False when group deleted
2021-10-16 17:35:36 +11:00
6f13c0d808
formatting fix
2021-10-16 16:09:03 +11:00
97ea61dd7e
efficiency improvement to remove_from_group
2021-10-16 08:17:42 +11:00
2f38af4faa
Revert "clean up List db queries"
...
This reverts commit 41f27a4a66
.
I forgot that update() can only be done on a query result, not on an object, so we will need to go back to querying in order to update rather than saving.
2021-10-16 06:59:07 +11:00
41f27a4a66
clean up List db queries
...
- don't unnecessarily query DB in List views
- use more efficient query in remove_from_group List class method
2021-10-15 17:56:23 +11:00
726217577f
linting
2021-10-10 13:18:16 +11:00
83f46b6cda
remove print() statement
...
Whoops accidentally left this behind from manual troubleshooting
2021-10-10 12:01:21 +11:00
252ff0d689
emblacken files
...
Wouldn't it be great if I just remembered to run Black before every commit?
2021-10-09 22:15:24 +11:00
9940abfd81
refactor removing user from group
...
This is in preparation for removing a user and their lists when the group owner blocks them.
Remove the user via models.group
Remove the lists via models.list
2021-10-09 22:11:46 +11:00
1bf5758e01
overide filters for groups and group lists
...
- use more sensible query for displaying groups on user page
- privacy_filter now allows group members to see followers_only and private lists and groups they would otherwise not see
2021-10-09 16:11:11 +11:00
cc8db1c353
linting fixes
...
- remove unused imports
- add class docstrings
2021-10-05 09:05:20 +11:00
dafda649f1
run Black on changed code
2021-10-04 21:31:28 +11:00
c04659984f
fix raise_not_editable for group lists
2021-10-03 13:45:19 +11:00
603a9dc25c
fix group members not being able to delete items on group lists
2021-10-03 12:22:03 +11:00
77ac8e0c04
add group membership to raise_not_deletable for lists
2021-10-03 11:45:53 +11:00
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
72e00f75c9
send notification when other group members add books to group lists
2021-10-02 20:14:53 +10:00
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
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
556ae0726b
Check perms in list views
2021-09-27 14:03:06 -07:00
f3181690a2
change group owner from 'manager' to 'user'
...
This will allow privacy management to use existing code.
Some template updates also are for rationalising how
groups are created and edited.
2021-09-27 15:36:41 +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
686198472d
update group and list models
...
- remove GroupList model
- add a group foreign key value to List model
- remove reference to lists in Group model
2021-09-26 15:50:15 +10:00
acfb1bb376
Updating string format synatx part 2
2021-09-18 11:32:00 -07:00
4479864008
Updates code for linter
2021-06-18 14:12:56 -07:00
3ade2d3bb1
New version of black, new whitespace
2021-04-26 09:15:42 -07:00
77775d9bf8
Remove superfluous calls to all()
2021-04-19 14:47:59 -07:00
f6824268ed
584 sorting of lists
2021-04-16 22:17:15 -04:00
b1491c2ac6
Adds privacy and recipient details to list items
2021-04-08 15:09:56 -07:00
e550f8cde6
Fixes list item fields and broadcast updates
2021-04-08 14:47:38 -07:00
31077a9790
Update ordered collection classes to use CollectionItem
2021-04-08 14:17:29 -07:00
f7b0a282a7
Set updated date on list when item is added
2021-03-30 10:28:50 -07:00
70296e760b
Runs black
2021-03-08 08:49:10 -08:00
6e6bcb2f48
gotta simplify the add activity
2021-02-23 15:51:02 -08:00
5f7466e92d
Fixes bugs in how lists/shelves federate Adds
2021-02-10 19:17:16 -08:00
8842db3c1b
Create notification when adding or suggesting a book to a list
2021-02-10 13:46:56 -08:00
486b660351
Merge pull request #594 from mouse-reeve/broadcast-fixes
...
Refactors broadcasting
2021-02-10 08:52:15 -08:00
8fb08e09fd
Filter pending books from list display
2021-02-09 11:40:35 -08:00
feb8190d8f
Created mixin for ordered collection items
2021-02-04 12:25:07 -08:00
dfb5c396b0
Moves activitypub mixin to its own file
2021-02-04 10:47:18 -08:00
e61d8b7638
Serialize lists as custom activitypub object
2021-02-02 11:13:15 -08:00
e53b4e57fa
Federating lists and shelves
2021-02-02 09:37:46 -08:00
d7c32cc314
Paginates lists view
2021-01-31 17:34:06 -08:00
5939a72c81
More list models tests
2021-01-31 13:31:49 -08:00
d73a1b4ec1
handles list privacy in display
2021-01-31 08:41:11 -08:00