mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-04 02:01:20 +00:00
Nutomic
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
46 lines
1.8 KiB
JSON
46 lines
1.8 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 maintainer. Interested in politics, video games, and many other things.</p>\n",
|
|
"endpoints": {
|
|
"sharedInbox": "https://lemmy.ml/inbox"
|
|
},
|
|
"icon": {
|
|
"type": "Image",
|
|
"url": "https://lemmy.ml/pictrs/image/ed9ej7.jpg"
|
|
},
|
|
"id": "https://lemmy.ml/u/nutomic",
|
|
"inbox": "https://lemmy.ml/u/nutomic/inbox",
|
|
"mediaType": "text/html",
|
|
"outbox": "https://lemmy.ml/u/nutomic/outbox",
|
|
"preferredUsername": "nutomic",
|
|
"publicKey": {
|
|
"id": "https://lemmy.ml/u/nutomic#main-key",
|
|
"owner": "https://lemmy.ml/u/nutomic",
|
|
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0lP99/s5Vv+XbPdkeqIJ\nwoD4GFnHmBnBHdEKChEUWfWj1TtioC/rGNoXFQeXQA3Amhy4nxSceiDnUgwkkuQY\nv0MtIW58NzgknEavtllxL+LSds5pg3gANaDIk8UiWTkqXTg0GnlJMpCK1Chen0l/\nszL6DEvUyTSuS5ZYDXFgewF89Pe7U0S15V5U2Harv7AgJYDyxmUL0D1pGuUCRqcE\nl5MTHJjrXeNnH1w2g8aly8YlO/Cr0L51rFg/lBF23vni7ZLv8HbmWh6YpaAf1R8h\nE45zKR7OHqymdjzrg1ITBwovefpwMkVgnJ+Wdr4HPnFlBSkXPoZeM11+Z8L0anzA\nXwIDAQAB\n-----END PUBLIC KEY-----\n"
|
|
},
|
|
"published": "2020-01-17T01:38:22.348392+00:00",
|
|
"source": {
|
|
"content": "Lemmy maintainer. Interested in politics, video games, and many other things.",
|
|
"mediaType": "text/markdown"
|
|
},
|
|
"type": "Person",
|
|
"updated": "2021-08-13T00:11:15.941990+00:00"
|
|
}
|