summaryrefslogtreecommitdiff
path: root/packages/backend/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat: ↵おさむのひと2024-06-0849-317/+2736
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 通報を受けた際にメールまたは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-0134-213/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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`
* fix(backend): fix backward compatibility of antennasyuilo2024-05-312-0/+6
|
* enhance: サーバーのお問い合わせ先URLを設定できるようにsyuilo2024-05-316-6/+28
|
* 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-283-25/+79
| | | | | | | | | | | | | | | * 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-277-17/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* feat: 個別のお知らせにリンクで飛べるように (#13885)かっこかり2024-05-277-34/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(announcement): 個別のお知らせにリンクで飛べるように (MisskeyIO#639) (cherry picked from commit f6bf7f992a78e54d86a4701dbd1e4fda7ef4eb27) * fix Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> * fix Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> * 一覧ページではお知らせpanel全体を押せるように * お知らせバーは個別ページに飛ばすように * Update Changelog * spdx * attempt to fox test * remove unnecessary thong * `announcement` → `announcements/show` * リンクを押せる場所をタイトルと日付部分のみに変更 --------- Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* fix(backend): `read:admin:show-user` と `read:admin:show-users` を統合 ↵かっこかり2024-05-231-1/+1
| | | | | | | | | (#13798) * fix(frontend): 同じdisplayNameの権限があるのを修正 * read:admin:show-user と read:admin:show-users を統合 * Update Changelog
* feat: suspend instance improvements (#13861)anatawa122024-05-237-10/+44
| | | | | | | | | | | | | | | | | | | | | | | * feat(backend): dead instance detection * feat(backend): suspend type detection * feat(frontend): show suspend reason on frontend * feat(backend): resume federation automatically if the server is automatically suspended * docs(changelog): 配信停止まわりの改善 * lint: fix lint errors * Update packages/frontend/src/pages/instance-info.vue * lint: fix lint error * chore: suspendedState => suspensionState --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* feat(backend): add /healthz endpoint (#13834)Acid Chicken2024-05-235-0/+68
| | | | | | | | | | | | | * feat(backend): add /healthz endpoint * feat(backend): also check meilisearch status if available * style: header * chore: no-store * chore: healthcheck.sh * style: format
* `/tags` と `/user-tags` ↵anatawa122024-05-212-1/+17
| | | | | | | | | が検索エンジンにインデックスされないように (#13847) * chore(backend): noindex for tag search pages * docs(changelog): `/tags` と `/user-tags` が検索エンジンにインデックスされないように * chore: base.pug内でフラグでコントロールするように
* fix: ↵anatawa122024-05-202-2/+4
| | | | | | | | | | | 複数idを指定する`users/show`が関係ないユーザを返すことがある問題を修正 (#13765) * fix: 複数idを指定する`users/show`が関係ないユーザを返すことがある問題を修正 * test: fix misskey js test * chore: user/showがnullを返さないように * chore: pass lambda instead of pushVisibleUser
* Exclude channel notes from featured polls (#13838)anatawa122024-05-203-0/+17
| | | | | | | | | | | * feat(backend): add `channelId` to `MiPoll` as a Denormalized field * feat(backend): option to exclude polls in channels * chore: exclude channel notes from featured polls * docs(changelog): みつけるのアンケート欄にてチャンネルのアンケートが含まれてしまう問題を修正 * fix: missing license header
* fix notification limit with exclude/include types (#13836)anatawa122024-05-201-18/+42
| | | | | | | | | | | * fix: /i/notificationsがsinceIdのみのときに正しく動かない問題 Fix #10902 again * chore: use exclusive range to fetch data * fix: フィルタによって通知が0件だった場合でもリトライするように * docs(changelog): `/i/notifications`に includeTypes`か`excludeTypes`を指定しているとき、通知が存在するのに空配列を返すことがある問題を修正
* FTTが有効かつsinceIdのみを指定した場合に帰って来るレス ↵anatawa122024-05-201-8/+5
| | | | | | | ポンスが逆順である問題を修正 (#13837) * fix: FTTが有効かつsinceIdのみを指定した場合に帰って来るレスポンスが逆順である問題 * docs(changelog): FTTが有効かつsinceIdのみを指定した場合に帰って来るレスポンスが逆順である問題を修正
* fix(backend): UserEntityService.getRelationsの取得処理を軽量化 (#13811)おさむのひと2024-05-101-14/+35
| | | | | * fix(backend): UserEntityService.getRelationsの取得処理を軽量化 * rollback
* fix(backend): 不要なUserProfileの取得を修正 (#13812)おさむのひと2024-05-101-5/+4
| | | | | | | | | * fix(backend): 不要なuserProfileの取得を修正 * fix: pnpm@9.0.6 to pnpm@9.1.0 * Revert "fix: pnpm@9.0.6 to pnpm@9.1.0" This reverts commit eaf265ec2cf255cadeaa516d5b668134bc397211.
* update deps (#13624)syuilo2024-05-046-24/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update deps * Update package.json * update deps * build: pass --strip-leading-paths to restore 0.2.x behavior (#13684) * :v: * :v: * pureimageの代わりに@napi-rs/canvasを使う (#13748) * pureimageの代わりに@napi-rs/canvasを使う * remove writestream * remove createtemp * wip * Update ClientServerService.ts * update pnpm to 9.x * update deps * re: update pnpm to 9.x * update node * :v: --------- Co-authored-by: anatawa12 <anatawa12@icloud.com> Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* enhance(backend): ↵Kisaragi2024-05-012-1/+2
| | | | | | | | | | | | | | | | | | | | ドライブのファイルがNSFWかどうか個別に連合されるように (#13756) * fix(backend): ノートのattachmentにおいて、attach.sensitiveが元から存在する場合はそれを尊重する * docs: update changelog (per misskey-dev#13756) * feat(backend,apub): renderDocumentがsensitiveを連合するようにする per https://github.com/misskey-dev/misskey/issues/13755#issuecomment-2081303014 * chore(backend): 追加したコメントを削除 * docs: changelogをより丁寧にする * docs: changelogの項目名をPRに合わせる * docs: tweak apply suggestion from mei23
* Merge pull request from GHSA-2vxv-pv3m-3wvjDaiki Mizukami2024-05-015-70/+102
| | | | | | | | | | | | | * fix: normalize incoming signed activities * Tweak style * Update CHANGELOG.md * Log compacted activity as well --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): add detailed schema to `fetch-rss` endpoint (#13764)zyoshoka2024-04-291-2/+177
|
* AP Link等は添付ファイル扱いしないようになど (#13754)MeiMei2024-04-283-24/+23
| | | | | * Linkは添付ファイルではない * CHANGELOG
* fix: ハイフンを含むリモート絵文字が描画されない (#13715)anatawa122024-04-271-1/+1
|
* Fix(backend): ActivityPubでのHTMLへのシリアライズを修正 (#13752)ikasoba2024-04-271-3/+5
| | | | | | | | | * devモードでもActivityPub系エンドポイントへアクセスできるように * ActivityPubでのHTMLのシリアライズを修正 * ハードコードしていたurlを`httpUrl`へ修正 * テストの追加
* fix(backend): ページのOGP URLが違うのを修正 (#13749)かっこかり2024-04-271-1/+1
| | | | | | | * fix(backend): ページのOGP URLが違うのを修正 * Update Changelog * typo
* Merge pull request from GHSA-m9qf-3pfj-2r86MeiMei2024-04-271-0/+4
| | | | | | | | | * Add Cache-Control to Bull Board * CHANGELOG --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* feat: improve emoji endpoint (#13742)Cocoa Hoto2024-04-251-3/+11
|
* fix: ↵anatawa122024-04-191-1/+4
| | | | 正規化されていない状態のhashtagが連合されてきたhtmlに含まれているとhashtagが正しくhashtagに復元されない問題を修正 (#13733)
* enhance: 新しいコンディショナルロール条件の実装 (#13732)おさむのひと2024-04-194-0/+138
| | | | | * enhance: 新しいコンディショナルロールの実装 * fix: CHANGELOG.md
* 細かいミュートの処理の修正 (#13695)anatawa122024-04-1712-103/+81
| | | | | | | | | | | | | | | * fix: some replies are removed from global timeline * refactor: 各チャンネルのミュートとブロックの処理をまとめる * fix: リノートをミュートでその人のノートのリノートをミュートしていたを修正 * refactor: isPureRenotePackedを他のところでも使う * docs(changelog): CHANGELOGを更新 * test: withReplies = falseでフォローしてる人によるリプライが流れてくる * test: ノートミュートしているユーザーの通常ノートのリノートが流れてくる/含まれる
* fix(backend): ↵MeiMei2024-04-151-3/+4
| | | | | | | nginx経由で/files/にRangeリクエストされた場合に正しく応答できないのを修正 (#13712) * Fix files * CHANGELOG
* enhance: クリップのノート数を表示するように (#13686)かっこかり2024-04-142-1/+9
| | | | | * enhance: クリップのノート数を表示できるように * Update Changelog