Commit graph

195 commits

Author SHA1 Message Date
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
588849a6c2
Big ol' note about string/uuid as primary key
Some checks are pending
/ test (push) Waiting to run
TODO: Apply the same tag change to other structs with uuid id too
2025-03-27 16:46:53 +01:00
68859642f3
chore(new-storage): Auto-generate new storage impl
Some checks are pending
/ test (push) Waiting to run
2025-03-27 15:57:00 +01:00
8ffd6d0050
Fix enum type migration and more relations
Some checks are pending
/ test (push) Waiting to run
- Fixed bad SQL for creating sql enum types
- Noted more relations, mostly x to media
2025-03-27 15:55:40 +01:00
484bb95820
Small tool for running the automigration against config db 2025-03-27 15:54:59 +01:00
bf5180559f
Add cmd for generating code from the new models
Some checks are pending
/ test (push) Waiting to run
2025-03-27 13:35:24 +01:00
67b507f4bd
Describe all types for the new storage system
Some checks are pending
/ test (push) Waiting to run
2025-03-27 10:45:57 +01:00
8d4ba2ecae
More work on defining the new data structure
Some checks are pending
/ test (push) Waiting to run
2025-03-26 17:14:42 +01:00
daf401a2f7
Push to new goutils version
Some checks are pending
/ test (push) Waiting to run
2025-03-26 16:50:44 +01:00
8ee314b0bb
Fix ristretto mod entry 2025-03-26 16:13:48 +01:00
2c57f668e0 Merge branch 'main' of git.mstar.dev:mstar/linstrom
Some checks failed
/ test (push) Has been cancelled
2025-03-21 07:47:12 +01:00
714f528641
Rework backing storage system
Some checks are pending
/ test (push) Waiting to run
Step one: Copy the struct definitions over into a new, dedicated
submodule
Step two: Make a generator script
Step three: Define helper functions for various queries
2025-03-20 21:39:10 +01:00
0639cde4f2
Delete useless file from storage
Some checks are pending
/ test (push) Waiting to run
2025-03-20 19:22:15 +01:00
a2156afe9d
Update contributing guide
Some checks are pending
/ test (push) Waiting to run
Not done though, needs to include proper information
2025-03-20 18:00:59 +01:00
ab3051fa78
More work on auth system I guess, still no motivation though
Some checks failed
/ test (push) Has been cancelled
2025-02-28 15:01:12 +01:00
4e54012ae5 Uhh, things? 2025-02-22 12:17:40 +01:00
402932602d WIP New auth management system
Some checks failed
/ test (push) Has been cancelled
Wait, what's this? A new commit to Linstrom?
And I thought I was done for good with this project now that I've left
Fedi.
Well, I got bored at work and inspired by a random bit I've seen in
Elixir Phoenix's docs.

So here is the start of a new subsystem: Authentication
Intended to bundle all authentication related checks and updates in one
place. Http handlers should not be the ones to perform the logic, too
much duplication. Technically, they probably shouldn't even contain any
business logic at all, only calling it and transforming it into visible
output

Also may be considering switching to Vue or at least changing how the
ember frontend interacts with the backend
2025-02-21 15:52:21 +01:00
e5e0b54035 Add test action
All checks were successful
/ test (push) Successful in 16s
2024-12-25 22:19:32 +01:00
1527c198e0 Updated cli flags
Better usage message
Flipped the -pretty flag to -jsonlogs. Is now pretty per default
2024-12-24 10:48:00 +01:00
2b84d7eb2a Make it compile again
Adding notes still non-functional, but made it compile
2024-12-24 10:47:26 +01:00
Samuel
ccd2140c53 Update module name to new path 2024-12-18 15:24:56 +01:00
2df96b1ecd
Add README 2024-12-13 17:53:08 +01:00
70df49efa7 Think I got some parameters for create note down 2024-12-13 16:32:01 +01:00
599874c486 Fix note rendering, new function header
Fixed note rendering due to bad user header
TODO: It's a stupid bandaid, replace with proper formatter once it works
Remove test stuff
Some spacing in the colours for readability
CreateNoteRemote header added
2024-12-13 15:34:19 +01:00
c919cc8c67 Move files around, formatter helper
Formatters for username belong to account, not to note
New helper for transforming a markdown text to html
2024-11-22 15:55:41 +01:00