From 5215c2242dd7b87418a7c10781c2b10b35d86f46 Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 13 Nov 2022 18:39:56 +0200 Subject: Fix some things in streaming and admin API for 3.3.0 support --- tests/cassettes/test_list_by_account.yaml | 66 +++++++++++++++---------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'tests/cassettes/test_list_by_account.yaml') diff --git a/tests/cassettes/test_list_by_account.yaml b/tests/cassettes/test_list_by_account.yaml index 328cee5..e95cb46 100644 --- a/tests/cassettes/test_list_by_account.yaml +++ b/tests/cassettes/test_list_by_account.yaml @@ -27,7 +27,7 @@ interactions: Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-ggmh/9LvlcPn4t6QO8mnPQ==''; + style-src ''self'' http://localhost:3000 ''nonce-L43tfEduKeRwQMsLLZjzkQ==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -53,9 +53,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - fe64fbbb-d7ef-4e54-9a44-b1ebaf7ba027 + - 653a46ca-c378-499a-b6f7-5d4827d5d50b X-Runtime: - - '0.011150' + - '0.010802' X-XSS-Protection: - 1; mode=block status: @@ -78,14 +78,14 @@ interactions: uri: http://localhost:3000/api/v1/accounts/verify_credentials response: body: - string: '{"id":"109336898971915318","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2022-11-13","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' + string: '{"id":"109337440467895233","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2022-11-13","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-RNtrI1zky8fo9bEJzbtHBA==''; + style-src ''self'' http://localhost:3000 ''nonce-7GeBGOhktmIBmWv0fUZudQ==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -95,7 +95,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"c858fe55670095b09a4a2b7de090f899" + - W/"26a92bebf7482ccc1e124834832c6af3" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -111,16 +111,16 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 1b80a626-639c-470d-98cc-6f6ca159dcfe + - 7740f210-e57e-4992-8c4e-a5ac461df545 X-Runtime: - - '0.012415' + - '0.011367' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: - body: id=109336898971915318&reblogs=1¬ify=0 + body: id=109337440467895233&reblogs=1¬ify=0 headers: Accept: - '*/*' @@ -137,10 +137,10 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109336898971915318/follow + uri: http://localhost:3000/api/v1/accounts/109337440467895233/follow response: body: - string: '{"id":"109336898971915318","following":true,"showing_reblogs":true,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":"top + string: '{"id":"109337440467895233","following":true,"showing_reblogs":true,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":"top ebayer gerne wieder"}' headers: Cache-Control: @@ -148,7 +148,7 @@ interactions: Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-AhbGKYXEmyPAmdWJZYQfAA==''; + style-src ''self'' http://localhost:3000 ''nonce-oWqnwUAXjBytOwFPvnepOw==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -158,7 +158,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"1a84b5760a0d343e140cbce60e8c347d" + - W/"bf402a4a7dd3cc1c7452379eea08620a" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -178,18 +178,18 @@ interactions: X-RateLimit-Remaining: - '393' X-RateLimit-Reset: - - '2022-11-14T00:00:00.218413Z' + - '2022-11-14T00:00:00.135759Z' X-Request-Id: - - 1570a854-b62c-4aa0-a4bb-8d635cd88499 + - 994e930a-de64-4e45-8098-f84133d6ea22 X-Runtime: - - '0.025953' + - '0.020499' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: - body: account_ids%5B%5D=109336898971915318 + body: account_ids%5B%5D=109337440467895233 headers: Accept: - '*/*' @@ -216,7 +216,7 @@ interactions: Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-g6ghKVs09Q4AGfvdl5ji1A==''; + style-src ''self'' http://localhost:3000 ''nonce-RgnGxf5vKDWwFUgZ39+65w==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -242,9 +242,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 593bc201-f97a-4bb1-bd94-ea0962622ee2 + - c733fcba-93be-442f-b45f-147c8b9c4d7e X-Runtime: - - '0.013126' + - '0.013018' X-XSS-Protection: - 1; mode=block status: @@ -264,7 +264,7 @@ interactions: User-Agent: - tests/v311 method: GET - uri: http://localhost:3000/api/v1/accounts/109336898971915318/lists + uri: http://localhost:3000/api/v1/accounts/109337440467895233/lists response: body: string: '[{"id":"4","title":"ham burglars","replies_policy":"list"}]' @@ -274,7 +274,7 @@ interactions: Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-xj1oJzanLm34Nw+Al3M79w==''; + style-src ''self'' http://localhost:3000 ''nonce-y61arSw5siFtkFctiOIwYw==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -300,9 +300,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 7206c22d-ae68-4080-aedd-f33dcbea87b0 + - 5f0ba29c-b0f8-47f3-a64b-c1eaab3ced28 X-Runtime: - - '0.010530' + - '0.009875' X-XSS-Protection: - 1; mode=block status: @@ -324,10 +324,10 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109336898971915318/unfollow + uri: http://localhost:3000/api/v1/accounts/109337440467895233/unfollow response: body: - string: '{"id":"109336898971915318","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":"top + string: '{"id":"109337440467895233","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":"top ebayer gerne wieder"}' headers: Cache-Control: @@ -335,7 +335,7 @@ interactions: Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-RDNcpm5PPfXLfiZTL1NS8Q==''; + style-src ''self'' http://localhost:3000 ''nonce-e5QEGnGHoz7aQGbi8PoVFQ==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -345,7 +345,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"a58b6931bdf80070edebc5580f3ddc28" + - W/"d7e89095e63ccdec6921fcd4a7c80890" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -361,9 +361,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 7c7ba337-8130-42cf-b633-0072dfa6f1ad + - 4b30d333-c351-4bb1-bb89-c4105c102f3d X-Runtime: - - '0.016630' + - '0.016846' X-XSS-Protection: - 1; mode=block status: @@ -395,7 +395,7 @@ interactions: Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-iIijhaZaQ3d4B+6ZMYIb0Q==''; + style-src ''self'' http://localhost:3000 ''nonce-+4yYUXrejxgPZyfkX/uang==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -421,9 +421,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 5710bb96-52f3-48a7-b059-5d55e846dafd + - 7fe25e0b-7801-484c-bf79-0e95d1ff1feb X-Runtime: - - '0.010710' + - '0.011363' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3