1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-26 12:38:08 +09:00
hotomoe/packages/backend/src/server/api
Johann150 161659de5c
enhance: replace signin CAPTCHA with rate limit (#8740)
* enhance: rate limit works without signed in user

* fix: make limit key required for limiter

As before the fallback limiter key will be set from the endpoint name.

* enhance: use limiter for signin

* Revert "CAPTCHA求めるのは2fa認証が無効になっているときだけにした"

This reverts commit 02a43a310f.

* Revert "feat: make captcha required when signin to improve security"

This reverts commit b21b058005.

* fix undefined reference

* fix: better error message

* enhance: only handle prefix of IPv6
2022-05-28 12:06:47 +09:00
..
common feat: Improve Push Notification (#7667) 2022-04-30 21:52:07 +09:00
endpoints enhance: uniform theme color (#8702) 2022-05-19 09:54:45 +02:00
openapi fix(docs): correct information for drive upload (#8736) 2022-05-27 22:03:25 +09:00
private enhance: replace signin CAPTCHA with rate limit (#8740) 2022-05-28 12:06:47 +09:00
service refactor: fix type 2022-04-17 17:30:27 +09:00
stream refactor: fix type 2022-04-17 20:44:21 +09:00
2fa.ts bump jsrsasign 2022-04-23 12:48:26 +09:00
api-handler.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
authenticate.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
call.ts enhance: replace signin CAPTCHA with rate limit (#8740) 2022-05-28 12:06:47 +09:00
define.ts perf(server): refactor and performance improvements 2022-03-25 16:27:41 +09:00
endpoints.ts enhance: replace signin CAPTCHA with rate limit (#8740) 2022-05-28 12:06:47 +09:00
error.ts fix lint 2021-12-09 23:58:30 +09:00
index.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
limiter.ts enhance: replace signin CAPTCHA with rate limit (#8740) 2022-05-28 12:06:47 +09:00
logger.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
streaming.ts refactoe 2022-04-16 17:19:30 +09:00