14 Commits

Author SHA1 Message Date
ae
2e188c26f3
fix: allow csrf header through cors 2025-04-17 15:53:49 +03:00
ae
eb3c3b7a24
feat: set auth cookie dl in regular res. cookie 2025-04-17 15:53:33 +03:00
ae
0e2c40b5ca
feat: switch to built-in entropy calc 2025-04-14 14:14:52 +03:00
ae
6ee0d269d8
fix: use proper vite port for dev. cors 2025-04-13 22:58:20 +03:00
ae
0f3fef20e3
feat!: return user dto & create new rt on pw update 2025-04-12 23:48:15 +03:00
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