df27614937
Don't use localstorage cache for edits
2021-10-14 16:53:46 -07:00
e149a14e73
Use href instead of POST form to edit status
2021-10-14 16:53:42 -07:00
7488f8da96
Creates edit status endpoint
2021-10-14 16:30:27 -07:00
cc650e235b
Fixes privacy filters for followers-only replies
2021-10-14 16:26:28 -07:00
b9251b4dc7
Fixes book identifiers not displaying
2021-10-14 16:11:33 -07:00
1f6f543847
Use url templatetag to load posting urls
2021-10-14 15:56:34 -07:00
d5b247b905
Merge branch 'main' into edit-posts
2021-10-14 15:49:08 -07:00
c1287f800e
Merge pull request #1529 from scientia-ac-labore/add_sort_books
...
Add sorting to shelf. Use table-sort-header
2021-10-14 15:46:08 -07:00
Faiazov Dmitrii
1abbc67483
Make requested changes.
...
Signed-off-by: Faiazov Dmitrii <jjsolutions0110@gmail.com>
2021-10-14 13:39:15 +03:00
803ad3c911
Removes delete and redraft view
2021-10-13 13:12:56 -07:00
Faiazov Dmitrii
ce16f36fe8
Add sorting to shelf. Use table-sort-header
...
existing template.
Signed-off-by: Faiazov Dmitrii <jjsolutions0110@gmail.com>
2021-10-13 21:25:40 +03:00
4384098292
Updates Spanish locale
2021-10-11 12:17:39 -07:00
58ba1ddf87
Typo fix
2021-10-11 10:07:02 -07:00
48b84afbde
Python formatting
2021-10-11 09:37:25 -07:00
69110497ae
Adds Brazilian Portuguese locale
2021-10-11 09:23:28 -07:00
5d7f77021b
dammit eslint
2021-10-10 14:02:55 +11:00
3d74b10c5f
eslinting
2021-10-10 13:55:18 +11:00
726217577f
linting
2021-10-10 13:18:16 +11:00
14d3158871
add database migrations for Groups
2021-10-10 12:33:51 +11:00
2a78c1221c
style cleanup
...
Even tests must be formatted to please Black...
2021-10-10 12:33:11 +11:00
8ae20928bb
add tests for groups
2021-10-10 12:06:54 +11:00
18735bdd42
use update() to remove orphaned groups on list edit
...
Using add() broadcasts the database change, which is unnecessary potentially broadcast AP messages twice.
2021-10-10 12:04:03 +11:00
d6a5794ac3
do not load list edit form if viewer not authenticated
2021-10-10 12:02:27 +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
b3cc9e5b75
remove user and their lists from group when group.user blocks them
...
Lists are changed to closed curation with no group.
2021-10-09 22:13:12 +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
714a369246
only show list edit form to list.user
2021-10-09 16:10:00 +11:00
056150d583
CASCADE group.user
...
Delete groups when group.user is deleted.
2021-10-08 21:21:19 +11:00
39e002ee13
Merge remote-tracking branch 'origin/bookwyrm-groups' into bookwyrm-groups
...
Merge changes from main project into local branch
2021-10-08 18:53:59 +11:00
5a4026cda3
group views tests
2021-10-08 18:47:03 +11:00
05bde27944
remove commented out code
2021-10-08 18:46:30 +11:00
48fc85c761
adjust commenting on js file
2021-10-08 18:45:28 +11:00
4ba3234f6c
Merge branch 'main' into bookwyrm-groups
2021-10-07 17:27:11 -07:00
3003b103e4
add group views tests
...
TODO: the POST test needs to test that the group was actually updated.
2021-10-08 08:38:00 +11:00
674aa484fd
Use target language in choice list
2021-10-06 16:58:27 -07:00
982cd49c51
Fixes english grammar weirdness
2021-10-06 16:33:07 -07:00
b23f6afa6c
Adds context to curation type "open"
2021-10-06 16:24:23 -07:00
26de524247
Update language on login and edit preference
2021-10-06 13:01:29 -07:00
c0af69045c
Adds language customization to preferences
2021-10-06 12:20:05 -07:00
ba5ec878fa
Adds language preference to database
2021-10-06 12:19:52 -07:00
73a8f89bee
Merge branch 'main' into bookwyrm-groups
2021-10-06 11:37:38 -07:00
8d00ef4318
Style cleanup
2021-10-06 11:23:36 -07:00
53e5762563
Status-specific filters in status model
2021-10-06 11:19:13 -07:00
34d6c88861
Move privacy levels filter to clearer location
2021-10-06 11:15:17 -07:00
2307cb2227
Filter followers only in place
...
It's only used in one spot
2021-10-06 11:12:03 -07:00
68b6b1fbae
User override in child class instead of if/else for privacy_filter
2021-10-06 11:08:54 -07:00
97cc129478
Updates calls to privacy_filter
2021-10-06 10:37:09 -07:00
b2671e78ef
Moves privacy filter to model class
2021-10-06 09:48:11 -07:00