|
|
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 |
|
|
|
5a530b7609
|
docs: update swagger
|
2026-01-10 22:58:58 +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 |
|
|
|
b6f5293c0f
|
refactor: remove redundant validation
|
2026-01-10 22:41:31 +01:00 |
|
|
|
6643466d76
|
refactor: use ToSanitizedUserListDTO and ToPostListDTO helpers
|
2026-01-10 22:39:04 +01:00 |
|
|
|
9dcf748474
|
refactor: use ToPostListDTO and ToSearchPostListDTO helpers
|
2026-01-10 22:38:54 +01:00 |
|
|
|
1ff1c8faf4
|
feat: add ToPostListDTO and ToSearchPostListDTO helpers
|
2026-01-10 22:38:39 +01:00 |
|
|
|
0bcc1eb427
|
feat: add ToUserListDTO and ToSanitizedUserListDTO helpers
|
2026-01-10 22:38:30 +01:00 |
|
|
|
cbfe0fd54c
|
fix: use SanitizedUserListDTO instead of UserListDTO in GetUsers
|
2026-01-10 22:36:27 +01:00 |
|
|
|
1727ae4a7c
|
feat: add SanitizedUserListDTO for sanitized user lists
|
2026-01-10 22:36:02 +01:00 |
|
|
|
ef4a05f8a5
|
refactor: use DTOs instead of manual maps in user responses
|
2026-01-10 22:34:43 +01:00 |
|
|
|
00ef0c236e
|
refactor: use DTOs instead of manual maps in vote responses
|
2026-01-10 22:34:29 +01:00 |
|
|
|
2d58c15031
|
refactor: use DTOs instead of manual maps in post responses
|
2026-01-10 22:34:20 +01:00 |
|
|
|
523dac242e
|
refactor: use DTOs instead of manual maps in auth responses
|
2026-01-10 22:34:07 +01:00 |
|
|
|
53da1eee2a
|
feat: add VoteResponseDTO and VoteListDTO
|
2026-01-10 22:33:53 +01:00 |
|
|
|
20ea6c4a27
|
feat: add RegistrationResponseDTO and AccountDeletionResponseDTO
|
2026-01-10 22:33:41 +01:00 |
|
|
|
0e557c3f89
|
feat: add SearchPostListDTO for search responses
|
2026-01-10 22:33:29 +01:00 |
|
|
|
56770955d4
|
test: make type assertions stricter and replaced silent returns with explicit errors
|
2026-01-09 18:44:18 +01:00 |
|
|
|
34fbc2f8b1
|
test: ensure refresh token rotation is documented
|
2026-01-09 18:43:25 +01:00 |
|
|
|
05e69c7f36
|
test: extend requiredPaths and authEndpoints to include new auth endpoints
|
2026-01-09 18:42:27 +01:00 |
|
|
|
9ff7c98cf0
|
refactor: create helper to fetch/parse swagger doc
|
2026-01-09 18:41:14 +01:00 |
|
|
|
893ee154de
|
refactor: replace interface{} by any
|
2026-01-09 18:39:49 +01:00 |
|
|
|
dfee90504a
|
docs: update refresh token rotation description and examples
|
2026-01-08 06:29:12 +01:00 |
|
|
|
bc0c9e5fea
|
docs: update refresh token examples for Swagger
|
2026-01-08 06:28:59 +01:00 |
|
|
|
35ef42eb93
|
docs: document refresh token rotation and update examples
|
2026-01-08 06:28:48 +01:00 |
|
|
|
9ceaf35fd9
|
docs: note refresh token rotation and auth refresh/revoke endpoints
|
2026-01-08 06:28:29 +01:00 |
|
|
|
395cc299f3
|
test: validate rotated refresh token and old-token failure
|
2026-01-08 06:17:21 +01:00 |
|
|
|
058c69b414
|
test: enforce refresh token rotation and old-token rejection
|
2026-01-08 06:17:15 +01:00 |
|
|
|
d744aa8393
|
test: assert refresh token rotation in E2E flow
|
2026-01-08 06:16:52 +01:00 |
|
|
|
44e2f97cb7
|
test: assert refresh token rotation and old-token invalidation
|
2026-01-08 06:16:44 +01:00 |
|
|
|
4888916613
|
test: cover refresh rotation and invalid/expired/locked cases
|
2026-01-08 06:16:30 +01:00 |
|
|
|
3ca2334932
|
feat: return rotated refresh token on refresh
|
2026-01-08 06:16:01 +01:00 |
|
|
|
02d0c3f946
|
feat: rotate refresh tokens with shared validation helper
|
2026-01-08 06:15:53 +01:00 |
|
|
|
1b55c9543e
|
fix: simplify else-if branches
|
2026-01-07 17:16:02 +01:00 |
|
|
|
73930dabd8
|
feat: use a map for O(1) lookup instead of a linear search
|
2026-01-07 15:20:03 +01:00 |
|
|
|
19aadc6fc8
|
fix: prevent integer overflow in uint validation
|
2026-01-07 15:10:51 +01:00 |
|
|
|
8bdff51eed
|
fix: no need to disable check "hugeParam": it's already disabled
|
2026-01-07 14:54:05 +01:00 |
|
|
|
ac2dfdde70
|
refactor: use math/rand only for seed command initialization
|
2026-01-07 11:43:55 +01:00 |
|
|
|
c3d0d16e44
|
refactor: use math/rand only for parallel processor seeding
|
2026-01-07 11:43:47 +01:00 |
|
|
|
75a33994db
|
fix: use CommandContext in deployment test
|
2026-01-07 09:54:46 +01:00 |
|
|
|
365c9a8482
|
chore: disable some checks for clarity
|
2026-01-07 09:46:20 +01:00 |
|