misskey/packages/frontend/src/components
Namekuji d28866f71a
enhance: account migration (#10592)
* copy block and mute then create follow and unfollow jobs

* copy block and mute and update lists when detecting an account has moved

* no need to care promise orders

* refactor updating actor and target

* automatically accept if a locked account had accepted an old account

* fix exception format

* prevent the old account from calling some endpoints

* do not unfollow when moving

* adjust following and follower counts

* check movedToUri when receiving a follow request

* skip if no need to adjust

* Revert "disable account migration"

This reverts commit 2321214c98.

* fix translation specifier

* fix checking alsoKnownAs and uri

* fix updating account

* fix refollowing locked account

* decrease followersCount if followed by the old account

* adjust following and followers counts when unfollowing

* fix copying mutings

* prohibit moved account from moving again

* fix move service

* allow app creation after moving

* fix lint

* remove unnecessary field

* fix cache update

* add e2e test

* add e2e test of accepting the new account automatically

* force follow if any error happens

* remove unnecessary joins

* use Array.map instead of for const of

* ユーザーリストの移行は追加のみを行う

* nanka iroiro

* fix misskey-js?

* ✌️

* 移行を行ったアカウントからのフォローリクエストの自動許可を調整

* newUriを外に出す

* newUriを外に出す2

* clean up

* fix newUri

* prevent moving if the destination account has already moved

* set alsoKnownAs via /i/update

* fix database initialization

* add return type

* prohibit updating alsoKnownAs after moving

* skip to add to alsoKnownAs if toUrl is known

* skip adding to the list if it already has

* use Acct.parse instead

* rename error code

* 🎨

* 制限を5から10に緩和

* movedTo(Uri), alsoKnownAsはユーザーidを返すように

* test api res

* fix

* 元アカウントはミュートし続ける

* 🎨

* unfollow

* fix

* getUserUriをUserEntityServiceに

* ?

* job!

* 🎨

* instance => server

* accountMovedShort, forbiddenBecauseYouAreMigrated

* accountMovedShort

* fix test

* import, pin禁止

* 実績を凍結する

* clean up

* ✌️

* change message

* ブロック, フォロー, ミュート, リストのインポートファイルの制限を32MiBに

* Revert "ブロック, フォロー, ミュート, リストのインポートファイルの制限を32MiBに"

This reverts commit 3bd7be35d8.

* validateAlsoKnownAs

* 移行後2時間以内はインポート可能なファイルサイズを拡大

* clean up

* どうせactorをupdatePersonで更新するならupdatePersonしか移行処理を発行しないことにする

* handle error?

* リモートからの移行処理の条件を是正

* log, port

* fix

* fix

* enhance(dev): non-production環境でhttpサーバー間でもユーザー、ノートの連合が可能なように

* refactor (use checkHttps)

* MISSKEY_WEBFINGER_USE_HTTP

* Environment Variable readme

* NEVER USE IN PRODUCTION

* fix punyHost

* fix indent

* fix

* experimental

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-30 00:09:29 +09:00
..
form refactor(frontend): remove $ts and $t 2023-04-01 14:01:57 +09:00
global fix(#10609): remove isChromatic on real build (#10613) 2023-04-13 23:23:11 +09:00
page refactor(frontend): remove $i 2023-04-01 13:52:07 +09:00
index.ts fix(frontend/XHome): fall back to user.uri if user.url does not exist (#10313) 2023-03-13 09:46:33 +09:00
mfm.ts enhance: カスタム絵文字関連の変更 (#9794) 2023-04-12 10:58:56 +09:00
MkAbuseReport.stories.impl.ts test(#10336): add components/Mk[A-B].* stories (#10475) 2023-04-13 12:20:39 +09:00
MkAbuseReport.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkAbuseReportWindow.stories.impl.ts test(#10336): add components/Mk[A-B].* stories (#10475) 2023-04-13 12:20:39 +09:00
MkAbuseReportWindow.vue lint 2023-02-22 15:28:17 +09:00
MkAccountMoved.stories.impl.ts test(#10336): add components/Mk[A-B].* stories (#10475) 2023-04-13 12:20:39 +09:00
MkAccountMoved.vue enhance: account migration (#10592) 2023-04-30 00:09:29 +09:00
MkAchievements.stories.impl.ts test(#10336): add components/Mk[A-B].* stories (#10475) 2023-04-13 12:20:39 +09:00
MkAchievements.vue 🎨 2023-02-10 09:49:52 +09:00
MkAnalogClock.stories.impl.ts test(#10336): add components/Mk[A-B].* stories (#10475) 2023-04-13 12:20:39 +09:00
MkAnalogClock.vue test(#10336): add components/Mk[A-B].* stories (#10475) 2023-04-13 12:20:39 +09:00
MkAsUi.stories.impl.ts test(#10336): add components/Mk[A-B].* stories (#10475) 2023-04-13 12:20:39 +09:00
MkAsUi.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkAutocomplete.stories.impl.ts test(#10336): add components/Mk[A-B].* stories (#10475) 2023-04-13 12:20:39 +09:00
MkAutocomplete.vue lint 2023-02-22 15:28:17 +09:00
MkAvatars.stories.impl.ts test(#10336): add components/Mk[A-B].* stories (#10475) 2023-04-13 12:20:39 +09:00
MkAvatars.vue
MkButton.stories.impl.ts test(#10336): add components/Mk[A-B].* stories (#10475) 2023-04-13 12:20:39 +09:00
MkButton.vue
MkCaptcha.stories.impl.ts build(#10336): Storybook & Chromatic & msw (#10365) 2023-04-04 09:38:34 +09:00
MkCaptcha.vue fix(frontend/MkSignup): prevent uncaught errors from interrupted signup (#10265) 2023-03-11 14:32:13 +09:00
MkChannelFollowButton.vue
MkChannelList.vue fix #10554 チャンネルの検索用ページとAPIの追加 (#10555) 2023-04-11 07:42:27 +09:00
MkChannelPreview.vue
MkChart.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkChartLegend.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkChartTooltip.vue
MkCheckbox.vue
MkClickerGame.vue lint 2023-02-22 15:50:08 +09:00
MkClipPreview.vue refactor 2023-03-17 15:09:43 +09:00
MkCode.core.vue
MkCode.vue
MkContainer.vue refactor(frontend): use composition aoi 2023-04-23 08:13:12 +09:00
MkContextMenu.vue build(#10336): Storybook & Chromatic & msw (#10365) 2023-04-04 09:38:34 +09:00
MkCropperDialog.vue fix: 外部メディアプロキシ使用時にアバタークロップができない問題を修正 (#10142) 2023-02-28 17:14:23 +09:00
MkCwButton.vue update deps 2023-02-20 17:04:57 +09:00
MkDateSeparatedList.vue chore(frontend): add debugger for #6864 (#10270) 2023-03-09 14:35:38 +09:00
MkDialog.vue fix(frontend): fix wrong icon name 2023-04-22 08:00:37 +09:00
MkDigitalClock.vue
MkDonation.vue refactor(frontend): remove $instance 2023-04-01 13:46:04 +09:00
MkDrive.file.vue tweak drive-cleaner 2023-03-20 13:20:21 +09:00
MkDrive.folder.vue
MkDrive.navFolder.vue
MkDrive.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkDriveFileThumbnail.vue
MkDriveSelectDialog.vue
MkDriveWindow.vue
MkEmojiPicker.section.vue 絵文字ピッカーのすべての絵文字でマウスホバー時にtitle表示されるように (#9765) 2023-03-10 14:15:49 +09:00
MkEmojiPicker.vue fix(client): 🎨 fix MkEmojiPicker safe-area-inset-bottom 2023-04-10 16:46:58 +00:00
MkEmojiPickerDialog.vue
MkEmojiPickerWindow.vue style(frontend): fix autofixable eslint errors (#9968) 2023-02-17 10:56:23 +09:00
MkFeaturedPhotos.vue
MkFileCaptionEditWindow.vue
MkFileListForAdmin.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkFlashPreview.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkFoldableSection.vue refactor(frontend): remove $store 2023-04-01 13:42:40 +09:00
MkFolder.vue refactor(frontend): use composition aoi 2023-04-23 08:13:12 +09:00
MkFollowButton.vue fix: text color of follow button (#10672) 2023-04-19 08:24:37 +09:00
MkForgotPassword.vue
MkFormDialog.vue refactor(frontend): remove $ts and $t 2023-04-01 14:01:57 +09:00
MkGalleryPostPreview.stories.impl.ts feat: make MkImgWithBlurhash transitionable (#10500) 2023-04-29 22:57:46 +09:00
MkGalleryPostPreview.vue feat: make MkImgWithBlurhash transitionable (#10500) 2023-04-29 22:57:46 +09:00
MkGoogle.vue refactor(frontend): remove $ts and $t 2023-04-01 14:01:57 +09:00
MkHeatmap.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkImageViewer.vue
MkImgWithBlurhash.vue wip 2023-04-29 14:01:25 +00:00
MkInfo.vue enhance: account migration (#10592) 2023-04-30 00:09:29 +09:00
MkInput.vue fix: MkUserSelectDialog/search-by-username-and-hostでローカルユーザーを絞って検索できない問題を修正 (#9943) 2023-02-22 14:47:51 +09:00
MkInstanceCardMini.vue
MkInstanceStats.vue
MkInstanceTicker.vue
MkKeyValue.vue
MkLaunchPad.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkLink.vue
MkMarquee.vue
MkMediaBanner.vue refactor: サウンド関連の設定をpizzaxに移行 (#8105) 2023-04-12 10:39:57 +09:00
MkMediaImage.vue enhance(client): 1枚だけのメディアリストの画像のアスペクト比を画像に応じて縦長にする (#10452) 2023-04-15 21:35:19 +09:00
MkMediaList.vue enhance(client): 1枚だけのメディアリストの画像のアスペクト比を画像に応じて縦長にする (#10452) 2023-04-15 21:35:19 +09:00
MkMediaVideo.vue feat(client): データセーバーモードの追加 (#10478) 2023-04-15 15:29:57 +09:00
MkMention.vue refactor(frontend): remove $store 2023-04-01 13:42:40 +09:00
MkMenu.child.vue enhance(client): tweak contextmenu position calculation 2023-02-25 13:44:37 +09:00
MkMenu.vue build(#10336): Storybook & Chromatic & msw (#10365) 2023-04-04 09:38:34 +09:00
MkMiniChart.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkModal.vue feat: Server rules (#10660) 2023-04-19 21:24:31 +09:00
MkModalPageWindow.vue refactor(frontend): remove $ts and $t 2023-04-01 14:01:57 +09:00
MkModalWindow.vue feat: Server rules (#10660) 2023-04-19 21:24:31 +09:00
MkNote.vue enhance: account migration (#10592) 2023-04-30 00:09:29 +09:00
MkNoteDetailed.vue enhance: account migration (#10592) 2023-04-30 00:09:29 +09:00
MkNoteHeader.vue enhance(client): 投稿フォームをちょっといい感じに (#10442) 2023-04-05 14:30:03 +09:00
MkNotePreview.vue enhance(client): 投稿フォームをちょっといい感じに (#10442) 2023-04-05 14:30:03 +09:00
MkNotes.vue refactor 2023-03-31 14:14:30 +09:00
MkNoteSimple.vue refactor(frontend): remove $i 2023-04-01 13:52:07 +09:00
MkNoteSub.vue refactor(frontend): remove $i 2023-04-01 13:52:07 +09:00
MkNotification.vue perf(backend): 通知をRedisに保存するように 2023-04-04 14:06:57 +09:00
MkNotifications.vue perf(backend): 通知をRedisに保存するように 2023-04-04 14:06:57 +09:00
MkNotificationSettingWindow.vue fix: i/notificationsで古い通知タイプを許容するなど、古い通知タイプの清算 (#10042) 2023-02-23 20:46:14 +09:00
MkNumber.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkNumberDiff.vue refactor(frontend): refactor MkNumberDiff.vue 2023-04-22 17:24:19 +09:00
MkObjectView.value.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkObjectView.vue
MkOmit.vue refactor(frontend): use composition aoi 2023-04-23 08:13:12 +09:00
MkPagePreview.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkPageWindow.vue enhance(client): make possible to reload page of window 2023-02-22 17:43:10 +09:00
MkPagination.vue fix(frontend): tweak MkPagination behaviouyr 2023-04-03 11:50:17 +09:00
MkPlusOneEffect.vue
MkPoll.vue refactor(frontend): remove $ts and $t 2023-04-01 14:01:57 +09:00
MkPollEditor.vue refactor(frontend): remove $ts and $t 2023-04-01 14:01:57 +09:00
MkPopupMenu.vue
MkPostForm.vue enhance(frontend): improve MkPostForm behaviour 2023-04-16 07:59:23 +09:00
MkPostFormAttaches.vue enhance(client): 投稿フォームをちょっといい感じに (#10442) 2023-04-05 14:30:03 +09:00
MkPostFormDialog.vue
MkPushNotificationAllowButton.vue
MkRadio.vue enhance(client): 1枚だけのメディアリストの画像のアスペクト比を画像に応じて縦長にする (#10452) 2023-04-15 21:35:19 +09:00
MkRadios.vue enhance(client): 1枚だけのメディアリストの画像のアスペクト比を画像に応じて縦長にする (#10452) 2023-04-15 21:35:19 +09:00
MkRange.vue refactor(frontend): use composition aoi 2023-04-23 08:13:12 +09:00
MkReactedUsersDialog.vue feat(client): Renoteした人の一覧を表示するダイアログを追加 (#10647) 2023-04-29 15:48:06 +09:00
MkReactionEffect.vue
MkReactionIcon.vue
MkReactionsViewer.details.vue fix(client): cat ears are clipped in MkReactionsViewer (#10445) 2023-04-14 16:00:41 +09:00
MkReactionsViewer.reaction.vue enhance(client): ノートのリアクションを大きく表示するオプションを追加 2023-03-30 12:49:23 +09:00
MkReactionsViewer.vue refactor(frontend): remove $store 2023-04-01 13:42:40 +09:00
MkReactionTooltip.vue
MkRemoteCaution.vue
MkRenotedUsersDialog.vue feat(client): Renoteした人の一覧を表示するダイアログを追加 (#10647) 2023-04-29 15:48:06 +09:00
MkRetentionHeatmap.vue enhance(frontend): tweak retention rate heatmap rendering 2023-04-20 10:41:09 +09:00
MkRippleEffect.vue
MkRolePreview.vue enhance: exploreで公開ロール一覧とそのメンバーを閲覧できるように 2023-02-22 14:43:18 +09:00
MkSample.vue refactor(frontend): remove $i 2023-04-01 13:52:07 +09:00
MkSelect.vue 🎨 2FA設定のデザイン向上 / セキュリティキーの名前を変更できるように (#9985) 2023-02-20 16:40:24 +09:00
MkSignin.vue 🎨 2FA設定のデザイン向上 / セキュリティキーの名前を変更できるように (#9985) 2023-02-20 16:40:24 +09:00
MkSigninDialog.vue enhance: アカウント削除時のクライアントの挙動をいい感じにするなど (#10002) 2023-03-09 14:27:16 +09:00
MkSignupDialog.form.vue feat: Server rules (#10660) 2023-04-19 21:24:31 +09:00
MkSignupDialog.rules.stories.impl.ts feat: Server rules (#10660) 2023-04-19 21:24:31 +09:00
MkSignupDialog.rules.vue 🎨 2023-04-22 16:04:03 +09:00
MkSignupDialog.vue tweak MkSignupDialog.rules.vue 2023-04-20 10:11:48 +09:00
MkSparkle.vue
MkSubNoteContent.vue refactor(frontend): remove $ts and $t 2023-04-01 14:01:57 +09:00
MkSuperMenu.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkSwitch.vue feat: Server rules (#10660) 2023-04-19 21:24:31 +09:00
MkTab.vue 🎨 2023-03-02 20:47:24 +09:00
MkTagCloud.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkTextarea.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkTimeline.vue feat: role timeline 2023-04-12 11:40:08 +09:00
MkToast.vue refactor(frontend): remove $store 2023-04-01 13:42:40 +09:00
MkTokenGenerateWindow.vue refactor(frontend): remove $ts and $t 2023-04-01 14:01:57 +09:00
MkTooltip.vue refactor(frontend): remove $store 2023-04-01 13:42:40 +09:00
MkUpdated.vue
MkUrlPreview.vue build(#10336): Storybook & Chromatic & msw (#10365) 2023-04-04 09:38:34 +09:00
MkUrlPreviewPopup.vue refactor(frontend): remove $store 2023-04-01 13:42:40 +09:00
MkUserCardMini.vue revert: 650187deaf 2023-02-08 20:07:19 +09:00
MkUserInfo.vue refactor(frontend): remove $ts and $t 2023-04-01 14:01:57 +09:00
MkUserList.vue enhance: exploreで公開ロール一覧とそのメンバーを閲覧できるように 2023-02-22 14:43:18 +09:00
MkUserOnlineIndicator.vue
MkUserPopup.vue refactor(frontend): remove $ts and $t 2023-04-01 14:01:57 +09:00
MkUserSelectDialog.vue lint 2023-02-22 15:28:17 +09:00
MkUsersTooltip.vue revert: 650187deaf 2023-02-08 20:07:19 +09:00
MkVisibilityPicker.vue enhance(client): 投稿フォームをちょっといい感じに (#10442) 2023-04-05 14:30:03 +09:00
MkVisitorDashboard.ActiveUsersChart.vue 🎨 2023-04-22 12:50:40 +09:00
MkVisitorDashboard.vue 🎨 2023-04-22 17:11:13 +09:00
MkWaitingDialog.vue
MkWidgets.vue chore(test): data属性がclassになっているのを修正 2023-03-09 19:59:11 +09:00
MkWindow.vue tweak MkWindow.vue 2023-04-08 13:01:28 +09:00
MkYouTubePlayer.vue build(#10336): Storybook & Chromatic & msw (#10365) 2023-04-04 09:38:34 +09:00