1
0
Commit Graph

163 Commits

Author SHA1 Message Date
Hazelnoot bf1c9b67d6 close websocket when rate limit exceeded 2025-03-28 11:03:31 -04:00
Lhc_fl 8d487be4be small change to comment 2025-03-03 23:46:31 +08:00
Lhc_fl 381046a6b1 fix: always clone the note before hideNote 2025-03-03 23:03:20 +08:00
Hazelnoot 18f211e3bc call NoteEntityService.hideNote from streaming API 2025-02-25 20:55:24 -05:00
Hazelnoot 30b2bfb184 use assignMyReaction in channel, hashtag, role-timeline, and user-list channels 2025-02-25 20:54:54 -05:00
Hazelnoot 019e60d9a4 pass NoteEntityService through Channel constructor instead of method args 2025-02-25 20:52:14 -05:00
Hazelnoot de3c9124cd check mutes and blocks of renote target in streaming API 2025-02-25 20:47:44 -05:00
Hazelnoot 8ee315a82b fix lint errors in stream/channel/bubble-timeline.ts 2025-02-04 10:41:03 -05:00
Hazelnoot 8459d6283d fix import order in stream/channel.ts 2025-02-04 10:40:47 -05:00
Hazelnoot f65937446a fix lint errors in Connection.ts 2025-02-04 10:40:14 -05:00
piuvas 3fc377839c comment :3 2025-01-12 21:11:36 -03:00
piuvas f1d9bb2cf1 requested changes 2025-01-10 22:10:18 -03:00
piuvas a3fc9a1085 comment code 2025-01-08 13:10:20 -03:00
piuvas e76e6cd08f small refactor 2025-01-08 12:58:57 -03:00
piuvas 5fc9c1c8cd shallow clone 2025-01-08 12:51:46 -03:00
piuvas 2c742d6e82 requested change. 2024-12-26 14:49:22 -03:00
piuvas 8f96b50b00 improvement 2024-12-26 12:27:00 -03:00
piuvas 64abef8be9 turn task into a function 2024-12-25 16:41:40 -03:00
piuvas 94c3a71e49 improvements. 2024-12-23 20:42:21 -03:00
piuvas 83460279c0 populate myreaction on replies for streams. 2024-12-23 10:50:31 -03:00
dakkar fb9b6b1208 thank you linters 2024-10-11 12:20:08 +01:00
dakkar 9ea618c4a5 fix some DI mistakes after the merge 2024-10-10 13:55:52 +01:00
dakkar ebe5f678f6 fix imports in channels bubble-timeline 2024-10-09 17:57:58 +01:00
dakkar dec81d32d3 fix type in channel.ts 2024-10-09 17:56:40 +01:00
dakkar 9200d35f57 use injected meta in stream bubble-timeline 2024-10-09 17:17:27 +01:00
dakkar 0bcc739551 remove duplicate line 2024-08-30 12:15:52 +01:00
dakkar 6151099f5b Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.8 2024-08-30 12:08:31 +01:00
dakkar f5560783ea merge: misskey 2024.7 (!583)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/583

Approved-by: Marie <github@yuugi.dev>
Approved-by: Julia Johannesen <julia@insertdomain.name>
2024-08-18 18:32:27 +00:00
dakkar 77144b058c make the cap of activeRateLimitRequests match the rate limit
It's trivial to have more than 128 requests in flight: open a busy
timeline, scroll a bit down, wait for many notes to arrive, scroll to
the top. The frontend will send "subscribe to note" messages for each
new note that it accumulated, all at once. We don't want to shut down
the connection in those common cases!
2024-08-18 17:57:51 +01:00
dakkar a58df8ac7c Merge branch 'develop' into feature/misskey-2024.07 2024-08-18 13:13:23 +01:00
Julia Johannesen 3dd993a76a Add IP and user ID to connection close message 2024-08-17 14:27:43 -04:00
Julia Johannesen 9c1c1e9f09 Fix logging stuff 2024-08-17 13:08:46 -04:00
syuilo 76bbc10aa1 fix(backend): 無制限にストリーミングのチャンネルに接続できる問題を修正 2024-08-17 17:54:04 +01:00
syuilo d3cdc08802 fix(backend): 無制限にストリーミングのチャンネルに接続できる問題を修正 2024-08-17 09:30:03 +09:00
Julia Johannesen 6d3f9503ed Limit number of rate limit requests 2024-08-16 17:13:20 -04:00
かっこかり a8810af8d9 fix(backend): リバーシの設定変更が反映されないのを修正 (#14404)
* fix(backend): リバーシの設定変更が反映されないのを修正

* Update Changelog

* add bindthis
2024-08-16 21:02:12 +09:00
dakkar 311a31da58 rough rate limiting for websockets 2024-08-15 11:35:51 +01:00
anatawa12 f50941389d fix: readAllNotifications message not working (#14374)
* refactor: add and use isJsonObject

* fix: readNotification message without body is not working

* docs(changelog): WSの`readAllNotifications` メッセージが `body` を持たない場合に動作しない問題

* Update CHANGELOG.md

Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>

---------

Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
2024-08-09 16:04:41 +09:00
dakkar 34c1e9ea2b Merge branch 'develop' into feature/misskey-2024.07
fixing conflicts in `package.json`
2024-08-06 10:35:14 +01:00
dakkar 98c7b95ecc copy from global-timeline to bubble-timeline 2024-08-02 13:05:53 +01:00
dakkar cfa9b852df Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.07 2024-08-02 12:25:58 +01:00
anatawa12 8f40f932e4 自分のフォロワー限定投稿に対するリプライがホームタイムラインで見えないことが有る問題を修正 (#13835)
* fix: reply to my follower notes are not shown on the home timeline

* fix: reply to follower note by non-following is on social timeline

* docs: changelog

* test: add endpoint test for changes

* test(e2e): 自分のfollowers投稿に対するリプライが流れる

* test(e2e/streaming): 自分のfollowers投稿に対するリプライが流れる

* test(e2e/streaming): フォローしていないユーザによるフォロワー限定投稿に対するリプライがソーシャルタイムラインで表示されることがある問題

* test(e2e/timelines): try fixing typecheck error

---------

Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
2024-07-30 19:44:08 +09:00
anatawa12 10ce7bf3c4 kill any from streaming API Implementation (#14251)
* chore: add JsonValue type

* refactor: kill any from Connection.ts

* refactor: fix StreamEventEmitter contains undefined instead of null

* refactor: kill any from channels

* docs(changelog): Fix: Steaming APIが不正なデータを受けた場合の動作が不安定である問題

* fix license header

* fix lints
2024-07-18 20:04:23 +09:00
dakkar f086bc23f5 don't send real-time updates of replies to blocked users
this is in line with the behaviour of a note's detailed view, which
does not show me replies from users who blocked me
2024-07-06 11:35:52 +01:00
dakkar 4ddee7b01e Merge branch 'develop' into future 2024-05-31 11:24:00 +01:00
dakkar d27ce442ea more timeline filters - #228 2024-05-23 21:56:28 +00:00
dakkar 91ef2ceed7 port changes from global timeline to bubble timeline 2024-05-11 12:38:01 +01:00
dakkar 76a4ebae8a re-instate "followed users from muted instances are not muted" 2024-04-25 11:44:24 +01:00
dakkar 4fe8a26081 Merge remote-tracking branch 'misskey/develop' into future-2024-04-25 2024-04-25 11:44:24 +01:00
anatawa12 e423b8ce4b 細かいミュートの処理の修正 (#13695)
* fix: some replies are removed from global timeline

* refactor: 各チャンネルのミュートとブロックの処理をまとめる

* fix: リノートをミュートでその人のノートのリノートをミュートしていたを修正

* refactor: isPureRenotePackedを他のところでも使う

* docs(changelog): CHANGELOGを更新

* test: withReplies = falseでフォローしてる人によるリプライが流れてくる

* test: ノートミュートしているユーザーの通常ノートのリノートが流れてくる/含まれる
2024-04-17 14:23:41 +09:00