Commit Graph

72 Commits

Author SHA1 Message Date
Taras Kushnir
9151c22370 Cache chart stats also on the server level 2025-12-07 20:13:18 +01:00
Taras Kushnir
55377576e2 Cache chart stats responses on CDN level 2025-12-07 17:53:30 +01:00
Taras Kushnir
cbab265d85 Send verify response instead of http code for sitekey verification 2025-12-02 21:42:01 +01:00
Taras Kushnir
da93cf591b Check expected sitekey in /verify 2025-12-02 18:52:43 +01:00
Taras Kushnir
b0bbb3957b Make audit logs retention configurable 2025-11-26 15:36:10 +02:00
Taras Kushnir
07b5c24e96 Add ability to set TTL when loading through cache 2025-11-24 08:15:25 +02:00
Taras Kushnir
4ad20a5b3c Cosmetic improvements 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
Viktor Szépe
c2990f579b Correct misspellings (#217) 2025-11-19 09:40:16 +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
fa927a2ff0 Fix CodeQL suggestion 2025-11-13 10:08:25 +02:00
Taras
798dfbcd51 Potential fix for code scanning alert no. 20: Incorrect conversion between integer types
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-11-13 10:05:14 +02:00
Taras Kushnir
fec15377b4 Add fallback for empty ID hasher salt 2025-11-13 09:58:01 +02:00
Taras Kushnir
f54578d513 Hide internal identifiers in URLs. closes PrivateCaptcha/issues#209 2025-11-12 15:38:09 +02:00
Taras Kushnir
9b3aa0ea94 Add functionality to move property. closes PrivateCaptcha/issues#151 2025-11-11 18:16:40 +02:00
Taras Kushnir
a016ef1a2b Add crossorigin attribute to portal scripts. related PrivateCaptcha/issues#206 2025-11-11 10:00:41 +02:00
Taras Kushnir
7dc6f65d2e Add a separate metrics for before-redirect http errors in portal 2025-11-09 12:54:00 +02:00
Taras Kushnir
a05a7563a9 Add cosmetic spot check for the most stupid bots 2025-10-16 13:06:29 +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
fbe38a2292 Add paranoid int32 checks to make GitHub CodeQL happy 2025-10-04 17:27:02 +03:00
Taras Kushnir
70ed850c24 Move XSRF key to config
found by ZeroPath
2025-10-04 12:41:01 +03:00
Taras Kushnir
81dc447640 Add ETag header for assets and scripts 2025-09-24 12:19:38 +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
0dd2af6376 Refine logging level of some statements 2025-09-12 21:45:05 +03:00
Taras Kushnir
64925cd156 Improve logging 2025-09-12 17:21:49 +03:00
Taras Kushnir
cfbc134a2d Add service tag to logs 2025-09-12 14:43:54 +03:00
Taras Kushnir
803b07d7f7 Protect maintenance job endpoints. closes PrivateCaptcha/issues#178 2025-08-25 11:22:43 +03:00
Taras Kushnir
be6ad9932d Mark domain name required in portal. closes PrivateCaptcha/issues#179 2025-08-25 11:00:04 +03:00
Taras Kushnir
1d62e7f150 Start migration from allow_replay to max_replay_count logic 2025-08-23 14:53:32 +03:00
Taras Kushnir
94f088ebc2 Make email templates parsing lazy 2025-08-22 18:43:48 +03:00
Taras Kushnir
af188f10d5 Make email templates more type-safe 2025-08-22 17:30:44 +03:00
Taras Kushnir
665431a621 Add ability to pass arguments to maintenance jobs. closes PrivateCaptcha/issues#171 2025-08-18 10:22:12 +03:00
Taras Kushnir
2aabb90d66 Add requires_subscription flag for notifications 2025-08-16 17:01:12 +03:00
Taras Kushnir
25bf16eada Attempt to guess first name for welcome email 2025-08-16 12:48:24 +03:00
Taras Kushnir
335ea6dcb6 Store also plain-text version of notification template in DB 2025-08-16 09:01:03 +03:00
Taras Kushnir
25b81f38e3 Get rid of unnecessary config 2025-08-16 08:13:29 +03:00
Taras Kushnir
ce0c50fcf4 Introduce offboard user job 2025-08-15 19:54:01 +03:00
Taras Kushnir
9a6dfdcd1f Simplify notifications code 2025-08-15 19:29:10 +03:00
Taras Kushnir
bd821b809a Safeguard batch callback instead of main routine 2025-08-15 17:40:51 +03:00
Taras Kushnir
3884c97c8c Improve welcome email contents 2025-08-15 17:40:51 +03:00
Taras Kushnir
92b35ebb91 Introduce concept of persistent user notifications
Fix tests
2025-08-15 17:40:51 +03:00
Taras Kushnir
8863178697 Wrap few goroutines with recover 2025-08-15 11:13:03 +03:00
Taras Kushnir
785ddfafaa Explicitly check terms and conditions checkbox. closes PrivateCaptcha/issues#150 2025-08-14 20:16:49 +03:00
Taras Kushnir
ff00d6fa1f Add notifications for expiring API keys. closes PrivateCaptcha/issues#1 2025-08-14 20:16:49 +03:00
Taras Kushnir
2f816ad094 Use days for API keys expiration instead of months 2025-08-14 11:20:03 +03:00
Taras Kushnir
fc8c04f686 Add notifications support 2025-08-14 10:52:45 +03:00
Taras Kushnir
e351ed6fb1 Allow changing log level in runtime 2025-07-27 11:32:08 +03:00
Taras Kushnir
24734338f9 Fix tests 2025-07-26 12:51:48 +03:00