summaryrefslogtreecommitdiff
path: root/packages/backend (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor/perf(backend): provide metadata statically (#14601)syuilo2024-09-2255-487/+499
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update ReactionService.ts * Update ApiCallService.ts * Update timeline.ts * Update GlobalModule.ts * Update GlobalModule.ts * Update NoteEntityService.ts * wip * wip * wip * Update ApPersonService.ts * wip * Update GlobalModule.ts * Update mock-resolver.ts * Update RoleService.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * clean up * Update utils.ts * Update UtilityService.ts * Revert "Update utils.ts" This reverts commit a27d4be764b78c1b5a9eac685e261fee49331d89. * Revert "Update UtilityService.ts" This reverts commit e5fd9e004c482cf099252201c0c1aa888e001430. * vuwa- * Revert "vuwa-" This reverts commit 0c3bd12472b4b9938cdff2d6f131e6800bc3724c. * Update entry.ts * Update entry.ts * Update entry.ts * Update entry.ts * Update jest.setup.ts
* update deps (#14594)syuilo2024-09-226-54/+56
| | | | | | | | | | | * wip * Update ClientServerService.ts * eslint * Update fetch-resource.ts * wip
* Merge branch 'develop' of https://github.com/misskey-dev/misskey into developsyuilo2024-09-213-18/+24
|\
| * fix(backend): ↵かっこかり2024-09-211-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `Retry-After`ヘッダーが実際には送信されなかった問題を修正 (#14597) * move rate-limit-exceeded error reporting, earlier a rate-limit-exceeded error has `kind:'client'`, so the branch that adds the `Retry-After` would never get taken (cherry picked from commit 8a982c61c01909e7540ff1be9f019df07c3f0624) * Update Changelog * fix * indent --------- Co-authored-by: dakkar <dakkar@thenautilus.net>
| * fix: EmailServiceでインラインスタイルを適用するように (#14600)Esurio/1673beta2024-09-212-9/+15
| | | | | | Co-authored-by: Esurio <esurio@esurio1673.net>
* | fix rbtsyuilo2024-09-212-6/+7
|/
* enhance: ↵かっこかり2024-09-207-0/+40
| | | | | | | ユーザーコンテンツのインポート操作の実行可否をロールで制御できるように (#14583) * enhance: インポート操作の実行可否をロールで制御できるように * Update Changelog
* Misskey® Reactions Buffering Technology™ (#14579)syuilo2024-09-2018-42/+376
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * Update ReactionsBufferingService.ts * Update ReactionsBufferingService.ts * wip * wip * wip * Update ReactionsBufferingService.ts * wip * wip * wip * Update NoteEntityService.ts * wip * wip * wip * wip * Update CHANGELOG.md
* feat: UserWebhook/SystemWebhookのテスト送信機能を追加 (#14489)おさむのひと2024-09-1916-17/+1137
| | | | | | | | | | | * feat: UserWebhook/SystemWebhookのテスト送信機能を追加 * fix CHANGELOG.md * 一部設定をパラメータから上書き出来るように修正 * remove async * regenerate autogen
* fix(antenna): src=list && userListId=null ↵かっこかり2024-09-171-5/+8
| | | | | | | の場合クエリータイムアウトが発生する問題を修正 (MisskeyIO#721) (#14568) (cherry picked from commit 47b6b97c9c6d9583dd1b11acbf8f94059e81ebaf) Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* chore(deps): bump body-parser from 1.20.2 to 1.20.3 in /packages/backend ↵dependabot[bot]2024-09-151-1/+1
| | | | | | | | | | | | | | | | | (#14550) Bumps [body-parser](https://github.com/expressjs/body-parser) from 1.20.2 to 1.20.3. - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](https://github.com/expressjs/body-parser/compare/1.20.2...1.20.3) --- updated-dependencies: - dependency-name: body-parser dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* refactor(backend): use Reflet for autobind deco (#14482)Juan Aguilar Santillana2024-09-151-14/+7
| | | | | Using Reflect.defineProperty instead of Object.defineProperty gives a more consistent behavior with the rest of the modern JavaScript features.
* fix(backend/antenna): ↵Kisaragi2024-09-153-2/+37
| | | | | | | | | | | | | | | | | | | | | キーワードが与えられなかった場合のエラーをApiErrorとして投げる (#14491) * fix(backend/antenna): report validation failure as ApiError on update * test(backend/antenna): reflect change in previous commit * fix(backend/antenna): report validation failure as ApiError on create * test(backend/antenna): reflect change in previous commit * test(backend/antenna): semi * test(backend/antenna): bring being spread parameters first in object literal * chore: add CHANGELOG entry --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): ↵かっこかり2024-09-152-8/+33
| | | | | | | | | | | | | | | | | | | | | | | happy-domで外部HTMLをパースする際に関連リソースが読み込まれる問題を修正 (#14521) * bump happy-dom, disable all JS&c when parsing version 10 didn't quite support disabling all of that I have tested that `MfmService` (the other code that uses `happy-dom`) still works fine: the RSS feed for a user is generated correctly, with HTML rendered from MFM (cherry picked from commit 26e0412fbb91447c37e8fb06ffb0487346063bb8) * Update Changelog * lint * fix possible memory leak --------- Co-authored-by: dakkar <dakkar@thenautilus.net>
* feat(frontend): ノート・ユーザータイムライン埋め込み (#13929)かっこかり2024-09-099-29/+481
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix * navhookをbootに移動 * サーバーサイドのbootも分けるように * 埋め込みページかどうかの判定は最初の一回だけに * tooltipは出せるように * fix design * 埋め込み独自のtooltipを削除 * ロジックの分岐が多かったMkNoteDetailedを分離 * fix indent * プレビュー用iframeにフォーカスが当たるのを修正 * popupの制御を出す側で行うように * パラメータが逆になっていたのを修正 * Update MkEmbedCodeGenDialog.vue * fix * eliminate misskey-js lint warns * fix * add appropriate attributes to embed html * enhance: サーバーサイドのembed系をさらに分離 * enhance: embed routerを分離(route定義をboot時に変更できるようにする改修を含む) * type * lint * fix indent * server-side styleを完全に分離 * Revert "refactor: 画面サイズのしきい値をconstにまとめる" This reverts commit 05ca36f400889456981e89489ae0ae242fa09b67. * fix * revert all changes in base.pug * embedドメインをまとめた * embedドメインをまとめた * prevent calling contextmenu in embed page by stopping at the caller * fix import * fix import * improve directory structure * fix import * register timeline ui as a container * wa- * rename * wa- * Update EmMediaList.vue * Update EmMediaList.vue * Update EmMediaList.vue * Update EmMediaImage.vue * Update EmNote.vue * revert mkmedialist changes * 戻し漏れ * wip * tweak embed media ui * revert original media components * Update boot.embed.js * rename * wip * Update MkNote.vue * wip * Update MkSubNoteContent.vue * Update EmNote.vue * Update packages/frontend/src/router/definition.ts * Revert "Update packages/frontend/src/router/definition.ts" This reverts commit 937ae44521cdb0f250796943b20142b65f8ed944. * refactor EmMediaImage * fix import * remove unused imports * Update router.ts * wip * Update boot.ts * wip * wip * wip * wip * Update EmNote.vue * Update EmNote.vue * Create EmA.vue * Create EmAvatar.vue * Update EmAvatar.vue * wip * wip * wip * Create EmImgWithBlurhash.vue * Update EmImgWithBlurhash.vue * Create EmPagination.vue * wip * Update boot.ts * wip * wip * wi@p * wip * wip * wiop * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update boot.ts * wip * Update MkMisskeyFlavoredMarkdown.ts * wip * wip * wip * wip * wip * Update post-message.ts * wip * Update EmNoteDetailed.vue * Update EmNoteDetailed.vue * Create instance.ts * Update EmNoteDetailed.vue * wip * Update EmNoteDetailed.vue * wip * wip * wip * Update pnpm-lock.yaml * wip * wip * wp * wip * Update ClientServerService.ts * wip * Update boot.ts * Update vite.config.local-dev.ts * Update vite.config.ts * Create index.html * wa- * wip * Update boot.ts * wip * wip * wip * wip * wip * wip * wip * wip * wip * Create EmLink.vue * Create EmMention.vue * Update EmMfm.ts * wip * wip * wip * wip * Update vite.config.ts * Update boot.ts * Update EmA.vue * うぃp * wip * wip * Create EmError.vue * wip * Update MkEmbedCodeGenDialog.vue * Update EmNote.vue * wip * wip * Update user-timeline.vue * Update check-spdx-license-id.yml * wip * wip * style(frontend-shared): lint fixes on build.js * fix(frontend-shared): include `*.{js,json}` files in js-built * wip * use alias * refactor * refactor * Update scroll.ts * refactor * refactor * refactor * wip * wip * wip * wip * Update roles.vue * Update branding.vue * wip * wip * wip * Update page.vue * wip * fix import * add missing css variables * 絵文字をtwemojiに変更 クライアントデフォルトにあわせるため * force empoll readonly * fix compiler error * fix broken imports * tweak button style * run api extractor * fix storybook theme preloads * fix storybook instance imports * Update preview.ts * Update preview.ts * Update preview.ts * Revert "Update preview.ts" This reverts commit 12bab1c6fbd3baf753515df760ff19d027b85155. * Revert "Update preview.ts" This reverts commit 5c0ce01dbdf2194ffe94aba950f747a9968f29c4. * Revert "Update preview.ts" This reverts commit f4863524d7e5ca0f25470808849c24a72bea000a. * Revert "fix storybook instance imports" This reverts commit ed8eabb246edf731d31adffbe3c77c539e53ae9e. * Revert "wip" This reverts commit d3c1926519878155193a1654f49141e515d49683. * Revert "Update page.vue" This reverts commit 27c7900b0c1ae296b56075e8a9c22585d9cd744b. * Revert "Update branding.vue" This reverts commit c08ccb65ba66774c3e2b3dcfc6153004b5c0aa16. * Revert "Update roles.vue" This reverts commit 1488b670660cb1803d17d8f5c78f2d79e59fa52d. * Revert "wip" This reverts commit aab1c769814b08c257cad3025422a0eea3bfba4f. * refactor: use common media proxy * fix imports * fix * fix: MediaProxyの初期化を保証する(storybook対策?) * enhance(frontend-embed): improve embedParams provide * fix(backend): MK_DEV_PREFER=backendのときにembed viteが読み込めないのを修正 * fix * embed-pageを共通化 * fix import * fix import * fix import * const.jsを共通化 (たぶんrevertしすぎた) * fix type error * fix duplicated import * fix lint * fix * コメントとして残す * sharedとembedをlint対象にする * lint * attempt to fix eslint (frontend-shared) * lint fixes --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
* 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>