Sandro CURY CAZZANIGA Kharec
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
Kharec pushed to main at Kharec/goyco 2025-11-23 13:16:47 +01:00
52c9f4a02b feat: add internal/dto to swagger directories
Kharec pushed to main at Kharec/goyco 2025-11-23 13:14:44 +01:00
be91a135bc clean: empty line
2d7ff9778b feat: update swagger comments following dtos relocation
4ff3fd3583 refactor: remove UpdatePostRequest definition and update swagger comments
73121cad15 refactor: remove all request DTO, update swagger comments and update token related methods to use dto ones
c5bf1b2fd8 feat: locate post-related request DTOs
Compare 6 commits »
Kharec pushed to main at Kharec/m2h 2025-11-23 11:36:11 +01:00
cee5bc89fa docs: update requirements in readme
Kharec pushed to main at Kharec/m2h 2025-11-23 11:35:00 +01:00
c43f718495 feat: use Getopt::Long to handle command line options