summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/CaptchaService.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* move CaptchaError to a separate file to avoid circular import errorsHazelnoot2025-07-271-13/+4
|
* more use of identifiable errors, improvements to inner error rendering, and ↵Hazelnoot2025-06-061-5/+5
| | | | more heuristics for is-retryable-error
* Merge branch 'develop' into merge/2025-03-24Hazelnoot2025-04-241-1/+1
|\ | | | | | | | | | | # Conflicts: # CONTRIBUTING.md # packages/backend/src/core/activitypub/models/ApPersonService.ts
| * fix: friendlycaptcha always failingMarie2025-04-151-1/+1
| |
* | merge upstreamHazelnoot2025-03-251-3/+3
|\ \ | |/ |/|
| * update deps (#15311)syuilo2025-02-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * bump misskey-dev/eslint-plugin * lint fixes (backend) * lint fixes (frontend) * lint fixes (frontend-embed) * rollback nsfwjs to 4.2.0 ref: infinitered/nsfwjs#904 * rollback openapi-typescript to v6 v7でOpenAPIのバリデーションが入るようになった関係でスコープ外での変更が避けられないため一時的に戻した * lint fixes (misskey-js) * temporarily disable errored lint rule (frontend-shared) * fix lint * temporarily ignore errored file for lint (frontend-shared) * rollback simplewebauthn/server to 12.0.0 v13 contains breaking changes that require some decision making * lint fixes (frontend-shared) * build misskey-js with types * fix(backend): migrate simplewebauthn/server to v12 * fix(misskey-js/autogen): ignore indent rules to generate consistent output * attempt to fix test changes due to capricorn86/happy-dom#1617 (XMLSerializer now produces valid XML) * attempt to fix test changes due to capricorn86/happy-dom#1617 (XMLSerializer now produces valid XML) * fix test * fix test * fix test * Apply suggestions from code review Co-authored-by: anatawa12 <anatawa12@icloud.com> * bump summaly to v5.2.0 * update tabler-icons to v3.30.0-based --------- Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> Co-authored-by: anatawa12 <anatawa12@icloud.com>
* | port FriendlyCaptcha to the new captcha infrastructureHazelnoot2025-02-031-6/+31
| |
* | merge upstream 2025-02-03Hazelnoot2025-02-031-15/+284
|\|
| * feat(frontend): ↵おさむのひと2025-01-141-15/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Botプロテクションの設定変更時は実際に検証を通過しないと保存できないようにする (#15151) * feat(frontend): CAPTCHAの設定変更時は実際に検証を通過しないと保存できないようにする * なしでも保存できるようにした * fix CHANGELOG.md * フォームが増殖するのを修正 * add comment * add server-side verify * fix ci * fix * fix * fix i18n * add current.ts * fix text * fix * regenerate locales * fix MkFormFooter.vue --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* | Merge tag '2024.10.1' into feature/2024.10dakkar2024-11-081-0/+13
|\|
| * wip (#14745)syuilo2024-10-111-0/+13
| |
* | chore: replace recaptcha with frcMarie2024-11-021-1/+1
| |
* | upd: add FriendlyCaptcha as a captcha solutionMarie2024-11-021-0/+30
|/ | | | FriendlyCaptcha is a german captcha solution which is GDPR compliant and has a non-commerical free license
* (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
|
* feat: Add support for mCaptcha (#12905)Chocolate Pie2024-01-061-0/+31
| | | | | | | | | | | | | * feat: Add support for mCaptcha * fix: Fix docker compose configuration * chore(frontend/docs): update changelog & fix eslint errors * `@mcaptcha/vanilla-glue`をダイナミックインポートするように * chore: Add missing prefix to CHANGELOG * refactor(backend): 適当につけた変数の名前を変更
* 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>
* cleanup: trim trailing whitespace (#11136)okayurisotto2023-07-081-6/+6
| | | | | | | | | * cleanup: trim trailing whitespace * update(`.editorconfig`) --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* enhance(backend): migrate bull to bullmq (#10910)syuilo2023-05-291-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * Update QueueService.ts * wip * refactor * :v: * fix * Update QueueStatsService.ts * refactor * Update ApNoteService.ts * Update mock-resolver.ts * refactor * Update mock-resolver.ts
* fix(server): turnstile-failed: missing-input-secretsyuilo2023-01-261-2/+2
| | | | Fix #9726
* fix(server): node-fetchおよびgotを使う以前の実装に戻すsyuilo2023-01-251-11/+6
| | | | see #9710
* perf(backend): Use undici instead of node-fetch and got (#9459)tamaina2023-01-121-16/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement? HttpFetchService * :v: * remove node-fetch * fix * refactor * fix * gateway timeout * UndiciFetcherクラスを追加 (仮コミット, ビルドもstartもさせていない) * fix * add logger and fix url preview * fix ip check * enhance logger and error handling * fix * fix * clean up * Use custom fetcher for ApRequest / ApResolver * bypassProxyはproxyBypassHostsに判断を委譲するように * set maxRedirections (default 3, ApRequest/ApResolver: 0) * fix comment * handle error s3 upload * add debug message * no return await * Revert "no return await" This reverts commit b5b0dc58a342393d260492e3a6f58304372f53b2. * reduce maxSockets * apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger * Revert "apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger" This reverts commit 997243915c8e1f8472da64f607f88c36cb1d5cb4. * add logger * fix * change logger name * safe * デフォルトでUser-Agentを設定
* refactor: introduce bindThis decorator to bind this automaticalysyuilo2022-12-041-0/+5
|
* refactorsyuilo2022-12-041-1/+1
|
* Fastify (#9106)syuilo2022-12-031-9/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add Cloudflare Turnstile CAPTCHA support (#9111)CyberRex2022-10-131-0/+11
| | | | | | | | | * Add Cloudflare Turnstile CAPTCHA support * Update packages/client/src/components/MkCaptcha.vue Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* fix import typesyuilo2022-09-211-1/+1
|
* testsyuilo2022-09-191-3/+3
|
* なんかもうめっちゃ変えたsyuilo2022-09-181-0/+70