Commit graph

269 commits

Author SHA1 Message Date
9cca79ec4c
Merge branch 'main' of git.mstar.dev:mstar/linstrom
Some checks are pending
/ test (push) Waiting to run
2025-04-05 12:23:38 +02:00
910717cf01
Add attempts for default data 2025-04-05 12:22:00 +02:00
c25f27e82e
Move utils into shared folder 2025-04-05 12:21:44 +02:00
4ef9e19fbc
Add cleaner services
Some checks are pending
/ test (push) Waiting to run
Initial cleaner is for expiring access tokens
2025-04-04 16:16:08 +02:00
6f16289b41
Missing from previous commit 2025-04-04 16:15:52 +02:00
6a2b213787
Add access token check to auth 2025-04-04 16:15:25 +02:00
8f53e8a967
Fix another gen definition
Some checks are pending
/ test (push) Waiting to run
2025-04-04 14:06:47 +02:00
d33ed051f4
Fix gorm gen being not good with typing
Some checks are pending
/ test (push) Waiting to run
2025-04-04 13:50:42 +02:00
b33f6c2af7
chore(storage): Run generator
Some checks are pending
/ test (push) Waiting to run
2025-04-04 13:46:27 +02:00
11e0059631
Add first helper method to user 2025-04-04 13:46:11 +02:00
f3a139b809
Add notification data
Some checks are pending
/ test (push) Waiting to run
2025-04-04 11:26:03 +02:00
500bf48295
chore(storage): Regenerate role helpers
Some checks failed
/ test (push) Has been cancelled
2025-04-02 15:59:42 +02:00
8f8ad3035a
Comment all new code
Some checks are pending
/ test (push) Waiting to run
2025-04-02 15:33:07 +02:00
b6f12b7acf
Update code style 2025-04-02 13:45:54 +02:00
17e8c1073f
Note for a fix needed to be done 2025-04-02 13:45:32 +02:00
77f06c752e
Also add error for previous changes 2025-04-02 13:45:04 +02:00
420f6e46c0
Add initial feed structure, fix passkey id usage 2025-04-02 13:44:33 +02:00
ef91558600
Comments, fixes
Some checks are pending
/ test (push) Waiting to run
2025-04-01 17:24:06 +02:00
4fb0e17b69
Prep file for feed link data 2025-04-01 17:23:10 +02:00
e7e48bfd51
Move helpers in auth.go to helpers.go
Some checks are pending
/ test (push) Waiting to run
2025-04-01 11:00:36 +02:00
7ae75caaf5
Track recently used totp timestamps
Some checks are pending
/ test (push) Waiting to run
2025-04-01 09:16:33 +02:00
a6bcbaf5e9
Note about possible encryption of passkey secrets
Some checks are pending
/ test (push) Waiting to run
2025-03-31 23:23:35 +02:00
0fa8f4f7be
Encrypt totp secrets 2025-03-31 23:23:25 +02:00
c59b0c8340
Move hashing and encryption to auth/helpers
Some checks are pending
/ test (push) Waiting to run
2025-03-31 23:06:27 +02:00
c269db5b02
Update password hash stuff, totp impl
Some checks are pending
/ test (push) Waiting to run
Move password encryption to argon2id
2025-03-31 17:40:12 +02:00
c1611114d0
Add encryption key to storage config
Some checks are pending
/ test (push) Waiting to run
2025-03-31 17:11:02 +02:00
4c8ebaeab8
Add name field to user auth entries 2025-03-31 16:42:57 +02:00
1e59c661c7
Update code style policy for Go code 2025-03-31 16:42:32 +02:00
a9af73b557
Auth stuff
Some checks are pending
/ test (push) Waiting to run
Password login & registration
Passkey login

May not be functional yet
2025-03-31 15:32:50 +02:00
b84461d0e7
Friendly note for future task 2025-03-31 15:24:37 +02:00
3f44c6599c
Because testcontainers are borked 2025-03-31 15:24:25 +02:00
f8a56cebfe
chore(storage-new): Regenerate bindings 2025-03-31 15:23:48 +02:00
c9e1881f55
Add IDs to the various connector structs 2025-03-31 15:23:24 +02:00
582988add2
Add go:generate command and new field to user
Some checks are pending
/ test (push) Waiting to run
2025-03-31 08:08:01 +02:00
8ba5e98c50
Idk why, but testcontainers is borked on Discovery 2025-03-31 08:07:24 +02:00
7d385e48de
More work on auth system 2025-03-31 08:07:16 +02:00
2afb14c4b3
Copy and adapt role helper generator to new system 2025-03-31 08:06:43 +02:00
69927c76ff
More fixes, this time for cmd stuff
Some checks failed
/ test (push) Has been cancelled
2025-03-29 17:51:56 +01:00
e282f124c7
Fix some storage definitions 2025-03-29 17:51:42 +01:00
a73519f5f8
Passkey support for login. Maybe
Can only see once full swap to new systems
2025-03-29 17:51:12 +01:00
2c2f7deb9a
Work on passkey login
Some checks are pending
/ test (push) Waiting to run
2025-03-28 16:36:11 +01:00
9496ba0cc6
Work on new auth framework based on new storage system
Some checks are pending
/ test (push) Waiting to run
2025-03-28 16:17:08 +01:00
66d6299295
Smol optimisation for existing auth system 2025-03-28 16:16:30 +01:00
57214ecde0
One go mod tidy later 2025-03-28 16:16:09 +01:00
8d72036519
Remove already done todos 2025-03-28 16:15:58 +01:00
41e432b56e
Update new storage types and regenerate 2025-03-28 16:15:41 +01:00
0932f19f71
More meta stuff, CoC and Contributing
Some checks are pending
/ test (push) Waiting to run
2025-03-28 14:06:01 +01:00
b604cfb10e
bob
Some checks are pending
/ test (push) Waiting to run
2025-03-28 13:42:33 +01:00
9c5798c1b1
Add labels? 2025-03-28 13:39:46 +01:00
37a34720c0
Work on meta information
Some checks are pending
/ test (push) Waiting to run
2025-03-28 13:35:32 +01:00