Commit graph

55 commits

Author SHA1 Message Date
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
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
4f5d77391f wip~~ 2023-05-10 19:18:48 +00:00
tamaina
ac99cdce8b wip 2023-05-10 17:48:21 +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
e9355bf918 wip 2023-05-02 12:05:17 +00: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
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
tamaina
2650a7a5b8
fix: 通知インジケータが光りっぱなしになる問題を修正 (#10483)
* fix(misskey-js): ストリームがstringで送信される場合があるのを修正

* pnpm run api

* force read notification

* fix competition
2023-04-06 06:11:59 +09:00
syuilo
625fed8838 enhance(backend): チャンネルの既読管理を削除
- 現状上手く機能していない
- パフォーマンス上の理由
- 実装するにしてももっと効率的な方法がある
2023-04-05 07:52:49 +09:00
syuilo
30d6992684 perf(backend): 通知をRedisに保存するように
Resolve #10168
2023-04-04 14:06:57 +09:00
syuilo
152247bfda refactor: remove autobind-decorator dep 2023-03-31 16:41:27 +09:00
syuilo
5d94062581 lint fix 2023-03-31 09:20:52 +09:00
syuilo
d7fbef0a55 specify .js 2023-03-30 13:49:56 +09:00