summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api/stream/Connection.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* normalize userFollowingsCache / userFollowersCache and add ↵Hazelnoot2025-06-091-1/+1
| | | | hibernatedUserCache to reduce the number of cache-clears and allow use of caching in many more places
* re-type userFollowingsCache to match the othersHazelnoot2025-06-091-1/+1
|
* lint and type fixesHazelnoot2025-04-011-1/+0
|
* remove no-op Connection.cachedNotes and Connection.cacheNoteHazelnoot2025-04-011-21/+0
|
* Merge branch 'develop' into merge/2025-03-24Hazelnoot2025-03-311-46/+58
|\ | | | | | | | | | | # Conflicts: # packages/backend/src/server/api/StreamingApiServerService.ts # packages/backend/src/server/api/stream/Connection.ts
| * increase limits on WS note subscriptions and cached notesHazelnoot2025-03-281-2/+2
| |
| * avoid duplicate channels in WS connectionHazelnoot2025-03-281-10/+18
| |
| * avoid leaking cached notes in WS connectionHazelnoot2025-03-281-11/+11
| |
| * make sure that note subscriptions can't stay above limitHazelnoot2025-03-281-5/+3
| |
| * clear subscriptions when connection closesHazelnoot2025-03-281-0/+7
| |
| * limit the number of note subscriptions per connectionHazelnoot2025-03-281-6/+19
| |
| * close websocket when rate limit exceededHazelnoot2025-03-281-22/+7
| |
* | merge upstreamHazelnoot2025-03-251-16/+1
|\ \ | |/ |/|
| * Feat: Chat (#15686)syuilo2025-03-241-16/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * wip * Update types.ts * Create 1742203321812-chat.js * wip * wip * Update room.vue * Update home.vue * Update home.vue * Update ja-JP.yml * Update index.d.ts * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update CHANGELOG.md * wip * Update home.vue * clean up * Update misskey-js.api.md * wip * wip * wip * wip * wip * wip * wip * wip * wip * lint fixes * lint * Update UserEntityService.ts * search * wip * 🎨 * wip * Update home.ownedRooms.vue * wip * Update CHANGELOG.md * Update style.scss * wip * improve performance * improve performance * Update timeline.test.ts
* | fix lint errors in Connection.tsHazelnoot2025-02-041-4/+4
| |
* | remove duplicate linedakkar2024-08-301-2/+0
| |
* | Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.8dakkar2024-08-301-11/+18
|\|
| * fix(backend): ↵syuilo2024-08-171-0/+6
| | | | | | | | 無制限にストリーミングのチャンネルに接続できる問題を修正
| * fix: readAllNotifications message not working (#14374)anatawa122024-08-091-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | merge: misskey 2024.7 (!583)dakkar2024-08-181-23/+36
|\ \ | | | | | | | | | | | | | | | 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>
| * \ Merge branch 'develop' into feature/misskey-2024.07dakkar2024-08-181-0/+39
| |\ \
| * \ \ Merge branch 'develop' into feature/misskey-2024.07dakkar2024-08-061-0/+12
| |\ \ \ | | |_|/ | |/| | | | | | fixing conflicts in `package.json`
| * | | kill any from streaming API Implementation (#14251)anatawa122024-07-181-22/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | make the cap of `activeRateLimitRequests` match the rate limitdakkar2024-08-181-1/+3
| |_|/ |/| | | | | | | | | | | | | | | | | | | | 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!
* | | Add IP and user ID to connection close messageJulia Johannesen2024-08-171-1/+5
| | |
* | | Fix logging stuffJulia Johannesen2024-08-171-1/+1
| | |
* | | fix(backend): ↵syuilo2024-08-171-0/+6
| | | | | | | | | | | | 無制限にストリーミングのチャンネルに接続できる問題を修正
* | | Limit number of rate limit requestsJulia Johannesen2024-08-161-2/+24
| | |
* | | rough rate limiting for websocketsdakkar2024-08-151-0/+7
| |/ |/|
* | don't send real-time updates of replies to blocked usersdakkar2024-07-061-0/+12
|/ | | | | this is in line with the behaviour of a note's detailed view, which does not show me replies from users who blocked me
* (re) update SPDX-FileCopyrightTexttamaina2024-02-131-1/+1
| | | | Fix #13290
* Revert "update SPDX-FileCopyrightText"tamaina2024-02-131-1/+1
| | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
* update SPDX-FileCopyrightTextsyuilo2024-02-121-1/+1
|
* Merge pull request from GHSA-7pxq-6xx9-xpgmChocolate Pie2023-12-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix: fix improper authorization when accessing with third-party application * refactor: refactor type definitions * fix: get rid of unnecessary access limitation * enhance: サードパーティアプリケーションがWebsocket APIを使えるように * fix: add missing parentheses * Revert "fix(backend): add missing kind definition for admin endpoints to improve security" This reverts commit 5150053275594278e9eb23e72d98b16593c4c230. * frontend: 翻訳の抜けを訂正, read:adminとwrite:adminはアクセス発行トークンのデフォルトでは非表示にする * enhance(test): misskey-ghsa-7pxq-6xx9-xpgmに関するテストを追加 * enhance(test): Websocket APIに対するテストも追加 * enhance(refactor): `@/misc/api-permissions.ts`を`misskey-js/permissions`に統合 * fix(frontend): アクセストークン発行UIで全ての権限を有効にした際、管理者用APIへのアクセスも許可してしまう問題を修正 * enhance(backend): Websocketの接続に最低限必要な権限を変更 * fix(backend): `/api/admin/meta`をサードパーティアプリケーションからはアクセスできないように * fix(backend): エンドポイントにアクセスするために必要な権限を変更 * fix(frontend/locale): Add missing type declaration * chore: update `misskey-js/src/autogen` --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* リストタイムラインでミュートが貫通してしまう問題に ↵おさむのひと2023-12-031-0/+2
| | | | | | | | | | | 処 (#12534) * ユーザリストTL系の各種動作を修正・統一 * fix * fix CHANGELOG.md * テスト追加
* Fix: ↵おさむのひと2023-10-271-1/+3
| | | | | | | | | | | | | チャンネルのフォロー・アンフォローの反映速度を改善 (#12149) * チャンネルのフォロー・アンフォローの反映速度を改善 * fix lint * userFollowingChannelsCacheの場所をCacheServiceからChannelFollowingServiceに移動 --------- Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
* feat: improve tl performance (#11946)syuilo2023-10-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * wip * Update NoteCreateService.ts * wip * wip * wip * wip * Update NoteCreateService.ts * wip * Update NoteCreateService.ts * wip * Update user-notes.ts * wip * wip * wip * Update NoteCreateService.ts * wip * Update timeline.ts * Update timeline.ts * Update timeline.ts * Update timeline.ts * Update timeline.ts * wip * Update timelines.ts * Update timelines.ts * Update timelines.ts * wip * wip * wip * Update timelines.ts * Update misskey-js.api.md * Update timelines.ts * Update timelines.ts * wip * wip * wip * Update timelines.ts * wip * Update timelines.ts * wip * test * Update activitypub.ts * refactor: UserListJoining -> UserListMembership * Update NoteCreateService.ts * wip
* feat: 通知の受信設定を強化syuilo2023-09-291-3/+3
|
* refactor(backend): update directory structure for modelssyuilo2023-09-201-2/+2
|
* update deps (#11820)syuilo2023-09-151-0/+299
* update deps * fix * wip * wip * wip * Update docker-compose.yml.example * Delete reviewer-lottery.yml * Update RepositoryModule.ts * wip * wip * clean up * update deps * wip * wip