Commit Graph

237 Commits

Author SHA1 Message Date
Taras Kushnir
1d62e7f150 Start migration from allow_replay to max_replay_count logic 2025-08-23 14:53:32 +03:00
Taras Kushnir
387f59599c Use xid-based puzzle ID 2025-08-23 12:35:22 +03:00
Taras Kushnir
aa854247f9 Add unit test to pre-parse email templates 2025-08-22 20:08:56 +03:00
Taras Kushnir
8a3fcf9719 Fix error rendering for signed-in versions 2025-08-22 19:42:46 +03:00
Taras Kushnir
7ccb707598 Fix linter error 2025-08-22 18:47:36 +03:00
Taras Kushnir
94f088ebc2 Make email templates parsing lazy 2025-08-22 18:43:48 +03:00
Taras Kushnir
584accee48 Make scheduled notifications type-safe too 2025-08-22 18:11:53 +03:00
Taras Kushnir
af188f10d5 Make email templates more type-safe 2025-08-22 17:30:44 +03:00
Taras
eee6b3ae53 Update module golang.org/x/net to v0.43.0 (#190)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-08-22 09:52:19 +03:00
Taras Kushnir
390a4d3ef8 Remove unused code leftover 2025-08-22 09:46:03 +03:00
Taras Kushnir
2e64113005 Remove unused code 2025-08-22 09:44:47 +03:00
Taras Kushnir
02d78ebf3d Cosmetic improvement v0.0.7 2025-08-20 11:59:04 +03:00
Taras Kushnir
d575c3f98e Trim PHP SVG file 2025-08-20 11:49:44 +03:00
Taras Kushnir
f9ea1597da Cache stub puzzles too
The rationale is that if somebody took care to call /verfiy we can cache it
2025-08-20 11:29:13 +03:00
Taras Kushnir
f49ad8c803 Add PHP and Ruby to integrations page 2025-08-20 09:17:16 +03:00
Taras Kushnir
6807d6ffeb Silence system notification error
because it can be db.ErrRecordNotFound, otherwise it will be error-logged inside
2025-08-19 09:03:43 +03:00
Taras
f5994260ac Gate widget lib publish with GitHub environment v0.0.6 2025-08-18 12:16:31 +03:00
Taras Kushnir
bc556d627f Decrease stub license job interval 2025-08-18 12:08:38 +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
b74eacd23a Cosmetic improvements 2025-08-17 21:41:42 +03:00
Taras Kushnir
4da1357ed2 Add test for notification condition 2025-08-17 16:13:03 +03:00
Taras Kushnir
7b76518b85 Add check for locked jobs intervals 2025-08-17 15:05:57 +03:00
Taras Kushnir
8c8cfaf485 Add maintenance job to expire internal trials 2025-08-17 14:57:43 +03:00
Taras Kushnir
945100be86 Add circuit breaker for notifications processing 2025-08-17 12:50:00 +03:00
Taras Kushnir
2aabb90d66 Add requires_subscription flag for notifications 2025-08-16 17:01:12 +03:00
Taras Kushnir
bdf68b8790 Downgrade user notifications logging level 2025-08-16 13:50:48 +03:00
Taras Kushnir
1484d3c3d4 Add from parameter to expired trials query 2025-08-16 13:35:30 +03:00
Taras Kushnir
25bf16eada Attempt to guess first name for welcome email 2025-08-16 12:48:24 +03:00
Taras Kushnir
6231572bee Move portal mailer to portal package 2025-08-16 11:26:46 +03:00
Taras Kushnir
1e9a00f8c9 Add widget strings translations to few European languages
Bump widget lib version
2025-08-16 11:17:41 +03:00
Taras Kushnir
a68b60429a Enforce user limiter also for API key middleware 2025-08-16 10:56:35 +03:00
Taras Kushnir
6c76c34df0 Add maintenance job to delete trial accounts 2025-08-16 10:42:46 +03:00
Taras Kushnir
7751d0a186 Normalize maintenance job names 2025-08-16 09:34:30 +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
4ae499b2ed Don't export raw email HTML 2025-08-15 20:07:00 +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
97af84cd07 Add delete record triggers to few tables 2025-08-15 18:16:39 +03:00
Taras Kushnir
3ddd4c29d6 Bump widget lib version 2025-08-15 18:00:37 +03:00
Taras Kushnir
cd907e071a Safeguard levels backfill 2025-08-15 17:48:11 +03:00
Taras Kushnir
e9e2990d0b Cosmetic improvement 2025-08-15 17:42:18 +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
fb92733785 Add .NET integration metadata [ci skip] 2025-08-14 21:43:26 +03:00
Taras Kushnir
76052f1fb3 Prefix env config with PC_ 2025-08-14 21:32:15 +03:00
Taras
4e910e5c88 Add SonarCloud coverage badge [ci skip] 2025-08-14 20:21:28 +03:00
Taras Kushnir
785ddfafaa Explicitly check terms and conditions checkbox. closes PrivateCaptcha/issues#150 2025-08-14 20:16:49 +03:00