Sandro CURY CAZZANIGA Kharec
Kharec pushed to main at Kharec/advent-of-code 2025-11-24 13:21:45 +01:00
1a4a169852 go: add mod
Kharec pushed to main at Kharec/advent-of-code 2025-11-24 13:20:34 +01:00
84cced41a5 test: add unit test
42b41dc56d feat: add main code
0b691ea9af feat: add input
49529a1de3 go: add mod
Compare 4 commits »
Kharec pushed to main at Kharec/advent-of-code 2025-11-24 12:47:46 +01:00
8dde43f7ca go: add mod
258f012633 feat: add main code
3ecc3de9bf test: add unit test
4727c2b822 feat: add input
Compare 4 commits »
Kharec pushed to main at Kharec/advent-of-code 2025-11-24 09:56:32 +01:00
14d8b98100 docs: update readme
Kharec created repository Kharec/advent-of-code 2025-11-24 09:54:10 +01:00
Kharec pushed to main at Kharec/goyco 2025-11-24 07:53:13 +01:00
cded14c526 fix: force correct mime types for static files after modifying compression middleware's buffering
Kharec pushed to main at Kharec/goyco 2025-11-23 21:56:55 +01:00
cfca668ca6 docs: clean readme
Kharec pushed to main at Kharec/goyco 2025-11-23 21:48:14 +01:00
279255b587 fix: don't let rate limiting fails the test
Kharec pushed to main at Kharec/goyco 2025-11-23 21:42:28 +01:00
b83f8c2228 fix: update ValidationMiddleware to return a JSON error response when JSON decoding fails
Kharec pushed to main at Kharec/goyco 2025-11-23 15:10:58 +01:00
aabc48128c fix: use router in handlers integration tests (for dto validation)
Kharec pushed to main at Kharec/goyco 2025-11-23 15:02:01 +01:00
68716b977b fix: verify XSS sanitization in handler response instead of repository stub
Kharec pushed to main at Kharec/goyco 2025-11-23 14:49:34 +01:00
dbe1600632 fix: indentation
Kharec pushed to main at Kharec/goyco 2025-11-23 14:49:02 +01:00
458e25cf79 fix: modify compression middleware to pass through redirects immediately without buffering
d4595d8dbf fix: properly encoding the flash message in the redirect URL
Compare 2 commits »
Kharec pushed to main at Kharec/goyco 2025-11-23 14:26:55 +01:00
c5418f4e4c docs: update swagger
db0369225e refactor: update references to VoteRequest
07ac965b3d refactor: use consistent naming (VoteRequest -> CastVoteRequest)
Compare 3 commits »
Kharec pushed to main at Kharec/goyco 2025-11-23 14:23:02 +01:00
e2e5d42035 feat: add SetValidatedDTOInContext to support test helper functions
6e4b41894f fix: update test cases to use createCreatePostRequests
0a8ed2e27c fix: add explicite validation check for empty url, title and content length
216e8657f6 feat: add generic createRequestWithDTO along with helpers functions
fb7206c0a2 fix: test context handling
Compare 6 commits »
Kharec pushed to main at Kharec/goyco 2025-11-23 13:47:40 +01:00
964785e494 docs: update swagger
9c67cd2a47 feat: update vote handler to use dto VoteRequest and update MountRoutes
8b5cc8e939 feat: add VoteRequest with its validation types
Compare 3 commits »
Kharec pushed to main at Kharec/goyco 2025-11-23 13:43:48 +01:00
0e71b28615 feat: update CreateUser to use dto.RegisterRequest and update MountRoutes to apply validation middleware
cd740da57a feat: update methods to use validated DTOs and update MountRoutes
abe4a3dc88 feat: update handlers to use GetValidatedDTO instead of manual decoding and update MountRoutes to wrap handlers with WithValidation for all DTO-based routes
Compare 3 commits »
Kharec pushed to main at Kharec/goyco 2025-11-23 13:41:57 +01:00
738243d945 feat: add ValidationMiddleware to RouteModuleConfig
4fbdfb6e4a feat: add two helpers function to retrieve validated DTOs from request context and to apply validation middleware
6bb3a78b88 feat: Add ValidationMiddleware to router configuration
Compare 3 commits »
Kharec pushed to main at Kharec/goyco 2025-11-23 13:35:02 +01:00
54e37e59fc docs: update swagger
5d4b38ddc4 feat: add validation tags to request DTOs
Compare 2 commits »
Kharec pushed to main at Kharec/goyco 2025-11-23 13:17:17 +01:00
7dc119ecde docs: update swagger