Commit Graph

275 Commits

Author SHA1 Message Date
Taras Kushnir
0dd2af6376 Refine logging level of some statements v0.0.11 2025-09-12 21:45:05 +03:00
Taras Kushnir
64925cd156 Improve logging 2025-09-12 17:21:49 +03:00
Taras Kushnir
81158a1751 Fix organization invitations
Add test for org invite
2025-09-12 17:21:49 +03:00
Taras Kushnir
58b429c800 Validate org members also by ID 2025-09-12 14:43:54 +03:00
Taras Kushnir
cfbc134a2d Add service tag to logs 2025-09-12 14:43:54 +03:00
Taras
74ea495ce9 Update module golang.org/x/sync to v0.17.0 (#194)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-09-11 16:15:02 +00:00
Taras
29789c6016 Update module github.com/golang-migrate/migrate/v4 to v4.19.0 (#193)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-09-08 14:08:45 +00:00
Taras
d689e50591 Update dependency eslint to v9.34.0 (#192)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-09-07 12:51:22 +03:00
Taras Kushnir
0f83263e80 Update colors in info messages 2025-09-05 16:50:24 +03:00
Taras Kushnir
3aeb6310e8 Use pclime instead of green color 2025-09-05 16:29:12 +03:00
Taras Kushnir
d8d9946e37 Add docs link for property settings 2025-09-05 16:09:46 +03:00
Taras Kushnir
b7dc45bc80 Cosmetic improvement v0.0.10 2025-09-03 21:22:41 +03:00
Taras Kushnir
975d2dd17c Add more logs 2025-09-03 21:08:14 +03:00
Taras Kushnir
05fd0a049a Log base64 bytes decoded on error 2025-09-03 16:33:44 +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
29f9f6e507 Fix typo after puzzle verifier refactoring 2025-09-03 13:29:45 +03:00
Taras Kushnir
e1711360a5 Fix healthcheck job being exclusive 2025-09-03 13:29:18 +03:00
Taras Kushnir
d17f9c6379 Refactor test structs for export 2025-09-03 12:39:50 +03:00
Taras Kushnir
8151214cb5 Use events instead of JS callbacks v0.0.9 2025-09-03 11:44:18 +03:00
Renovate Bot
0cb03e314e Update dependency esbuild to v0.25.9 2025-08-27 02:01:28 +00:00
Taras Kushnir
5bf531bab0 Refactor puzzle verification and issue out of api.Server 2025-08-26 14:49:49 +03:00
Taras Kushnir
3139e0c386 Fix calculating puzzle issue time 2025-08-26 09:18:43 +03:00
Taras Kushnir
a52e6f38bf Fix tests v0.0.8 2025-08-25 11:51:09 +03:00
Taras Kushnir
45c3863405 Add few more paranoid arguments checks for DB 2025-08-25 11:48:05 +03:00
Taras Kushnir
a28a65797e Fix tests 2025-08-25 11:31:00 +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
5657fa3158 Fix var leaky bucket initialization for bucket manager
in bucket manager we never call NewVarBucket() so fields are not correct
2025-08-25 10:51:55 +03:00
Taras Kushnir
b9023439a5 Improve puzzle cache performance
Compute locks bucket every time, but ComputeIfAbsent only on creation

Cosmetic improvements
2025-08-25 10:51:55 +03:00
Taras Kushnir
b975ccb2c0 Add more logs 2025-08-23 20:25:15 +03:00
Taras Kushnir
0e806aad56 Fix ignoring property errors 2025-08-23 20:23:30 +03:00
Taras Kushnir
affbb60a43 Drop allow_replay column for properties 2025-08-23 20:04:31 +03:00
Taras Kushnir
a0ce451d0f Switch to otter cache in leaky bucket manager 2025-08-23 19:48:24 +03:00
Taras Kushnir
779ed6f593 Fix profiling setup 2025-08-23 19:48:24 +03:00
Taras Kushnir
3ce94b0e0d Add more choices to puzzle validity interval 2025-08-23 19:48:24 +03:00
Taras
170fde6789 Update dependency eslint to v9.33.0 (#191)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2025-08-23 15:05:28 +03:00
Taras Kushnir
cff1dc4dd9 Pass our logger to otter cache 2025-08-23 15:02:47 +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
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