summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api/ApiServerService.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "revert 7bfada9792bc4d29d47d3895643543cbe15191cd: enhance: remove ↵Hazelnoot2025-03-301-3/+0
| | | | | | bull-board support" This reverts commit d41d77fcd7c7c40b8409a22baecd0c0101db6e1e.
* revert 7bfada9792bc4d29d47d3895643543cbe15191cd: enhance: remove bull-board ↵Hazelnoot2025-03-251-0/+3
| | | | support
* merge upstreamHazelnoot2025-03-251-3/+0
|\
| * enhance: remove bull-board supportsyuilo2025-03-161-3/+0
| |
* | Merge tag '2024.10.1' into feature/2024.10dakkar2024-11-081-7/+12
|\|
| * wip (#14745)syuilo2024-10-111-0/+2
| |
| * #14675 レビューの修正 (#14705)かっこかり2024-10-051-1/+1
| |
| * fix: signin ↵かっこかり2024-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | の資格情報が足りないだけの場合はエラーにせず200を返すように (#14700) * fix: signin の資格情報が足りないだけの場合はエラーにせず200を返すように * run api extractor * fix * fix * fix test * /signin -> /signin-flow * fix * fix lint * rename * fix * fix
| * fix(misskey-js): type fixes related to signup and signin (#14679)zyoshoka2024-10-031-5/+7
| |
* | upd: add FriendlyCaptcha as a captcha solutionMarie2024-11-021-0/+1
|/ | | | FriendlyCaptcha is a german captcha solution which is GDPR compliant and has a non-commerical free license
* Add Sign in with passkey Button (#14577)Yuri Lee2024-09-261-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Sign in with passkey (PoC) * 💄 Added "Login with Passkey" Button * refactor: Improve error response when WebAuthn challenge fails * signinResponse should be placed under the SigninWithPasskeyResponse object. * Frontend fix * Fix: Rate limiting key for passkey signin Use specific rate limiting key: 'signin-with-passkey' for passkey sign-in API to avoid collisions with signin rate-limit. * Refactor: enhance Passkey sign-in flow and error handling - Increased the rate limit for Passkey sign-in attempts to accommodate the two API calls needed per sign-in. - Improved error messages and handling in both the `WebAuthnService` and the `SigninWithPasskeyApiService`, providing more context and better usability. - Updated error messages to provide more specific and helpful details to the user. These changes aim to enhance the Passkey sign-in experience by providing more robust error handling, improving security by limiting API calls, and delivering a more user-friendly interface. * Refactor: Streamline 2FA flow and remove redundant Passkey button. - Separate the flow of 1FA and 2FA. - Remove duplicate passkey buttons * Fix: Add error messages to MkSignin * chore: Hide passkey button if the entered user does not use passkey login * Update CHANGELOG.md * Refactor: Rename functions and Add comments * Update locales/ja-JP.yml Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> * Fix: Update translation - update index.d.ts - update ko-KR.yml, en-US.yml - Fix: Reflect Changed i18n key on MkSignin --------- Co-authored-by: Squarecat-meow <kw7551@gmail.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* enhance(frontend): ↵syuilo2024-08-231-1/+1
| | | | サイズ制限を超過するファイルをアップロードしようとした際にエラーを出すように
* feat: suspend instance improvements (#13861)anatawa122024-05-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * feat(backend): dead instance detection * feat(backend): suspend type detection * feat(frontend): show suspend reason on frontend * feat(backend): resume federation automatically if the server is automatically suspended * docs(changelog): 配信停止まわりの改善 * lint: fix lint errors * Update packages/frontend/src/pages/instance-info.vue * lint: fix lint error * chore: suspendedState => suspensionState --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* (re) update SPDX-FileCopyrightTexttamaina2024-02-131-1/+1
| | | | Fix #13290
* Revert "update SPDX-FileCopyrightText"tamaina2024-02-131-1/+1
| | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
* update SPDX-FileCopyrightTextsyuilo2024-02-121-1/+1
|
* refactor(backend): User関連のスキーマ/型の指定を強くする ↵zyoshoka2024-01-311-1/+1
| | | | | | | | | | | | | | | | | (#12808) * refactor(backend): User関連のスキーマ/型の指定を強くする * refactor(backend): `pack()`の引数にスキーマを指定するように * chore: fix ci * fix: 変更漏れ * fix ci --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* update deps (#11820)syuilo2023-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* refactor(backend): Remove unused injections (#11462)woxtu2023-08-051-4/+1
| | | | | * Remove unused injections * Remove unused imports
* chore: ↵Shun Sakai2023-07-271-0/+5
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#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>
* enhance(backend): APIパラメータサイズ上限を128kbから1mbに緩和syuilo2023-04-111-1/+1
|
* enhance(backend): APIパラメータサイズ上限を32kbから128kbに緩和syuilo2023-04-111-1/+1
| | | | Fix #10574
* enhance(backend): restore OpenAPI endpoints (#10281)Kagami Sascha Rosylight2023-03-101-1/+1
| | | | | | | | | | | | | | | | | * enhance(backend): restore OpenAPI endpoints * Update CHANGELOG.md * version * set max-age * update redoc * follow redoc documentation --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* test(backend): APIテストの復活 (#10163)Kagami Sascha Rosylight2023-03-031-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert 1c5291f8185651c231903129ee7c1cee263f9f03 * APIテストの復活 * apiテストの移行 * moduleNameMapper修正 * simpleGetでthrowしないように status確認しているので要らない * longer timeout * ローカルでは問題ないのになんで * case sensitive * Run Nest instance within the current process * Skip some setIntervals * wait for 5 seconds * kill them all!! * logHeapUsage: true * detectOpenHandlesがじゃましているらしい * maxWorkers=1? * restore drive api tests * workerIdleMemoryLimit: 500MB * 1024MiB * Wait what
* fix(backend): return HTTP 404 for any unknown api endpoint paths (#10130)Kagami Sascha Rosylight2023-02-271-2/+18
| | | | | * fix(backend): return HTTP 400 for any invalid api endpoint paths * 404
* refactor: remove all unused imports (#9951)Kagami Sascha Rosylight2023-02-161-2/+2
| | | Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* drop twitter/github/discord integrationssyuilo2023-02-031-10/+0
| | | | Close #9775
* typosyuilo2023-01-131-5/+5
|
* fix(server): bodyLimit for each endpointssyuilo2022-12-281-1/+1
|
* GET非対応APIにGETでリクエストすると接続が開きっぱなし ↵syuilo2022-12-241-0/+2
| | | | | | なる Fix #9404
* Fix peers API returning suspended instances (#9348)Effy Elden2022-12-191-0/+3
| | | | | * Fix peers API returning suspended instances * Fix missing comma
* fix(server): GitHubログインしようとするとreply.setCookie is not a ↵syuilo2022-12-171-1/+4
| | | | | | function fix #9327
* Fix import related TypeScript errors (#9321)Kagami Sascha Rosylight2022-12-141-1/+1
| | | | | | | * Add missing @types packages * Fix TS1272 type only imports * Fix TS2821 import assertion
* refactor: introduce bindThis decorator to bind this automaticalysyuilo2022-12-041-1/+3
|
* Fastify (#9106)syuilo2022-12-031-76/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * fix * Update SignupApiService.ts * wip * wip * Update ClientServerService.ts * wip * wip * wip * Update WellKnownServerService.ts * wip * wip * update des * wip * Update ApiServerService.ts * wip * update deps * Update WellKnownServerService.ts * wip * update deps * Update ApiCallService.ts * Update ApiCallService.ts * Update ApiServerService.ts
* fix import typesyuilo2022-09-211-2/+2
|
* なんかもうめっちゃ変えたsyuilo2022-09-181-0/+160