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
@@ -41,6 +41,9 @@ class FederationSettings(db.Model):
|
||||
indexable: Mapped[bool] = mapped_column(Boolean, default=False)
|
||||
display_name: Mapped[str | None] = mapped_column(String(100))
|
||||
bio: Mapped[str | None] = mapped_column(Text)
|
||||
# Offer the user's profile image to other servers (as the actor's icon) and on the
|
||||
# public profile page. Off until they say so.
|
||||
share_avatar: Mapped[bool] = mapped_column(Boolean, default=False)
|
||||
# An IANA zone name (validated with zoneinfo), used to decide when a Monday starts.
|
||||
timezone: Mapped[str] = mapped_column(String(64), default="UTC")
|
||||
post_weekly_summary: Mapped[bool] = mapped_column(Boolean, default=True)
|
||||
|
||||
Reference in new issue
Block a user