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 3bd7be35d8aa455cb01ae58f8172a71a50485db1.

* 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 refactor 2023-01-16 14:18:11 +09:00
MkButton.stories.impl.ts test(#10336): add components/Mk[A-B].* stories (#10475) 2023-04-13 12:20:39 +09:00
MkButton.vue refactor(client): use css modules 2023-01-15 08:01:46 +09:00
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 Revert "perf?(client): remove needless scoped annotation for style" 2022-12-27 18:29:39 +09:00
MkChannelList.vue fix #10554 チャンネルの検索用ページとAPIの追加 (#10555) 2023-04-11 07:42:27 +09:00
MkChannelPreview.vue Revert "perf?(client): remove needless scoped annotation for style" 2022-12-27 18:29:39 +09:00
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 refactor(client): use css modules 2023-01-15 09:14:17 +09:00
MkCheckbox.vue refactor 2023-01-07 14:59:54 +09:00
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 fix: インラインコードを折り返して表示する (#9801) 2023-02-05 13:33:21 +09:00
MkCode.vue rename: client -> frontend 2022-12-27 14:36:33 +09:00
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 refactor(client): use css modules 2023-01-14 12:45:20 +09:00
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 Achievements (#9665) 2023-01-21 13:14:55 +09:00
MkDrive.navFolder.vue Revert "perf?(client): remove needless scoped annotation for style" 2022-12-27 18:29:39 +09:00
MkDrive.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkDriveFileThumbnail.vue Revert "perf?(client): remove needless scoped annotation for style" 2022-12-27 18:29:39 +09:00
MkDriveSelectDialog.vue refactor 2023-01-06 09:41:14 +09:00
MkDriveWindow.vue 🎨 2023-01-06 09:59:17 +09:00
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 絵文字ピッカーにフォーカスされないのを修正 2023-01-09 17:08:58 +09:00
MkEmojiPickerWindow.vue style(frontend): fix autofixable eslint errors (#9968) 2023-02-17 10:56:23 +09:00
MkFeaturedPhotos.vue refactor(client): use css modules 2023-01-15 09:14:17 +09:00
MkFileCaptionEditWindow.vue refactor 2023-01-07 15:09:46 +09:00
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 refactor 2023-01-07 15:09:46 +09:00
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 refactor 2023-01-14 21:04:30 +09:00
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 enhance(client): force lazy load some images 2023-01-09 14:00:04 +09:00
MkInstanceStats.vue refactor 2023-01-09 09:41:25 +09:00
MkInstanceTicker.vue rename: client -> frontend 2022-12-27 14:36:33 +09:00
MkKeyValue.vue Revert "perf?(client): remove needless scoped annotation for style" 2022-12-27 18:29:39 +09:00
MkLaunchPad.vue refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
MkLink.vue refactor(client): use css modules 2023-01-10 14:45:02 +09:00
MkMarquee.vue rename: client -> frontend 2022-12-27 14:36:33 +09:00
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 Revert "perf?(client): remove needless scoped annotation for style" 2022-12-27 18:29:39 +09:00
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 feat(client): 🍪👈 2023-01-08 17:41:09 +09:00
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 refactor(client): use css modules 2023-01-14 15:02:14 +09:00
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 refactor 2023-01-14 21:04:20 +09:00
MkPushNotificationAllowButton.vue 通知設定が開けないのを修正 2022-12-29 17:20:24 +09:00
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 refactor(client): use css modules 2023-01-14 17:23:49 +09:00
MkReactionIcon.vue tweak custom emoji handling 2023-01-26 15:48:12 +09:00
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 refactor(client): use css modules 2023-01-14 17:23:49 +09:00
MkRemoteCaution.vue refactor(client): use css modules 2023-01-14 17:23:49 +09:00
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 🎨 2023-01-01 12:28:30 +09:00
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 refactor(client): use css modules 2023-01-14 17:23:49 +09:00
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 refactor 2023-01-14 21:04:20 +09:00
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 refactor(client): use css modules 2023-01-14 17:23:49 +09:00
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 refactor(client): use css modules 2023-01-15 11:22:58 +09:00
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