Commit Graph

121 Commits

Author SHA1 Message Date
Taras Kushnir aed82b713c Persist other caches on restart too 2026-05-06 14:21:40 +02:00
Taras Kushnir 82340009c5 Cosmetic improvement
SIGTERM is also graceful
2026-04-27 09:48:45 +02:00
Taras Kushnir 8eee1bdfa6 Persist DB cache between restarts 2026-04-25 11:25:50 +02:00
Taras Kushnir 091506bf0f Add portal links to properties in report email 2026-04-23 21:23:02 +02:00
Taras Kushnir ef301515d1 Add onboarding popup for newly registered users 2026-04-23 11:17:45 +02:00
Taras Kushnir ca5b17e234 Prevent deleting admin user. closes PrivateCaptcha/issues#265 2026-04-21 11:12:46 +02:00
Copilot 4e56cd7c98 Hide technical details in 2FA email for registration flow (#425)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ribtoks <505555+ribtoks@users.noreply.github.com>
2026-04-16 09:49:14 +03:00
Taras Kushnir cbdf83d2c8 Cosmetic improvement 2026-04-10 17:34:05 +02:00
Taras Kushnir 3717fa0c96 Cleanup API key middleware usage and add local API rate limit 2026-04-10 17:23:19 +02:00
Taras Kushnir b68ca2ea17 Clump bools for sqlc-generated files 2026-04-10 07:46:28 +02:00
Taras Kushnir 0651b70de4 Add widget notice env var 2026-04-09 17:09:24 +02:00
Taras Kushnir 0af56019fe Cleanup code 2026-04-08 18:47:52 +02:00
Taras Kushnir 3c3d7cf5b5 Add notice functionality to widget 2026-04-08 17:02:03 +02:00
Taras Kushnir 6b873f87e4 Add viewportal dev helper 2026-04-07 12:03:20 +02:00
Taras Kushnir b0ff48b2d7 Add limit row to reports 2026-04-05 17:11:59 +02:00
Copilot c35d427c07 Add weekly/monthly usage reports with notification scheduling (#408)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ribtoks <505555+ribtoks@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
Co-authored-by: Taras Kushnir <tk.dev@mailbox.org>
2026-04-05 16:12:47 +03:00
Taras Kushnir 487686dd26 Verify notification email before using 2026-04-05 11:51:37 +02:00
Taras Kushnir d56c990a76 Add support for fingerprint header passthrough 2026-04-02 18:37:50 +02:00
Taras Kushnir e10d5296b2 Fix security issues 2026-03-16 09:04:12 +01:00
Taras Kushnir 728faee4ab Add difficulty rules system. closes PrivateCaptcha/issues#135 2026-03-15 17:04:22 +01:00
Copilot 36b73dec82 Show production notification template IDs in viewemails (#375)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ribtoks <505555+ribtoks@users.noreply.github.com>
2026-03-11 18:51:24 +02:00
Taras Kushnir 783f739b39 Add Postgres connection metrics 2026-03-05 11:57:58 +01:00
Copilot aad817f00c Make Solve method cancelable via context (#327)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ribtoks <505555+ribtoks@users.noreply.github.com>
2026-03-03 10:13:56 +02:00
Taras Kushnir c3cda2b0fa Migrate difficulty levels after client fix 2026-03-02 13:52:24 +02:00
Taras Kushnir 31b2c3c150 Improve compatibility with running on a single domain with prefixes 2026-02-14 13:09:04 +02:00
Taras Kushnir e7c1deac27 Refactor formatlogs 2026-02-14 12:00:08 +02:00
Taras Kushnir 2ecebf5add Add simple utility to browse error logs 2026-02-14 09:35:13 +02:00
Taras Kushnir a2e6d0a70c Add panic metric 2026-02-11 09:03:09 +02:00
Taras Kushnir 7ac3c78bf9 Add license check for community edition too 2026-02-08 14:33:35 +02:00
Taras Kushnir d893d8881e Take maintenance mode into account for /ready endpoint 2026-02-08 10:37:54 +02:00
Copilot a866478c6a Replace mutex with semaphore for maintenance job concurrency control (#275)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ribtoks <505555+ribtoks@users.noreply.github.com>
2026-02-05 18:29:19 +02:00
Taras Kushnir 6d405eec80 Add 2FA code grace time 2026-01-30 08:29:13 +02:00
Taras Kushnir 70d3bf9de1 Cosmetic improvement 2026-01-29 13:12:22 +02:00
Taras Kushnir e5bfd6407a Add ability to send verify requests for test puzzle in loadtest 2026-01-28 16:14:19 +02:00
Taras Kushnir a3dd64fb04 Do not close DB connections after migration in auto mode 2026-01-28 15:17:26 +02:00
Taras Kushnir a7802098e6 Add load test for verify endpoint. closes PrivateCaptcha/issues#98 2026-01-27 20:46:13 +02:00
Taras Kushnir 9048bcaa5a Add timeouts for channel selects 2026-01-23 16:59:37 +02:00
Taras Kushnir cab8ae71e2 Fix widget reset code 2026-01-20 11:13:10 +02:00
Taras Kushnir 28ba7ed860 Create html element explicitly 2026-01-14 10:12:59 +02:00
Taras Kushnir 76b9b81d37 Add ErrorLog for http server 2026-01-13 16:40:44 +02:00
Taras Kushnir 00c287f274 Bump readiness drain delay 2026-01-12 10:01:20 +02:00
Taras Kushnir f534ee7ec5 Add a mode to run tests without ClickHouse 2026-01-06 15:46:24 +02:00
Taras Kushnir 748d0e97e7 Add migrate and serve mode
Add auto mode
2026-01-02 18:43:48 +02:00
Taras Kushnir 24b43ade8f Refactor email verification 2025-12-19 10:36:09 +01:00
Taras Kushnir b959c00af8 Add create properties bulk API. related PrivateCaptcha/issues#45 2025-12-15 15:43:05 +01:00
Taras Kushnir 85ca8c5a7a Add preliminary basic version of orgs API. related PrivateCaptcha/issues#45 2025-12-10 21:15:02 +01:00
Taras Kushnir 03910a870c Shuffle limits related code to DB 2025-12-08 18:49:34 +01:00
Taras Kushnir 9effd7a5df Refactor API server routes mounting 2025-12-08 17:45:52 +01:00
Taras Kushnir 57636bbf48 Add API key scope 2025-12-08 12:44:42 +01:00
Taras Kushnir 9151c22370 Cache chart stats also on the server level 2025-12-07 20:13:18 +01:00