summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api/endpoints/users/notes.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat: チャンネルミュートの実装 (#14105)おさむのひと2025-11-071-4/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 699d50c6ec798777d8e9667cb5d45a26b06bfc93. * fixed --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* Fix: ↵anatawa122025-05-291-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | ミュート対象ユーザーが引用されているノートが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>
* Exclude suspended users note from most timelines (#15775)anatawa122025-05-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Exclude blocked instance note from most timelines (#15792)anatawa122025-04-281-0/+2
| | | | | | | | | * Exclude blocked instance note from most timelines * Exclude blocked instance note from FTT timelines * Exclude blocked instance note from featured * fix type
* refactor(backend): better method namesyuilo2025-03-271-2/+2
|
* feat: ノートの閲覧にログイン必須にする設定 (#14799)syuilo2024-10-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * Update packages/frontend/src/pages/note.vue Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> * wip * Update WebhookTestService.ts * Update privacy.vue * wip * rename * Update locales/ja-JP.yml Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> * :art: * wip --------- Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* refactor/perf(backend): provide metadata statically (#14601)syuilo2024-09-221-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update ReactionService.ts * Update ApiCallService.ts * Update timeline.ts * Update GlobalModule.ts * Update GlobalModule.ts * Update NoteEntityService.ts * wip * wip * wip * Update ApPersonService.ts * wip * Update GlobalModule.ts * Update mock-resolver.ts * Update RoleService.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * clean up * Update utils.ts * Update UtilityService.ts * Revert "Update utils.ts" This reverts commit a27d4be764b78c1b5a9eac685e261fee49331d89. * Revert "Update UtilityService.ts" This reverts commit e5fd9e004c482cf099252201c0c1aa888e001430. * vuwa- * Revert "vuwa-" This reverts commit 0c3bd12472b4b9938cdff2d6f131e6800bc3724c. * Update entry.ts * Update entry.ts * Update entry.ts * Update entry.ts * Update jest.setup.ts
* (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
|
* perf: early return users/notes and users/featured-notes if me is blocked by ↵anatawa122023-12-151-0/+8
| | | | requesting user (#12663)
* Filter User / Instance Mutes in FanoutTimelineEndpointService (#12565)anatawa122023-12-041-19/+15
| | | | | | | | | | | | | | | | | | | | | | | * 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): インスタンスミュートが効かない問題の修正について言及
* fix: withChannelNotesとwithFilesを同時に指定したときの考慮 ↵shiosyakeyakini2023-12-031-0/+3
| | | | | (#12550) Co-authored-by: sorairo <sorairo@shiosyakeyakini.info>
* Refine fanout timeline (#12507)anatawa122023-12-021-96/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* chore: remove unimplemented excludeNsfw (#12520)anatawa122023-12-021-1/+0
|
* fix(backend): rename FunoutTimelineService to FanoutTimelineService (#12453)zyoshoka2023-11-261-5/+5
|
* fix: ↵yukineko2023-11-241-1/+5
| | | | | | | 特定の条件下でチャンネルやユーザーのノート一覧に最新のノートが表示されなくなる問題を修正 (#12431) * fix: 特定の条件下でチャンネルやユーザーのノート一覧に最新のノートが表示されなくなる問題を修正 * update: CHANGELOG.md
* ユーザのノートのみ表示時にDBへフォールバックすると ↵おさむのひと2023-11-131-2/+1
| | | | | | | | | | | ノートを含んでしまうのを修正 (#12321) * ユーザのノートのみ表示時にDBへフォールバックするとリノートを含んでしまうのを修正 * fix CHANGELOG.md --------- Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
* refactor(backend): rename servicesyuilo2023-10-181-5/+5
|
* users/notesでDBから参照した際にチャンネル投稿のみ取得さ ↵taichan2023-10-181-1/+4
| | | | | | | | | | | れる問題を修正 (#12056) * fix(backend): ユーザーのノート取得でDBにfallbackした際にチャンネルノートのみになる * Update CHANGELOG --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* perf(backend): createdAtをidから取得するように & ↵syuilo2023-10-161-2/+2
| | | | 無駄なDateインスタンスの生成を避けるように
* fix(backend): ↵syuilo2023-10-111-1/+3
| | | | users/notesでセンシティブチャンネルの投稿が含まれる場合がある問題を修正
* fix(backend): ↵syuilo2023-10-101-2/+4
| | | | センシティブ設定されたチャンネルの投稿をusers/notesで返さないように
* fix of 0bb0c32908syuilo2023-10-091-2/+2
|
* enhance(backend): RedisへのTLの構築をListで行うようにsyuilo2023-10-091-30/+13
| | | | #11404
* fix(backend): ↵syuilo2023-10-091-58/+62
| | | | users/notesでsinceId指定時にデータベースにフォールバックするように修正
* fixsyuilo2023-10-091-0/+4
|
* fix(backend): users/notes ↵syuilo2023-10-091-32/+34
| | | | で途中までしかページネーションできなくなることがある問題を修正
* fix(backend): ↵_2023-10-091-0/+1
| | | | | | | | | | | | | | | | | | | | | ダイレクト投稿がタイムライン上に正常に表示されない問題を修正 (#11993) * DMをredisにpushするように * add test * add CHANGELOG * Update NoteCreateService.ts * lint * :v: * 前のバージョンから発生した問題ではないため不要 --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix(backend): users/notes で 自身の visibility: followers ↵syuilo2023-10-091-1/+1
| | | | なノートが含まれない問題を修正
* fix(backend): fix of 8c684d5391syuilo2023-10-081-4/+3
|
* fix of 8c684d5391syuilo2023-10-071-31/+28
|
* enhance(backend): User ↵syuilo2023-10-071-2/+39
| | | | | | TLをRedisにキャッシュされる以前まで遡れるように #11958
* refactorsyuilo2023-10-071-27/+25
|
* fix(backend): ↵syuilo2023-10-051-7/+7
| | | | | | sinceIdやsinceDateを利用してTLを取得することができない Fix #11961
* enhance(backend): users/notesでチャンネル投稿を含めるオプションsyuilo2023-10-051-1/+11
| | | | Resolve #11965
* tweak timelinessyuilo2023-10-041-0/+9
|
* tweaksyuilo2023-10-041-2/+0
|
* fix(backend): [2023.10.1.beta-1] ↵syuilo2023-10-041-6/+21
| | | | | | [ノート]タブでは見える投稿が[全て]タブに出てこない Fix #11960
* feat: improve tl performance (#11946)syuilo2023-10-031-67/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* enhance: タイムラインからRenoteを除外するオプションを追加syuilo2023-09-281-4/+4
|
* enhance: ↵syuilo2023-09-281-0/+11
| | | | ユーザーページのノート一覧でRenoteを除外できるように
* update deps (#11820)syuilo2023-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* fixsyuilo2023-09-111-1/+4
|
* fixsyuilo2023-09-111-1/+1
|
* enhance: ↵Ebise Lutica2023-09-101-0/+3
| | | | | | | | | | | | | センシティブチャンネルはユーザーのノート一覧から除外 (#11797) * enhance: センシティブチャンネルはユーザーのノート一覧から除外 * READMEに明記 * Update notes.ts --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* chore(backend): Resolve `import/no-default-export` rule violations (#11732)woxtu2023-08-171-2/+1
| | | | | * Disable `import/no-default-export` properly * Disable `import/no-default-export`
* chore: ↵Shun Sakai2023-07-271-0/+5
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#11348) * chore: Add the SPDX information to each file Add copyright and licensing information as defined in version 3.0 of the REUSE Specification. * tweak format --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* perf(backend): use limit() instead of take()syuilo2023-07-081-1/+1
|
* perf(backend): cache avatar and banner url to dbsyuilo2023-04-061-7/+1
|