9 Commits

Author SHA1 Message Date
ae
6867392042
fix: ctx nil pointer error & user del. cookie invalidation 2025-04-12 16:34:02 +03:00
ae
a969629f2d
feat: cors, secure cookies, & csrf 2025-04-10 21:33:01 +03:00
ae
a5a443a61e
test: include httpOnly tag 2025-04-10 12:35:22 +03:00
ae
24f4d8023e
fix: parse refresh_token from httpOnly cookie instead of header 2025-04-10 12:22:08 +03:00
ae
e8b20d24fc
style: header name typo 2025-04-10 11:23:32 +03:00
ae
ebd85c2e6a
feat: pagination support 2025-04-09 18:10:33 +03:00
ae
47fa47bdc7
feat: remove unnecessary DTO type 2025-04-09 17:44:35 +03:00
ae
e7ba54a992
docs: fix missing comments 2025-04-09 14:07:14 +03:00
ae
62b1a58e56
feat!: trimming & logic/schema improvements
- build: somewhat polished dockerization setup
- build: io/fs migrations with `golang-migrate`
- feat: automatic init. admin account creation (.env creds)
- feat(routers): combined user & token routers into single auth router
- feat(routers): improved route layouts (`Routes`)
- feat(middlewares): removed redundant `userCtx` middleware
- fix(schema): note <-> note_versions relation (versioning)
- feat(queries): removed redundant rollback functionality
- feat(queries): combined duplicate version check & insertion/creation
- tests: decreased redundancy by removing 'unnecessary' unit tests
- refactor: hid internal packages behind `server/internal`
- docs: notes & auth handler comments
2025-04-09 01:58:38 +03:00