Introduce group basic federation, event new page and notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
42
test/fixtures/mobilizon-invite-activity.json
vendored
Normal file
42
test/fixtures/mobilizon-invite-activity.json
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"type": "Invite",
|
||||
"signature": {
|
||||
"type": "RsaSignature2017",
|
||||
"signatureValue": "Kn1/UkAQGJVaXBfWLAHcnwHg8YMAUqlEaBuYLazAG+pz5hqivsyrBmPV186Xzr+B4ZLExA9+SnOoNx/GOz4hBm0kAmukNSILAsUd84tcJ2yT9zc1RKtembK4WiwOw7li0+maeDN0HaB6t+6eTqsCWmtiZpprhXD8V1GGT8yG7X24fQ9oFGn+ng7lasbcCC0988Y1eGqNe7KryxcPuQz57YkDapvtONzk8gyLTkZMV4De93MyRHq6GVjQVIgtiYabQAxrX6Q8C+4P/jQoqdWJHEe+MY5JKyNaT/hMPt2Md1ok9fZQBGHlErk22/zy8bSN19GdG09HmIysBUHRYpBLig==",
|
||||
"creator": "http://mobilizon.test/users/tcit#main-key",
|
||||
"created": "2018-02-17T13:29:31Z"
|
||||
},
|
||||
"object": "http://mobilizon.test/@mygroup",
|
||||
"id": "http://mobilizon2.test/member/some-uuid",
|
||||
"actor": "http://mobilizon2.test/@admin",
|
||||
"target": "http://mobilizon.test/@someuser",
|
||||
"@context": [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
"https://litepub.social/litepub/context.jsonld",
|
||||
{
|
||||
"Hashtag": "as:Hashtag",
|
||||
"category": "sc:category",
|
||||
"ical": "http://www.w3.org/2002/12/cal/ical#",
|
||||
"joinMode": {
|
||||
"@id": "mz:joinMode",
|
||||
"@type": "mz:joinModeType"
|
||||
},
|
||||
"joinModeType": {
|
||||
"@id": "mz:joinModeType",
|
||||
"@type": "rdfs:Class"
|
||||
},
|
||||
"maximumAttendeeCapacity": "sc:maximumAttendeeCapacity",
|
||||
"mz": "https://joinmobilizon.org/ns#",
|
||||
"repliesModerationOption": {
|
||||
"@id": "mz:repliesModerationOption",
|
||||
"@type": "mz:repliesModerationOptionType"
|
||||
},
|
||||
"repliesModerationOptionType": {
|
||||
"@id": "mz:repliesModerationOptionType",
|
||||
"@type": "rdfs:Class"
|
||||
},
|
||||
"sc": "http://schema.org#",
|
||||
"uuid": "sc:identifier"
|
||||
}
|
||||
]
|
||||
}
|
||||
84
test/fixtures/mobilizon-members-collection.json
vendored
Normal file
84
test/fixtures/mobilizon-members-collection.json
vendored
Normal file
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"@context": [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
"https://litepub.social/litepub/context.jsonld",
|
||||
{
|
||||
"Hashtag": "as:Hashtag",
|
||||
"PostalAddress": "sc:PostalAddress",
|
||||
"address": {
|
||||
"@id": "sc:address",
|
||||
"@type": "sc:PostalAddress"
|
||||
},
|
||||
"addressCountry": "sc:addressCountry",
|
||||
"addressLocality": "sc:addressLocality",
|
||||
"addressRegion": "sc:addressRegion",
|
||||
"anonymousParticipationEnabled": {
|
||||
"@id": "mz:anonymousParticipationEnabled",
|
||||
"@type": "sc:Boolean"
|
||||
},
|
||||
"category": "sc:category",
|
||||
"commentsEnabled": {
|
||||
"@id": "pt:commentsEnabled",
|
||||
"@type": "sc:Boolean"
|
||||
},
|
||||
"ical": "http://www.w3.org/2002/12/cal/ical#",
|
||||
"joinMode": {
|
||||
"@id": "mz:joinMode",
|
||||
"@type": "mz:joinModeType"
|
||||
},
|
||||
"joinModeType": {
|
||||
"@id": "mz:joinModeType",
|
||||
"@type": "rdfs:Class"
|
||||
},
|
||||
"location": {
|
||||
"@id": "sc:location",
|
||||
"@type": "sc:Place"
|
||||
},
|
||||
"maximumAttendeeCapacity": "sc:maximumAttendeeCapacity",
|
||||
"mz": "https://joinmobilizon.org/ns#",
|
||||
"participationMessage": {
|
||||
"@id": "mz:participationMessage",
|
||||
"@type": "sc:Text"
|
||||
},
|
||||
"postalCode": "sc:postalCode",
|
||||
"pt": "https://joinpeertube.org/ns#",
|
||||
"repliesModerationOption": {
|
||||
"@id": "mz:repliesModerationOption",
|
||||
"@type": "mz:repliesModerationOptionType"
|
||||
},
|
||||
"repliesModerationOptionType": {
|
||||
"@id": "mz:repliesModerationOptionType",
|
||||
"@type": "rdfs:Class"
|
||||
},
|
||||
"sc": "http://schema.org#",
|
||||
"streetAddress": "sc:streetAddress",
|
||||
"uuid": "sc:identifier"
|
||||
}
|
||||
],
|
||||
"attributedTo": "http://mobilizon.test/@demo",
|
||||
"first": {
|
||||
"attributedTo": "http://mobilizon.test/@demo",
|
||||
"id": "http://mobilizon.test/@demo/members?page=1",
|
||||
"orderedItems": [
|
||||
{
|
||||
"actor": "http://mobilizon.test/@tcit",
|
||||
"id": "http://mobilizon.test/member/2fec2e84-5719-48f9-92bd-077f50ff2e6e",
|
||||
"object": "http://mobilizon.test/@demo",
|
||||
"role": "administrator",
|
||||
"type": "Member"
|
||||
},
|
||||
{
|
||||
"actor": "http://mobilizon2.com/@tcit",
|
||||
"id": "http://mobilizon.test/member/13b0fc1e-2ceb-401c-bef7-0eba02fb92dc",
|
||||
"object": "http://mobilizon.test/@demo",
|
||||
"role": "member",
|
||||
"type": "Member"
|
||||
}
|
||||
],
|
||||
"partOf": "http://mobilizon.test/@demo/members",
|
||||
"type": "OrderedCollectionPage"
|
||||
},
|
||||
"id": "http://mobilizon.test/@demo/members",
|
||||
"totalItems": 2,
|
||||
"type": "OrderedCollection"
|
||||
}
|
||||
79
test/fixtures/vcr_cassettes/activity_pub/mobilizon_parent_resource.json
vendored
Normal file
79
test/fixtures/vcr_cassettes/activity_pub/mobilizon_parent_resource.json
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user