summaryrefslogtreecommitdiff
path: root/packages/backend/src/models (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor(frontend): anyを除去2 (#17092)かっこかり2026-01-142-3/+26
| | | | | | | * wip * fix types * fix
* refactor(frontend): MkRadiosの指定をpropsから行うように (#16597)かっこかり2026-01-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor(frontend): MkRadiosの指定をpropsから行うように * spdx * fix lint * fix: mkradiosを動的slotsに対応させる * fix: remove comment [ci skip] * fix lint * fix lint * migrate * rename * fix * fix * fix types * remove unused imports * fix * wip --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* refactor: make noImplicitAny true (#17083)syuilo2026-01-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update emojis.emoji.vue * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update manager.ts * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update analytics.ts
* enable and fix no-unused-vars and no-async-promise-executor (#17070)anatawa122026-01-0864-114/+114
| | | | | | | | | * dev: set --no-bail for lint task * lint: enable no-async-promise-executor lint and fix them * lint: enable no-unused-vars with allowing _ prefix * lint: fix semi
* fix(backend): ↵かっこかり2025-11-241-64/+1
| | | | | | | | | | | DBレプリケーションを利用する環境でクエリーが失敗する問題を修正 (#16842) * fix: DBレプリケーションを利用する環境でクエリーが失敗する問題を修正 (MisskeyIO#1123) * Update Changelog --------- Co-authored-by: あわわわとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* fix typesyuilo2025-11-071-1/+1
|
* fix tuypesyuilo2025-11-071-0/+5
|
* fix typesyuilo2025-11-071-0/+1
|
* feat: チャンネルミュートの実装 (#14105)おさむのひと2025-11-075-0/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* enhance: ↵かっこかり2025-10-161-0/+5
| | | | | | | | | リモートユーザーのロールバッジを表示するかどうかをサーバー管理者が設定できるように (#16661) * enhance: リモートユーザーのロールバッジを表示するかどうかをサーバー管理者が設定できるように * Update Changelog * build misskey-js with types
* add notessyuilo2025-10-081-0/+3
|
* feat: scheduled post (#16577)syuilo2025-09-266-22/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update NoteDraft.ts * Update NoteDraft.ts * wip * Update CHANGELOG.md * wip * Update PostScheduledNoteProcessorService.ts * Update PostScheduledNoteProcessorService.ts * Update Notification.ts * wip * Update NoteDraftService.ts * Update NoteDraftService.ts * Update NoteDraftService.ts * wip * Create 1758677617888-scheduled-post.js * Update index.d.ts * Update stats.ts * wip * wip * wip * wip * wip * Update MkNotification.vue * wip * wip * wip * Update NoteDraftService.ts * Update NoteDraftService.ts * wip * wip * Update NoteDraftEntityService.ts * wip * Update index.d.ts * Update MkPostForm.vue * wip * wip * wip * Update NoteCreateService.ts * wip * wip * wip * Update NoteDraftEntityService.ts * Update NoteCreateService.ts * Update NoteDraftService.ts * wip * Update NoteDraftService.ts * wip * wip * Update MkPostForm.vue * wip * Update MkPostForm.vue * Update os.ts * wip * Update MkNoteDraftsDialog.vue
* enhance: 広告ごとにセンシティブフラグを設定できるようにsyuilo2025-09-143-0/+16
|
* refactorsyuilo2025-09-011-0/+1
|
* そもそもnullになることはあり得なかったsyuilo2025-08-281-2/+2
|
* refactorsyuilo2025-08-281-2/+2
|
* userのjson schemaに誤りがあるのを修正syuilo2025-08-271-1/+1
|
* refactorsyuilo2025-08-271-0/+55
|
* refactorsyuilo2025-08-271-1/+1
|
* refactorsyuilo2025-08-261-1/+30
|
* fix: Pages will be deleted when eye-catching image is moved (#16455)anatawa122025-08-251-1/+1
|
* feat: ↵syuilo2025-08-192-0/+9
| | | | 非ログイン時に表示されるトップページのスタイルを選択できるように
* fix: Remote Note Cleaning will delete notes embedded in a page (#16408)anatawa122025-08-151-0/+7
| | | | | | | | | | | | | | | | | | | | | * feat: preserve number of pages referencing the note * chore: delete pages on account delete * fix: notes on the pages are removed by CleanRemoteNotes * test: add the simplest test for page embedded notes * fix: section block is not considered * fix: section block is not considered in migration * chore: remove comments from columns * revert unnecessary change * add pageCount to webhook test * fix type error on backend
* enhance: ユーザー検索を制限できるように (#16380)かっこかり2025-08-091-0/+4
| | | | | * enhance: ユーザー検索を制限できるように * Update Changelog
* enhance(backend): ↵syuilo2025-08-011-2/+2
| | | | | | | 連合関係のサーバー設定のデフォルト値をウィザード側に移動 - サーバー初期設定ウィザードでデフォルト値を設定できるため、データベース上のデフォルト値でオンにしておく必要がない - 連合は初期設定が終わるまで閉じられている方が安全
* feat: remote notes cleaning (#16292)syuilo2025-08-011-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create CleanRemoteNotesProcessorService.ts * Update CleanRemoteNotesProcessorService.ts * Update CleanRemoteNotesProcessorService.ts * wip * Update CleanRemoteNotesProcessorService.ts * Update CleanRemoteNotesProcessorService.ts * Update CleanRemoteNotesProcessorService.ts * Update CleanRemoteNotesProcessorService.ts * Update CleanRemoteNotesProcessorService.ts * Update CleanRemoteNotesProcessorService.ts * Update CleanRemoteNotesProcessorService.ts * Update CleanRemoteNotesProcessorService.ts * Update job-queue.job.vue * wip * Update CleanRemoteNotesProcessorService.ts * wip * wip * wip * Update CleanRemoteNotesProcessorService.ts * wip * Update CHANGELOG.md * Revert "wip" This reverts commit 89d455d302c1106c421bcec309fd7bf02509465e. * wip * woip * Update QueueService.ts * Update QueueService.ts * ピン留め考慮 * Update CleanRemoteNotesProcessorService.ts * Update QueueService.ts * Update CleanRemoteNotesProcessorService.ts * add log * Update CHANGELOG.md * wip * Update MkServerSetupWizard.vue
* ノートの脱CASCADE削除 (#16332)syuilo2025-07-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update CHANGELOG.md * Update QueryService.ts * Update QueryService.ts * wip * Update MkNoteDetailed.vue * Update NoteEntityService.ts * wip * Update antennas.ts * Update create.ts * Update NoteEntityService.ts * wip * Update CHANGELOG.md * Update NoteEntityService.ts * Update NoteCreateService.ts * Update note.test.ts * Update note.test.ts * Update ClientServerService.ts * Update ClientServerService.ts * add error handling * Update NoteDeleteService.ts * Update CHANGELOG.md * Update entities.ts * Update entities.ts * Update misskey-js.api.md
* Migration cleanup (#16288)anatawa122025-07-166-15/+25
| | | | | | | | | | | | | | | | | | | | | | | | | * chore: apply several @Index and @ManyToOne to match actual migration code * chore: several decorator updates with typeorm bug workaround with patches * feat: add final cleanup migration * dev: add .editorconfig settings for generated migrations * chore: update dockerfile to build package with patches * chore: update federation test compose to include patches * chore: revert few dependency update * chore: don't check disableRegistration on test env * test: add test for checking migration script * chore: set proxyRemoteFiles true in test config * chore: enter invitation code in signup test * fix: register send button is not disabled when invitationCode is not input
* Don't remove notes when reply / renote is removed (#16287)anatawa122025-07-152-3/+9
| | | | | | | | | * chore: make NO ACTION on channel/reply/renote removal * chore(docs): add description to show a possibility of reply null with replyId non-null * fix: packing NoteDraft fails when reply / renote is removed * feat: show drafts targeting removed renote / reply as "削除された投稿への投稿"
* enhance: ウォーターマーク機能をロールで制御可能にsyuilo2025-07-121-0/+4
|
* fix type errorssyuilo2025-07-051-1/+1
|
* enhance(backend): avatarUrlの上限文字数の引き上げ (#16235)4ster1sk2025-07-031-1/+1
|
* feat: ノートの下書き(draft of note) (#15298)taichan2025-06-256-2/+344
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIp (backend) * Remove unused * 下書きbackend 続き * fix(backedn): visibilityが下書きに反映されない * Update packages/backend/src/postgres.ts Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> * Fix : import order * fix(backend) : createでcwが効かない * FIX FOREGIN KEY * wip: frontend(既存の下書きを挿入) まだ:チャンネル表示、下書きの作成、削除 * WIP: ノート選択ダイアログ 投稿時に下書きを削除 * Promiseに変更 * 連合なし、チャンネルも表示 * Hashtagの値抜け漏れ * hasthagを0文字でも作成可能に * 下書きの保存機構 * chore(misskey-js): build types * localOnly抜け漏れ * チャンネル情報の書き換え * enhance(frontend): ヘッダ部の表示改善 * fix(frontend): ファイル添付できない * fix: no file * fix(frontend): 投票が反映されない * ハッシュタグの展開(コメントアウト外し忘れ) * fix: visibleUserIdsが反映されない * enhance: APIの型を整備 * refactor: 型が整備できたのでasを削除 * Add userhost * fix * enhance: paginationを使う * fix * fix: 自分のアカウントでの投稿でしか下書きを利用できないように 完全に塞ぐことはできないが一応 * :art: * APIのエラーIDを追加 * enhance: スタイル調整 * remove unused code * :art: * fix: ロールポリシーの型 * ロールの編集画面 * ダイアログの挙動改善 * 下書き機能が利用できない場合は表示しないように * refactor * fix: ダブルクリックが効かない問題を修正 * add comments * fix * fix: 保存時のエラーの種別にかかわらずmodalを閉じないように * fix()backend: NoteDraftのreply, renoteの型が間違ってたので修正 (migtrationはあってた) * fix: 投稿フォームを空白にして通常リノートできるやつは下書きとしては弾くように * fix(backend): テキストが0文字でも下書きは保存できるように * Fix(backend): replyIdの型定義がミスっているのを修正 * chore(misskey-js): update types * Add CHANGELOG * lint * 常にサーバー下書きに保存し、上限を超えた場合のみ尋ねるように * NoteDraftServiceにcreate, updateの処理を移譲 * Fix typeerror * remove tooltip * Remove Mkbutton:short and use iconOnly * 不要なコメントの削除 * Remove Short Completely * wip * escキーまわりの挙動を改善 * 下書き選択時に下書き可能数と現在の量が分かるように * cleanUp * wip * wi * wip * Update MkPostForm.vue --------- Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* feat: ↵おさむのひと2025-05-271-0/+5
| | | | | | | | | URLプレビューのリダイレクトを受け入れるかどうかを設定できるようにする (#16112) * feat: URLプレビューのリダイレクトを受け入れるかどうかを設定できるようにする * fix CHANGELOG.md * fix lang
* feat: ↵syuilo2025-05-221-0/+8
| | | | | | | | | | | | | ロールでアップロード可能なファイル種別を設定可能に (#16081) * wip * Update RoleService.ts * wip * Update RoleService.ts * Update CHANGELOG.md
* fix(frontend): ジョブキューインスペクタの型エラー解消 ↵かっこかり2025-05-221-0/+107
| | | | | | | | | | | | | (#16020) * fix(frontend): ジョブキューインスペクタの型エラー解消 * fix * fix * fix * fix
* enhance: ↵syuilo2025-05-121-0/+15
| | | | | | | | | | | | | | | | | いくつかの設定ファイルの項目をコントロールパネルで設定するように (#16026) * wip * Update CHANGELOG.md * feat: migrate to existing config value (#16030) * wip * Update CHANGELOG.md --------- Co-authored-by: anatawa12 <anatawa12@icloud.com>
* enhance: ↵syuilo2025-05-101-0/+4
| | | | 招待されているが参加していないルームを開いたときに、招待を承認するかどうか尋ねるように
* enhance: ↵syuilo2025-05-091-0/+4
| | | | | | リプライ元にアンケートがあることが表示されるように Resolve #15998
* Feat: サーバー初期設定ウィザード (#15954)syuilo2025-05-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-091-0/+3
| | | | | | | | | | | | | * 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-091-0/+6
| | | | | | | | | | | * wip * Update CHANGELOG.md * wip * wip * Update show.ts
* fix(backend): enumerate achievement types in some response schema (#15953)zyoshoka2025-05-064-17/+109
| | | | | * fix(backend): enumerate achievement types in some response schema * refactor: use `ref`
* feat: CREATE INDEX CONCURRENTLY for "userId" "id" composite note index if ↵anatawa122025-05-031-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | 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-012-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | * 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-011-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: ↵syuilo2025-04-271-0/+4
| | | | アップロード可能な最大ファイルサイズをロールごとに設定可能に
* 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>
* fix: avatarId が null のときにも avatarUrl が non null ↵anatawa122025-04-151-0/+4
| | | | 担ってることがある問題 (#15833)
* レプリケーション設定時におけるinsertOne()の挙動を調整 ↵おさむのひと2025-04-131-25/+58
| | | | | | | | | | | | | | | | | (#15109) * returningを含むクエリをmasterで動かす * wip * wip * fix CHANGELOG.md * 調整 * fix * fix import