Commit Graph

  • 65109a787c feat: use GetVersion() main Kharec 2026-01-26 22:17:14 +01:00
  • 75f1406edf feat: use a getter Kharec 2026-01-26 22:17:02 +01:00
  • 11dc9b507f feat: bump version to 0.1.1 Kharec 2026-01-19 21:07:39 +01:00
  • da616438e9 chore: update version in swagger Kharec 2026-01-19 21:07:30 +01:00
  • 7486865343 lint: remove duplicate string literals in seed tests Kharec 2026-01-19 16:43:51 +01:00
  • fd0fd8954a fix: close captureOutput pipe before read Kharec 2026-01-19 16:37:22 +01:00
  • 628db14f59 fix: avoid Update deadlock by unlocking before display Kharec 2026-01-19 16:37:15 +01:00
  • 7be196e4c3 test: move seed RNG to tests and add help/error cases Kharec 2026-01-19 16:37:01 +01:00
  • 2f4bd45efb feat: make seed transactional and sequential with helpers Kharec 2026-01-19 16:36:51 +01:00
  • 1b53c2b66b clean: get rid of parallel processor Kharec 2026-01-19 16:36:40 +01:00
  • 509e68f538 docs: review roadmap Kharec 2026-01-16 11:23:27 +01:00
  • e6a44d830e fix: avoid repeated string concatenation Kharec 2026-01-14 17:05:20 +01:00
  • fe396b7537 feat: scope help printer to root command run Kharec 2026-01-14 13:00:03 +01:00
  • 6eb04aa3c5 refactor: adapt test name Kharec 2026-01-14 12:59:14 +01:00
  • 517d4482c9 test: fuzz urfave command path Kharec 2026-01-13 07:58:08 +01:00
  • b6e2bf942a tests: drive cli via urfave root command Kharec 2026-01-13 07:57:48 +01:00
  • 9f1058ba81 tests: assert server fields and use urfave cli Kharec 2026-01-13 07:57:37 +01:00
  • 2bdbb29ae6 refactor: remove legacy dispatch Kharec 2026-01-13 07:57:26 +01:00
  • 9d243a0ed1 docs: mark cli migration as complete Kharec 2026-01-13 07:46:38 +01:00
  • 9c74828b8d tests: fuzz urfave command parsing Kharec 2026-01-13 07:46:30 +01:00
  • 9e78477eb5 tests: update cli help/json checks Kharec 2026-01-13 07:46:23 +01:00
  • a74980caa1 deps: add urfave/cli v3 checksums Kharec 2026-01-13 07:46:05 +01:00
  • 816f08a20a deps: add urfave/cli v3 Kharec 2026-01-13 07:45:53 +01:00
  • 0cec152486 feat: migrate cli to urfave/cli v3 Kharec 2026-01-13 07:44:38 +01:00
  • 5413737491 test: match validation error casing with json tags Kharec 2026-01-12 22:49:40 +01:00
  • 5f605e45c7 test: align title validation errors with json tags Kharec 2026-01-12 22:49:30 +01:00
  • e5779183ff test: cover json tag display and whitespace required case Kharec 2026-01-12 22:49:17 +01:00
  • 4814b64c2c refactor: improve validation messages and string handling Kharec 2026-01-12 22:49:08 +01:00
  • 45cad505d6 fix: break import cycle by inlining fuzz helpers Kharec 2026-01-12 22:40:12 +01:00
  • 7f52347854 fix: enable foreign keys before AutoMigrate in fuzz DB Kharec 2026-01-12 22:37:54 +01:00
  • 542913cbef fix: enable foreign key enforcement in fuzz DB Kharec 2026-01-12 22:36:46 +01:00
  • 2f964b0c79 fix: prevent schema drift in fuzz tests with AutoMigrate Kharec 2026-01-12 22:35:56 +01:00
  • 250ff79eeb test: update TestGetFuzzDB to expect new DB instances per call Kharec 2026-01-12 22:34:44 +01:00
  • 4dfe260953 fix: remove global sync.Once to prevent DB state leakage in fuzz tests Kharec 2026-01-12 22:34:36 +01:00
  • 49e6bb1e9d test: simplify pagination test loops Kharec 2026-01-12 12:26:26 +01:00
  • 5b0c6018c0 test: cover pagination Kharec 2026-01-12 12:24:50 +01:00
  • 3303d13f15 refactor: move TestApplyPagination to its own file Kharec 2026-01-12 12:24:42 +01:00
  • c1746eb346 docs: update readme Kharec 2026-01-10 23:03:07 +01:00
  • e2804ca07e refactor: use GetValidatedDTO for vote validation Kharec 2026-01-10 23:01:15 +01:00
  • 6cdad79caa refactor: req -> request Kharec 2026-01-10 23:00:59 +01:00
  • 6227b64746 refactor: use GetValidatedDTO for user create validation Kharec 2026-01-10 23:00:08 +01:00
  • 506e233347 test: adjust post creation tests for DTO validation Kharec 2026-01-10 22:59:56 +01:00
  • 8c06c916e1 refactor: use GetValidatedDTO for request validation Kharec 2026-01-10 22:59:43 +01:00
  • 29fcaab25d refactor: centralize DTO decode/validation and skip duplicate validation Kharec 2026-01-10 22:59:29 +01:00
  • 422ff2473e test: align auth handler expectations with validation errors Kharec 2026-01-10 22:59:21 +01:00
  • dbe4879457 refactor: route validation errors through GetValidatedDTO Kharec 2026-01-10 22:59:13 +01:00
  • 5a530b7609 docs: update swagger Kharec 2026-01-10 22:58:58 +01:00
  • 66b4b0e173 refactor: use AuthResponseDTO instead of services.AuthResult Kharec 2026-01-10 22:47:10 +01:00
  • e08e2b3189 feat: add AuthResponseDTO for login and refresh token responses Kharec 2026-01-10 22:46:56 +01:00
  • f39dcff67d refactor: use DTOs instead of maps and nil for responses Kharec 2026-01-10 22:44:39 +01:00
  • 08d8d0ed22 feat: add MessageResponseDTO and EmptyResponseDTO Kharec 2026-01-10 22:44:07 +01:00
  • 932c042aa2 feat: add TitleResponseDTO for title fetch responses Kharec 2026-01-10 22:43:57 +01:00
  • a1466e860d refactor: remove redundant validation, trust middleware and service layer Kharec 2026-01-10 22:41:54 +01:00
  • a1e63b868f refactor: remove redundant validation and unused import Kharec 2026-01-10 22:41:43 +01:00
  • b6f5293c0f refactor: remove redundant validation Kharec 2026-01-10 22:41:31 +01:00
  • 6643466d76 refactor: use ToSanitizedUserListDTO and ToPostListDTO helpers Kharec 2026-01-10 22:39:04 +01:00
  • 9dcf748474 refactor: use ToPostListDTO and ToSearchPostListDTO helpers Kharec 2026-01-10 22:38:54 +01:00
  • 1ff1c8faf4 feat: add ToPostListDTO and ToSearchPostListDTO helpers Kharec 2026-01-10 22:38:39 +01:00
  • 0bcc1eb427 feat: add ToUserListDTO and ToSanitizedUserListDTO helpers Kharec 2026-01-10 22:38:30 +01:00
  • cbfe0fd54c fix: use SanitizedUserListDTO instead of UserListDTO in GetUsers Kharec 2026-01-10 22:36:27 +01:00
  • 1727ae4a7c feat: add SanitizedUserListDTO for sanitized user lists Kharec 2026-01-10 22:36:02 +01:00
  • ef4a05f8a5 refactor: use DTOs instead of manual maps in user responses Kharec 2026-01-10 22:34:43 +01:00
  • 00ef0c236e refactor: use DTOs instead of manual maps in vote responses Kharec 2026-01-10 22:34:29 +01:00
  • 2d58c15031 refactor: use DTOs instead of manual maps in post responses Kharec 2026-01-10 22:34:20 +01:00
  • 523dac242e refactor: use DTOs instead of manual maps in auth responses Kharec 2026-01-10 22:34:07 +01:00
  • 53da1eee2a feat: add VoteResponseDTO and VoteListDTO Kharec 2026-01-10 22:33:53 +01:00
  • 20ea6c4a27 feat: add RegistrationResponseDTO and AccountDeletionResponseDTO Kharec 2026-01-10 22:33:41 +01:00
  • 0e557c3f89 feat: add SearchPostListDTO for search responses Kharec 2026-01-10 22:33:29 +01:00
  • 56770955d4 test: make type assertions stricter and replaced silent returns with explicit errors Kharec 2026-01-09 18:44:18 +01:00
  • 34fbc2f8b1 test: ensure refresh token rotation is documented Kharec 2026-01-09 18:43:25 +01:00
  • 05e69c7f36 test: extend requiredPaths and authEndpoints to include new auth endpoints Kharec 2026-01-09 18:42:27 +01:00
  • 9ff7c98cf0 refactor: create helper to fetch/parse swagger doc Kharec 2026-01-09 18:41:14 +01:00
  • 893ee154de refactor: replace interface{} by any Kharec 2026-01-09 18:39:49 +01:00
  • dfee90504a docs: update refresh token rotation description and examples Kharec 2026-01-08 06:29:12 +01:00
  • bc0c9e5fea docs: update refresh token examples for Swagger Kharec 2026-01-08 06:28:59 +01:00
  • 35ef42eb93 docs: document refresh token rotation and update examples Kharec 2026-01-08 06:28:48 +01:00
  • 9ceaf35fd9 docs: note refresh token rotation and auth refresh/revoke endpoints Kharec 2026-01-08 06:28:29 +01:00
  • 395cc299f3 test: validate rotated refresh token and old-token failure Kharec 2026-01-08 06:17:21 +01:00
  • 058c69b414 test: enforce refresh token rotation and old-token rejection Kharec 2026-01-08 06:17:15 +01:00
  • d744aa8393 test: assert refresh token rotation in E2E flow Kharec 2026-01-08 06:16:52 +01:00
  • 44e2f97cb7 test: assert refresh token rotation and old-token invalidation Kharec 2026-01-08 06:16:44 +01:00
  • 4888916613 test: cover refresh rotation and invalid/expired/locked cases Kharec 2026-01-08 06:16:30 +01:00
  • 3ca2334932 feat: return rotated refresh token on refresh Kharec 2026-01-08 06:16:01 +01:00
  • 02d0c3f946 feat: rotate refresh tokens with shared validation helper Kharec 2026-01-08 06:15:53 +01:00
  • 1b55c9543e fix: simplify else-if branches Kharec 2026-01-07 17:16:02 +01:00
  • 73930dabd8 feat: use a map for O(1) lookup instead of a linear search Kharec 2026-01-07 15:20:03 +01:00
  • 19aadc6fc8 fix: prevent integer overflow in uint validation Kharec 2026-01-07 15:10:51 +01:00
  • 8bdff51eed fix: no need to disable check "hugeParam": it's already disabled Kharec 2026-01-07 14:54:05 +01:00
  • ac2dfdde70 refactor: use math/rand only for seed command initialization Kharec 2026-01-07 11:43:55 +01:00
  • c3d0d16e44 refactor: use math/rand only for parallel processor seeding Kharec 2026-01-07 11:43:47 +01:00
  • 75a33994db fix: use CommandContext in deployment test Kharec 2026-01-07 09:54:46 +01:00
  • 365c9a8482 chore: disable some checks for clarity Kharec 2026-01-07 09:46:20 +01:00
  • 87cc0ff68c feat: expand CleanupTestData to clear refresh tokens Kharec 2026-01-07 09:31:51 +01:00
  • 6eb6b2c4e2 refactor: use testutils helpers and gorm for user/post setup Kharec 2026-01-07 09:31:30 +01:00
  • c7fb1461ab clean: remove unused duplicate functions that are already implemented/used in repositories/fixtures.go Kharec 2025-12-28 08:21:58 +01:00
  • 8cb02413aa refactor: replace createTestUserWithAuth with consolidated helper Kharec 2025-12-27 17:43:31 +01:00
  • 3e9246c975 refactor: make createAuthenticatedUser accept interface and add user-only variant Kharec 2025-12-27 17:43:19 +01:00
  • c04602d8d9 refactor: use testutils helper for account deletion request creation Kharec 2025-12-27 17:33:04 +01:00
  • e5c72591e6 feat: add repo-backed entity factories Kharec 2025-12-27 17:32:01 +01:00
  • c29ccecc15 refactor: variables name and use strings.Cut() Kharec 2025-12-27 08:44:29 +01:00