summaryrefslogtreecommitdiff
path: root/packages/backend (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix import pathsyuilo2024-07-061-1/+1
|
* dev: fix pnpm dev is broken (#14123)anatawa122024-07-031-0/+2
| | | | | * dev: pnpm dev is broken * dev: fix crash pnpm dev because of unhandled promise
* Use built-in API (#14095)woxtu2024-07-026-73/+69
|
* test(backend): goodbye, Lenna (#14111)Kisaragi2024-07-0212-16/+16
|
* update deps (#14057)syuilo2024-07-028-129/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * locales/index.jsのymlファイル取得ロジックを調節 * regenerate pnpm-lock.yaml * fix(backend): typecheck fails * chore(deps): bump ip-cidr from 4.0.0 to 4.0.1 in /packages/backend * chore: migrate ESLint configs to flat config (#14094) * chore: migrate ESLint configs to flat config * fix: update paths * fix: frontend lint fails * refactor(misskey-js): lint build.js * update deps --------- Co-authored-by: samunohito <46447427+samunohito@users.noreply.github.com> Co-authored-by: zyoshoka <root@zyoshoka.com> Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
* chore(docker-compose): 推奨の名前にする (#14096)ぬるきゃっと2024-06-281-2/+0
| | | | | | | | | | | * chore(docker-compose): 推奨の名前にする https://github.com/compose-spec/compose-spec/blob/5c18e329d5a15a15e4b636ed093b256b96615e33/spec.md#compose-file * yaml to yml * fix * fix
* fix(backend): fix creating reactions bugs (#13901)zyoshoka2024-06-223-1/+75
| | | | | | | | | | | | | | | | | * fix(backend): add fallback for empty string when creating reaction * fix(backend): prohibit reactions to Renote * test(backend): add some tests for `notes/reactions/create` endpoint * Update CHANGELOG.md * lint * Update CHANGELOG.md --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* Remove @types/node-fetch (#13948)woxtu2024-06-221-1/+0
|
* refactor: say bye to the weird groupBy friends (#13975)Kisaragi2024-06-221-38/+0
| | | | | * refactor(frontend): say bye to the weird groupBy friends * refactor(backend): say bye to the weird groupBy friends
* fix(backend): ↵かっこかり2024-06-221-1/+1
| | | | | | | | | 自分以外のクリップ内のノート個数が見えるのを修正 (#14065) * fix(backend): 自分以外のクリップ内のノート個数が見えることがあるのを修正 * Update Changelog * fix
* refactor: api/*/update系の必須キーを最低限に (#13824)yupix2024-06-226-48/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor: clips/updateの必須キーをclipIdのみに * refactor: admin/roles/update の必須キーをroleIdのみに * feat: pages/update の必須キーをpageIdのみに * refactor: gallery/posts/update の必須キーをpostidのみに * feat: misskey-jsの型を更新 * feat: i/webhooks/updateの必須キーをwebhookIdのみに * feat: admin/ad/updateの必須キーをidのみに * feat: misskey-jsの型を更新 * chore: update CHANGELOG.md * docs: update CHANGELOG.md * fix: secretが更新できなくなる場合がある Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com> * Update packages/backend/src/server/api/endpoints/gallery/posts/update.ts --------- Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): ↵Kisaragi2024-06-223-3/+25
| | | | | | | | | | | | | | | | | | | フィードのノートのMFMはHTMLにレンダーしてから返す (#14006) * fix(backend): フィードのノートのMFMはHTMLにレンダーしてから返す (test wip) * chore: beforeEachを使う? * fix: プレーンテキストにフォールバックしてMFMが含まれていないか調べる方針を実装 * fix: application/jsonだとパースされるのでその作用をキャンセル * build: fix lint error * docs: update CHANGELOG.md --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix: ↵anatawa122024-06-221-0/+6
| | | | | notRespondingSinceが実装される前に不通になったインスタンスが自動的に配信停止にならない (#14059) Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): fallback if `sinceId` is older than the oldest in cache when ↵zyoshoka2024-06-222-8/+39
| | | | | | | | | 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
* refactorsyuilo2024-06-211-5/+4
|
* remove unused filessyuilo2024-06-213-34/+0
|
* remove unused filesyuilo2024-06-212-48/+0
|
* refactor(backend): remove unnecessary isNotNull sugarsyuilo2024-06-2122-65/+36
|
* update typescriptsyuilo2024-06-211-1/+1
|
* Fix(backend): Limit antenna/webhook/list to exact amount (#14036)Ryu jongheon2024-06-189-14/+12
| | | | ... not +1 * Update antennas/clips e2e test
* refactor(backend): get column names from metadata (#13943)Acid Chicken2024-06-151-25/+5
| | | | | | | | | * ci: enable * chore: stop when generated column found * chore: get column names from metadata * ci: disable
* fix rate limit check never ends (#13994)anatawa122024-06-151-1/+1
|
* feat(backend): report `Retry-After` if client hit rate limit (#13949)Kisaragi2024-06-132-23/+40
| | | | | * feat(backend): report `Retry-After` if client hit rate limit * refactor(backend): fix lint error
* node 22 supportsyuilo2024-06-131-2/+2
|
* feat: ↵おさむのひと2024-06-0854-328/+4178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする (#13758) * feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする * モデログに対応&エンドポイントを単一オブジェクトでのサポートに変更(API経由で大量に作るシチュエーションもないと思うので) * fix spdx * fix migration * fix migration * fix models * add e2e webhook * tweak * fix modlog * fix bugs * add tests and fix bugs * add tests and fix bugs * add tests * fix path * regenerate locale * 混入除去 * 混入除去 * add abuseReportResolved * fix pnpm-lock.yaml * add abuseReportResolved test * fix bugs * fix ui * add tests * fix CHANGELOG.md * add tests * add RoleService.getModeratorIds tests * WebhookServiceをUserとSystemに分割 * fix CHANGELOG.md * fix test * insertOneを使う用に * fix * regenerate locales * revert version * separate webhook job queue * fix * :art: * Update QueueProcessorService.ts --------- Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* 配信停止したインスタンス一覧が見れなくなる問題を修 ↵Porlam Nicla2024-06-071-2/+2
| | | | | | | (#13945) * 配信停止したインスタンス一覧が見れなくなる問題を修正 * Update CHANGELOG.md
* enhance(backend): improve sentry integrationsyuilo2024-06-072-0/+8
|
* fix(backend): ↵taichan2024-06-071-3/+3
| | | | | | | チャート生成時にinstance.isSuspendedが読まれてしまう問題の修正 (#13951) * fix(backend): use sustensionState instead of isSuspended * Update CHANGELOG.md
* enhance(backend): improve sentry integrationsyuilo2024-06-061-8/+8
|
* lint fixessyuilo2024-06-063-3/+3
|
* enhance(backend): improve sentry integrationsyuilo2024-06-061-7/+56
|
* enhance(backend): improve sentry integrationsyuilo2024-06-063-6/+35
|
* fixsyuilo2024-06-061-1/+1
|
* refactor(backend): remove unused logger optionsyuilo2024-06-065-14/+10
|
* enhance(backend): sentry integration for job queuessyuilo2024-06-061-158/+231
|
* fix(backend): use insertOne insteadof insert/findOneOrFail combination (#13908)Acid Chicken2024-06-0136-215/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(backend): use insertOne insteadof insert/findOneOrFail combination * fix: typo * fix(backend): inherit mainAlias? * refactor(backend): use extend * fix(backend): invalid entityTarget * fix(backend): fake where * chore: debug * chore: debug * test: log * fix(backend): column names * fix(backend): remove dummy from * revert: log * fix(backend): position * fix(backend): automatic aliasing * chore(backend): alias * chore(backend): remove from * fix(backend): type * fix(backend): avoid pure name * test(backend): fix type * chore(backend): use cte * fix(backend): avoid useless alias * fix(backend): fix typo * fix(backend): __disambiguation__ * fix(backend): quote * chore(backend): t * chore(backend): accessible * chore(backend): concrete returning * fix(backend): quote * chore: log more * chore: log metadata * chore(backend): use raw * fix(backend): returning column name * fix(backend): transform * build(backend): wanna logging * build(backend): transform empty * build(backend): build alias * build(backend): restore name * chore: return entity * fix: test case * test(backend): 204 * chore(backend): log sql * chore(backend): assert user joined * fix(backend): typo * chore(backend): log long sql * chore(backend): log join * chore(backend): log join depth null * chore(backend): joinAttributes * chore(backend): override createJoinExpression * chore: join log * fix(backend): escape * test(backend): log log * chore(backend): join gonna success? * chore(backend): relations * chore(backend): undefined * chore(backend): target * chore(backend): remove log * chore(backend): log chart update * chore(backend): log columns * chore(backend): check hasMetadata * chore(backend): unshift id when not included * chore(backend): missing select * chore(backend): remove debug code
* perf(backend): avoid N+1 selects from `user` table when packing many ↵zyoshoka2024-05-3124-87/+268
| | | | | | | entities (#13911) * perf(backend): avoid N+1 selects from `user` table when packing many entities * perf(backend): use `packMany` instead of mapping to `pack`
* Update 1717117195275-inquiryUrl.jssyuilo2024-05-311-4/+0
|
* fix testsyuilo2024-05-311-0/+1
|
* fix(backend): fix backward compatibility of antennasyuilo2024-05-312-0/+6
|
* enhance: サーバーのお問い合わせ先URLを設定できるようにsyuilo2024-05-317-6/+48
|
* refactor(backend): avoid `as any` on CustomEmojiService.ts (#13903)Kisaragi2024-05-291-3/+4
|
* chore(backend): rename local variable (#13904)Kisaragi2024-05-291-7/+7
| | | much -> matched
* refactor: avoid `as any[]` on FetchInstanceMetadataService.ts (#13905)Kisaragi2024-05-291-1/+1
| | | | | | | | | | | * refactor: avoid `as any[]` on FetchInstanceMetadataService.ts * apply suggestion Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* feat: sentry integration (#13897)syuilo2024-05-284-26/+82
| | | | | | | | | | | | | | | * wip * wip * wip * wip * Update CHANGELOG.md * Update ApiCallService.ts * Update config.ts
* fix(federation): InboxにきたCreate, AnnounceのobjectがBearcaps ↵tamaina2024-05-284-55/+84
| | | | | | | | | | | | | | | | | | urlだった際はスキップするように (#13610) * fix(federation): AnnounceのobjectがLike出なかったらキューにためない Fix https://github.com/misskey-dev/misskey/issues/13552 * revert * better reason handlings * result * improve announce handling * skip bearcaps * also announce
* 新着ノートをサウンドで通知する機能をdeck UIに追加 (#13867)anatawa122024-05-2710-23/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(deck-ui): implement note notification * chore: remove notify in antenna * docs(changelog): 新着ノートをサウンドで通知する機能をdeck UIに追加 * fix: type error in test * lint: key order * fix: remove notify column * test: remove test for notify * chore: make sound selectable * fix: add license header * fix: add license header again * Unnecessary await Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> * ファイルを選択してください -> ファイルが選択されていません * fix: i18n忘れ * fix: i18n忘れ * pleaseSelectFile > fileNotSelected --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
* もともとセンシティブではないと連合されていたファイ ↵anatawa122024-05-271-0/+6
| | | | | | | | | | | | | | | | | | | がセンシティブとして連合された場合にセンシティブとしてそのファイルを扱うように (#13879) * feat(backend): mark an file as sensitive if the file was newly federated as sensitive * docs(changelog): もともとセンシティブではないと連合されていたファイルがセンシティブとして連合された場合にセンシティブとしてそのファイルを扱うように * fix: change way to update federated image * Update packages/backend/src/core/DriveService.ts Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> * update isSensitive of existing record object --------- Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* enhance(backend): プロフィールのリンク検証にtry-catchを追加 ↵かっこかり2024-05-271-15/+21
| | | | | | | (#13882) * enhance(backend): プロフィールのリンク検証にtry-catchを追加 * :v:
* fix(backend): `/@` ↵かっこかり2024-05-271-3/+9
| | | | にアクセスするとサーバーエラーが発生する問題を修正 (#13884)