summaryrefslogtreecommitdiff
path: root/packages/backend (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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)
* feat: 個別のお知らせにリンクで飛べるように (#13885)かっこかり2024-05-278-34/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-239-10/+110
| | | | | | | | | | | | | | | | | | | | | | | * 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
* happy-domにメモリリークがありそうsyuilo2024-05-211-1/+1
|
* `/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-204-0/+38
| | | | | | | | | | | * 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-047-81/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-016-70/+144
| | | | | | | | | | | | | * 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-284-31/+42
| | | | | * Linkは添付ファイルではない * CHANGELOG
* fix: ハイフンを含むリモート絵文字が描画されない (#13715)anatawa122024-04-271-1/+1
|
* Fix(backend): ActivityPubでのHTMLへのシリアライズを修正 (#13752)ikasoba2024-04-272-3/+11
| | | | | | | | | * 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-195-66/+570
| | | | | * enhance: 新しいコンディショナルロールの実装 * fix: CHANGELOG.md
* 細かいミュートの処理の修正 (#13695)anatawa122024-04-1714-104/+121
| | | | | | | | | | | | | | | * 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
* chore: Use integrity for Redoc script (#13716)MeiMei2024-04-151-1/+1
| | | | | * Use integrity for redoc scripts * official?
* enhance: クリップのノート数を表示するように (#13686)かっこかり2024-04-142-1/+9
| | | | | * enhance: クリップのノート数を表示できるように * Update Changelog
* fix(backend): incorrect logic for determining whether Quote or not (#13700)zyoshoka2024-04-1410-43/+295
| | | | | | | | | * fix(backend): incorrect logic for determining whether Quote or not * Update CHANGELOG.md --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): ↵かっこかり2024-04-141-1/+5
| | | | | | | | | | | | | | | | | | FileServerServiceでレンジリクエストの場合に適切なレスポンスコードが返らない問題を修正 (#13701) * return 206 for every ranged response - fixes #494 (cherry picked from commit 92eec2178fd103e9ea2bcd646aacab1fb496a33b) * detect size of remote files - fixes #494 without this, remote files are assumed to have size 0 (even if we just downloaded them!) and the range-related code won't run (cherry picked from commit 960f4fcff78a1f019c9a9377853fcd90dbfb7575) --------- Co-authored-by: dakkar <dakkar@thenautilus.net>
* fix(backend): ↵かっこかり2024-04-131-0/+10
| | | | | | | | | | | | | 登録にメール認証が必須になっている場合、登録されているメールアドレスを削除できないように (#13703) * fix(backend): 登録にメール認証が必須になっている場合、登録されているメールアドレスを削除できないように (MisskeyIO#606) (cherry picked from commit 6b7df2bd10dc28b84f525a621b66fc49bf59cac6) * Update Changelog --------- Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* refactor(general): use `Date.now()` instead of creating a new `Date` ↵zyoshoka2024-04-076-7/+7
| | | | instance (#13671)
* fix(backend): バックエンドのpnpm ↵おさむのひと2024-04-045-7/+68
| | | | | | | devによるビルド後にbuild-assetsを行うようにする (#13659) * moveto scripts * add scripts/dev.mjs