-
-
Notifications
You must be signed in to change notification settings - Fork 902
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1962 from vpzomtrrfrt/oneormany2
Allow single item for to, cc, and @context
- Loading branch information
Showing
19 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
crates/apub/assets/lotide/activities/create_note_reply.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"actor": "https://c.tide.tk/users/1", | ||
"object": { | ||
"@context": "https://www.w3.org/ns/activitystreams", | ||
"id": "https://c.tide.tk/comments/52", | ||
"type": "Note", | ||
"mediaType": "text/html", | ||
"source": { | ||
"content": "test comment", | ||
"mediaType": "text/markdown" | ||
}, | ||
"attributedTo": "https://c.tide.tk/users/1", | ||
"content": "<p>test comment</p>\n", | ||
"published": "2021-09-16T01:20:27.558063+00:00", | ||
"inReplyTo": "https://c.tide.tk/posts/51", | ||
"to": "https://c.tide.tk/users/1", | ||
"cc": [ | ||
"https://www.w3.org/ns/activitystreams#Public", | ||
"https://c.tide.tk/communities/1" | ||
] | ||
}, | ||
"to": "https://c.tide.tk/users/1", | ||
"cc": [ | ||
"https://www.w3.org/ns/activitystreams#Public", | ||
"https://c.tide.tk/communities/1" | ||
], | ||
"@context": "https://www.w3.org/ns/activitystreams", | ||
"id": "https://c.tide.tk/comments/52/create", | ||
"type": "Create" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"actor": "https://b.tide.tk/apub/users/1", | ||
"object": { | ||
"@context": "https://www.w3.org/ns/activitystreams", | ||
"id": "https://b.tide.tk/apub/posts/60", | ||
"type": "Page", | ||
"name": "test post from b", | ||
"summary": "test post from b", | ||
"to": "https://c.tide.tk/communities/1", | ||
"cc": "https://www.w3.org/ns/activitystreams#Public", | ||
"published": "2020-12-19T19:20:26.941381+00:00", | ||
"attributedTo": "https://b.tide.tk/apub/users/1", | ||
"url": "https://blog.twitter.com/engineering/en_us/a/2010/announcing-snowflake.html" | ||
}, | ||
"to": "https://c.tide.tk/communities/1", | ||
"cc": "https://www.w3.org/ns/activitystreams#Public", | ||
"@context": "https://www.w3.org/ns/activitystreams", | ||
"id": "https://b.tide.tk/apub/posts/60/create", | ||
"type": "Create" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters