summaryrefslogtreecommitdiff
path: root/packages/backend/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* enhance: ↵syuilo2025-05-092-0/+5
| | | | | | リプライ元にアンケートがあることが表示されるように Resolve #15998
* fix(backend): ↵syuilo2025-05-091-0/+20
| | | | チャットルームが削除された場合・チャットルームから抜けた場合に、未読状態が残り続けることがあるのを修正
* Feat: サーバー初期設定ウィザード (#15954)syuilo2025-05-093-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * Update welcome.setup.vue * wip * wip * wip * wip * Update MkServerSetupWizard.vue * Update MkServerSetupWizard.vue * wip * wip * wip * Update types.ts * wip * wip * Update CHANGELOG.md
* fix: exported antenna data cannot be imported in some cases (#15985)anatawa122025-05-093-4/+16
| | | | | | | | | | | | | * chore: add ExportedAntenna type * chore: use ExportedAntenna on export and fix schema * fix: excludeNotesInSensitiveChannel is not included * chore: revert unnecessary changes * chore: add doc for future developer * docs: update changelog
* Feat: UGCの公開範囲設定機能 (#15938)syuilo2025-05-096-4/+63
| | | | | | | | | | | * wip * Update CHANGELOG.md * wip * wip * Update show.ts
* Feat: No websocket mode (#15851)syuilo2025-05-093-0/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * Update MkTimeline.vue * wip * wip * wip * Update MkTimeline.vue * Update use-pagination.ts * wip * wip * Update MkTimeline.vue * Update MkTimeline.vue * wip * wip * Update MkTimeline.vue * Update MkTimeline.vue * Update MkTimeline.vue * wip * Update use-pagination.ts * wip * Update use-pagination.ts * Update MkNotifications.vue * Update MkNotifications.vue * wip * wip * wip * Update use-note-capture.ts * Update use-note-capture.ts * Update use-note-capture.ts * wip * wip * wip * wip * Update MkNoteDetailed.vue * wip * wip * Update MkTimeline.vue * wip * fix * Update MkTimeline.vue * wip * test * Revert "test" This reverts commit 3375619396c54dcda5e564eb1da444c2391208c9. * Update use-pagination.ts * test * Revert "test" This reverts commit 42c53c830e28485d2fb49061fa7cdeee31bc6a22. * test * Revert "test" This reverts commit c4f8cda4aa1cec9d1eb97557145f3ad3d2d0e469. * Update style.scss * Update MkTimeline.vue * Update MkTimeline.vue * Update MkTimeline.vue * ✌️ * Update MkTimeline.vue * wip * wip * test * Update MkPullToRefresh.vue * Update MkPullToRefresh.vue * Update MkPullToRefresh.vue * Update MkPullToRefresh.vue * Update MkTimeline.vue * wip * tweak navbar * wip * wip * wip * wip * wip * wip * wip * Update home.vue * wip * refactor * wip * wip * Update note.vue * Update navbar.vue * Update MkPullToRefresh.vue * Update MkPullToRefresh.vue * Update MkPullToRefresh.vue * wip * Update MkStreamingNotificationsTimeline.vue * Update use-pagination.ts * wip * improve perf * wip * Update MkNotesTimeline.vue * wip * megre * Update use-pagination.ts * Update use-pagination.ts * Update MkStreamingNotesTimeline.vue * Update use-pagination.ts * Update CHANGELOG.md * Update CHANGELOG.md * Update CHANGELOG.md
* fix(backend): enumerate achievement types in some response schema (#15953)zyoshoka2025-05-068-108/+116
| | | | | * fix(backend): enumerate achievement types in some response schema * refactor: use `ref`
* refactor: ファイルアップロード時のテストを追加 (#15928)おさむのひと2025-05-042-1/+9
| | | | | * refactor: ファイルアップロード時のテストを追加 * なぜかsemverが消えてた
* Revert "fix: ↵おさむのひと2025-05-033-121/+62
| | | | | | | | | 添付ファイルのあるリクエストを受けたときの初動を改善 (#15896)" (#15927) * Revert "fix: 添付ファイルのあるリクエストを受けたときの初動を改善 (#15896)" This reverts commit 7e8cc4d7c0a86ad0bf71a727fb16132e8bc180a8. * fix CHANGELOG.md
* fix(backend): ↵おさむのひと2025-05-032-17/+32
| | | | | | | | | | | | | | | チャンネルフォロー一覧のsinceId/untilIdによる絞り込みが上手く動いていないのを修正 (#13698) * fix(backend): チャンネルフォロー一覧のsinceId/untilIdによる絞り込みが上手く動いていないのを修正 * fix CHANGELOG.md * docs(changelog): fix mistaken changelog insertion (restore newline) * docs(changelog): update insertion position --------- Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* feat: CREATE INDEX CONCURRENTLY for "userId" "id" composite note index if ↵anatawa122025-05-032-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | admin wish. (#15915) * chore: CREATE INDEX CONCURRENTLY for "userId" "id" composite note index * chore: remove { concurrent: true } and comment why * update comment * feat: add MISSKEY_MIGRATION_CREATE_INDEX_CONCURRENTLY option * fix: spdx license header * alter comment * chore: improve behavior when migration failure * docs(changelog): 2025.4.1 で追加されたインデックスの再生成をノートの追加しながら行えるようになりました * ちょっと表現を変更 --------- Co-authored-by: 饺子w (Yumechi) <35571479+eternal-flame-ad@users.noreply.github.com>
* Block deliver by software (#15727)anatawa122025-05-017-8/+76
| | | | | | | | | | | | | | | | | | | | | | | | | * feat(backend): suspend instance by software * feat(frontend): suspend instance by software * docs(chaangelog): 連合先のソフトウェア及びバージョン名により配信停止を行えるようになりました * chore: 例で使うバージョン名を変える * fix: broken lockfile * fix: broken lock file * fix broken lock file * update changelog * fix dependencies * Update CHANGELOG.md --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* Exclude suspended users note from most timelines (#15775)anatawa122025-05-0121-4/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* feat(frontend): タイトルバーを表示できるようにsyuilo2025-04-292-0/+2
|
* Merge commit from forkJulia2025-04-291-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * SP-2025-03.1 always wrap icon&thumbnail URLs if they're not HTTP URLs, the frontend won't be able to display them anyway (`<img src="mailto:…">` or '<div stile="background-image: url(nntp:…)">` aren't going to work!), so let's always run them through the media proxy, which will fail harder (fetching a `javascript:` URL won't do anything in the backend, might do something in the frontend) and will always protect the client's address in cases like `gemini:` where the browser could try to fetch * SP-2025-03.2 use object binding for more styles interpolating a random (remote-controlled!) string into a `style` attribute is a bad idea; using VueJS object binding, we should get proper quoting and therefore safe parse failures instead of CSS injections / XSS * SP-2025-03.3 slightly more robust "self" URL handling parse URLs instead of treating them as strings; this is still not perfect, but the `URL` class only handles full URLs, not relative ones, so there's so way to ask it "give me a URL object that represents this resource relative to this base URL" notice that passing very weird URLs to `MkUrl` and `MkUrlPreview` will break the frontend (in dev mode) because there's an untrapped `new URL(…)` that may explode; production builds seem to safely ignore the error, though --------- Co-authored-by: dakkar <dakkar@thenautilus.net>
* fix: ↵おさむのひと2025-04-293-62/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 添付ファイルのあるリクエストを受けたときの初動を改善 (#15896) * wip * ロールポリシーの値も参照するように * エンドポイントのテストを追加 * fix review * add spdx * fix CHANGELOG.md * fix test * regenerate * add log * Revert "add log" This reverts commit 4b2bf59a609b85ca0bfcc9b71438db782f11983d. * add log * fix * Revert "add log" This reverts commit c5a73d57da0f30ec5215e08a8b4d78785cce48d1.
* fix(backend): correct response schema of chat endpoints (#15904)zyoshoka2025-04-288-24/+0
|
* Exclude blocked instance note from most timelines (#15792)anatawa122025-04-2820-4/+90
| | | | | | | | | * Exclude blocked instance note from most timelines * Exclude blocked instance note from FTT timelines * Exclude blocked instance note from featured * fix type
* feat: ↵syuilo2025-04-274-1/+22
| | | | アップロード可能な最大ファイルサイズをロールごとに設定可能に
* Fix #15876 絵文字がアニメーションしない問題を修正 (#15881)なっかあ2025-04-271-0/+1
|
* enhance(backend): DB note (userId) インデクス -> (userId, id) ↵饺子w (Yumechi)2025-04-231-1/+1
| | | | | | | | | | | | | 複合インデクスにする (#15879) * enhance(backend): use composite index for ordering notes by user Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * fixup! enhance(backend): use composite index for ordering notes by user --------- Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* feat: Job queue inspector (#15856)syuilo2025-04-1914-166/+698
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * Update job-queue.vue * wip * wip * Update job-queue.vue * wip * Update job-queue.vue * wip * Update QueueService.ts * Update QueueService.ts * Update QueueService.ts * Update job-queue.vue * wip * wip * wip * Update job-queue.vue * wip * Update MkTl.vue * wip * Update index.vue * wip * wip * Update MkTl.vue * 🎨 * jobs search * wip * Update job-queue.vue * wip * wip * Update job-queue.vue * Update job-queue.vue * Update job-queue.vue * Update job-queue.vue * wip * Update job-queue.job.vue * wip * wip * wip * Update MkCode.vue * wip * Update job-queue.job.vue * wip * Update job-queue.job.vue * Update misskey-js.api.md * Update CHANGELOG.md * Update job-queue.job.vue
* enhance: ↵syuilo2025-04-162-13/+48
| | | | コントロールパネルでジョブキューをクリアできるように
* feat: migrate antenna on account move (#15843)anatawa122025-04-162-0/+39
| | | | | | | * feat: migrate antenna on account move * docs(changelog): アカウントの移行時にアンテナのフィルターのユーザが更新されない問題を修正 * refactor: move to AntennaService
* enhance(backend): push notification for chat messagesyuilo2025-04-152-2/+3
| | | | Resolve #15831
* fix: use ftt for outbox (#15819)anatawa122025-04-152-11/+39
| | | | | | | * fix: use ftt for outbox * chore: check for enableFanoutTimeline * lint: fix lint
* feat: render quote note with `quote-inline` class for ap compatibility (#15818)anatawa122025-04-153-11/+31
|
* fix: avatarId が null のときにも avatarUrl が non null ↵anatawa122025-04-156-11/+15
| | | | 担ってることがある問題 (#15833)
* enhance(backend): ↵おさむのひと2025-04-131-11/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | フォローしているユーザーならフォロワー限定投稿のノートでもアンテナで検知できるように (#15264) * フォローしているユーザーなら鍵ノートでもアンテナにひっかかるように Co-authored-by: kozakura913 <98575220+kozakura913@users.noreply.github.com> Co-authored-by: mai <74494945+chan-mai@users.noreply.github.com> * Eliminate build errors by resolving conflicts * 低コストな判定文を前にもってきて重い判定文に入る可能性を少しでも下げる * fix CHANGELOG.md * fix CHANGELOG.md * fix diff * removed comment * fix CHANGELOG.md --------- Co-authored-by: kozakura913 <98575220+kozakura913@users.noreply.github.com> Co-authored-by: mai <74494945+chan-mai@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* レプリケーション設定時におけるinsertOne()の挙動を調整 ↵おさむのひと2025-04-132-34/+80
| | | | | | | | | | | | | | | | | (#15109) * returningを含むクエリをmasterで動かす * wip * wip * fix CHANGELOG.md * 調整 * fix * fix import
* fix: resolve with non-lowercased acct is broken (#15813)anatawa122025-04-132-2/+2
| | | | | * fix: resolve with non-lowercased acct is broken * docs(changelog): Fix: 大文字を含むユーザの URL で紹介された場合に 404 エラーを返す問題
* fix(backend): ↵かっこかり2025-04-131-2/+44
| | | | | | | サーバー名の変更をシステムアカウントの名前に反映するように (#15806) * fix(backend): サーバー名の変更をシステムアカウントの名前に反映するように * Update Changelog
* hideNotesInSensitiveChannel -> excludeNotesInSensitiveChannelsyuilo2025-04-086-8/+8
|
* enhance: チャットの閲覧を無効化できるように (#15765)かっこかり2025-04-0728-14/+96
| | | | | | | | | | | | | | | | | * enhance: チャットの閲覧を無効化できるように * fix * fix * fix * readonlyの説明を追加 * enhance: チャットが無効な場合はチャット関連の設定も隠すように * fix * refactor: ChatServiceからApiに関するドメイン知識を排除
* fix(backend): ↵syuilo2025-04-072-0/+4
| | | | 非ログインでタイムラインのストリームに接続した際、表示にログイン必須のノートが流れる場合がある問題を修正
* Copy role on move (#15745)anatawa122025-04-037-1/+46
| | | | | | | | | | | | | | | | | | | | | * feat(backend): copyOnMoveAccount * feat(endpoints): copyOnMoveAccount * feat(frontend): copyOnMoveAccount * docs(changelog): アカウントのマイグレーション時に古いアカウントからロールをコピーできるようになりました。 * fix: spdx header for migration * Update locales/ja-JP.yml * copyOnMoveAccount -> preserveAssignmentOnMoveAccount * fix: check for preserveAssignmentOnMoveAccount --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix: チャット周りの修正 (#15741)かっこかり2025-04-0311-12/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(misskey-js): チャットのChannel型定義を追加 * fix(backend); canChatで塞いでいない書き込み系のAPIを塞ぐ * fix(frontend): チャット周りのフロントエンド型修正 * lint fix * fix broken lockfile * fix * refactor * wip * wip * wip * clean up --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): ↵syuilo2025-04-032-0/+2
| | | | 非ログインでタイムラインのストリームに接続した際、表示にログイン必須のノートが流れる場合がある問題を修正
* fix(backend/chat): ↵syuilo2025-04-031-2/+8
| | | | | | 自分が作ったチャットルームに他人がメッセージを送ったときに未読にならない Fix #15748
* feat: ↵Nanashi.2025-04-028-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | アンテナでセンシティブなチャンネルからのノートを除外できるように (#15346) * feat(db): マイグレーションを追加 * feat(backend): カラムの定義を追加 * wip * feat: フラグを設定出来るように * feat: /notesエンドポイントを対応 * feat: websocketを対応 * test: テストを追加 * docs: CHANGELOGを更新 * docs: CHANGELOGの追加場所を修正 * chore: api.jsonを更新 * docs(CHANGELOG): General欄に移動 * docs: フォーマットを揃える * chore: クエリを削除 * revert: 英訳を消す * chore: note.channelを追加するところを変える * docs: CHANGELOGを更新する * docs(CHANGELOG): 2025.3.2に移動 * chore: changelogを下に移動 * ci: CI再実行用の空コミット --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* enhance: implement `sentryForFrontend` (#15433)zyoshoka2025-04-023-3/+47
| | | Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* Fix: ↵anatawa122025-04-0211-94/+246
| | | | | | | | | | | | | | | | | | | 通知のページネーションで2つ以上読み込めなくなることがある問題 (#15277) * fix: notifications-groupedのinclude/exclude typesに:groupedを指定できてしまう問題 * refactor: 通知の取得処理を Notification Service に移動 * feat: add function to parse additional part of id * fix: 通知のページネーションが正しく動かない問題 Redisにのページネーションで使用する時間及びidとRedis上のものが混同されていたので、Misskeyが生成するものに寄せました。 * pnpm run build-misskey-js-with-types * chore: XADDをretryするように * fix: notifications-groupedでxrevrangeしているのを消し忘れていた
* enhance(frontend): 壁紙をデッキ設定の一部にsyuilo2025-04-011-5/+0
|
* fix testssyuilo2025-03-291-0/+1
|
* enhance(backend): ↵syuilo2025-03-282-0/+5
| | | | アカウントでチャットが有効になっているかどうかをユーザーのレスポンスに含めるように
* enhance(backend): ↵syuilo2025-03-273-77/+106
| | | | ミュートしているユーザーをユーザー検索の結果から除外するように
* refactor(backend): better method namesyuilo2025-03-2718-35/+35
|
* lintsyuilo2025-03-262-2/+2
|
* typosyuilo2025-03-261-1/+1
|
* fix(backend): ↵syuilo2025-03-251-1/+1
| | | | 承認したチャットルームへの招待の通知が存在するとエラーになる問題を修正