0422421d60
Fixes bug in logged out group view
2021-12-28 14:33:30 -08:00
6e5c0cc4c3
Merge branch 'main' into bookwyrm-groups
...
There are database migrations in main ahead of this branch so they need to be merged in to the branch before we can merge back into main.
2021-10-17 06:22:04 +11:00
c6caa5a3f4
Fixes privacy display
2021-10-15 13:26:02 -07:00
1072381b7d
Fixes followers filter for non-status objs
2021-10-15 11:09:46 -07:00
cc650e235b
Fixes privacy filters for followers-only replies
2021-10-14 16:26:28 -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
78f5003407
lint raise_visible_to_user
...
Don't return True unnecessarily
2021-10-05 08:09:24 +11:00
dafda649f1
run Black on changed code
2021-10-04 21:31:28 +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
eed9d44cfd
fix visible_to_user for groups user is a member of
2021-10-02 20:52:19 +10:00
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
62ff9d6199
Python formatting
2021-09-27 16:08:52 -07:00
3f10ae248a
Changes visiblity function to raise
2021-09-27 15:54:58 -07:00
ab31798931
Adds model function to check perms
2021-09-27 14:02:34 -07:00
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
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
acfb1bb376
Updating string format synatx part 2
2021-09-18 11:32:00 -07:00
992e478e95
Use readable/translatable strings for db choices
2021-09-11 14:23:47 -07:00
658e12eb86
Allow admins to suspend pending users
2021-09-08 16:47:12 -07:00
3e2f1806e9
Adds email confirmation code field
2021-08-06 14:42:18 -07:00
19f788b9aa
Deactivate connectors related to blocked federated servers
2021-05-11 11:31:02 -07:00
3ade2d3bb1
New version of black, new whitespace
2021-04-26 09:15:42 -07:00
db4519b2e1
Fixes visible_to_user check for non-federated objs
...
why did this cause a problem _now_??
2021-04-11 10:45:08 -07:00
459479db43
Add statuses to timelines
2021-03-22 16:19:02 -07:00
70296e760b
Runs black
2021-03-08 08:49:10 -08:00
759a384852
Merge pull request #592 from mouse-reeve/local-paths
...
Fixes local paths with remote users
2021-02-10 11:38:54 -08:00
7c5b9f563f
Fixes double slash in path
2021-02-10 11:11:55 -08:00
ffd0759f6f
Fixes field and lists tests
2021-02-06 16:13:59 -08:00
c7c975d695
Use save method override instead of a signal
...
and gets the new test file working
2021-02-06 12:00:47 -08:00
d633826a20
full path in user-based remote id
2021-02-04 10:48:56 -08:00
dfb5c396b0
Moves activitypub mixin to its own file
2021-02-04 10:47:18 -08:00
582ebc0fe3
Fixes local paths with remote users
...
Fixes #590
2021-02-04 10:31:08 -08:00
f42a5444e5
User ordered collection subtype for shelves
2021-02-02 11:17:31 -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
ddb5848d32
Move error down into to_ordered_queryset
2021-01-16 23:31:47 -08:00
b0ea31f2a9
Add order for shelf books to satisfy warning
...
I believe this will sort books by order they were added to the shelf,
which seems reasonable. Should add some tests to make sure though.
2021-01-13 23:44:44 -08:00
a6eb444a68
Don't error out user page
2021-01-11 14:05:08 -08:00
5b7f7aa0e3
sort edition list by rank
2021-01-11 11:16:10 -08:00
a444c5f6fc
Fixes model deduplication from data
2020-12-31 12:22:00 -08:00
dc68fdd53e
User generated local paths
2020-12-30 17:36:35 -08:00
c1243b5c21
Makes outbox filter-able
2020-12-30 13:14:16 -08:00
d79a756813
Fixes pure status serializer
2020-12-16 15:59:42 -08:00