Sharkey/packages/frontend/src/scripts
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
..
aiscript fix(client): An error occurs when you press the Play button of Misskey Play 2023-03-22 16:26:11 +09:00
hpml refactor: remove autobind-decorator dep 2023-03-31 16:41:27 +09:00
upload rename: client -> frontend 2022-12-27 14:36:33 +09:00
2fa.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
achievements.ts enhance: account migration (#10592) 2023-04-30 00:09:29 +09:00
api.ts fix: 登録フォームにおける競合状態を修正 (#10267) 2023-03-08 16:32:13 +09:00
array.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
autocomplete.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
cache.ts enhance(frontend): クリップボタンをノートアクションに追加できるように 2023-03-24 16:54:37 +09:00
chart-legend.ts 🎨 2023-01-03 14:08:52 +09:00
chart-vline.ts 🎨 2023-01-03 14:08:52 +09:00
check-word-mute.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
clicker-game.ts 🍪 2023-01-08 20:42:45 +09:00
clone.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
collect-page-vars.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
color.ts refactor 2022-12-28 13:42:30 +09:00
confetti.ts tweak confetti 2023-01-06 20:25:08 +09:00
contains.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
copy-to-clipboard.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
device-kind.ts enhance: PizzaxデータをindexedDBに保存するように (#9225) 2023-02-02 16:43:56 +09:00
emoji-base.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
emojilist.ts enhance: Unicode絵文字名逆引き効率化 (#9757) 2023-02-01 11:25:13 +09:00
extract-avg-color-from-blurhash.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
extract-mentions.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
extract-url-from-mfm.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
focus.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
form.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
format-time-string.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
gen-search-query.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
get-account-from-id.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
get-drive-file-menu.ts fix(client): ドライブファイルのメニューが正常に動作しない問題を修正 2023-03-22 18:29:17 +09:00
get-note-menu.ts feat(client): Renoteした人の一覧を表示するダイアログを追加 (#10647) 2023-04-29 15:48:06 +09:00
get-note-summary.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
get-user-menu.ts enhance(frontend): ユーザーメニューからユーザーメモを編集できるように 2023-04-13 13:50:17 +09:00
get-user-name.ts lint 2023-02-22 15:36:12 +09:00
hotkey.ts fix(frontend): read KeyboardEvent.key instead of which/code (#10083) 2023-03-01 15:24:09 +09:00
i18n.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
idb-proxy.ts update idb-proxy.ts 2023-02-03 08:07:17 +00:00
init-chart.ts refactor 2023-01-03 13:09:24 +09:00
initialize-sw.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
intl-const.ts use Intl.DateTimeFormat and Intl.NumberFormat instead of toLocaleString (#9444) 2023-01-01 17:11:33 +09:00
is-device-darkmode.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
keycode.ts fix(frontend): read KeyboardEvent.key instead of which/code (#10083) 2023-03-01 15:24:09 +09:00
langmap.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
login-id.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
lookup-user.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
lookup.ts enhance(client): tweak search page 2023-03-16 11:56:20 +09:00
media-proxy.ts enhance: カスタム絵文字関連の変更 (#9794) 2023-04-12 10:58:56 +09:00
mfm-tags.ts mfmにscaleを追加 2023-01-22 20:58:52 +09:00
page-metadata.ts clean up 2023-03-02 18:40:55 +09:00
physics.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
please-login.ts enhance: account migration (#10592) 2023-04-30 00:09:29 +09:00
popout.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
popup-position.ts refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
reaction-picker.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
safe-uri-decode.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
scroll.ts lint 2023-02-22 15:28:17 +09:00
select-file.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
show-moved-dialog.ts enhance: account migration (#10592) 2023-04-30 00:09:29 +09:00
show-suspended-dialog.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
shuffle.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
sound.ts refactor: サウンド関連の設定をpizzaxに移行 (#8105) 2023-04-12 10:39:57 +09:00
sticky-sidebar.ts 🎨 2023-01-10 11:34:06 +09:00
test-utils.ts build(#10336): Storybook & Chromatic & msw (#10365) 2023-04-04 09:38:34 +09:00
theme-editor.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
theme.ts enhance(client): add theme 2023-01-08 11:55:37 +09:00
time.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
timezones.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
touch.ts 🎨 2023-01-02 09:20:49 +09:00
unison-reload.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00
upload.ts fix: ドライブアップロードで413が返ってきたときにエラーメッセージを表示 (#10680) 2023-04-22 17:18:57 +09:00
url.ts enhance: Proxy custom emojis to reduce image size and accelerate the frontend (#9431) 2022-12-30 12:00:50 +09:00
use-chart-tooltip.ts fix(client): チャートのツールチップが画面に残ることがあるのを修正 2022-12-28 13:15:31 +09:00
use-document-visibility.ts バックグラウンドで一定時間経過したらページネーションのアイテム更新をしない (#10053) 2023-02-25 08:18:12 +09:00
use-interval.ts enhance: RSSウィジェット / RSSティッカーウィジェットをいい感じにする (#9469) 2023-01-05 03:28:25 +09:00
use-leave-guard.ts refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
use-note-capture.ts fix(client): note reacted reflection failed 2023-01-26 08:48:36 +00:00
use-tooltip.ts rename: client -> frontend 2022-12-27 14:36:33 +09:00