|
|
68716b977b
|
fix: verify XSS sanitization in handler response instead of repository stub
|
2025-11-23 15:01:54 +01:00 |
|
|
|
dbe1600632
|
fix: indentation
|
2025-11-23 14:49:31 +01:00 |
|
|
|
d4595d8dbf
|
fix: properly encoding the flash message in the redirect URL
|
2025-11-23 14:48:39 +01:00 |
|
|
|
db0369225e
|
refactor: update references to VoteRequest
|
2025-11-23 14:26:45 +01:00 |
|
|
|
6e4b41894f
|
fix: update test cases to use createCreatePostRequests
|
2025-11-23 14:22:35 +01:00 |
|
|
|
0a8ed2e27c
|
fix: add explicite validation check for empty url, title and content length
|
2025-11-23 14:21:30 +01:00 |
|
|
|
216e8657f6
|
feat: add generic createRequestWithDTO along with helpers functions
|
2025-11-23 14:20:59 +01:00 |
|
|
|
fb7206c0a2
|
fix: test context handling
|
2025-11-23 14:20:09 +01:00 |
|
|
|
c25926514b
|
fix: add explicit empty-field validation check in handlers
|
2025-11-23 14:19:54 +01:00 |
|
|
|
9c67cd2a47
|
feat: update vote handler to use dto VoteRequest and update MountRoutes
|
2025-11-23 13:47:31 +01:00 |
|
|
|
0e71b28615
|
feat: update CreateUser to use dto.RegisterRequest and update MountRoutes to apply validation middleware
|
2025-11-23 13:43:47 +01:00 |
|
|
|
cd740da57a
|
feat: update methods to use validated DTOs and update MountRoutes
|
2025-11-23 13:43:14 +01:00 |
|
|
|
abe4a3dc88
|
feat: update handlers to use GetValidatedDTO instead of manual decoding and update MountRoutes to wrap handlers with WithValidation for all DTO-based routes
|
2025-11-23 13:42:52 +01:00 |
|
|
|
738243d945
|
feat: add ValidationMiddleware to RouteModuleConfig
|
2025-11-23 13:41:55 +01:00 |
|
|
|
4fbdfb6e4a
|
feat: add two helpers function to retrieve validated DTOs from request context and to apply validation middleware
|
2025-11-23 13:41:07 +01:00 |
|
|
|
2d7ff9778b
|
feat: update swagger comments following dtos relocation
|
2025-11-23 13:14:07 +01:00 |
|
|
|
4ff3fd3583
|
refactor: remove UpdatePostRequest definition and update swagger comments
|
2025-11-23 13:13:53 +01:00 |
|
|
|
73121cad15
|
refactor: remove all request DTO, update swagger comments and update token related methods to use dto ones
|
2025-11-23 13:13:23 +01:00 |
|
|
|
4b04461ebb
|
style: minor formatting adjustments
|
2025-11-21 17:06:04 +01:00 |
|
|
|
5c239ad61d
|
feat: add missing GetVoteCountsByPostID method to the errorVoteRepository test mock
|
2025-11-21 16:50:23 +01:00 |
|
|
|
ba17fa1b5a
|
clean: remove now unused helpers
|
2025-11-14 06:50:14 +01:00 |
|
|
|
6426419b8b
|
tests: add an unit test for APIHandler MountRoutes()
|
2025-11-11 04:26:33 +01:00 |
|
|
|
408b0000c8
|
feat: mount /api in API handler
|
2025-11-11 04:20:03 +01:00 |
|
|
|
78989eb9f8
|
fix: update route in swagger annotations
|
2025-11-10 21:44:33 +01:00 |
|
|
|
22d5773c7c
|
fix: add missing swagger annotation for /api, /health and /metrics
|
2025-11-10 21:43:53 +01:00 |
|
|
|
71a031342b
|
To gitea and beyond, let's go(-yco)
|
2025-11-10 19:12:09 +01:00 |
|