mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-13 20:41:08 +00:00
dd0ba10b44
* Allow fetching person from Pleroma, including test case (ref #1461) * Added test case for parsing community from apub json - fixed a bug with objectid (de)serialization - fixed a bug with outbox fetching (ref #1582) * Added apub test for post * Ignore errors when reading community outbox (fixes #1582) * Dont fetch community outbox/moderators during tests * added test for lemmy comment * Added federation test for pleroma comment * Added html2md crate to parse comment html from pleroma (fixes #1461) * some fixes for update_apub_test_files.sh * Add tests for ToApub, private message, remove update script * Delete objects from db at the end of each test
50 lines
2.1 KiB
JSON
50 lines
2.1 KiB
JSON
{
|
|
"@context": [
|
|
"https://www.w3.org/ns/activitystreams",
|
|
{
|
|
"comments_enabled": {
|
|
"id": "pt:commentsEnabled",
|
|
"type": "sc:Boolean"
|
|
},
|
|
"matrixUserId": {
|
|
"id": "as:alsoKnownAs",
|
|
"type": "sc:Text"
|
|
},
|
|
"moderators": "as:moderators",
|
|
"pt": "https://join-lemmy.org#",
|
|
"sc": "http://schema.org#",
|
|
"sensitive": "as:sensitive",
|
|
"stickied": "as:stickied"
|
|
},
|
|
"https://w3id.org/security/v1"
|
|
],
|
|
"content": "<p>Lemmy Announcements</p>\n<hr />\n<p>Feel free to announce new communities here.</p>\n<p>Other than that, this is <em>reserved for admin use only</em>.</p>\n",
|
|
"endpoints": {
|
|
"sharedInbox": "https://lemmy.ml/inbox"
|
|
},
|
|
"followers": "https://lemmy.ml/c/announcements/followers",
|
|
"icon": {
|
|
"type": "Image",
|
|
"url": "https://lemmy.ml/pictrs/image/waqyZwLAy4.webp"
|
|
},
|
|
"id": "https://lemmy.ml/c/announcements",
|
|
"inbox": "https://lemmy.ml/c/announcements/inbox",
|
|
"mediaType": "text/html",
|
|
"moderators": "https://lemmy.ml/c/announcements/moderators",
|
|
"name": "Announcements",
|
|
"outbox": "https://lemmy.ml/c/announcements/outbox",
|
|
"preferredUsername": "announcements",
|
|
"publicKey": {
|
|
"id": "https://lemmy.ml/c/announcements#main-key",
|
|
"owner": "https://lemmy.ml/c/announcements",
|
|
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzRjKTNtvDCmugplwEh+g\nx1bhKm6BHUZfXfpscgMMm7tXFswSDzUQirMgfkxa9ubfr1PDFKffA2vQ9x6CyuO/\n70xTafdOHyV1tSqzgKz0ZvFZ/VCOo6qy1mYWVkrtBm/fKzM+87MdkKYB/zI4VyEJ\nLfLQgjwxBAEYUH3CBG71U0gO0TwbimWNN0vqlfp0QfThNe1WYObF88ZVzMLgFbr7\nRHBItZjlZ/d8foPDidlIR3l2dJjy0EsD8F9JM340jtX7LXqFmU4j1AQKNHTDLnUF\nwYVhzuQGNJ504l5LZkFG54XfIFT7dx2QwuuM9bSnfPv/98RYrq1Si6tCkxEt1cVe\n4wIDAQAB\n-----END PUBLIC KEY-----\n"
|
|
},
|
|
"published": "2019-06-02T16:43:50.799554+00:00",
|
|
"sensitive": false,
|
|
"source": {
|
|
"content": "Lemmy Announcements\n\n---\n\nFeel free to announce new communities here.\n\nOther than that, this is *reserved for admin use only*.",
|
|
"mediaType": "text/markdown"
|
|
},
|
|
"type": "Group",
|
|
"updated": "2021-03-10T17:18:10.498868+00:00"
|
|
}
|