summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api/endpoints/i/2fa (follow)
Commit message (Collapse)AuthorAgeFilesLines
* split url into webUrl and localUrl (like mastodon)stableFreya Murphy27 hours1-2/+2
|
* more use of identifiable errors, improvements to inner error rendering, and ↵Hazelnoot2025-06-061-1/+1
| | | | more heuristics for is-retryable-error
* lint and type fixesHazelnoot2025-04-016-6/+0
|
* fix import order in i/2fa/update-key.tsHazelnoot2025-02-041-1/+1
|
* fix import order in i/2fa/unregister.tsHazelnoot2025-02-041-1/+1
|
* fix import order in i/2fa/remove-key.tsHazelnoot2025-02-041-1/+1
|
* fix import order in i/2fa/register-key.tsHazelnoot2025-02-041-1/+1
|
* fix import order in i/2fa/register.tsHazelnoot2025-02-041-1/+1
|
* fix import order in i/2fa/password-less.tsHazelnoot2025-02-041-1/+1
|
* fix lint errors in i/2fa/key-done.tsHazelnoot2025-02-041-2/+2
|
* fix import order in i/2fa/done.tsHazelnoot2025-02-041-1/+1
|
* add rate limits to all public endpointsHazelnoot2024-11-223-0/+21
|
* rate limit all password checks - fixes #540dakkar2024-07-125-0/+35
| | | | | | all of these endpoints require the caller to already be logged in, so it's not really much of a security problem, but it's still safer to limit any endpoints that can be used to guess the current password
* Merge remote-tracking branch 'misskey/release/2024.5.0' into ↵dakkar2024-05-111-3/+3
|\ | | | | | | future-2024-04-25-post
| * update deps (#13624)syuilo2024-05-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update deps * Update package.json * update deps * build: pass --strip-leading-paths to restore 0.2.x behavior (#13684) * :v: * :v: * pureimageの代わりに@napi-rs/canvasを使う (#13748) * pureimageの代わりに@napi-rs/canvasを使う * remove writestream * remove createtemp * wip * Update ClientServerService.ts * update pnpm to 9.x * update deps * re: update pnpm to 9.x * update node * :v: --------- Co-authored-by: anatawa12 <anatawa12@icloud.com> Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* | merge: upstreamMarie2024-02-198-9/+22
|\|
| * fix(backend): add missing schemas and fix incorrect schemas (#13295)zyoshoka2024-02-162-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(backend): add missing schemas and fix incorrect schemas * fix: ci * fix: ci (本命) * fix: run `pnpm build-misskey-js-with-types` * fix: typos * fix: role-condition-formula-value contains `id` * fix: incorrect schema
| * (re) update SPDX-FileCopyrightTexttamaina2024-02-138-8/+8
| | | | | | | | Fix #13290
| * Revert "update SPDX-FileCopyrightText"tamaina2024-02-138-8/+8
| | | | | | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
| * update SPDX-FileCopyrightTextsyuilo2024-02-128-8/+8
| |
* | merge: upstreamMarie2024-02-036-6/+6
|\|
| * refactor(backend): User関連のスキーマ/型の指定を強くする ↵zyoshoka2024-01-316-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#12808) * refactor(backend): User関連のスキーマ/型の指定を強くする * refactor(backend): `pack()`の引数にスキーマを指定するように * chore: fix ci * fix: 変更漏れ * fix ci --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* | merge: upstreamMarie2024-01-151-16/+17
|\|
| * fix(backend): 虚無ノートを投稿できる問題の修正と `api.json` ↵zyoshoka2024-01-131-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | の OpenAPI Specification 3.1.0 への対応 (#12969) * fix(backend): `text: null`だけのノートは投稿できないように * add test * Update CHANGELOG.md * chore: bump OpenAPI Specification from 3.0.0 to 3.1.0 * chore: テストがすでにコメントで記述されていたのでそっちを使うことにする * fix test * fix(backend): prohibit posting whitespace-only notes * Update CHANGELOG.md * fix(backend): `renoteId`または`fileIds`(`mediaIds`)または`poll`が`null`でない場合に、`text が空白文字のみで構成されたリクエストになることを許可して、結果は`text: null`を返すように * test(backend): 引用renoteで空白文字のみで構成されたtextにするとレスポンスが`text: null`になることをチェックするテストを追加 * fix(frontend): `text`が`null`であって`renoteId`と`replyId`が`null`でないようなノートは引用リノートとして表示するように * fix(misskey-js): OpenAPI 3.1に対応 * fix(misskey-js): 型生成をOpenAPI Specification 3.1.0に対応 * fix(ci): `validate-api.json`をOpenAPI Specification 3.1.0に対応 * fix(ci): スキーマ書き換えの際のミスを修正 * Revert "fix(frontend): `text`が`null`であって`renoteId`と`replyId`が`null`でないようなノートは引用リノートとして表示するように" This reverts commit a9ca55343df6ea1679599acbc4801f78aa3a242b. * fix(misskey-js): `build-misskey-js-with-types`時は`api.json`のGETをスキップするように * Revert "fix(misskey-js): `build-misskey-js-with-types`時は`api.json`のGETをスキップするように" This reverts commit 865458989f9ddacc38d1bb3743a41ea828dbf324. * fix(misskey-js): `openapi-parser`で`validate`のかわりに`parse`を用いるように * Update CHANGELOG.md
* | merge: upstreamMarie2023-12-233-0/+157
|\|
| * enhance: ↵GrapeApple02023-12-213-0/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | api.jsonのレスポンスの内容を実際の内容に合わせる (#12723) * Create packedAdSchema * admin/emoji/add * admin/get-user-ips * admin/roles/users * admin/get-index-stats * admin/accounts/find-by-email * fix type of admin/ad/list * federation/stats * endpoints * get-online-users-count * i/2fa/register-key * i/2fa/key-done * i/2fa/register * i/apps * i/authorized-apps * i/registry/get-all * i/registry/get * i/registry/get-detail * i/registry/key-with-type * i/registry/scopes-with-domain * i/update-email * i/move * i/webhooks/create * fix miss type * i/webhooks/show * i/webhooks/list * flash/create * roles/users * server-info * test * users/lists/get-memberships * users/achievements * fetch-rss * fetch-external-resources
* | chore: lintMar0xy2023-09-262-2/+2
| |
* | merge: upstreamMar0xy2023-09-266-14/+87
|\|
| * enhance: 二要素認証設定時のセキュリティを強化 (#11863)syuilo2023-09-226-16/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * enhance: 二要素認証設定時のセキュリティを強化 パスワード入力が必要な操作を行う際、二要素認証が有効であれば確認コードの入力も必要にする * Update CoreModule.ts * Update 2fa.ts * wip * wip * Update 2fa.ts * tweak
* | upd: swap bcrypt to argon2, add misskey-js to dev, auto load repliesMar0xy2023-09-226-11/+16
|/
* update deps (#11820)syuilo2023-09-158-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update deps * fix * wip * wip * wip * Update docker-compose.yml.example * Delete reviewer-lottery.yml * Update RepositoryModule.ts * wip * wip * clean up * update deps * wip * wip
* feat: passkey support (#11804)syuilo2023-09-086-148/+112
| | | https://github.com/MisskeyIO/misskey/pull/149
* feat: Refine 2fa (#11766)syuilo2023-08-282-0/+8
| | | | | | | | | | | | | * wip * Update 2fa.qrdialog.vue * Update 2fa.vue * Update CHANGELOG.md * tweak * :v:
* chore(backend): Resolve `import/no-default-export` rule violations (#11732)woxtu2023-08-178-16/+8
| | | | | * Disable `import/no-default-export` properly * Disable `import/no-default-export`
* refactor(backend): Remove unused injections (#11462)woxtu2023-08-052-8/+1
| | | | | * Remove unused injections * Remove unused imports
* chore: ↵Shun Sakai2023-07-278-0/+40
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#11348) * chore: Add the SPDX information to each file Add copyright and licensing information as defined in version 3.0 of the REUSE Specification. * tweak format --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* chore(backend): better error message for unsupported attestation (#11333)Kagami Sascha Rosylight2023-07-211-1/+1
|
* cleanup: trim trailing whitespace (#11136)okayurisotto2023-07-081-1/+1
| | | | | | | | | * cleanup: trim trailing whitespace * update(`.editorconfig`) --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* update depssyuilo2023-06-021-1/+1
|
* :art: 2FA設定のデザイン向上 / ↵tamaina2023-02-207-17/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | セキュリティキーの名前を変更できるように (#9985) * wip * fix * wip * wip * :v: * rename key * :art: * update CHANGELOG.md * パスワードレスログインの判断はサーバーで * 日本語 * 日本語 * 日本語 * 日本語 * :v: * fix * refactor * トークン→確認コード * fix password-less / qr click * use otpauth * 日本語 * autocomplete * パスワードレス設定は外に出す * :art: * :art: --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor: remove all unused imports (#9951)Kagami Sascha Rosylight2023-02-161-1/+0
| | | Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* fix import typesyuilo2022-09-217-9/+9
|
* なんかもうめっちゃ変えたsyuilo2022-09-187-228/+327
|
* enhance: Display TOTP Register URLsyuilo2022-05-141-3/+5
| | | | | | Close #7261 Co-Authored-By: tamaina <tamaina@hotmail.co.jp>
* chore: fix lintsyuilo2022-04-031-3/+3
|
* refactor: migrate to typeorm 3.0 (#8443)syuilo2022-03-266-7/+7
| | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * Update following.ts * wip * wip * wip * Update resolve-user.ts * maxQueryExecutionTime * wip * wip
* refactor: Use ESM (#8358)syuilo2022-02-277-29/+29
| | | | | | | | | | | | | | | * wip * wip * fix * clean up * Update tsconfig.json * Update activitypub.ts * wip
* Fix ajv (#8333)tamaina2022-02-207-7/+7
| | | | | | | | | | | * wip * :v: * use ajv/dist/core * revert try * clean up
* refactor: use ajv instead of cafy (#8324)syuilo2022-02-197-59/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * Update abuse-user-reports.ts * Update files.ts * Update list-remote.ts * Update list.ts * Update show-users.ts * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update update.ts * Update search.ts * Update reactions.ts * Update search.ts * wip * wip * wip * wip * Update update.ts * Update relation.ts * Update available.ts * wip * wip * wip * Update packages/backend/src/server/api/define.ts Co-authored-by: Johann150 <johann.galle@protonmail.com> * Update define.ts * Update define.ts * typo * wip * wip * wip * wip * wip * wip * wip * wip * Update update.ts * wip * Update signup.ts * Update call.ts * minimum for limit * type * remove needless annotation * wip * Update signup.ts * wip * wip * fix * Update create.ts Co-authored-by: Johann150 <johann.galle@protonmail.com>
* refactor(backend): use insert instead of savesyuilo2022-01-262-2/+2
|