tai-cha
3fe1d27927
fix: FanoutTimelineServiceにリストが空の場合のみダミーIDを挿入するinjectDummyIfEmptyメソッドを追加しました。
2026-01-27 17:31:46 +09:00
tai-cha
33bd93ca40
Revert "Revert "perf: 空のタイムライン読み込み時の無駄なDBアクセスを削減するため、RedisタイムラインにダミーIDを挿入する機能を追加しました。""
...
This reverts commit b99ed65051 .
2026-01-27 17:31:15 +09:00
tai-cha
b99ed65051
Revert "perf: 空のタイムライン読み込み時の無駄なDBアクセスを削減するため、RedisタイムラインにダミーIDを挿入する機能を追加しました。"
...
This reverts commit 1022df5325 .
2026-01-27 15:06:28 +09:00
tai-cha
1022df5325
perf: 空のタイムライン読み込み時の無駄なDBアクセスを削減するため、RedisタイムラインにダミーIDを挿入する機能を追加しました。
2026-01-27 14:37:38 +09:00
taichan
4a2970fdb0
fix(backend): DBフォールバック有効時、複数のFTTソースから取得するタイムラインで取得漏れが起きる現象の修正 (再) ( #114 )
...
* fix: DBフォールバック有効時、複数のFTTソースから取得するタイムラインで取得漏れが起きる現象の修正 https://github.com/nadesskey/nadesskey/pull/35 の修正
* fix: revert unnecessary changes
* refactor(test): FTTEndpointのテストを改善
* fix: ids自体が空配列の時を考慮
* Fix: typerror
* fix: 昇順のページネーションにおけるfttThresholdIdの計算を修正し、関連するテストを追加しました。
* Fix: Type Error
* fix: `useDbFallback` が false の場合に `fttThresholdId` によるタイムラインノートの意図しないフィルタリングを防止
2026-01-27 13:05:13 +09:00
tai-cha
1a9e205f0f
Merge branch 'develop' of https://github.com/misskey-dev/misskey into fix-stl-note-fetch
2026-01-27 13:04:37 +09:00
おさむのひと
729abbef62
feat: チャンネルミュートの実装 ( #14105 )
...
* add channel_muting table and entities
* add channel_muting services
* タイムライン取得処理への組み込み
* misskey-jsの型とインターフェース生成
* Channelスキーマにミュート情報を追加
* フロントエンドの実装
* 条件が逆だったのを修正
* 期限切れミュートを掃除する機能を実装
* TLの抽出条件調節
* 名前の変更と変更不要の差分をロールバック
* 修正漏れ
* isChannelRelatedの条件に誤りがあった
* [wip] テスト追加
* テストの追加と検出した不備の修正
* fix test
* fix CHANGELOG.md
* 通常はFTTにしておく
* 実装忘れ対応
* fix merge
* fix merge
* add channel tl test
* fix CHANGELOG.md
* remove unused import
* fix lint
* fix test
* fix favorite -> favorited
* exclude -> include
* fix CHANGELOG.md
* fix CHANGELOG.md
* maintenance
* fix CHANGELOG.md
* fix
* fix ci
* regenerate
* fix
* Revert "fix"
This reverts commit 699d50c6ec .
* fixed
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-11-07 08:39:21 +09:00
tamaina
8c65d8d020
test(backend): e2e/timelines.ts: 非FTT時のテストを追加, 凍結のテストを追加, これにかかる幾つかのバグ修正 ( #16284 )
...
* test(backend): 非FTT時のテストを追加
* clean up
* skip test about reply
* Fix #16289
* clean up
* cherry pick
* add renote test
* Fix https://github.com/misskey-dev/misskey/issues/16293
* remove debug log
2025-07-30 21:41:46 +09:00
anatawa12
367dac4edd
Fix: ミュート対象ユーザーが引用されているノートがRNされたときにミュートを貫通してしまう問題 ( #16009 )
...
* chore: change 3rd parameter of generateMutedUserQueryForNotes to options
* chore: allow specifying note column for note/block query
* chore: check for mute / block for renote of note with DB query
* chore: check for mute / block for renote of note with FTT
* refactor: ミュート・ブロックのためのクエリ呼び出しを一つの関数にまとめる
* docs(changelog): ミュート対象ユーザーが引用されているノートがRNされたときにミュートを貫通してしまう問題を修正
* fix missing default parameter
* Update is-user-related.ts
* test: add tests for mutes
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-05-29 13:13:07 +09:00
anatawa12
2fcb50273d
Exclude suspended users note from most timelines ( #15775 )
...
* feat: exclude notes by suspended user from FTT timeline endpoint
* feat: exclude notes by suspended user from DB based timelines
* chore: fix types
* chore: fix types
* chore: fix non-reply / renote
* chore: fix non-reply / renote
* test: update test
* docs(changelog): 凍結されたユーザのノートが各種タイムラインで表示されないように
* Exclude suspended users note from featured
* fix: join user
* Update CHANGELOG.md
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-05-01 17:56:24 +09:00
anatawa12
ec92bf47f1
Exclude blocked instance note from most timelines ( #15792 )
...
* Exclude blocked instance note from most timelines
* Exclude blocked instance note from FTT timelines
* Exclude blocked instance note from featured
* fix type
2025-04-28 07:21:00 +09:00
anatawa12
b2e3e65896
fix: use ftt for outbox ( #15819 )
...
* fix: use ftt for outbox
* chore: check for enableFanoutTimeline
* lint: fix lint
2025-04-15 16:15:27 +09:00
taichanne30
48232ca57b
ユーザーTLではFTTのソースが空の際にDBにFallbackしないように
2024-07-25 16:01:41 +09:00
taichanne30
3564bf5c66
Refactor: const naming
2024-07-25 14:37:09 +09:00
taichanne30
685fc2bd9d
Fix: shouldFallbackToDbがすでにtrueの場合にそれが無視される
2024-07-25 14:30:10 +09:00
taichanne30
6cc0138d1e
Merge branch 'develop' of https://github.com/misskey-dev/misskey into fix-stl-note-fetch
2024-07-25 14:23:31 +09:00
zyoshoka
8a9de081f1
fix(backend): fallback if `sinceId` is older than the oldest in cache when using FTT ( #14061 )
...
* fix(backend): fallback if `sinceId` is older than the oldest in cache when using FTT
* Update CHANGELOG.md
* chore: fix description of test
2024-06-22 12:43:03 +09:00
anatawa12
acf84a2516
FTTが有効かつsinceIdのみを指定した場合に帰って来るレスポンスが逆順である問題を修正 ( #13837 )
...
* fix: FTTが有効かつsinceIdのみを指定した場合に帰って来るレスポンスが逆順である問題
* docs(changelog): FTTが有効かつsinceIdのみを指定した場合に帰って来るレスポンスが逆順である問題を修正
2024-05-20 08:28:28 +09: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
zyoshoka
8c5d9a6295
fix(backend): incorrect logic for determining whether Quote or not ( #13700 )
...
* fix(backend): incorrect logic for determining whether Quote or not
* Update CHANGELOG.md
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-04-14 10:23:48 +09:00
taichanne30
4a8ffe20a7
Fix timeline fetch when using sinceId
2024-03-07 01:55:57 +09:00
taichanne30
82bec76cd4
fix(backend): DBフォールバック有効時、複数のFTTソースから取得するタイムラインで取得漏れが起きる現象の修正
2024-03-02 15:23:25 +09:00
tamaina
c1514ce91d
(re) update SPDX-FileCopyrightText
...
Fix #13290
2024-02-13 15:59:27 +00:00
tamaina
311c2172d7
Revert "update SPDX-FileCopyrightText"
...
This reverts commit 9b5aeb76d8 .
2024-02-13 15:50:11 +00:00
syuilo
9b5aeb76d8
update SPDX-FileCopyrightText
2024-02-12 11:37:45 +09:00
KanariKanaru
e6d01e33e6
fix(backend): ブロックした相手から自分のノートが見えないように(/users/featured-notes, /users/notes) ( #12511 )
...
* fix: ブロックした相手から自分のノートが見えないように(ユーザー,チャンネル)
* Update CHANGELOG.md
* /users/featured-notesでもブロックを考慮するように
* cacheServiceを使うように
* /channels/timeline.tsで必要のないnoteFilterを持たないように
* Update CHANGELOG.md
* FanoutTimelineEndpointServiceへの対応
- ブロックされている場合は、/users/notesでノートが表示されない
- ミュートしている場合は、ノートが表示される
2023-12-07 18:15:38 +09:00
anatawa12
1d3ef7b42f
fix(backend): pagination with sinceId broken ( #12586 )
...
* fix(backend): pagination with sinceId broken
* fix(backend): pagination with sinceId broken for dbFallback
2023-12-07 17:07:06 +09:00
anatawa12
18109fcef7
Filter User / Instance Mutes in FanoutTimelineEndpointService ( #12565 )
...
* fix: unnecessary logging in FanoutTimelineEndpointService
* chore: TimelineOptions
* chore: add FanoutTimelineName type
* chore: forbid specifying both withReplies and withFiles since it's not implemented correctly
* chore: filter mutes, replies, renotes, files in FanoutTimelineEndpointService
* revert unintended changes
* use isReply in NoteCreateService
* fix: excludePureRenotes is not implemented
* fix: replies to me is excluded from local timeline
* chore(frontend): forbid enabling both withReplies and withFiles
* docs(changelog): インスタンスミュートが効かない問題の修正について言及
2023-12-04 14:38:21 +09:00
anatawa12
a631b976c9
Refine fanout timeline ( #12507 )
...
* chore(endpoints/hybrid-timeline): don't pack inside getFromDb
* chore(endpoints/hybrid-timeline): Redisから取得する部分のうちSTLに依存しなそうなところを別のServiceに切り出し
* chore(endpoints/local-timeline): FanoutTimelineEndpointServiceで再実装
* chore(endpoints/channels/timeline): FanoutTimelineEndpointServiceで再実装
* chore(endpoints/timeline): FanoutTimelineEndpointServiceで再実装
* chore(endpoints/user-list-timeline): FanoutTimelineEndpointServiceで再実装
* chore(endpoints/users/notes): FanoutTimelineEndpointServiceで再実装
* chore: add useDbFallback to FanoutTimelineEndpointService.timeline and always true for channel / user note list
* style: fix lint error
* chore: split logic to multiple functions
* chore: implement redis fallback
* chore: 成功率を上げる
* fix: db fallback not working
* feat: allowPartial
* chore(frontend): set allowPartial
* chore(backend): remove fallbackIfEmpty
HTL will never be purged so it's no longer required
* fix: missing allowPartial in channel timeline
* fix: type of timelineConfig in hybrid-timeline
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-02 18:25:07 +09:00