summaryrefslogtreecommitdiff
path: root/packages/backend (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix(backend): use `prefixItems` in `admin/queue/*-delayed` endpoint schema ↵zyoshoka2024-08-303-20/+27
| | | | | | | | | | | | | | | (#14468) * fix(backend): represent tuples with `prefixItems` * refactor(frontend): fix type errors * fix(backend): add `prefixItems` in `SchemaType` * fix(backend): add `unevaluatedItems: false` to disallow extra items * refactor(frontend): consolidate `'deliver' | 'queue'` type def into `queue.vue` * fix(backend): add `unevaluatedItems` in `SchemaType`
* refactor(sw): use fully typed locales (#14470)zyoshoka2024-08-301-0/+2
| | | | | * refactor(sw): use fully typed locales * fix(backend): enumerate achievement notification type
* fix(backend): correct `app`-type notification schema (#14471)zyoshoka2024-08-292-3/+3
|
* 消し忘れsyuilo2024-08-271-2/+0
|
* refactorsyuilo2024-08-271-3/+3
|
* enhance(frontend): ↵syuilo2024-08-235-4/+9
| | | | サイズ制限を超過するファイルをアップロードしようとした際にエラーを出すように
* add notesyuilo2024-08-231-0/+1
|
* fix(backend): ↵syuilo2024-08-231-1/+9
| | | | ファイルがサイズの制限を超えてアップロードされた際にエラーを返さなかった問題を修正
* better boot error screensyuilo2024-08-221-3/+3
|
* fix(backend): Fix chart generation non-matching blockedHosts (#14441)atsuchan2024-08-201-5/+5
|
* fix(backend): memory leak in memory caches (#14363)Hazel K2024-08-1811-84/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | * encapsulate `MemoryKVCache<T>` * remove infinity caches * encapsulate other caches * add missing awaits to internally synchronize caches * implement pull-through caching * tune cache lifetimes * optimize cache GC by stopping early * summarize changes in CHANGELOG.md * Fix timeout comments Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> * add comments about awaiting the redis write --------- Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
* Fix(beckend): html content-type detection on signedGet (#14424)taichan2024-08-171-2/+2
| | | | | | | * fix(backend): contenttype detection of html in signedGet * code style * fix by review
* Update packages/backend/src/core/activitypub/ApRequestService.tsかっこかり2024-08-171-1/+3
|
* enhance(backend): ↵taichan2024-08-171-2/+22
| | | | | | | | | | | | | | | | | | | headタグ内にrel=alternateの指定のあるlinkタグがある場合、記述されたURLを参照して照会できるように (#14371) * signedGet時にhttpかつalternate属性のlinkがある場合に一回だけfollowして照会する * Fix: validation position * Fix import * Fix tagname * Update CHANGELOG * Fix code style --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* enhance(backend): ↵zyoshoka2024-08-174-9/+95
| | | | | | | | | | | | | | | ページ、ギャラリー、Playのモデレーション強化 (#13523) * enhance(backend): Page、ギャラリー、Playのモデレーション強化 * Update CHANGELOG.md * fix: update misskey-js * refactor(frontend): use `MkA` * Update CHANGELOG.md * fix(i18n): Page -> ページ
* fix(backend): ↵かっこかり2024-08-171-2/+13
| | | | | | | | | | | | | ベースロールのポリシー変更時モデレーションログが残るように (#14418) * fix(policies): ベースロールのポリシー変更時モデレーションログが残るように (MisskeyIO#700) (cherry picked from commit 80389a914049f6f26237fde8da7d4e1bd41452fc) * Update Changelog --------- Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* suspend周りの改修 (#14409)syuilo2024-08-176-92/+140
| | | | | | | | | | | | | | | | | | | | | | * enhance(backend): 凍結されたアカウントのフォローリクエストを表示しないように * Update CHANGELOG.md * wip * Update gen-spec.ts * Update packages/backend/src/server/api/endpoints/admin/suspend-user.ts Co-authored-by: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com> * owa- * revert misskey-js related changes (#14414) --------- Co-authored-by: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com> Co-authored-by: anatawa12 <anatawa12@icloud.com>
* fix(backend): ↵syuilo2024-08-171-0/+6
| | | | 無制限にストリーミングのチャンネルに接続できる問題を修正
* fix(backend): リバーシの設定変更が反映されないのを修正 ↵かっこかり2024-08-162-8/+33
| | | | | | | | | (#14404) * fix(backend): リバーシの設定変更が反映されないのを修正 * Update Changelog * add bindthis
* Revert "enhance(backend): ↵syuilo2024-08-143-80/+64
| | | | | | 凍結されたアカウントのフォローリクエストを表示しないように" This reverts commit cd210001e6ffd6232678cbc74f06f8e6d05a1d15.
* enhance(backend): ↵syuilo2024-08-143-64/+80
| | | | 凍結されたアカウントのフォローリクエストを表示しないように
* chore: fix some comments (#14394)timesince2024-08-121-1/+1
| | | Signed-off-by: timesince <seekseat@icloud.com>
* fix(backend): ↵かっこかり2024-08-111-1/+1
| | | | | | | | | | | | | | ダイレクト投稿をユーザーごとのチャートから除外 (#14350) * fix(chart): ダイレクト投稿をユーザーごとのチャートから除外 (MisskeyIO#679) (cherry picked from commit 3db41c2d829ac18daabbdf52fe6235a874735b31) * Update Changelog --------- Co-authored-by: Yuuki <yukikum57@gmail.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): getApTypeでエラーを投げないように (#14361)かっこかり2024-08-112-11/+26
| | | | | | | | | | | * fix(backend): getApTypeでエラーを投げないように * Update Changelog * Update Changelog * Update type.ts * add comment
* fix(backend): InstanceEntityService.packMany に me ↵かっこかり2024-08-113-4/+5
| | | | | | | | | | | | | | | | | が渡っていないのを修正 (#14360) * fix: pass current user into `InstanceEntityService.packMany` (cherry picked from commit 858ba188768017764c61c4a5591bdf2524a850e7) * Update Changelog * origin * Update Changelog --------- Co-authored-by: Hazel K <acomputerdog@gmail.com>
* Merge branch 'develop' of https://github.com/misskey-dev/misskey into developsyuilo2024-08-101-0/+1
|\
| * fix(frontend): ↵かっこかり2024-08-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | iOSでacctなどがリンクとして誤検知されるのを抑制 (#14354) * fix(frontend): iosでの自動リンク化を抑制 * Update Changelog * typo * typo * Update CHANGELOG.md
* | refactorsyuilo2024-08-101-3/+3
|/
* fix(general): some fixes and improvements of Play visibility (#14384)zyoshoka2024-08-102-0/+6
| | | | | | | | | * fix(backend): missing `visibility` param in packing flash * fix(frontend): use `visibility` value got from API * enhance(frontend): change preview appearance of private Play * Update CHANGELOG.md
* fix: readAllNotifications message not working (#14374)anatawa122024-08-095-16/+28
| | | | | | | | | | | | | | | * refactor: add and use isJsonObject * fix: readNotification message without body is not working * docs(changelog): WSの`readAllNotifications` メッセージが `body` を持たない場合に動作しない問題 * Update CHANGELOG.md Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> --------- Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* fix(backend): check visibility of following/followers of remote users / ↵Daiki Mizukami2024-08-096-36/+145
| | | | | | | | | | | | | | | | | | | | | | | | feat: moderators can see following/followers of all users (#14375) * fix(backend): check visibility of following/followers of remote users Resolves https://github.com/misskey-dev/misskey/issues/13362. * test(backend): add tests for visibility of following/followers of remote users * docs(changelog): update CHANGELOG.md * feat: moderators can see following/followers of all users * docs(changelog): update CHANGELOG.md * refactor(backend): minor refactoring `createPerson`と`if`の条件を統一するとともに、異常系の 処理をearly returnに追い出すための変更。 * feat(backend): moderators can see following/followers count of all users As per https://github.com/misskey-dev/misskey/pull/14375#issuecomment-2275044908.
* fix importsyuilo2024-08-091-1/+2
|
* test: ↵anatawa122024-07-311-0/+30
| | | | フォローしていないユーザーからの自分への返信が含まれることを確認するテストを追加 (#14333)
* feat: media silence (#13842)anatawa122024-07-3010-2/+71
| | | | | | | | | | | | | | | | | | | | | * feat: media silence * fix: lint * feat: deny creating custom emoji reaction and using custom emoji from media silenced hosts * chore: メディアサイレンスの説明にカスタム絵文字の話を追加 * Update locales/ja-JP.yml Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> * chore: update index.d.ts * docs(changelog): update changelog --------- Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* 自分のフォロワー限定投稿に対するリプライがホームタ ↵anatawa122024-07-306-5/+163
| | | | | | | | | | | | | | | | | | | | | | | ムラインで見えないことが有る問題を修正 (#13835) * fix: reply to my follower notes are not shown on the home timeline * fix: reply to follower note by non-following is on social timeline * docs: changelog * test: add endpoint test for changes * test(e2e): 自分のfollowers投稿に対するリプライが流れる * test(e2e/streaming): 自分のfollowers投稿に対するリプライが流れる * test(e2e/streaming): フォローしていないユーザによるフォロワー限定投稿に対するリプライがソーシャルタイムラインで表示されることがある問題 * test(e2e/timelines): try fixing typecheck error --------- Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* 検索からハッシュタグのページが開けるように、users/sear ↵Sayamame-beans2024-07-301-65/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chに`@`から始まる文字列が与えられた際の処理を修正 等 (#13858) * enhance(frontend): 検索からハッシュタグのページを開けるように * fix(frontend): 照会で入力が`#`のみの場合は`/tags/`に遷移しないように * docs(changelog): update changelog * enhance(frontend): ユーザー検索からもハッシュタグのページを開けるように * docs(changelog): update changelog * enhance(frontend): 検索範囲等が指定されている時は照会/ハッシュタグページを開かないように * enhance(frontend): 検索内容に空白が含まれている場合は照会/ハッシュタグページを開かないように * docs(changelog): update changelog * Revert "enhance(frontend): 検索範囲等が指定されている時は照会/ハッシュタグページを開かないように" This reverts commit f84eecea964b90e9b115eac19ed6f19a603a6bbc. * enhance(frontend): 検索から照会/ハッシュタグページを開くかどうか確認するように * docs(changelog): update changelog * chore: fix lint * docs(changelog): update changelog insertion position * enhance(frontend): 検索から`@user@host`の形式で照会出来るように * fix(frontend): 照会で入力が`@`のみの場合に`/@`に遷移しないように * fix(backend): `users/search`において`@`から始まるqueryに対する処理が正しくなかった問題を修正 * docs(changelog): update changelog * chore(backend): fix lint error * fix(backend): more improvements for users/search when query startswith `@` * chore: unify common conditions * docs(changelog): refine changelog * chore(backend): fix lint error * MkInputをpreventに対応させ、enterの意図せぬ伝搬を防ぐ * chore(frontend/search.user): use .prevent to prevent the propagation of enter instead of setTimeout --------- Co-authored-by: samunohito <46447427+samunohito@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> Co-authored-by: taichanne30 <dev@taichan.site>
* Fix condition of noteSearchableScope (#14325)taichan2024-07-301-1/+1
|
* refactor(backend): remove unrelated commentsかっこかり2024-07-301-1/+0
|
* feat: このユーザーのノートを検索, ↵taichan2024-07-302-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | クエリに基づく検索の初期値 & ノート検索のUI改善 (#14128) * refactor(frontend): noteSearchAvailableをaccountsに移動 * feat: searchページでのクエリの受取りとtypeによる表示タブの変更 * user検索でsearchの親から受け取った値を基に入力値を初期化 * feat(frontend): ノート検索で親(search)からの情報を基にユーザー情報を取得 * feat(frontend): ユーザーのノートを検索するページに遷移するボタン * feat(frontend): ノート検索にホスト名指定のオプション追加 also :art: * style: ただ照会部分を囲っただけ(可読性確保のために) * refactor: remove unneed import defineProps and withDefaults are compiler micro when using `<script setup>` FYI: https://vuejs.org/api/sfc-script-setup.html#defineprops-defineemits:~:text=defineProps%20and%20defineEmits%20are%20compiler%20macros%20only%20usable%20inside%20%3Cscript%20setup%3E.%20They%20do%20not%20need%20to%20be%20imported%2C%20and%20are%20compiled%20away%20when%20%3Cscript%20setup%3E%20is%20processed. * Update CHANGELOG * Fix: ノート検索の初期値が常にホスト指定になってしまう * notesSearchAvailableをaccountに持たせるのをやめる * SDPX-Licence-Identifier * Fix: Vitest fails due to instance.policies being undefined * Add Storybook for search * Fix(storybook): ノート検索が利用できないと出てしまう問題 * storybookでユーザー選択ができないのを修正 * feat: ノート検索で自分を選択可能に & :art: * feat(background): api/metaで検索可能なノートのスコープを参照できるように * globalのノートが検索不可能な場合、検索オプションを表示しないように * Update CHANGELOG.md * config.meilisearch.scopeがstring[]を取ることがあるので修正 * meilisearchを利用かつscopeがlocalの場合、リモートユーザーのメニューで「このユーザーのノートを検索」を出さないように * hostが空文字の時の挙動を修正 * ローカルのみしかノートがインデックスされていない場合、リモートユーザーも選択できなくした
* Fix(backend): ドライブのファイルのurl, uri, src ↵taichan2024-07-302-3/+27
| | | | | | | | | | | | | | | | | の上限引き上げ (#14323) * enhance: ドライブurlの上限文字数を引き上げ * Fix: おそらくフォーク独自の変更のように見える部分(metaに関する変更部分)を削除 * UPDATE changelog * Add SPDX prefixes * Fix: インデックスの張り直しを消した --------- Co-authored-by: slofp <phy.public@gmail.com>
* enhance: ↵かっこかり2024-07-301-1/+8
| | | | | | | 管理画面でアーカイブにしたお知らせを表示・編集できるように (#14286) * enhance: 管理画面でアーカイブにしたお知らせを表示できるように * Update Changelog
* fix(backend): type(schema) of reactionAcceptance was wrong (#14317)Sayamame-beans2024-07-301-1/+1
|
* feature: ユーザ作成時にSystemWebhookを発信できるようにする ↵おさむのひと2024-07-297-58/+221
| | | | | | | (#14321) * feature: ユーザ作成時にSystemWebhookを発信できるようにする * fix CHANGELOG.md
* Fix(frontend): ↵Sayamame-beans2024-07-281-0/+1
| | | | | | | | | | | | | 下書き/削除して編集で保持されない項目があった問題を修正 (#14285) * chore(frontend): reorder assignments * fix(frontend): visibleUserIds is not kept when deleteAndEdit * fix(frontend): quoteId is not kept on draft * fix(frontend): reactionAcceptance is not kept for draft/deleteAndEdit * docs(changelog): update changelog
* update deps (#14312)syuilo2024-07-281-22/+22
|
* fix(build): autogen生成時にbackendを2度buildしているのを修正 ↵かっこかり2024-07-272-7/+30
| | | | | | | | | (#14309) * fix(build): autogen生成時にbackendを2度buildしているのを修正 * fix * fix
* fix(backend): avoid caching remote user's HTL when receiving Note (#13772)zyoshoka2024-07-252-5/+46
| | | | | | | | | | | * fix(backend): avoid caching remote user's HTL when receiving Note * test(backend): add test for FFT * Update CHANGELOG.md --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): avoid notifying to remote users on local (#13774)zyoshoka2024-07-253-7/+15
| | | | | | | | | | | | * fix(backend): avoid notifying to remote users on local * Update CHANGELOG.md * refactor: check before calling method --------- Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* revert 5f88d56d96syuilo2024-07-2044-1035/+654
| | | | バグがある(かつすぐに修正できそうにない) & まだレビュー途中で意図せずマージされたため
* Disable ESLint for migration files (#14262)woxtu2024-07-191-1/+1
|