Kharec
|
53da1eee2a
|
feat: add VoteResponseDTO and VoteListDTO
|
2026-01-10 22:33:53 +01:00 |
|
Kharec
|
20ea6c4a27
|
feat: add RegistrationResponseDTO and AccountDeletionResponseDTO
|
2026-01-10 22:33:41 +01:00 |
|
Kharec
|
0e557c3f89
|
feat: add SearchPostListDTO for search responses
|
2026-01-10 22:33:29 +01:00 |
|
Kharec
|
56770955d4
|
test: make type assertions stricter and replaced silent returns with explicit errors
|
2026-01-09 18:44:18 +01:00 |
|
Kharec
|
34fbc2f8b1
|
test: ensure refresh token rotation is documented
|
2026-01-09 18:43:25 +01:00 |
|
Kharec
|
05e69c7f36
|
test: extend requiredPaths and authEndpoints to include new auth endpoints
|
2026-01-09 18:42:27 +01:00 |
|
Kharec
|
9ff7c98cf0
|
refactor: create helper to fetch/parse swagger doc
|
2026-01-09 18:41:14 +01:00 |
|
Kharec
|
893ee154de
|
refactor: replace interface{} by any
|
2026-01-09 18:39:49 +01:00 |
|
Kharec
|
dfee90504a
|
docs: update refresh token rotation description and examples
|
2026-01-08 06:29:12 +01:00 |
|
Kharec
|
bc0c9e5fea
|
docs: update refresh token examples for Swagger
|
2026-01-08 06:28:59 +01:00 |
|
Kharec
|
35ef42eb93
|
docs: document refresh token rotation and update examples
|
2026-01-08 06:28:48 +01:00 |
|
Kharec
|
9ceaf35fd9
|
docs: note refresh token rotation and auth refresh/revoke endpoints
|
2026-01-08 06:28:29 +01:00 |
|
Kharec
|
395cc299f3
|
test: validate rotated refresh token and old-token failure
|
2026-01-08 06:17:21 +01:00 |
|
Kharec
|
058c69b414
|
test: enforce refresh token rotation and old-token rejection
|
2026-01-08 06:17:15 +01:00 |
|
Kharec
|
d744aa8393
|
test: assert refresh token rotation in E2E flow
|
2026-01-08 06:16:52 +01:00 |
|
Kharec
|
44e2f97cb7
|
test: assert refresh token rotation and old-token invalidation
|
2026-01-08 06:16:44 +01:00 |
|
Kharec
|
4888916613
|
test: cover refresh rotation and invalid/expired/locked cases
|
2026-01-08 06:16:30 +01:00 |
|
Kharec
|
3ca2334932
|
feat: return rotated refresh token on refresh
|
2026-01-08 06:16:01 +01:00 |
|
Kharec
|
02d0c3f946
|
feat: rotate refresh tokens with shared validation helper
|
2026-01-08 06:15:53 +01:00 |
|
Kharec
|
1b55c9543e
|
fix: simplify else-if branches
|
2026-01-07 17:16:02 +01:00 |
|
Kharec
|
73930dabd8
|
feat: use a map for O(1) lookup instead of a linear search
|
2026-01-07 15:20:03 +01:00 |
|
Kharec
|
19aadc6fc8
|
fix: prevent integer overflow in uint validation
|
2026-01-07 15:10:51 +01:00 |
|
Kharec
|
8bdff51eed
|
fix: no need to disable check "hugeParam": it's already disabled
|
2026-01-07 14:54:05 +01:00 |
|
Kharec
|
ac2dfdde70
|
refactor: use math/rand only for seed command initialization
|
2026-01-07 11:43:55 +01:00 |
|
Kharec
|
c3d0d16e44
|
refactor: use math/rand only for parallel processor seeding
|
2026-01-07 11:43:47 +01:00 |
|
Kharec
|
75a33994db
|
fix: use CommandContext in deployment test
|
2026-01-07 09:54:46 +01:00 |
|
Kharec
|
365c9a8482
|
chore: disable some checks for clarity
|
2026-01-07 09:46:20 +01:00 |
|
Kharec
|
87cc0ff68c
|
feat: expand CleanupTestData to clear refresh tokens
|
2026-01-07 09:31:51 +01:00 |
|
Kharec
|
6eb6b2c4e2
|
refactor: use testutils helpers and gorm for user/post setup
|
2026-01-07 09:31:30 +01:00 |
|
Kharec
|
c7fb1461ab
|
clean: remove unused duplicate functions that are already implemented/used in repositories/fixtures.go
|
2025-12-28 08:21:58 +01:00 |
|
Kharec
|
8cb02413aa
|
refactor: replace createTestUserWithAuth with consolidated helper
|
2025-12-27 17:43:31 +01:00 |
|
Kharec
|
3e9246c975
|
refactor: make createAuthenticatedUser accept interface and add user-only variant
|
2025-12-27 17:43:19 +01:00 |
|
Kharec
|
c04602d8d9
|
refactor: use testutils helper for account deletion request creation
|
2025-12-27 17:33:04 +01:00 |
|
Kharec
|
e5c72591e6
|
feat: add repo-backed entity factories
|
2025-12-27 17:32:01 +01:00 |
|
Kharec
|
c29ccecc15
|
refactor: variables name and use strings.Cut()
|
2025-12-27 08:44:29 +01:00 |
|
Kharec
|
726cf6ca68
|
chore: update golangci config to v2 schema
|
2025-12-27 08:37:08 +01:00 |
|
Kharec
|
de1e3f2190
|
fix: reject 5xx errors in TestQueryParameters to catch regressions
|
2025-12-26 18:49:32 +01:00 |
|
Kharec
|
310875368d
|
fix: make TestStaticFileRoute validate static handler correctly
|
2025-12-26 18:48:44 +01:00 |
|
Kharec
|
ffba8f6257
|
clean: remove duplicate
|
2025-12-26 17:54:04 +01:00 |
|
Kharec
|
24bed6fc6c
|
docs: update readme
|
2025-12-26 17:53:21 +01:00 |
|
Kharec
|
20f14d0863
|
refactor: use middleware.IsHTTPS instead of local function
|
2025-12-26 17:41:16 +01:00 |
|
Kharec
|
d0914eb5dc
|
test: update IsHTTPS test to use middleware.IsHTTPS
|
2025-12-26 17:41:04 +01:00 |
|
Kharec
|
ab3efc99a8
|
refactor: remove duplicate IsHTTPS, use middleware.IsHTTPS
|
2025-12-26 17:40:47 +01:00 |
|
Kharec
|
9017816812
|
refactor: export IsHTTPS function for shared use
|
2025-12-26 17:40:31 +01:00 |
|
Kharec
|
7b9250802e
|
test: verify login works with legacy passwords
|
2025-12-26 17:36:13 +01:00 |
|
Kharec
|
3f4cad5488
|
fix: remove password complexity validation from login
|
2025-12-26 17:35:59 +01:00 |
|
Kharec
|
027df4f60c
|
test: add security header preservation tests for cache
|
2025-12-26 17:33:25 +01:00 |
|
Kharec
|
77886ddef5
|
fix: preserve security headers on cache hits
|
2025-12-26 17:33:12 +01:00 |
|
Kharec
|
5477bbf0a7
|
test: add integration test for CSRF cookie-only bypass
|
2025-12-26 17:29:51 +01:00 |
|
Kharec
|
fc23cbd6fd
|
test: verify CSRF rejects requests with only cookie token
|
2025-12-26 17:28:58 +01:00 |
|
Kharec
|
0802b9dd9d
|
fix: GetCSRFToken() shouldn't fall back to the cookie
|
2025-12-26 17:28:10 +01:00 |
|
Kharec
|
566890f48f
|
fix: suitable LOG and PID dir for docker env
|
2025-12-25 18:52:34 +01:00 |
|
Kharec
|
f4bfb829e6
|
fix: add missing parameter
|
2025-12-25 18:49:51 +01:00 |
|
Kharec
|
02fd3c0aea
|
fix: make it env agnostic (--env-file should be used)
|
2025-12-25 18:40:51 +01:00 |
|
Kharec
|
08856f9a8d
|
feat: install curl in docker to perform health check
|
2025-12-25 18:34:57 +01:00 |
|
Kharec
|
2522f3536d
|
feat: create health check
|
2025-12-25 18:34:39 +01:00 |
|
Kharec
|
07c6b89525
|
docs: remove project structure, boring and hard to maintain
|
2025-12-20 17:35:16 +01:00 |
|
Kharec
|
817205d42f
|
refactor: modernize using min()
|
2025-12-16 15:45:51 +01:00 |
|
Kharec
|
199ac143a4
|
refactor: replace interface{} by any
|
2025-12-16 15:05:23 +01:00 |
|
Kharec
|
aa7e259ed0
|
format: shfmt
|
2025-12-16 15:02:42 +01:00 |
|
Kharec
|
4587609e17
|
refactor: create createTestRouter and test edge cases
|
2025-12-14 21:14:42 +01:00 |
|
Kharec
|
33da6503e3
|
test: also test put/delete routes
|
2025-12-14 21:06:15 +01:00 |
|
Kharec
|
cafc44ed77
|
test: add a test for route parameters
|
2025-12-14 21:04:36 +01:00 |
|
Kharec
|
1480135e75
|
test: verified all routes to exist
|
2025-12-14 21:02:25 +01:00 |
|
Kharec
|
02a764c736
|
clean: remove merged files
|
2025-12-14 20:52:14 +01:00 |
|
Kharec
|
6834ad7764
|
refactor: merge facade, types and utils into one auth_service.go
|
2025-12-14 20:52:03 +01:00 |
|
Kharec
|
dcf054046f
|
test: fix parallel processor test expectations and setup
|
2025-12-10 07:30:27 +01:00 |
|
Kharec
|
d2a788933d
|
fix: track completed items in the main loop instead of using the index
|
2025-12-10 07:29:55 +01:00 |
|
Kharec
|
18be3950dc
|
clean: obsolete function
|
2025-12-09 22:07:30 +01:00 |
|
Kharec
|
f9cb140e95
|
clean: removed the obsolete functions outputMessage and outputError
|
2025-12-09 22:06:12 +01:00 |
|
Kharec
|
86d4835ccf
|
feat: seed user is now uniq
|
2025-12-09 22:03:26 +01:00 |
|
Kharec
|
feddb2ed43
|
test: new unit test for EnsureSeedUser
|
2025-12-09 22:03:16 +01:00 |
|
Kharec
|
457b5c88e2
|
refactor: improve seed consistency validation
|
2025-12-09 21:53:03 +01:00 |
|
Kharec
|
a8d363b2bf
|
fix: templates now parse with the same func map as the page handler
|
2025-12-09 21:37:21 +01:00 |
|
Kharec
|
0cd68e847c
|
refactor: add a helper to centralize CSRF token retrieval
|
2025-12-09 15:58:28 +01:00 |
|
Kharec
|
df6aeed713
|
docs: unocss it is
|
2025-12-04 20:43:30 +01:00 |
|
Kharec
|
785faeb60c
|
feat: update alpine to 3.23
|
2025-12-04 10:01:19 +01:00 |
|
Kharec
|
0623c027ba
|
docs: prepare CONTRIBUTING.md
|
2025-12-03 20:57:32 +01:00 |
|
Kharec
|
d4e91b6034
|
refactor: complete refactor and better helpers use
|
2025-11-29 15:19:41 +01:00 |
|
Kharec
|
7d46d3e81b
|
clean: remove the unused expectedValue in assertHeader (always set to "")
|
2025-11-29 15:19:28 +01:00 |
|
Kharec
|
216aaf3117
|
refactor: clean code and use new request helpers
|
2025-11-29 14:58:52 +01:00 |
|
Kharec
|
435047ad0c
|
refactor: clean code
|
2025-11-29 14:58:37 +01:00 |
|
Kharec
|
b7ee8bd11d
|
refactor: clean variable names and use new request helpers
|
2025-11-29 14:58:20 +01:00 |
|
Kharec
|
040cd48be8
|
refactor: clean variables
|
2025-11-29 14:58:07 +01:00 |
|
Kharec
|
2dd16e0e00
|
refactor: complete
|
2025-11-29 14:56:18 +01:00 |
|
Kharec
|
d6db70cc79
|
refactor: clean code and variables, use new request helpers
|
2025-11-29 14:55:47 +01:00 |
|
Kharec
|
58e10ade7d
|
refactor: clean variable names and modernize code
|
2025-11-29 14:50:35 +01:00 |
|
Kharec
|
7403a75d8e
|
refactor: clean variable naming
|
2025-11-29 14:46:26 +01:00 |
|
Kharec
|
b429bc11af
|
refactor: clean code and use new request helpers
|
2025-11-29 14:41:38 +01:00 |
|
Kharec
|
2ec5c28fb5
|
refactor: rename variables and clean code
|
2025-11-29 14:37:18 +01:00 |
|
Kharec
|
3743a99e40
|
refactor: req -> request, rec -> recorder, reqBody -> requestBody...
|
2025-11-29 14:21:07 +01:00 |
|
Kharec
|
5710921b87
|
refactor: use new request helpers
|
2025-11-29 14:17:25 +01:00 |
|
Kharec
|
84d9c81484
|
refactor: rec -> recorder, req -> request and modernize loop
|
2025-11-29 14:15:07 +01:00 |
|
Kharec
|
b0c2038927
|
feat: add new helpers to make requests properly in integration tests
|
2025-11-29 14:11:32 +01:00 |
|
Kharec
|
fd88931146
|
refactor: variable names and modernize loop
|
2025-11-25 14:37:59 +01:00 |
|
Kharec
|
6ce0f4dfad
|
refactor: name variables
|
2025-11-25 10:13:10 +01:00 |
|
Kharec
|
68e3dceefc
|
refactor: name variables
|
2025-11-25 10:08:48 +01:00 |
|
Kharec
|
cded14c526
|
fix: force correct mime types for static files after modifying compression middleware's buffering
|
2025-11-24 07:53:08 +01:00 |
|
Kharec
|
cfca668ca6
|
docs: clean readme
|
2025-11-23 21:56:53 +01:00 |
|
Kharec
|
279255b587
|
fix: don't let rate limiting fails the test
|
2025-11-23 21:48:11 +01:00 |
|