diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-02-03 16:09:28 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-03-25 13:03:40 +0300 |
commit | 3ec1dbd9223aa44205e90967175f07cc532501ab (patch) | |
tree | c25eed18a5f38b2feb63cb7a889a1c110c0c8f98 /test/fixtures/statuses | |
parent | caadde3b04cf4c6509cc0841a338503e646221a0 (diff) | |
download | pleroma-3ec1dbd9223aa44205e90967175f07cc532501ab.tar.gz pleroma-3ec1dbd9223aa44205e90967175f07cc532501ab.zip |
Let pins federate
- save object ids on pin, instead of activity ids
- pins federation
- removed pinned_activities field from the users table
- activityPub endpoint for user pins
- pulling remote users pins
Diffstat (limited to 'test/fixtures/statuses')
-rw-r--r-- | test/fixtures/statuses/note.json | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/fixtures/statuses/note.json b/test/fixtures/statuses/note.json new file mode 100644 index 000000000..41735cbc5 --- /dev/null +++ b/test/fixtures/statuses/note.json @@ -0,0 +1,27 @@ +{ + "@context": [ + "https://www.w3.org/ns/activitystreams", + "https://example.com/schemas/litepub-0.1.jsonld", + { + "@language": "und" + } + ], + "actor": "https://example.com/users/{{nickname}}", + "attachment": [], + "attributedTo": "https://example.com/users/{{nickname}}", + "cc": [ + "https://example.com/users/{{nickname}}/followers" + ], + "content": "Content", + "context": "https://example.com/contexts/e4b180e1-7403-477f-aeb4-de57e7a3fe7f", + "conversation": "https://example.com/contexts/e4b180e1-7403-477f-aeb4-de57e7a3fe7f", + "id": "https://example.com/objects/{{object_id}}", + "published": "2019-12-15T22:00:05.279583Z", + "sensitive": false, + "summary": "", + "tag": [], + "to": [ + "https://www.w3.org/ns/activitystreams#Public" + ], + "type": "Note" +} |