|
eeed3dc5d5
|
feat: full dark/light theme support
|
2025-04-17 17:14:04 +03:00 |
|
|
90ef589197
|
feat: auth cookie expiration check
|
2025-04-17 16:06:10 +03:00 |
|
|
2e188c26f3
|
fix: allow csrf header through cors
|
2025-04-17 15:53:49 +03:00 |
|
|
eb3c3b7a24
|
feat: set auth cookie dl in regular res. cookie
|
2025-04-17 15:53:33 +03:00 |
|
|
bf3e40eae0
|
fix: proper dev frontend url
|
2025-04-17 15:52:11 +03:00 |
|
|
fceae665cc
|
feat: rest of the initial frontend implementation
|
2025-04-16 22:10:44 +03:00 |
|
|
b1c7fe165e
|
feat: initial frontend auth handlers & theming
|
2025-04-14 14:21:07 +03:00 |
|
|
0e2c40b5ca
|
feat: switch to built-in entropy calc
|
2025-04-14 14:14:52 +03:00 |
|
|
6ee0d269d8
|
fix: use proper vite port for dev. cors
|
2025-04-13 22:58:20 +03:00 |
|
|
5b633498cb
|
docs: pw. update response
|
2025-04-12 23:49:09 +03:00 |
|
|
0f3fef20e3
|
feat!: return user dto & create new rt on pw update
|
2025-04-12 23:48:15 +03:00 |
|
|
298aca465e
|
docs: req. interceptor overview
|
2025-04-12 16:49:41 +03:00 |
|
|
a6918b9206
|
docs: returned data from user deletion request
|
2025-04-12 16:38:50 +03:00 |
|
|
6867392042
|
fix: ctx nil pointer error & user del. cookie invalidation
|
2025-04-12 16:34:02 +03:00 |
|
|
2dde8d7942
|
docs: csrf handling
|
2025-04-10 22:31:09 +03:00 |
|
|
42409429e6
|
build: backend dev scripts
|
2025-04-10 21:35:01 +03:00 |
|
|
5edfb87d3b
|
build: up-to-date docker compose
|
2025-04-10 21:34:40 +03:00 |
|
|
a969629f2d
|
feat: cors, secure cookies, & csrf
|
2025-04-10 21:33:01 +03:00 |
|
|
a5a443a61e
|
test: include httpOnly tag
|
2025-04-10 12:35:22 +03:00 |
|
|
24f4d8023e
|
fix: parse refresh_token from httpOnly cookie instead of header
|
2025-04-10 12:22:08 +03:00 |
|
|
e8b20d24fc
|
style: header name typo
|
2025-04-10 11:23:32 +03:00 |
|
|
d7e690bd1e
|
docs: API route overview
|
2025-04-10 11:22:20 +03:00 |
|
|
ebd85c2e6a
|
feat: pagination support
|
2025-04-09 18:10:33 +03:00 |
|
|
47fa47bdc7
|
feat: remove unnecessary DTO type
|
2025-04-09 17:44:35 +03:00 |
|
|
e7ba54a992
|
docs: fix missing comments
|
2025-04-09 14:07:14 +03:00 |
|
|
db2a010f54
|
docs: update README
|
2025-04-09 02:13:01 +03:00 |
|
|
f5be67b219
|
build: initial dev. setup with docker compose
|
2025-04-09 02:12:43 +03:00 |
|
|
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 |
|
|
b1edbeb0a3
|
refactor: removed svelte scaffolding (tmp. action)
|
2025-04-09 01:57:59 +03:00 |
|
|
7646df76df
|
fix: add missing get handler for the current user
|
2025-04-02 22:13:01 +03:00 |
|
|
15c4666ace
|
feat: includeUser URL parameter for login handler
|
2025-04-02 13:18:30 +03:00 |
|
|
b393f1a47c
|
test: user login, rt cookies, & note versioning
|
2025-04-02 12:44:59 +03:00 |
|
|
700f2e4090
|
fix: clear the rt cookie on logout
|
2025-04-02 12:43:32 +03:00 |
|
|
998176c3f9
|
feat: rt as httponly cookie & add login handler
|
2025-04-01 22:54:39 +03:00 |
|
|
5de5c8c285
|
style: replace type interface{} with any
|
2025-04-01 18:50:46 +03:00 |
|
|
18e650c898
|
test: note middleware & rest handler unit tests
|
2025-04-01 18:50:00 +03:00 |
|
|
a32bdef092
|
feat: notectx middleware
|
2025-04-01 18:48:32 +03:00 |
|
|
10bcdf88c7
|
feat: note rest handlers
|
2025-04-01 18:48:00 +03:00 |
|
|
91daec42de
|
feat: basic init & startup
|
2025-04-01 12:59:05 +03:00 |
|
|
b1e98fcf80
|
fix: route rt reqs through same middleware as at reqs
|
2025-04-01 12:58:19 +03:00 |
|
|
9324bb5321
|
style: consistent testcase name formatting
|
2025-04-01 12:20:31 +03:00 |
|
|
993b576d0d
|
test: middleware unit tests
|
2025-04-01 12:20:00 +03:00 |
|
|
c5a56c8479
|
fix: compare claims subject (user ID) instead of token's ID
|
2025-04-01 12:19:25 +03:00 |
|
|
2b65bf70d8
|
fix: mark random string gen as test helper func
|
2025-04-01 12:18:28 +03:00 |
|
|
3257b19313
|
feat: modular api handlers for users/tokens (auth) incl. unit tests
|
2025-03-31 23:32:39 +03:00 |
|
|
41d1336f58
|
refactor: rename db module to data for clarity
|
2025-03-31 13:33:27 +03:00 |
|
|
9ba182d925
|
fix: adjust schemas/queries, switch types pg -> go
|
2025-03-30 19:44:15 +03:00 |
|
|
66fde0a700
|
feat: rewrite db actions using raw schemas and queries (sqlc)
|
2025-03-28 01:52:56 +02:00 |
|
|
6569a399e3
|
feat: initial db layer (gorm models + handlers)
|
2025-03-27 15:18:16 +02:00 |
|
|
de72ea53e1
|
chore: ignore .env
|
2025-03-27 15:12:15 +02:00 |
|