summaryrefslogtreecommitdiff
path: root/packages/backend (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix(backend): ↵syuilo2025-06-021-3/+4
| | | | ログインできなくなるため、ugcVisibilityForVisitorがnoneでもusers/showは許可するように
* fix(backend): ↵おさむのひと2025-05-311-1/+1
| | | | | | | ジョブキュー画面のPausedタブをアクティブにすると400エラーが返ってくるのを修正 (#16124) * fix(backend): ジョブキュー画面のPausedタブをアクティブにすると400エラーが返ってくるのを修正 * fix CHANGELOG.md
* enhance(backend): tweak default maxFileSizeMb valuesyuilo2025-05-291-1/+1
| | | | ref: #15988
* enhance(backend): 外部サイトのOGPのキャッシュ期間を調整syuilo2025-05-291-2/+2
|
* Export/Import withReplies (#15986)anatawa122025-05-295-8/+36
| | | | | | | | | | | | | | | * feat: export withReplies of UserList * feat: export withReplies of following * import following時のwithRepliesがデフォルト値であることを明示する * changelog * update index.d.ts --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* Fix: ↵anatawa122025-05-2921-90/+231
| | | | | | | | | | | | | | | | | | | | | | | | | ミュート対象ユーザーが引用されているノートが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>
* fix testssyuilo2025-05-294-19/+74
| | | | | | | | | | | | | * test * Update activitypub.ts * Update activitypub.ts * Update create.ts * Update create.ts * Update endpoints.ts
* improve logsyuilo2025-05-281-1/+1
|
* feat: ↵おさむのひと2025-05-275-1/+33
| | | | | | | | | URLプレビューのリダイレクトを受け入れるかどうかを設定できるようにする (#16112) * feat: URLプレビューのリダイレクトを受け入れるかどうかを設定できるようにする * fix CHANGELOG.md * fix lang
* fix: jest.js exits with zero value even if underlying jest exited with ↵anatawa122025-05-271-1/+12
| | | | non-zero value (#16111)
* fix(backend): follow-up of #16105 (#16109)かっこかり2025-05-272-2/+2
|
* fix(backend): typeormのbreaking changeに対応 (#16105)かっこかり2025-05-2711-27/+27
| | | | | * fix(backend): typeormのbreaking changeに対応 * attempt to fix test
* fix(deps): update [backend] update dependencies (#16087)renovate[bot]2025-05-271-8/+8
| | | Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(backend): correct invalid schema format specifying only `required` for ↵zyoshoka2025-05-2714-189/+335
| | | | | | | `anyOf` (#16089) * fix(backend): correct invalid schema format specifying only `required` for `anyOf` * refactor(backend): make types derived from `allOf` or `anyOf` more strong
* fix(backend): add response schema for `notes/show-partial-bulk` endpoint ↵zyoshoka2025-05-251-1/+20
| | | | (#16093)
* enhance(backend): ↵syuilo2025-05-242-11/+33
| | | | ファイル種別が判定できない場合、拡張子を参照するように
* fix(backend): ↵syuilo2025-05-241-0/+7
| | | | unallowedFileTypeエラーがハンドリングされていない問題を修正
* fix(backend): better nullable ref schema representation (#16088)zyoshoka2025-05-231-5/+4
| | | | | * fix(backend): better nullable ref schema representation * refactor
* fix(backend): ↵かっこかり2025-05-231-0/+2
| | | | | | | admin側のエンドポイントで作成した招待コードに作成者の情報が記録されない問題を修正 (#16076) * fix(backend): admin側のエンドポイントで作成した招待コードに作成者の情報が記録されない問題を修正 * Update Changelog
* feat: ↵syuilo2025-05-223-5/+43
| | | | | | | | | | | | | ロールでアップロード可能なファイル種別を設定可能に (#16081) * wip * Update RoleService.ts * wip * Update RoleService.ts * Update CHANGELOG.md
* fix(deps): update [backend] update dependencies (#15911)renovate[bot]2025-05-221-37/+37
| | | | | | | | | | * fix(deps): update [backend] update dependencies * run pnpm dedupe to fix type errors --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
* fix(frontend): ジョブキューインスペクタの型エラー解消 ↵かっこかり2025-05-227-8/+284
| | | | | | | | | | | | | (#16020) * fix(frontend): ジョブキューインスペクタの型エラー解消 * fix * fix * fix * fix
* fix(backend): 連合モードが「なし」の場合はactivity ↵かっこかり2025-05-223-10/+13
| | | | | | | | | jsonへのリンクタグを省略するように (#16074) * fix(backend): 連合モードが「なし」の場合はactivity jsonへのリンクタグを省略するように * Update Changelog * flip condition
* Feat: ドライブ周りのUIの強化 (#16011)syuilo2025-05-213-1/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * Update MkDrive.vue * wip * Update MkDrive.vue * Update MkDrive.vue * wip * Update MkDrive.vue * Update MkDrive.vue * wip * Update MkDrive.vue * wip * wip * wip * wip * Update MkDrive.vue * wip * wip * wip * wip * wip * wip * wip * feat(frontend): upload dialog (#16032) * wip * wip * Update MkUploadDialog.vue * wip * wip * wip * wip * wip * Update MkUploadDialog.vue * wip * wip * Update MkDrive.vue * wip * wip * Update MkPostForm.vue * wip * Update room.form.vue * Update os.ts * wiop * wip * wip * wip * wip * wip * wip * wip * Update select-file.ts * wip * wip * Update MkDrive.vue * Update drag-and-drop.ts * wip * wip * wop * wip * wip * Update MkDrive.vue * Update CHANGELOG.md * wipo * Update MkDrive.folder.vue * wip * Update MkUploaderDialog.vue * wip * wip * Update MkUploaderDialog.vue * wip * Update MkDrive.vue * Update MkDrive.vue * wip * wip
* enhance: ↵syuilo2025-05-1210-20/+103
| | | | | | | | | | | | | | | | | いくつかの設定ファイルの項目をコントロールパネルで設定するように (#16026) * wip * Update CHANGELOG.md * feat: migrate to existing config value (#16030) * wip * Update CHANGELOG.md --------- Co-authored-by: anatawa12 <anatawa12@icloud.com>
* lintsyuilo2025-05-111-3/+1
|
* fix: RateLimiterService (#13997)anatawa122025-05-113-77/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix rate limit check never ends * fix: long term / short term limitがないときでもそれぞれ用のnew Limiterとlimiter.getが呼ばれる問題 * refactor: wrap ratelimiter with promise * refactor: reimplement max/min with async * refactor: reimplement limit with async * refactor: do not check long term limit inside min * refactor: check if there is rate limit inside min/max function * refactor: remove unnecessary return in min/max function * refactor: remove unnecessary max/min function * refactor: return rate limit instead of throwing an object * fix: レートリミットのfactorが二回適用されて二乗の効果がある問題を修正 * fix lint error --------- Co-authored-by: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* enhance(backend): increase MAX_ROOM_MEMBERS to 50syuilo2025-05-111-1/+1
|
* enhance: ↵syuilo2025-05-102-4/+17
| | | | 招待されているが参加していないルームを開いたときに、招待を承認するかどうか尋ねるように
* enhance: ↵syuilo2025-05-092-0/+5
| | | | | | リプライ元にアンケートがあることが表示されるように Resolve #15998
* fix(backend): ↵syuilo2025-05-091-0/+20
| | | | チャットルームが削除された場合・チャットルームから抜けた場合に、未読状態が残り続けることがあるのを修正
* Feat: サーバー初期設定ウィザード (#15954)syuilo2025-05-094-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-097-4/+79
| | | | | | | | | | | * 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 1745378064470-composite-note-index.js (#15968)anatawa122025-05-061-1/+1
|
* fix: developのtypecheckエラーを修正 (#15967)おさむのひと2025-05-061-1/+1
|
* fix(backend): enumerate achievement types in some response schema (#15953)zyoshoka2025-05-069-109/+117
| | | | | * fix(backend): enumerate achievement types in some response schema * refactor: use `ref`
* use sharp 0.33.5syuilo2025-05-051-1/+1
| | | | Fix #15920
* chore(deps): update node.js to v22.15.0 (#15606)renovate[bot]2025-05-044-6/+38
| | | | | | | | | | | | | | * chore(deps): update node.js to v22.15.0 * chore: determine Jest args from Node.js version * fix * fix: `import.meta.dirname` is not supported in v20.10.0 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
* chore(workflow): use `node-version-file` instead of hardcoded `node-version` ↵zyoshoka2025-05-043-6/+6
| | | | | | | (#15658) * chore(workflow): use `node-version-file` instead of hardcoded `node-version` * chore: test min version
* refactor: ファイルアップロード時のテストを追加 (#15928)おさむのひと2025-05-044-2/+176
| | | | | * refactor: ファイルアップロード時のテストを追加 * なぜかsemverが消えてた
* Revert "fix: ↵おさむのひと2025-05-036-234/+65
| | | | | | | | | 添付ファイルのあるリクエストを受けたときの初動を改善 (#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-035-4/+44
| | | | | | | | | | | | | | | | | | | | | | | | | 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-019-8/+93
| | | | | | | | | | | | | | | | | | | | | | | | | * 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-0122-7/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-296-65/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 添付ファイルのあるリクエストを受けたときの初動を改善 (#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.