-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add toot vocabulary #122
Comments
Thanks a ton for diving into this. I'll try to get the JSON-LD written up and everything generated in the near future. :) |
The documentation should include the disclaimer that a client is expected to verify bidirectionality of alsoKnownAs relationships, and reject / ignore them if the other entity is retrievable and supports AKA, but does not have this entity in the list. |
https://www.w3.org/wiki/Activity_Streams_extensions#Proposed_extensions How do we want to implement these? (Mostly not sure what the |
@riking where is alsoKnownAs defined? I can't find anything on w3.org that seems related, and there are only a few results. |
movedTo seems to only be referenced here: https://www.w3.org/wiki/SocialCG/2017-11-22/minutes#movedTo |
Hey @BenLubar I got your latest PR merged. Is there more work to be done on this topic? Is there anything I can do to help? |
Hey @BenLubar! Friendly bump, I'd like to cut v1.0.0 soon and would like to know your thoughts on the last missing entries in your OP. |
Just a FYI: There is an ongoing discussion on SocialHub about @rhiaro wrote:
|
Thanks for the ping @aschrijver! We have a draft of the |
I will try to work w/ Mastodon folks to get a more solid schema definition for the missing entries in the OP, as I'd like for go-fed to support all of these. |
just a ping to @redaktor |
Did mastodon reply to you yet? Can anyone explain
Does it apply to the Profile banner too ? What is “x and y coordinates” meaning ? What is the sense of Is there any way to apply |
Sorry for the delayed response. No, they did not get back to me. They did briefly mention they wanted to standardize it though. The will is there, not sure about the time/attention/energy. |
Hey everyone! I'm gonna start looking at So I'll mess around a bit with |
Referencing recent discussion on Fediverse about namespaces in Mastodon between @cjslep and @nightpool Quoting first post:
|
(sub-issue of #121)
I don't know how to write the specific JSON format astool wants, but I'll do the research so whoever can write the JSON can do it more easily:
See
app/lib/activitypub/adapter.rb
in Mastodon for the definition of@context
Mastodon uses.In this context, "the software" refers to what Mastodon does and expects other software to do.
as:
-prefixed types are described only for reference on what Mastodon uses them for.The
toot:
namespace ishttp://joinmastodon.org/ns#
. All other namespaces in this ticket are already used by go-fed.ActivityStreams Actor extensions:
as:manuallyApprovesFollowers
- boolean, default false. If set to true, the software displays a lock icon on the user and shows "awaiting approval" rather than immediately showing the follow succeeding on the client side.as:movedTo
- Actor IRI, single or none. If set, the software fades out the user's profile and displays the account described by the IRI as the new location for the user. The "follow" button is removed from the user's profile if this field is set.as:alsoKnownAs
- Actor IRI(s). Basically a soft version of movedTo that includes all accounts this account claims to be the same user as. Non-directional, unlike movedTo.toot:featured
- Collection. A list of pinned notes.toot:discoverable
- boolean, default false. Determines whether a user is shown in the account directory.tag
- holds Emoji and Hashtag objects.attachments
- holds PropertyValue and IdentityProof objects.icon
- used for avatar.image
- used for header image.ActivityStreams Object types:
as:Hashtag
name
- string. Starts with#
, case insensitivehref
,type
- as usual.toot:Emoji
name
- string. ASCII word characters only.:someword:
andsomeword
are treated as identical. The described emoji will replace the text version of the emoji in object content with an image.icon
- ActivityStreams Image. Requires at leasturl
to be set.updated
- as usual.schema:PropertyValue
name
- as usual.value
- string. HTML allowed.toot:IdentityProof
signatureAlgorithm
- string. provider name.name
- string. username on provider.signatureValue
- string. provider-specific format.ActivityStreams Note (status) extensions:
as:sensitive
- boolean, default false. Determines whether media attachments should be hidden by default.ostatus:atomUri
- IRI. Generally the same asid
.ostatus:inReplyToAtomUri
- IRI. Generally the same asinReplyTo
.ostatus:conversation
- URI (Mastodon does not use resolvable URLs, instead using things liketag:lubar.me,2019-10-12:objectId=6708028:objectType=Conversation
). Copy from post being replied to as-is.tag
- holds Mention, Hashtag, and Emoji objects.summary
- holds content warning.ActivityStreams Question (poll status) extensions:
All Note extensions, as well as:
as:attachment
- must be empty if present.toot:votersCount
- integer. The number of unique responses. (This counts people rather than votes, which is important for multiple-choice polls.)anyOf
ORoneOf
- poll options. Exactly one of these must be present. anyOf is used for multiple-choice polls, and oneOf is used for single-choice polls. Each option consists of a Note object with the following fields:name
- string. option text.replies
- Collection. only thetotalItems
field is present, representing the number of votes for this option.ActivityStreams Document (media attachment) extensions:
toot:focalPoint
- 2-element array of numbers between 0 and 1 inclusive (x and y coordinates)toot:blurhash
- string. See https://github.com/woltapp/blurhash for a list of implementations of the format.name
- holds alternative text for accessibility. (media description)mediaType
,url
- as usual.The text was updated successfully, but these errors were encountered: