Commit Graph

208 Commits

Author SHA1 Message Date
d6321e775a test(integration): update DB monitoring health assertion to match nested services payload 2026-03-06 15:37:53 +01:00
de9b544afb refactor(cors): deduplicate origin validation and header logic without behavior change 2026-03-06 15:37:44 +01:00
c31eb2f3df test(e2e): make middleware tests assertion-driven and deterministic 2026-02-23 07:11:22 +01:00
de08878de7 test(e2e): add middleware-enabled test context and server config toggles 2026-02-23 07:11:17 +01:00
f0e8da51d0 feat(server): allow cacheable paths to be configured in router 2026-02-23 07:11:14 +01:00
85882bae14 refactor: go fix ftw 2026-02-19 17:37:42 +01:00
9185ffa6b5 test(server): mock title fetcher in router tests to remove network dependency 2026-02-19 17:37:31 +01:00
986b4e9388 refactor: modernize code using go fix 2026-02-19 17:31:06 +01:00
31ef30c941 test(health): expect unhealthy for SMTP connection failures 2026-02-16 08:43:46 +01:00
d4a89325e0 fix(health): mark SMTP connection/bootstrap failures as unhealthy 2026-02-16 08:43:33 +01:00
4eb0a6360f test(health): cover SMTP unhealthy aggregation behavior 2026-02-16 08:43:14 +01:00
040b9148de fix(health): treat SMTP unhealthy as degraded at app level 2026-02-16 08:43:01 +01:00
9e81ddfdfa fix: don't reinvent the wheel 2026-02-15 12:05:25 +01:00
b3b7c1d527 test: health check now supports smtp so we test it 2026-02-15 12:04:06 +01:00
4c1caa44dd refactor: smtp tests 2026-02-15 12:03:55 +01:00
70bfb54acf refactor: use new health package 2026-02-15 11:56:19 +01:00
a3ed6685de feat: design a separate package for health check 2026-02-15 11:56:12 +01:00
4d2018b20a test(e2e): split auth tests, remove sleep/retry skips, and dedupe security coverage 2026-02-10 17:19:00 +01:00
65109a787c feat: use GetVersion() 2026-01-26 22:17:14 +01:00
75f1406edf feat: use a getter 2026-01-26 22:17:02 +01:00
11dc9b507f feat: bump version to 0.1.1 2026-01-19 21:07:39 +01:00
e6a44d830e fix: avoid repeated string concatenation 2026-01-14 17:05:20 +01:00
5413737491 test: match validation error casing with json tags 2026-01-12 22:49:40 +01:00
5f605e45c7 test: align title validation errors with json tags 2026-01-12 22:49:30 +01:00
e5779183ff test: cover json tag display and whitespace required case 2026-01-12 22:49:17 +01:00
4814b64c2c refactor: improve validation messages and string handling 2026-01-12 22:49:08 +01:00
45cad505d6 fix: break import cycle by inlining fuzz helpers 2026-01-12 22:40:12 +01:00
7f52347854 fix: enable foreign keys before AutoMigrate in fuzz DB 2026-01-12 22:37:54 +01:00
542913cbef fix: enable foreign key enforcement in fuzz DB 2026-01-12 22:36:46 +01:00
2f964b0c79 fix: prevent schema drift in fuzz tests with AutoMigrate 2026-01-12 22:35:56 +01:00
250ff79eeb test: update TestGetFuzzDB to expect new DB instances per call 2026-01-12 22:34:44 +01:00
4dfe260953 fix: remove global sync.Once to prevent DB state leakage in fuzz tests 2026-01-12 22:34:36 +01:00
49e6bb1e9d test: simplify pagination test loops 2026-01-12 12:26:26 +01:00
5b0c6018c0 test: cover pagination 2026-01-12 12:24:50 +01:00
3303d13f15 refactor: move TestApplyPagination to its own file 2026-01-12 12:24:42 +01:00
e2804ca07e refactor: use GetValidatedDTO for vote validation 2026-01-10 23:01:15 +01:00
6cdad79caa refactor: req -> request 2026-01-10 23:00:59 +01:00
6227b64746 refactor: use GetValidatedDTO for user create validation 2026-01-10 23:00:08 +01:00
506e233347 test: adjust post creation tests for DTO validation 2026-01-10 22:59:56 +01:00
8c06c916e1 refactor: use GetValidatedDTO for request validation 2026-01-10 22:59:43 +01:00
29fcaab25d refactor: centralize DTO decode/validation and skip duplicate validation 2026-01-10 22:59:29 +01:00
422ff2473e test: align auth handler expectations with validation errors 2026-01-10 22:59:21 +01:00
dbe4879457 refactor: route validation errors through GetValidatedDTO 2026-01-10 22:59:13 +01:00
66b4b0e173 refactor: use AuthResponseDTO instead of services.AuthResult 2026-01-10 22:47:10 +01:00
e08e2b3189 feat: add AuthResponseDTO for login and refresh token responses 2026-01-10 22:46:56 +01:00
f39dcff67d refactor: use DTOs instead of maps and nil for responses 2026-01-10 22:44:39 +01:00
08d8d0ed22 feat: add MessageResponseDTO and EmptyResponseDTO 2026-01-10 22:44:07 +01:00
932c042aa2 feat: add TitleResponseDTO for title fetch responses 2026-01-10 22:43:57 +01:00
a1466e860d refactor: remove redundant validation, trust middleware and service layer 2026-01-10 22:41:54 +01:00
a1e63b868f refactor: remove redundant validation and unused import 2026-01-10 22:41:43 +01:00