Merge remote-tracking branch 'upstream/develop' into enqueue-posts

This commit is contained in:
Michael 2022-07-18 05:32:44 +00:00
commit ac47aed1b4
7 changed files with 195 additions and 23 deletions

39
static/apschema.jsonld Normal file
View file

@ -0,0 +1,39 @@
{
"@context":{
"zot":"https://hubzilla.org/apschema#",
"id":"@id",
"type":"@type",
"commentPolicy":"zot:commentPolicy",
"meData":"zot:meData",
"meDataType":"zot:meDataType",
"meEncoding":"zot:meEncoding",
"meAlgorithm":"zot:meAlgorithm",
"meCreator":"zot:meCreator",
"meSignatureValue":"zot:meSignatureValue",
"locationAddress":"zot:locationAddress",
"locationPrimary":"zot:locationPrimary",
"locationDeleted":"zot:locationDeleted",
"nomadicLocation":"zot:nomadicLocation",
"nomadicHubs":"zot:nomadicHubs",
"emojiReaction":"zot:emojiReaction",
"expires":"zot:expires",
"directMessage":"zot:directMessage",
"schema":"http://schema.org#",
"PropertyValue":"schema:PropertyValue",
"value":"schema:value",
"manuallyApprovesFollowers":"as:manuallyApprovesFollowers",
"magicEnv":{
"@id":"zot:magicEnv",
"@type":"@id"
},
"nomadicLocations":{
"@id":"zot:nomadicLocations",
"@type":"@id"
},
"ostatus":"http://ostatus.org#",
"conversation":"ostatus:conversation",
"diaspora":"https://diasporafoundation.org/ns/",
"guid":"diaspora:guid",
"Hashtag":"as:Hashtag"
}
}

View file

@ -669,5 +669,13 @@ return [
// total_ap_delivery (Boolean)
// Deliver via AP to every possible receiver and we suppress the delivery to these contacts with other protocols
'total_ap_delivery' => false,
// ap_log_unknown (Boolean)
// Logs every unknown ActivityPub activity
'ap_log_unknown' => false,
// ap_log_failure (Boolean)
// Logs every ActivityPub activity that couldn't be compacted
'ap_log_failure' => false,
]
];

41
static/litepub-0.1.jsonld Normal file
View file

@ -0,0 +1,41 @@
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1",
{
"Emoji": "toot:Emoji",
"Hashtag": "as:Hashtag",
"PropertyValue": "schema:PropertyValue",
"atomUri": "ostatus:atomUri",
"conversation": {
"@id": "ostatus:conversation",
"@type": "@id"
},
"discoverable": "toot:discoverable",
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
"capabilities": "litepub:capabilities",
"ostatus": "http://ostatus.org#",
"schema": "http://schema.org#",
"toot": "http://joinmastodon.org/ns#",
"value": "schema:value",
"sensitive": "as:sensitive",
"litepub": "http://litepub.social/ns#",
"invisible": "litepub:invisible",
"directMessage": "litepub:directMessage",
"listMessage": {
"@id": "litepub:listMessage",
"@type": "@id"
},
"oauthRegistrationEndpoint": {
"@id": "litepub:oauthRegistrationEndpoint",
"@type": "@id"
},
"EmojiReact": "litepub:EmojiReact",
"ChatMessage": "litepub:ChatMessage",
"alsoKnownAs": {
"@id": "as:alsoKnownAs",
"@type": "@id"
}
}
]
}