Commit Graph

18 Commits

Author SHA1 Message Date
tamaina ccfbc89047 use Array.map instead of for const of 2023-04-20 16:45:28 +00:00
Namekuji ad1bacc2e5 remove unnecessary joins 2023-04-17 13:32:55 -04:00
Namekuji 7f287e0c3a force follow if any error happens 2023-04-17 12:03:55 -04:00
Namekuji 3f8497d4f7 add e2e test 2023-04-17 11:19:28 -04:00
Namekuji 3ccf1d5307 remove unnecessary field 2023-04-15 08:54:14 -04:00
Namekuji 8d6f50c4c3 fix move service 2023-04-15 07:28:33 -04:00
Namekuji 71e9b2298e fix copying mutings 2023-04-15 07:28:33 -04:00
Namekuji 83d70f3300 decrease followersCount if followed by the old account 2023-04-15 07:28:33 -04:00
Namekuji 17c80e82e0 fix updating account 2023-04-15 07:28:33 -04:00
Namekuji 0e088cb2e4 fix checking alsoKnownAs and uri 2023-04-15 07:28:33 -04:00
Namekuji aaf098f697 skip if no need to adjust 2023-04-15 07:28:33 -04:00
Namekuji fc327f0567 adjust following and follower counts 2023-04-15 07:28:33 -04:00
Namekuji 75d02a51a6 do not unfollow when moving 2023-04-15 07:28:33 -04:00
Namekuji 0474efc008 no need to care promise orders 2023-04-15 07:28:33 -04:00
Namekuji 91fcad0c85 copy block and mute and update lists when detecting an account has moved 2023-04-15 07:28:33 -04:00
Namekuji 8c031e9f42 copy block and mute then create follow and unfollow jobs 2023-04-15 07:28:33 -04:00
syuilo 68e8892f61 chore: use for instead of forEach 2023-04-08 14:18:28 +09:00
Namekuji 25ebb73756
feat: account migration ()
* 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