Let users share their profile image with the fediverse (SCR-1)
CI / validate-monitoring (push) Successful in 9s
CI / lint (push) Successful in 13s
CI / federation-interop (push) Successful in 1m44s
CI / test (push) Failing after 6m30s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 6s
CI / validate-monitoring (push) Successful in 9s
CI / lint (push) Successful in 13s
CI / federation-interop (push) Successful in 1m44s
CI / test (push) Failing after 6m30s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 6s
A share_avatar switch (off by default) in the sharing settings publishes the image as the actor's icon and on the public profile page, via a public avatar endpoint. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9243fe4d3f
commit
016fc707d1
12 files changed
+286
-3
No files matched your search
@@ -55,6 +55,14 @@ class SharingSettingsSchema(Schema):
|
||||
)
|
||||
},
|
||||
)
|
||||
share_avatar = fields.Boolean(
|
||||
metadata={
|
||||
"description": (
|
||||
"Show your profile image on your public profile and send it to other "
|
||||
"servers as your picture. Off by default; has no effect if you have no image."
|
||||
)
|
||||
}
|
||||
)
|
||||
handle = fields.String(dump_only=True, metadata={"example": "@alice@scrobble.example"})
|
||||
actor_url = fields.String(dump_only=True)
|
||||
profile_url = fields.String(dump_only=True)
|
||||
@@ -71,6 +79,9 @@ class PublicProfileSchema(Schema):
|
||||
now_playing = fields.String(
|
||||
allow_none=True, metadata={"description": '"Track by Artist", or null'}
|
||||
)
|
||||
has_avatar = fields.Boolean(
|
||||
metadata={"description": "Whether there's a profile image at `/profiles/{username}/avatar`"}
|
||||
)
|
||||
handle = fields.String(metadata={"example": "@alice@scrobble.example"})
|
||||
actor_url = fields.String()
|
||||
|
||||
|
||||
Reference in new issue
Block a user