mizzkey/packages/backend/src/server
Gianni Ceccarelli bafef1f8b4
ignore instance.actor when checking if there are local users (#13146)
* ignore `instance.actor` when checking if there are local users

We've seen this happen a few times:

* there was some AP software at $some_domain
* it gets replaced by Misskey
* before the first user can be created, an AP activity comes in
* Misskey resolves the activity
* to do this, it creates the `instance.actor` to sign its request
* now there *is* a local user, so the `meta` endpoint returns
  `requireSetup:false`
* the admin is very confused

This commit factors out the check, and doesn't count the
`instance.actor` as a real user.

* autogen bits
2024-02-04 20:46:28 +09:00
..
api ignore instance.actor when checking if there are local users (#13146) 2024-02-04 20:46:28 +09:00
assets なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
oauth feat(backend/oauth): allow CORS for token endpoint (#12814) 2023-12-27 15:10:24 +09:00
web fix lint 2024-01-22 18:32:32 +09:00
ActivityPubServerService.ts return a Vary: Accept header for all dual-format endpoints #365 (#13044) 2024-01-21 18:14:42 +09:00
FileServerService.ts enhance: 動画・音声周りのUIと動作改良 (#12925) 2024-01-15 18:17:01 +09:00
NodeinfoServerService.ts fix(backend): enhance nodeinfo by export instance admin via nodeAdmins key (#12503) 2023-12-03 13:42:41 +09:00
ServerModule.ts feat: reversi 2024-01-19 20:51:49 +09:00
ServerService.ts refactor(backend): User関連のスキーマ/型の指定を強くする (#12808) 2024-01-31 15:45:35 +09:00
WellKnownServerService.ts feat(backend/oauth): allow CORS for token endpoint (#12814) 2023-12-27 15:10:24 +09:00