Commit Graph

169 Commits

Author SHA1 Message Date
tamaina 1e2178b717 wip 2023-06-04 17:20:33 +00:00
tamaina b5852f6053 clean up 2023-06-04 16:42:11 +00:00
tamaina 35b1f73b51 wip 2023-06-04 16:41:45 +00:00
tamaina f651ca4b48 wip 2023-06-04 15:39:43 +00:00
tamaina 8bad11c559 wip 2023-06-04 15:34:11 +00:00
tamaina aead5305a7 wip 2023-06-04 15:13:53 +00:00
tamaina de9a5d515d wip 2023-06-04 15:07:21 +00:00
tamaina f7f8845801 wip 2023-06-04 15:05:01 +00:00
tamaina 93d111bfb6 wip 2023-06-04 14:59:14 +00:00
tamaina c4f434aa01 wip 2023-06-04 14:56:36 +00:00
tamaina 4001c974a6 region 2023-06-04 14:51:58 +00:00
tamaina 2fc2f2d616 wip 2023-06-04 14:48:23 +00:00
tamaina 90a22fe32f ✌️ 2023-05-29 17:16:53 +00:00
tamaina 3918473e29 wip 2023-05-29 17:03:20 +00:00
tamaina 931cea75b6 serial 2023-05-29 16:47:49 +00:00
tamaina 68a2aa3efd wip 2023-05-29 16:39:03 +00:00
tamaina dbeb1856ac ServerInfo 2023-05-29 16:30:50 +00:00
tamaina 07bbadbbdc wip 2023-05-29 16:26:16 +00:00
tamaina 78558eb666 wip 2023-05-29 16:09:42 +00:00
tamaina bc15dde742 wip 2023-05-29 16:01:04 +00:00
tamaina 9135d2757e wip 2023-05-29 14:17:25 +00:00
tamaina a1c96d9bcb wip 2023-05-29 14:11:51 +00:00
tamaina 94f25d9cdd wip 2023-05-29 14:09:13 +00:00
tamaina e1b4a0438e RoleCondFormulaValue: property type assertion 2023-05-29 14:03:39 +00:00
tamaina 93ea327660 wip 2023-05-29 13:28:31 +00:00
tamaina 654c93b0ce wip 2023-05-27 19:17:29 +00:00
tamaina 84835be483 wip 2023-05-27 16:42:44 +00:00
tamaina 35f90e94c9 wip 2023-05-27 16:12:42 +00:00
tamaina 5268a55996 wip 2023-05-27 16:06:42 +00:00
syuilo 54b6b79559 Update endpoints.ts 2023-05-26 17:11:22 +09:00
tamaina dfdfc8fab4 wip 2023-05-26 07:53:19 +00:00
tamaina b14d3cdc32 fix 2023-05-26 07:48:48 +00:00
tamaina 82a17ea427 wip 2023-05-26 07:44:47 +00:00
tamaina a57df6f2ca wip 2023-05-26 07:39:13 +00:00
tamaina 41c353e24d wip 2023-05-26 07:32:15 +00:00
tamaina bca9c54923 wip 2023-05-26 07:20:14 +00:00
tamaina ce5faa8ff5 wip 2023-05-26 07:18:15 +00:00
tamaina c0bd1b82ab wip 2023-05-25 16:53:29 +00:00
tamaina 1b6ac7888b wip 2023-05-22 05:20:19 +00:00
tamaina 86f4e206f4 wip 2023-05-22 04:50:18 +00:00
tamaina e689dcdd73 reqに$refを許可しない 2023-05-22 03:20:49 +00:00
tamaina 810d065d21 wip 2023-05-22 01:43:00 +00:00
tamaina 23545bcbbb wip 2023-05-21 16:45:39 +00:00
tamaina aea6950b46 wip 2023-05-21 16:44:29 +00:00
tamaina d7d3f00488 wip 2023-05-21 16:35:48 +00:00
tamaina 307bc2a38e fix... 2023-05-21 15:15:25 +00:00
tamaina 919af7b967 ??? 2023-05-21 15:01:06 +00:00
tamaina 359f0b21b0 ? 2023-05-21 14:19:32 +00:00
tamaina 79f71acd42 wip 2023-05-21 14:15:45 +00:00
tamaina 89480d9029 wip 2023-05-21 14:06:11 +00:00
tamaina 0853b2fe42 wip 2023-05-21 13:53:55 +00:00
tamaina 13fe20d47e wip 2023-05-21 12:54:39 +00:00
tamaina 13fc093602 test 2023-05-15 09:44:23 +00:00
tamaina ca29fdc795 fix 2023-05-15 09:19:36 +00:00
tamaina 03a2501b45
wip 2023-05-15 18:16:27 +09:00
tamaina 69ba41bd8d
wip 2023-05-15 17:59:30 +09:00
tamaina 5f2bbea6de
wip 2023-05-15 17:53:51 +09:00
tamaina 49dc995f1e ✌️ 2023-05-15 08:45:38 +00:00
tamaina 15ef1a082d wip 2023-05-15 08:42:47 +00:00
tamaina cdfab72b35
wip 2023-05-15 17:39:41 +09:00
tamaina 37142d7495
wip 2023-05-15 17:30:52 +09:00
tamaina 5e268f0611 wip endpoints 2023-05-12 07:54:50 +00:00
tamaina 64f4bb6a90 Merge branch 'develop' into mkjs-n 2023-05-12 07:03:20 +00:00
syuilo 5be6438bbc update deps 2023-05-12 12:10:56 +09:00
tamaina 4f5d77391f wip~~ 2023-05-10 19:18:48 +00:00
tamaina ac99cdce8b wip 2023-05-10 17:48:21 +00:00
tamaina 3324f3fa15 test 2023-05-10 17:34:13 +00:00
tamaina 56a1e436f3 wip 2023-05-10 16:55:36 +00:00
tamaina ad6c5275ec wip 2023-05-10 16:22:21 +00:00
tamaina 0e08c56bc7 wip 2023-05-10 15:58:46 +00:00
tamaina d3ecb02644 wip 2023-05-10 15:50:15 +00:00
tamaina f3bc232419 wip 2023-05-10 15:12:37 +00:00
tamaina 00b1fd2ee3 wip 2023-05-10 15:07:37 +00:00
tamaina 44e819bf6a wip 2023-05-10 15:01:45 +00:00
tamaina 49e32ebf2b wip 2023-05-10 14:58:45 +00:00
tamaina 66447d13c1 wip 2023-05-10 14:53:26 +00:00
tamaina 5bb2d71231 wip 2023-05-10 14:48:12 +00:00
tamaina 32e489e536 wip 2023-05-10 14:45:31 +00:00
tamaina fc10a9026c wip 2023-05-10 14:37:01 +00:00
tamaina 9699bac704 wip 2023-05-10 14:32:46 +00:00
tamaina d328a8cefc wip 2023-05-10 14:21:54 +00:00
tamaina 34edf950ff wip 2023-05-10 14:20:52 +00:00
tamaina 0ee1dab2bc fix 2023-05-04 11:13:03 +00:00
tamaina 0040aca841 fix 2023-05-04 10:57:55 +00:00
tamaina 41a822c34c wip 2023-05-04 10:56:53 +00:00
tamaina 55c217da73 wip 2023-05-04 10:56:24 +00:00
tamaina ff85376306 fix 2023-05-02 17:57:56 +00:00
tamaina ef15b9c0d3 wip 2023-05-02 17:31:17 +00:00
tamaina 3fcee7c4bd /schemas/Note 2023-05-02 16:51:41 +00:00
tamaina 6c53d1fdb7
Merge branch 'develop' into mkjs-n 2023-05-02 21:19:38 +09:00
tamaina e9355bf918 wip 2023-05-02 12:05:17 +00:00
syuilo bcd123371b update deps 2023-05-02 20:52:36 +09:00
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
syuilo e1f9ab77f8
feat: Server rules (#10660)
* enhance(frontend): サーバールールのデザイン調整

* enhance(frontend): i18n

* enhance(frontend): 利用規約URLの設定を「モデレーション」ページへ移動

* enhance(frontend): サーバールールのデザイン調整

* Update CHANGELOG.md

* 不要な差分を削除

* fix(frontend): lint

* ui tweak

* test: add stories

* tweak

* test: bind args

* test: add interaction tests

* fix bug

* Update packages/frontend/src/pages/admin/server-rules.vue

Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>

* Update misskey-js.api.md

* chore: windowを明示

* 🎨

* refactor

* 🎨

* 🎨

* fix e2e test

* 🎨

* 🎨

* fix icon

* fix e2e

---------

Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-04-19 21:24:31 +09:00
syuilo 8c9cb9ee15 update deps 2023-04-19 12:52:14 +09:00
syuilo 65584f21bb Update misskey-js.api.md 2023-04-08 14:39:54 +09:00
syuilo b697f948df Update misskey-js.api.md 2023-04-08 14:32:52 +09:00
Namekuji 25ebb73756
feat: account migration (#10507)
* add Move activity

* add endpoint to move from local to remote

* follow move activity coming to inbox

* fix move endpoint

* add known-as endpoint to create account alias

* add migration page

* add route to migration page

* add move and known-as endpoints

* fix dependnecies error

* fix new endpoints

* fix move activity id

* fix refollow

* add movedToUri and alsoKnownAs to api

* fix moveToUri indicator

* fix missing context

* add chengelog

* rename MkMoved to MkAccountMoved

* add missing semicolon

* fix targetUri

* fix followings query

* remove redundant null check
2023-04-08 14:16:26 +09:00
syuilo a561b83070 fix deps 2023-04-06 20:29:17 +09:00
syuilo 88f22da052 update deps 2023-04-06 20:22:26 +09:00