Merge branch 'main' into progress_update
This commit is contained in:
52
bookwyrm/tests/data/ap_generated_shelve_note.json
Normal file
52
bookwyrm/tests/data/ap_generated_shelve_note.json
Normal file
@ -0,0 +1,52 @@
|
||||
{
|
||||
"id": "https://example.com/users/rat/generatednote/2567/activity",
|
||||
"type": "Create",
|
||||
"actor": "https://example.com/users/rat",
|
||||
"object": {
|
||||
"id": "https://example.com/users/rat/generatednote/2567",
|
||||
"type": "GeneratedNote",
|
||||
"url": null,
|
||||
"inReplyTo": null,
|
||||
"published": "2020-12-16T01:45:19.662734+00:00",
|
||||
"attributedTo": "https://example.com/users/rat",
|
||||
"to": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"cc": [
|
||||
"https://example.com/users/rat/followers"
|
||||
],
|
||||
"content": "wants to read",
|
||||
"replies": {
|
||||
"id": "https://example.com/users/rat/generatednote/2567/replies",
|
||||
"type": "OrderedCollection",
|
||||
"totalItems": 0,
|
||||
"first": "https://example.com/users/rat/generatednote/2567/replies?page=true",
|
||||
"last": "https://example.com/users/rat/generatednote/2567/replies?page=true",
|
||||
"name": "",
|
||||
"@context": "https://www.w3.org/ns/activitystreams"
|
||||
},
|
||||
"tag": [
|
||||
{
|
||||
"href": "https://bookwyrm.social/book/37292",
|
||||
"name": "Female Husbands",
|
||||
"type": "Book"
|
||||
}
|
||||
],
|
||||
"attachment": [],
|
||||
"sensitive": false,
|
||||
"@context": "https://www.w3.org/ns/activitystreams"
|
||||
},
|
||||
"to": [
|
||||
"https://example.com/users/rat/followers"
|
||||
],
|
||||
"cc": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"signature": {
|
||||
"creator": "https://example.com/users/rat#main-key",
|
||||
"created": "2020-12-16T01:45:19.662734+00:00",
|
||||
"signatureValue": "R+W8nN1CQAlREjSUeaQwJXZrXTOOLvpHQi9n/3vd8QKq+l6HJEpu7eAht9fjpk8YOKEgV3OUQ7w3E42wM4t+sFiaPoQjY6Xy9IOvx/2LcOZjSOtTkiZ1XnnVb3DSbl8BOBH02+cPvoR6k4LIPHm2IHYZ1UL02WdDWaicHEwl7bw=",
|
||||
"type": "RsaSignature2017"
|
||||
},
|
||||
"@context": "https://www.w3.org/ns/activitystreams"
|
||||
}
|
51
bookwyrm/tests/data/ap_note.json
Normal file
51
bookwyrm/tests/data/ap_note.json
Normal file
@ -0,0 +1,51 @@
|
||||
{
|
||||
"@context": [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
{
|
||||
"ostatus": "http://ostatus.org#",
|
||||
"atomUri": "ostatus:atomUri",
|
||||
"inReplyToAtomUri": "ostatus:inReplyToAtomUri",
|
||||
"conversation": "ostatus:conversation",
|
||||
"sensitive": "as:sensitive",
|
||||
"toot": "http://joinmastodon.org/ns#",
|
||||
"votersCount": "toot:votersCount"
|
||||
}
|
||||
],
|
||||
"id": "https://example.com/users/rat/statuses/1234567",
|
||||
"type": "Note",
|
||||
"summary": null,
|
||||
"inReplyTo": null,
|
||||
"published": "2020-12-13T05:09:29Z",
|
||||
"url": "https://example.com/@rat/1234567",
|
||||
"attributedTo": "https://example.com/users/rat",
|
||||
"to": [
|
||||
"https://example.com/user/mouse"
|
||||
],
|
||||
"cc": [],
|
||||
"sensitive": false,
|
||||
"atomUri": "https://example.com/users/rat/statuses/1234567",
|
||||
"inReplyToAtomUri": null,
|
||||
"conversation": "tag:example.com,2020-12-13:objectId=7309346:objectType=Conversation",
|
||||
"content": "test content in note",
|
||||
"contentMap": {
|
||||
"en": "<p><span class=\"h-card\"><a href=\"https://5ebd724a6abd.ngrok.io/user/mouse\" class=\"u-url mention\">@<span>mouse</span></a></span> hi</p>"
|
||||
},
|
||||
"attachment": [],
|
||||
"tag": [
|
||||
{
|
||||
"type": "Mention",
|
||||
"href": "https://example.com/user/mouse",
|
||||
"name": "@mouse@example.com"
|
||||
}
|
||||
],
|
||||
"replies": {
|
||||
"id": "https://example.com/users/rat/statuses/105371151200548049/replies",
|
||||
"type": "Collection",
|
||||
"first": {
|
||||
"type": "CollectionPage",
|
||||
"next": "https://example.com/users/rat/statuses/105371151200548049/replies?only_other_accounts=true&page=true",
|
||||
"partOf": "https://example.com/users/rat/statuses/105371151200548049/replies",
|
||||
"items": []
|
||||
}
|
||||
}
|
||||
}
|
4
bookwyrm/tests/data/goodreads.csv
Normal file
4
bookwyrm/tests/data/goodreads.csv
Normal file
@ -0,0 +1,4 @@
|
||||
Book Id,Title,Author,Author l-f,Additional Authors,ISBN,ISBN13,My Rating,Average Rating,Publisher,Binding,Number of Pages,Year Published,Original Publication Year,Date Read,Date Added,Bookshelves,Bookshelves with positions,Exclusive Shelf,My Review,Spoiler,Private Notes,Read Count,Recommended For,Recommended By,Owned Copies,Original Purchase Date,Original Purchase Location,Condition,Condition Description,BCID
|
||||
42036538,Gideon the Ninth (The Locked Tomb #1),Tamsyn Muir,"Muir, Tamsyn",,"=""1250313198""","=""9781250313195""",0,4.20,Tor,Hardcover,448,2019,2019,2020/10/25,2020/10/21,,,read,,,,1,,,0,,,,,
|
||||
52691223,Subcutanean,Aaron A. Reed,"Reed, Aaron A.",,"=""""","=""""",0,4.45,,Paperback,232,2020,,2020/03/06,2020/03/05,,,read,,,,1,,,0,,,,,
|
||||
28694510,Patisserie at Home,Mélanie Dupuis,"Dupuis, Mélanie",Anne Cazor,"=""0062445316""","=""9780062445315""",2,4.60,Harper Design,Hardcover,288,2016,,,2019/07/08,,,read,"mixed feelings",,,2,,,0,,,,,
|
|
Reference in New Issue
Block a user