gotosocial/docs
tobi dcfc9b7885 [feature] Use hidesToPublicFromUnauthedWeb and hidesCcPublicFromUnauthedWeb properties for web visibility of statuses (#4315)
This pull request implements two new properties on ActivityPub actors: `hidesToPublicFromUnauthedWeb` and `hidesCcPublicFromUnauthedWeb`.

As documented, these properties allow actors to signal their preference for whether or not their posts should be hidden from unauthenticated web views (ie., web pages like the GtS frontend, web apps like the Mastodon frontend, web APIs like the Mastodon public timeline API, etc). This allows remote accounts to *opt in* to having their unlisted visibility posts shown in (for example) the replies section of the web view of a GtS thread. In future, we can also use these properties to determine whether we should show boosts of a remote actor's post on a GtS profile, and that sort of thing.

In keeping with our stance around privacy by default, GtS assumes `true` for `hidesCcPublicFromUnauthedWeb` if the property is not set on a remote actor, ie., hide unlisted/unlocked posts by default. `hidesToPublicFromUnauthedWeb` is assumed to be `false` if the property is not set on a remote actor, ie., show public posts by default.

~~WIP as I still want to work on the documentation for this a bit.~~

New props are already in the namespace document: https://gotosocial.org/ns

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4315
Reviewed-by: kim <gruf@noreply.codeberg.org>
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-07-09 16:50:25 +02:00
..
.cache/plugin/social [chore] Vendor mkdocs fonts; update docs dependencies (#2789) 2024-03-29 10:52:46 +01:00
admin [feature] Handle retractions of domain permission subscription entries (#4261) 2025-06-15 12:36:51 +02:00
advanced [feature] update proof-of-work to allow setting required rounds (#4186) 2025-05-26 11:57:50 +02:00
api [bugfix] set correct scope for StatusFavePOSTHandler (#4310) 2025-07-04 15:29:27 +02:00
configuration [docs] Document STARTTLS behavior (#4301) 2025-07-03 16:52:07 +02:00
federation [feature] Use hidesToPublicFromUnauthedWeb and hidesCcPublicFromUnauthedWeb properties for web visibility of statuses (#4315) 2025-07-09 16:50:25 +02:00
getting_started [chore] Change default database in example config to sqlite, update docs. (#4174) 2025-05-14 13:25:52 +00:00
locales/zh [docs] Various little docs updates (#4144) 2025-05-06 14:28:40 +00:00
overrides/public [feature/frontend] Add four new monospace themes (#4199) 2025-05-29 11:48:34 +02:00
user_guide [feature] Use hidesToPublicFromUnauthedWeb and hidesCcPublicFromUnauthedWeb properties for web visibility of statuses (#4315) 2025-07-09 16:50:25 +02:00
environment.yml [docs] Rework README a bit, import into docs (#3006) 2024-06-13 23:21:41 +02:00
faq.md [chore] Rewrite all remaining Github links 2025-04-27 13:40:22 +02:00
index.md [docs] Rework README a bit, import into docs (#3006) 2024-06-13 23:21:41 +02:00
swagger.go [feature] Add config option to expose custom emojis without auth (#4233) 2025-06-03 23:30:42 +02:00