1
0
Fork 0
Commit graph

5451 commits

Author SHA1 Message Date
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
d7f8a7b99e
Merge pull request #1518 from bookwyrm-social/french-locale
Updates for French locale
2021-10-08 11:32:43 -07:00
1702cbf76d Compiled locale 2021-10-08 11:21:09 -07:00
aeafb54d8d Updates for French locale 2021-10-08 10:40:02 -07: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
2ede3c63ec
Merge pull request #1516 from bookwyrm-social/l10n_main
New Crowdin updates
2021-10-07 17:25:20 -07:00
5578efe50b New translations django.po (Oulipo) 2021-10-07 17:04:04 -07:00
dc15feeb57 New translations django.po (Spanish) 2021-10-07 17:04:03 -07:00
b3c441ed06 New translations django.po (Afrikaans) 2021-10-07 17:04:02 -07:00
5a943362d4 New translations django.po (Arabic) 2021-10-07 17:04:01 -07:00
e1d1dc104a New translations django.po (Catalan) 2021-10-07 17:04:00 -07:00
a645c9cb1a New translations django.po (Czech) 2021-10-07 17:03:59 -07:00
974cfcff0d New translations django.po (Danish) 2021-10-07 17:03:58 -07:00
4d27d505f1 New translations django.po (German) 2021-10-07 17:03:57 -07:00
3666e1e7f4 New translations django.po (Greek) 2021-10-07 17:03:56 -07:00
96ab4b22ff New translations django.po (Finnish) 2021-10-07 17:03:55 -07:00
6a989348cf New translations django.po (Hebrew) 2021-10-07 17:03:54 -07:00
324b7b98c8 New translations django.po (Hungarian) 2021-10-07 17:03:52 -07:00
3c744ffd2b New translations django.po (Italian) 2021-10-07 17:03:51 -07:00
25cd9c8f6e New translations django.po (Japanese) 2021-10-07 17:03:50 -07:00
b89476ba2b New translations django.po (French) 2021-10-07 17:03:49 -07:00
ab238c51ae New translations django.po (Korean) 2021-10-07 17:03:48 -07:00
0397892159 New translations django.po (Norwegian) 2021-10-07 17:03:47 -07:00
f068c691ee New translations django.po (Polish) 2021-10-07 17:03:46 -07:00
e107fdb752 New translations django.po (Portuguese) 2021-10-07 17:03:45 -07:00
94564e63af New translations django.po (Russian) 2021-10-07 17:03:44 -07:00
22e1c2b87a New translations django.po (Serbian (Cyrillic)) 2021-10-07 17:03:43 -07:00
4b0e2ff93e New translations django.po (Swedish) 2021-10-07 17:03:42 -07:00
961f499e15 New translations django.po (Turkish) 2021-10-07 17:03:41 -07:00
f67a042f52 New translations django.po (Ukrainian) 2021-10-07 17:03:40 -07:00
245e3ccd07 New translations django.po (Chinese Simplified) 2021-10-07 17:03:39 -07:00
610e7bab14 New translations django.po (Chinese Traditional) 2021-10-07 17:03:38 -07:00
ceb06f1b54 New translations django.po (Vietnamese) 2021-10-07 17:03:37 -07:00
78e5e6dd93 New translations django.po (Portuguese, Brazilian) 2021-10-07 17:03:36 -07:00
15297c55da New translations django.po (Dutch) 2021-10-07 17:03:35 -07:00
2524785d11 New translations django.po (Romanian) 2021-10-07 17:03:34 -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
21902b09c4 Update Crowdin configuration file 2021-10-06 21:50:47 -07:00