Commit Graph

85 Commits

Author SHA1 Message Date
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
Taras Kushnir fbe500748a Refactor subscription limits. related PrivateCaptcha/issues#142 2025-12-05 10:38:34 +01:00
Taras Kushnir 7a921f8858 Fix auto-start mode in popup widget mode 2025-11-29 13:06:49 +01:00
Taras Kushnir b0bbb3957b Make audit logs retention configurable 2025-11-26 15:36:10 +02:00
Taras Kushnir 66d2ef8686 Use different audit logs cleanup days for EE 2025-11-25 21:14:04 +02:00
Taras Kushnir 06ecf0f980 Skip deleting expired internal trials
They frequently belong to other organizations (and also can log back in)
2025-11-23 07:33:39 +02:00
Taras Kushnir fa8422d1c7 Add basic auditlogs implementation. closes PrivateCaptcha/issues#204 2025-11-22 19:39:18 +02:00
Taras Kushnir 884a5d2117 Force recheck user limits upon joining the org 2025-11-19 14:11:04 +02:00
Taras Kushnir f8c1bbbaae Add log for limited users 2025-11-19 08:28:10 +02:00
Taras Kushnir 16e4244077 Add functionality to backfill potential stale session in portal
Also get rid of unnecessary changes from previous commit
2025-11-16 21:09:16 +02:00
Taras Kushnir 43a01e877a Add more details to 2fa email. closes PrivateCaptcha/issues#207 2025-11-15 09:21:26 +02:00
Taras Kushnir f54578d513 Hide internal identifiers in URLs. closes PrivateCaptcha/issues#209 2025-11-12 15:38:09 +02:00
Taras Kushnir d0355faae0 Add auto mode for widget language 2025-10-21 08:57:03 +03:00
Taras Kushnir f2fa6f89da Replace rate limit update to smaller limits for catchall 2025-10-19 11:49:58 +03:00
Taras Kushnir 14b17c7076 Only update rate limit for non-portal catchall 2025-10-19 11:31:11 +03:00
Taras Kushnir ff19bc45ac Improve rate limit update for catchall 2025-10-19 11:27:36 +03:00
Taras Kushnir b55492d9f0 Reduce rate limit for catchall path 2025-10-19 11:11:51 +03:00
Taras Kushnir 6064339634 Send email when invited to organization. closes PrivateCaptcha/issues#96 2025-10-09 10:22:54 +03:00
Taras Kushnir 98cd19d104 Add functionality to rotate API keys. closes PrivateCaptcha/issues#188 2025-10-08 14:32:48 +03:00
Taras Kushnir 1fd3596150 Fix portal login verifications missing from metrics 2025-10-08 09:56:36 +03:00
Taras Kushnir 8f91da3fbe Cosmetic improvement 2025-10-06 20:57:24 +03:00
Taras Kushnir ca2b1236df Cosmetic security improvements 2025-10-04 17:45:30 +03:00
Taras Kushnir 9642cef6a9 Ultra-cosmetic improvement
found by Almanax and Corgea
2025-10-04 12:41:01 +03:00
Taras Kushnir 70ed850c24 Move XSRF key to config
found by ZeroPath
2025-10-04 12:41:01 +03:00
Taras Kushnir c3335d3405 Make widget color configurable 2025-09-26 16:50:32 +03:00
Taras Kushnir 7fc5fa559f Vary portal stylesheet with git commit hash 2025-09-24 13:05:55 +03:00
Taras Kushnir 81dc447640 Add ETag header for assets and scripts 2025-09-24 12:19:38 +03:00
Taras Kushnir 578f0788aa Add few safeguards against messing int32 IDs in arguments 2025-09-14 20:48:42 +03:00
Taras Kushnir 642b02bd61 Refactor session management 2025-09-14 14:41:29 +03:00
Taras Kushnir 697fb541cf Passthrough service context to persisting sessions 2025-09-13 09:58:06 +03:00
Taras Kushnir 6c887eac45 Cosmetic improvements 2025-09-03 15:42:39 +03:00
Taras Kushnir 668c9b0f86 Cosmetic fixes 2025-09-03 13:45:21 +03:00
Taras Kushnir e1711360a5 Fix healthcheck job being exclusive 2025-09-03 13:29:18 +03:00
Taras Kushnir 5bf531bab0 Refactor puzzle verification and issue out of api.Server 2025-08-26 14:49:49 +03:00
Taras Kushnir 803b07d7f7 Protect maintenance job endpoints. closes PrivateCaptcha/issues#178 2025-08-25 11:22:43 +03:00
Taras Kushnir a0ce451d0f Switch to otter cache in leaky bucket manager 2025-08-23 19:48:24 +03:00
Taras Kushnir 94f088ebc2 Make email templates parsing lazy 2025-08-22 18:43:48 +03:00